Skip to content

Commit

Permalink
Chrome/Edge 119
Browse files Browse the repository at this point in the history
  • Loading branch information
rbri committed Nov 4, 2023
1 parent 89360f5 commit b5a2b8d
Show file tree
Hide file tree
Showing 14 changed files with 205 additions and 229 deletions.
2 changes: 1 addition & 1 deletion src/changes/changes.xml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
</properties>

<body>
<release version="3.8.0" date="November xx, 2023" description="Bugfixes, Documentation updates">
<release version="3.8.0" date="November xx, 2023" description="Chrome/Edge 119, Bugfixes">
<action type="update" dev="rbri" issue="#658">"
Internal method HtmlInput.setType(String, boolean) renamed to changeType(String, boolean) and
a return value added. Please check the javadoc if you use this.
Expand Down
4 changes: 2 additions & 2 deletions src/test/java/org/htmlunit/BrowserVersionTest.java
Original file line number Diff line number Diff line change
Expand Up @@ -37,8 +37,8 @@ public class BrowserVersionTest {
public void getBrowserVersionNumeric() {
assertEquals(119, BrowserVersion.FIREFOX.getBrowserVersionNumeric());
assertEquals(109, BrowserVersion.FIREFOX_ESR.getBrowserVersionNumeric());
assertEquals(118, BrowserVersion.CHROME.getBrowserVersionNumeric());
assertEquals(118, BrowserVersion.EDGE.getBrowserVersionNumeric());
assertEquals(119, BrowserVersion.CHROME.getBrowserVersionNumeric());
assertEquals(119, BrowserVersion.EDGE.getBrowserVersionNumeric());
assertEquals(11, BrowserVersion.INTERNET_EXPLORER.getBrowserVersionNumeric());
}

Expand Down
4 changes: 2 additions & 2 deletions src/test/java/org/htmlunit/ExternalTest.java
Original file line number Diff line number Diff line change
Expand Up @@ -54,11 +54,11 @@ public class ExternalTest {
static String MAVEN_REPO_URL_ = "https://repo1.maven.org/maven2/";

/** Chrome driver. */
static String CHROME_DRIVER_ = "118.0.5993.70";
static String CHROME_DRIVER_ = "119.0.6045.105";
static String CHROME_DRIVER_URL_ =
"https://googlechromelabs.github.io/chrome-for-testing/last-known-good-versions-with-downloads.json";

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

/** Gecko driver. */
Expand Down
33 changes: 17 additions & 16 deletions src/test/java/org/htmlunit/general/ElementOwnPropertiesTest.java
Original file line number Diff line number Diff line change
Expand Up @@ -546,7 +546,7 @@ public void htmlElement() throws Exception {
+ "requestFullscreen(),requestPointerLock(),role[GSCE],scroll(),scrollBy(),scrollHeight[GCE],"
+ "scrollIntoView(),scrollIntoViewIfNeeded(),scrollLeft[GSCE],scrollTo(),scrollTop[GSCE],"
+ "scrollWidth[GCE],setAttribute(),setAttributeNode(),setAttributeNodeNS(),setAttributeNS(),"
+ "setHTML(),setPointerCapture(),shadowRoot[GCE],slot[GSCE],tagName[GCE],toggleAttribute(),"
+ "setPointerCapture(),shadowRoot[GCE],slot[GSCE],tagName[GCE],toggleAttribute(),"
+ "webkitMatchesSelector(),webkitRequestFullScreen(),"
+ "webkitRequestFullscreen()",
EDGE = "after(),animate(),append(),ariaAtomic[GSCE],ariaAutoComplete[GSCE],ariaBrailleLabel[GSCE],"
Expand Down Expand Up @@ -575,7 +575,7 @@ public void htmlElement() throws Exception {
+ "requestFullscreen(),requestPointerLock(),role[GSCE],scroll(),scrollBy(),scrollHeight[GCE],"
+ "scrollIntoView(),scrollIntoViewIfNeeded(),scrollLeft[GSCE],scrollTo(),scrollTop[GSCE],"
+ "scrollWidth[GCE],setAttribute(),setAttributeNode(),setAttributeNodeNS(),setAttributeNS(),"
+ "setHTML(),setPointerCapture(),shadowRoot[GCE],slot[GSCE],tagName[GCE],toggleAttribute(),"
+ "setPointerCapture(),shadowRoot[GCE],slot[GSCE],tagName[GCE],toggleAttribute(),"
+ "webkitMatchesSelector(),webkitRequestFullScreen(),"
+ "webkitRequestFullscreen()",
FF = "after(),animate(),append(),ariaAtomic[GSCE],ariaAutoComplete[GSCE],ariaBusy[GSCE],"
Expand Down Expand Up @@ -743,7 +743,7 @@ public void element() throws Exception {
+ "requestFullscreen(),requestPointerLock(),role[GSCE],scroll(),scrollBy(),scrollHeight[GCE],"
+ "scrollIntoView(),scrollIntoViewIfNeeded(),scrollLeft[GSCE],scrollTo(),scrollTop[GSCE],"
+ "scrollWidth[GCE],setAttribute(),setAttributeNode(),setAttributeNodeNS(),setAttributeNS(),"
+ "setHTML(),setPointerCapture(),shadowRoot[GCE],slot[GSCE],tagName[GCE],toggleAttribute(),"
+ "setPointerCapture(),shadowRoot[GCE],slot[GSCE],tagName[GCE],toggleAttribute(),"
+ "webkitMatchesSelector(),webkitRequestFullScreen(),"
+ "webkitRequestFullscreen()",
EDGE = "after(),animate(),append(),ariaAtomic[GSCE],ariaAutoComplete[GSCE],ariaBrailleLabel[GSCE],"
Expand Down Expand Up @@ -772,7 +772,7 @@ public void element() throws Exception {
+ "requestFullscreen(),requestPointerLock(),role[GSCE],scroll(),scrollBy(),scrollHeight[GCE],"
+ "scrollIntoView(),scrollIntoViewIfNeeded(),scrollLeft[GSCE],scrollTo(),scrollTop[GSCE],"
+ "scrollWidth[GCE],setAttribute(),setAttributeNode(),setAttributeNodeNS(),setAttributeNS(),"
+ "setHTML(),setPointerCapture(),shadowRoot[GCE],slot[GSCE],tagName[GCE],toggleAttribute(),"
+ "setPointerCapture(),shadowRoot[GCE],slot[GSCE],tagName[GCE],toggleAttribute(),"
+ "webkitMatchesSelector(),webkitRequestFullScreen(),"
+ "webkitRequestFullscreen()",
FF = "after(),animate(),append(),ariaAtomic[GSCE],ariaAutoComplete[GSCE],ariaBusy[GSCE],"
Expand Down Expand Up @@ -15866,9 +15866,9 @@ public void slot() throws Exception {
+ "fragmentDirective[GCE],fullscreen[GSCE],fullscreenElement[GSCE],fullscreenEnabled[GSCE],"
+ "getAnimations(),getElementById(),getElementsByClassName(),getElementsByName(),"
+ "getElementsByTagName(),getElementsByTagNameNS(),getSelection(),hasFocus(),hasPrivateToken(),"
+ "hasRedemptionRecord(),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],"
+ "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],"
Expand Down Expand Up @@ -15896,12 +15896,13 @@ public void slot() throws Exception {
+ "pictureInPictureElement[GCE],pictureInPictureEnabled[GCE],plugins[GCE],pointerLockElement[GCE],"
+ "prepend(),prerendering[GCE],queryCommandEnabled(),queryCommandIndeterm(),queryCommandState(),"
+ "queryCommandSupported(),queryCommandValue(),querySelector(),querySelectorAll(),readyState[GCE],"
+ "referrer[GCE],releaseEvents(),replaceChildren(),rootElement[GCE],scripts[GCE],"
+ "scrollingElement[GCE],startViewTransition(),styleSheets[GCE],timeline[GCE],title[GSCE],URL[GCE],"
+ "visibilityState[GCE],vlinkColor[GSCE],wasDiscarded[GCE],webkitCancelFullScreen(),"
+ "webkitCurrentFullScreenElement[GCE],webkitExitFullscreen(),webkitFullscreenElement[GCE],"
+ "webkitFullscreenEnabled[GCE],webkitHidden[GCE],webkitIsFullScreen[GCE],"
+ "webkitVisibilityState[GCE],write(),writeln(),xmlEncoding[GCE],xmlStandalone[GSCE],"
+ "referrer[GCE],releaseEvents(),replaceChildren(),requestStorageAccess(),requestStorageAccessFor(),"
+ "rootElement[GCE],scripts[GCE],scrollingElement[GCE],startViewTransition(),styleSheets[GCE],"
+ "timeline[GCE],title[GSCE],URL[GCE],visibilityState[GCE],vlinkColor[GSCE],wasDiscarded[GCE],"
+ "webkitCancelFullScreen(),webkitCurrentFullScreenElement[GCE],webkitExitFullscreen(),"
+ "webkitFullscreenElement[GCE],webkitFullscreenEnabled[GCE],webkitHidden[GCE],"
+ "webkitIsFullScreen[GCE],webkitVisibilityState[GCE],write(),writeln(),xmlEncoding[GCE],"
+ "xmlStandalone[GSCE],"
+ "xmlVersion[GSCE]",
EDGE = "activeElement[GCE],adoptedStyleSheets[GSCE],adoptNode(),alinkColor[GSCE],all[GCE],anchors[GCE],"
+ "append(),applets[GCE],bgColor[GSCE],body[GSCE],captureEvents(),caretRangeFromPoint(),"
Expand Down Expand Up @@ -15947,9 +15948,9 @@ public void slot() throws Exception {
+ "pictureInPictureElement[GCE],pictureInPictureEnabled[GCE],plugins[GCE],pointerLockElement[GCE],"
+ "prepend(),prerendering[GCE],queryCommandEnabled(),queryCommandIndeterm(),queryCommandState(),"
+ "queryCommandSupported(),queryCommandValue(),querySelector(),querySelectorAll(),readyState[GCE],"
+ "referrer[GCE],releaseEvents(),replaceChildren(),requestStorageAccess(),rootElement[GCE],"
+ "scripts[GCE],scrollingElement[GCE],startViewTransition(),styleSheets[GCE],timeline[GCE],"
+ "title[GSCE],URL[GCE],visibilityState[GCE],vlinkColor[GSCE],wasDiscarded[GCE],"
+ "referrer[GCE],releaseEvents(),replaceChildren(),requestStorageAccess(),requestStorageAccessFor(),"
+ "rootElement[GCE],scripts[GCE],scrollingElement[GCE],startViewTransition(),styleSheets[GCE],"
+ "timeline[GCE],title[GSCE],URL[GCE],visibilityState[GCE],vlinkColor[GSCE],wasDiscarded[GCE],"
+ "webkitCancelFullScreen(),webkitCurrentFullScreenElement[GCE],webkitExitFullscreen(),"
+ "webkitFullscreenElement[GCE],webkitFullscreenEnabled[GCE],webkitHidden[GCE],"
+ "webkitIsFullScreen[GCE],webkitVisibilityState[GCE],write(),writeln(),xmlEncoding[GCE],"
Expand Down
Loading

0 comments on commit b5a2b8d

Please sign in to comment.