Skip to content

Commit

Permalink
edge 118
Browse files Browse the repository at this point in the history
  • Loading branch information
rbri committed Oct 15, 2023
1 parent 1d7c2f9 commit 616f7af
Show file tree
Hide file tree
Showing 17 changed files with 220 additions and 196 deletions.
10 changes: 5 additions & 5 deletions src/main/java/org/htmlunit/BrowserVersion.java
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,7 @@ public final class BrowserVersion implements Serializable {
public static final BrowserVersion INTERNET_EXPLORER = new BrowserVersion(11, "IE");

/** Latest Edge. */
public static final BrowserVersion EDGE = new BrowserVersion(116, "Edge");
public static final BrowserVersion EDGE = new BrowserVersion(118, "Edge");

/** Latest Chrome. */
public static final BrowserVersion CHROME = new BrowserVersion(118, "Chrome");
Expand Down Expand Up @@ -266,10 +266,10 @@ public final class BrowserVersion implements Serializable {
// EDGE (Win10 64bit)
EDGE.applicationVersion_ = "5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/"
+ EDGE.getBrowserVersionNumeric() + ".0.0.0 Safari/537.36 Edg/"
+ EDGE.getBrowserVersionNumeric() + ".0.1938.62";
+ EDGE.getBrowserVersionNumeric() + ".0.2088.46";
EDGE.userAgent_ = "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/"
+ EDGE.getBrowserVersionNumeric() + ".0.0.0 Safari/537.36 Edg/"
+ EDGE.getBrowserVersionNumeric() + ".0.1938.62";
+ EDGE.getBrowserVersionNumeric() + ".0.2088.46";

EDGE.applicationCodeName_ = "Mozilla";
EDGE.vendor_ = "Google Inc.";
Expand Down Expand Up @@ -300,8 +300,8 @@ public final class BrowserVersion implements Serializable {
EDGE.cssAcceptHeader_ = "text/css,*/*;q=0.1";
EDGE.scriptAcceptHeader_ = "*/*";
EDGE.secClientHintUserAgentHeader_ = "\"Chromium\";v=\""
+ EDGE.getBrowserVersionNumeric() + "\", \"Not)A;Brand\";v=\"24\", \"Microsoft Edge\";v=\""
+ EDGE.getBrowserVersionNumeric() + "\"";
+ EDGE.getBrowserVersionNumeric() + "\", \"Microsoft Edge\";v=\""
+ EDGE.getBrowserVersionNumeric() + "\", \"Not=A?Brand\";v=\"99\"";
EDGE.fontHeights_ = new int[] {
0, 1, 2, 4, 5, 5, 6, 8, 9, 10, 11, 12, 15, 16, 16, 17, 18, 20, 21, 22, 23, 25, 26, 26,
27, 28, 30, 31, 32, 33, 34, 36, 37, 37, 38, 40, 42, 43, 44, 45, 47, 48, 48, 49, 51, 52, 53, 54, 55, 57,
Expand Down
2 changes: 1 addition & 1 deletion src/test/java/org/htmlunit/ExternalTest.java
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ public class ExternalTest {
static String CHROME_DRIVER_URL_ =
"https://googlechromelabs.github.io/chrome-for-testing/last-known-good-versions-with-downloads.json";

static String EDGE_DRIVER_ = "116.0.1938.62";
static String EDGE_DRIVER_ = "118.0.2088.46";
static String EDGE_DRIVER_URL_ = "https://developer.microsoft.com/en-us/microsoft-edge/tools/webdriver/";

/** Gecko driver. */
Expand Down
18 changes: 9 additions & 9 deletions src/test/java/org/htmlunit/general/ElementOwnPropertiesTest.java
Original file line number Diff line number Diff line change
Expand Up @@ -7026,8 +7026,8 @@ public void html() throws Exception {
EDGE = "align[GSCE],allow[GSCE],allowFullscreen[GSCE],allowPaymentRequest[GSCE],constructor(),"
+ "contentDocument[GCE],contentWindow[GCE],credentialless[GSCE],csp[GSCE],featurePolicy[GCE],"
+ "frameBorder[GSCE],getSVGDocument(),height[GSCE],loading[GSCE],longDesc[GSCE],marginHeight[GSCE],"
+ "marginWidth[GSCE],name[GSCE],referrerPolicy[GSCE],sandbox[GSCE],scrolling[GSCE],src[GSCE],"
+ "srcdoc[GSCE],"
+ "marginWidth[GSCE],name[GSCE],privateToken[GSCE],referrerPolicy[GSCE],sandbox[GSCE],"
+ "scrolling[GSCE],src[GSCE],srcdoc[GSCE],"
+ "width[GSCE]",
FF = "align[GSCE],allow[GSCE],allowFullscreen[GSCE],constructor(),contentDocument[GCE],"
+ "contentWindow[GCE],frameBorder[GSCE],getSVGDocument(),height[GSCE],longDesc[GSCE],"
Expand Down Expand Up @@ -15812,13 +15812,13 @@ public void slot() throws Exception {
+ "featurePolicy[GCE],fgColor[GSCE],firstElementChild[GCE],fonts[GCE],forms[GCE],"
+ "fragmentDirective[GCE],fullscreen[GSCE],fullscreenElement[GSCE],fullscreenEnabled[GSCE],"
+ "getAnimations(),getElementById(),getElementsByClassName(),getElementsByName(),"
+ "getElementsByTagName(),getElementsByTagNameNS(),getSelection(),hasFocus(),hasStorageAccess(),"
+ "head[GCE],hidden[GCE],images[GCE],implementation[GCE],importNode(),inputEncoding[GCE],"
+ "lastElementChild[GCE],lastModified[GCE],linkColor[GSCE],links[GCE],onabort[GSCE],"
+ "onanimationend[GSCE],onanimationiteration[GSCE],onanimationstart[GSCE],onauxclick[GSCE],"
+ "onbeforecopy[GSCE],onbeforecut[GSCE],onbeforeinput[GSCE],onbeforematch[GSCE],onbeforepaste[GSCE],"
+ "onbeforetoggle[GSCE],onbeforexrselect[GSCE],onblur[GSCE],oncancel[GSCE],oncanplay[GSCE],"
+ "oncanplaythrough[GSCE],onchange[GSCE],onclick[GSCE],onclose[GSCE],"
+ "getElementsByTagName(),getElementsByTagNameNS(),getSelection(),hasFocus(),hasPrivateToken(),"
+ "hasRedemptionRecord(),hasStorageAccess(),head[GCE],hidden[GCE],images[GCE],implementation[GCE],"
+ "importNode(),inputEncoding[GCE],lastElementChild[GCE],lastModified[GCE],linkColor[GSCE],"
+ "links[GCE],onabort[GSCE],onanimationend[GSCE],onanimationiteration[GSCE],onanimationstart[GSCE],"
+ "onauxclick[GSCE],onbeforecopy[GSCE],onbeforecut[GSCE],onbeforeinput[GSCE],onbeforematch[GSCE],"
+ "onbeforepaste[GSCE],onbeforetoggle[GSCE],onbeforexrselect[GSCE],onblur[GSCE],oncancel[GSCE],"
+ "oncanplay[GSCE],oncanplaythrough[GSCE],onchange[GSCE],onclick[GSCE],onclose[GSCE],"
+ "oncontentvisibilityautostatechange[GSCE],oncontextlost[GSCE],oncontextmenu[GSCE],"
+ "oncontextrestored[GSCE],oncopy[GSCE],oncuechange[GSCE],oncut[GSCE],ondblclick[GSCE],ondrag[GSCE],"
+ "ondragend[GSCE],ondragenter[GSCE],ondragleave[GSCE],ondragover[GSCE],ondragstart[GSCE],"
Expand Down
Loading

0 comments on commit 616f7af

Please sign in to comment.