html/browsers/the-window-object/open-close/
293 / 295 WPT subtests passing
- Failed
- 2
- Timed out
- 0
- Not run
- 0
- Test files
- 30
- Blocking files
- 0
Chrome 229 / 295 WPT subtests passing on the same files, 1 blocking
Tests
30 test files hereEach test file opens in place to its subtests, and each subtest that did not pass to its message.
Test fileSubtests passingChromeFailedStanding
close_beforeunload.html 1 / 1 passingChrome 1 / 10 failedClean
1 passing subtest
- Running beforeunload handler in window.close()
close_noopener_beforeunload.html 2 / 2 passingChrome 2 / 20 failedClean
2 passing subtests
- closing noopener window with 2 entries
- closing noopener window with 1 entry
close_pagehide.html 1 / 1 passingChrome 1 / 10 failedClean
1 passing subtest
- Running pagehide handler in window.close()
close_script_defer.html 0 / 1 passingChrome 0 / 11 failedExempt
Exempt from the 0.1 gate until an upstream test bug is fixed
callback = t.step(...) runs assert_unreached at once instead of wrapping it, so the test fails in every browser
- Chrome
- wpt.fyi run 4786307730243584: 0/1 (Chrome 157, 2358bd4835)
- Firefox
- wpt.fyi run 4877168468033536: 0/1 (Firefox 160, 2358bd4835)
- Safari
- wpt.fyi run 6479119966273536: 0/1 (Safari 27.2, 2358bd4835)
- Revisit
- when https://github.com/web-platform-tests/wpt/issues/65405 is resolved
- ¶
FAILRunning defer script in window.close()
assert_unreached: Reached unreachable code
close_unload.html 1 / 1 passingChrome 0 / 10 failedClean
1 passing subtest
- Running unload handler in window.close()
closed-after-close.html 1 / 1 passingChrome 1 / 10 failedClean
1 passing subtest
- window.closed behavior after calling window.close().
creating_browsing_context_test_01.html 4 / 4 passingChrome 4 / 40 failedClean
4 passing subtests
- first argument: absolute url
- first argument: empty url
- second argument: passing a non-empty name
- second argument: setting name after opening
no_window_open_when_term_nesting_level_nonzero.window.js 4 / 4 passingChrome 3 / 40 failedClean
4 passing subtests
- no popups with frame removal
- no popups with frame navigation
- no popups from synchronously reachable window
- no popups from another synchronously reachable window
open-features-is-popup-condition.html 69 / 69 passingChrome 69 / 690 failedClean
/html/browsers/the-window-object/open-close/open-features-is-popup-condition.html?combination OK 14 / 14
14 passing subtests
- "location,toolbar,menubar,resizable,scrollbars,status" should set BarProp visibility to true
- "location,menubar,resizable,scrollbars,status" should set BarProp visibility to true
- "toolbar,menubar,resizable,scrollbars,status" should set BarProp visibility to true
- "resizable,scrollbars,status" should set BarProp visibility to false
- "location=no,menubar=no,resizable,scrollbars,status" should set BarProp visibility to false
- "location,toolbar,resizable,scrollbars,status" should set BarProp visibility to false
- "location,toolbar,menubar,scrollbars,status" should set BarProp visibility to true
- "location,toolbar,menubar,resizable=no,scrollbars,status" should set BarProp visibility to false
- "location,toolbar,menubar,resizable,status" should set BarProp visibility to false
- "location,toolbar,menubar,resizable,scrollbars" should set BarProp visibility to false
- "popup=1,location,toolbar,menubar,resizable,scrollbars,status" should set BarProp visibility to false
- "popup=yes,location,toolbar,menubar,resizable,scrollbars,status" should set BarProp visibility to false
- "popup=true,location,toolbar,menubar,resizable,scrollbars,status" should set BarProp visibility to false
- "popup=0,location,toolbar,menubar,resizable,scrollbars" should set BarProp visibility to true
/html/browsers/the-window-object/open-close/open-features-is-popup-condition.html?position OK 10 / 10
10 passing subtests
- "left=500" should set BarProp visibility to false
- "screenX=500" should set BarProp visibility to false
- "top=500" should set BarProp visibility to false
- "screenY=500" should set BarProp visibility to false
- "width=500" should set BarProp visibility to false
- "innerWidth=500" should set BarProp visibility to false
- "outerWidth=500" should set BarProp visibility to false
- "height=500" should set BarProp visibility to false
- "innerHeight=500" should set BarProp visibility to false
- "outerHeight=500" should set BarProp visibility to false
/html/browsers/the-window-object/open-close/open-features-is-popup-condition.html?single-1 OK 21 / 21
21 passing subtests
- undefined should set BarProp visibility to true
- "popup" should set BarProp visibility to false
- "popup=1" should set BarProp visibility to false
- "popup=true" should set BarProp visibility to false
- "popup=0" should set BarProp visibility to true
- "location" should set BarProp visibility to false
- "location=yes" should set BarProp visibility to false
- "location=true" should set BarProp visibility to false
- "location=no" should set BarProp visibility to false
- "toolbar" should set BarProp visibility to false
- "toolbar=yes" should set BarProp visibility to false
- "toolbar=true" should set BarProp visibility to false
- "toolbar=no" should set BarProp visibility to false
- "menubar" should set BarProp visibility to false
- "menubar=yes" should set BarProp visibility to false
- "menubar=true" should set BarProp visibility to false
- "menubar=no" should set BarProp visibility to false
- "resizable" should set BarProp visibility to false
- "resizable=yes" should set BarProp visibility to false
- "resizable=true" should set BarProp visibility to false
- "resizable=no" should set BarProp visibility to false
/html/browsers/the-window-object/open-close/open-features-is-popup-condition.html?single-2 OK 24 / 24
24 passing subtests
- "scrollbars" should set BarProp visibility to false
- "scrollbars=yes" should set BarProp visibility to false
- "scrollbars=true" should set BarProp visibility to false
- "scrollbars=no" should set BarProp visibility to false
- "status" should set BarProp visibility to false
- "status=yes" should set BarProp visibility to false
- "status=true" should set BarProp visibility to false
- "status=no" should set BarProp visibility to false
- "titlebar" should set BarProp visibility to false
- "titlebar=yes" should set BarProp visibility to false
- "titlebar=true" should set BarProp visibility to false
- "titlebar=no" should set BarProp visibility to false
- "close" should set BarProp visibility to false
- "close=yes" should set BarProp visibility to false
- "close=true" should set BarProp visibility to false
- "close=no" should set BarProp visibility to false
- "minimizable" should set BarProp visibility to false
- "minimizable=yes" should set BarProp visibility to false
- "minimizable=true" should set BarProp visibility to false
- "minimizable=no" should set BarProp visibility to false
- "personalbar" should set BarProp visibility to false
- "personalbar=yes" should set BarProp visibility to false
- "personalbar=true" should set BarProp visibility to false
- "personalbar=no" should set BarProp visibility to false
open-features-negative-innerwidth-innerheight.html 6 / 6 passingChrome 6 / 60 failedClean
6 passing subtests
- features "innerwidth=-404" should NOT set "width=404"
- features "innerwidth=-404.5" should NOT set "width=404"
- features "innerwidth=-404e1" should NOT set "width=404"
- features "innerheight=-404" should NOT set "height=404"
- features "innerheight=-404.5" should NOT set "height=404"
- features "innerheight=-404e1" should NOT set "height=404"
open-features-negative-screenx-screeny.html 6 / 6 passingChrome 6 / 60 failedClean
6 passing subtests
- features "screeny=-204" should NOT set "top=204"
- features "screeny=-204.5" should NOT set "top=204"
- features "screeny=-0" should NOT set "top=204"
- features "screenx=-204" should NOT set "left=204"
- features "screenx=-204.5" should NOT set "left=204"
- features "screenx=-0" should NOT set "left=204"
open-features-negative-top-left.html 6 / 6 passingChrome 6 / 60 failedClean
6 passing subtests
- features "top=-204" should NOT set "top=204"
- features "top=-204.5" should NOT set "top=204"
- features "top=-0" should NOT set "top=204"
- features "left=-204" should NOT set "left=204"
- features "left=-204.5" should NOT set "left=204"
- features "left=-0" should NOT set "left=204"
open-features-negative-width-height.html 6 / 6 passingChrome 6 / 60 failedClean
6 passing subtests
- features "width=-404" should NOT set "width=404"
- features "width=-404.5" should NOT set "width=404"
- features "width=-404e1" should NOT set "width=404"
- features "height=-404" should NOT set "height=404"
- features "height=-404.5" should NOT set "height=404"
- features "height=-404e1" should NOT set "height=404"
open-features-non-integer-height.html 14 / 14 passingChrome 5 / 140 failedClean
14 passing subtests
- top=0,left=0,width=401,: absence of feature "height" should be treated same as "height=0"
- top=0,left=0: absence of feature "height" should be treated same as "height=0"
- features "height=/404" should NOT set "height=404"
- features "height=_404" should NOT set "height=404"
- features "height=L404" should NOT set "height=404"
- features "height=405.5" should set "height=405"
- features "height=405.32" should set "height=405"
- features "height=405LLl" should set "height=405"
- features "height=405^4" should set "height=405"
- features "height=405*3" should set "height=405"
- features "height=405/5" should set "height=405"
- features "height=405 " should set "height=405"
- features "height=405e1" should set "height=405"
- features "height=405e-1" should set "height=405"
open-features-non-integer-innerheight.html 12 / 12 passingChrome 3 / 120 failedClean
12 passing subtests
- features "innerheight=/404" should NOT set "height=404"
- features "innerheight=_404" should NOT set "height=404"
- features "innerheight=L404" should NOT set "height=404"
- features "innerheight=405.5" should set "height=405"
- features "innerheight=405.32" should set "height=405"
- features "innerheight=405LLl" should set "height=405"
- features "innerheight=405^4" should set "height=405"
- features "innerheight=405*3" should set "height=405"
- features "innerheight=405/5" should set "height=405"
- features "innerheight=405 " should set "height=405"
- features "innerheight=405e1" should set "height=405"
- features "innerheight=405e-1" should set "height=405"
open-features-non-integer-innerwidth.html 12 / 12 passingChrome 12 / 120 failedClean
12 passing subtests
- features "innerwidth=/404" should NOT set "width=404"
- features "innerwidth=_404" should NOT set "width=404"
- features "innerwidth=L404" should NOT set "width=404"
- features "innerwidth=405.5" should set "width=405"
- features "innerwidth=405.32" should set "width=405"
- features "innerwidth=405LLl" should set "width=405"
- features "innerwidth=405^4" should set "width=405"
- features "innerwidth=405*3" should set "width=405"
- features "innerwidth=405/5" should set "width=405"
- features "innerwidth=405 " should set "width=405"
- features "innerwidth=405e1" should set "width=405"
- features "innerwidth=405e-1" should set "width=405"
open-features-non-integer-left.html 12 / 12 passingChrome 12 / 120 failedClean
12 passing subtests
- features "left=/104" should NOT set "left=104"
- features "left=_104" should NOT set "left=104"
- features "left=L104" should NOT set "left=104"
- features "left=105.5" should set "left=105"
- features "left=105.32" should set "left=105"
- features "left=105LLl" should set "left=105"
- features "left=105^4" should set "left=105"
- features "left=105*3" should set "left=105"
- features "left=105/5" should set "left=105"
- features "left=105 " should set "left=105"
- features "left=105e1" should set "left=105"
- features "left=105e-1" should set "left=105"
open-features-non-integer-screenx.html 12 / 12 passingChrome 12 / 120 failedClean
12 passing subtests
- features "screenx=/104" should NOT set "screenx=104"
- features "screenx=_104" should NOT set "screenx=104"
- features "screenx=L104" should NOT set "screenx=104"
- features "screenx=105.5" should set "screenx=105"
- features "screenx=105.32" should set "screenx=105"
- features "screenx=105LLl" should set "screenx=105"
- features "screenx=105^4" should set "screenx=105"
- features "screenx=105*3" should set "screenx=105"
- features "screenx=105/5" should set "screenx=105"
- features "screenx=105 " should set "screenx=105"
- features "screenx=105e1" should set "screenx=105"
- features "screenx=105e-1" should set "screenx=105"
open-features-non-integer-screeny.html 12 / 12 passingChrome 3 / 120 failedClean
12 passing subtests
- features "screeny=/404" should NOT set "screeny=404"
- features "screeny=_404" should NOT set "screeny=404"
- features "screeny=L404" should NOT set "screeny=404"
- features "screeny=405.5" should set "screeny=405"
- features "screeny=405.32" should set "screeny=405"
- features "screeny=405LLl" should set "screeny=405"
- features "screeny=405^4" should set "screeny=405"
- features "screeny=405*3" should set "screeny=405"
- features "screeny=405/5" should set "screeny=405"
- features "screeny=405 " should set "screeny=405"
- features "screeny=405e1" should set "screeny=405"
- features "screeny=405e-1" should set "screeny=405"
open-features-non-integer-top.html 12 / 12 passingChrome 12 / 120 failedClean
12 passing subtests
- features "top=/104" should NOT set "top=104"
- features "top=_104" should NOT set "top=104"
- features "top=L104" should NOT set "top=104"
- features "top=105.5" should set "top=105"
- features "top=105.32" should set "top=105"
- features "top=105LLl" should set "top=105"
- features "top=105^4" should set "top=105"
- features "top=105*3" should set "top=105"
- features "top=105/5" should set "top=105"
- features "top=105 " should set "top=105"
- features "top=105e1" should set "top=105"
- features "top=105e-1" should set "top=105"
open-features-non-integer-width.html 14 / 14 passingChrome 14 / 140 failedClean
14 passing subtests
- top=0,left=0,height=401,: absence of feature "width" should be treated same as "width=0"
- top=0,left=0: absence of feature "width" should be treated same as "width=0"
- features "width=/404" should NOT set "width=404"
- features "width=_404" should NOT set "width=404"
- features "width=L404" should NOT set "width=404"
- features "width=405.5" should set "width=405"
- features "width=405.32" should set "width=405"
- features "width=405LLl" should set "width=405"
- features "width=405^4" should set "width=405"
- features "width=405*3" should set "width=405"
- features "width=405/5" should set "width=405"
- features "width=405 " should set "width=405"
- features "width=405e1" should set "width=405"
- features "width=405e-1" should set "width=405"
open-features-tokenization-innerheight-innerwidth.html 14 / 14 passingChrome 7 / 140 failedClean
14 passing subtests
- "innerwidth=401" should set width of opened window
- " innerwidth = 401" should set width of opened window
- "innerwidth==401" should set width of opened window
- "\ninnerwidth= 401" should set width of opened window
- ",innerwidth=401,," should set width of opened window
- "INNERWIDTH=401" should set width of opened window
- "innerWidth=401" should set width of opened window
- "innerheight=402" should set height of opened window
- " innerheight = 402" should set height of opened window
- "innerheight==402" should set height of opened window
- "\ninnerheight= 402" should set height of opened window
- ",innerheight=402,," should set height of opened window
- "INNERHEIGHT=402" should set height of opened window
- "innerHeight=402" should set height of opened window
open-features-tokenization-noopener.html 8 / 8 passingChrome 8 / 80 failedClean
8 passing subtests
- Tokenization of "noopener" should skip window features separators before feature
- Feature "noopener" should be converted to ASCII lowercase
- After "noopener", tokenization should skip window features separators that are not "=" or ","
- Tokenizing "noopener" should ignore window feature separators except "," after initial "=" and before value
- Tokenizing "noopener" should read characters until first window feature separator as `value`
- Integer values other than 0 should activate the feature
- Integer value of 0 should not activate "noopener"
- Invalid feature names should not tokenize as "noopener"
open-features-tokenization-noreferrer.html 8 / 8 passingChrome 8 / 80 failedClean
8 passing subtests
- Tokenization of "noreferrer" should skip window features separators before feature
- Feature "noreferrer" should be converted to ASCII lowercase
- After "noreferrer", tokenization should skip window features separators that are not "=" or ","
- Tokenizing "noreferrer" should ignore window feature separators except "," after initial "=" and before value
- Tokenizing "noreferrer" should read characters until first window feature separator as `value`
- Integer values other than 0 should activate the feature
- Integer value of 0 should not activate "noreferrer"
- Invalid feature names should not tokenize as "noreferrer"
open-features-tokenization-screenx-screeny.html 14 / 14 passingChrome 7 / 140 failedClean
14 passing subtests
- "screenx=141" should set left position of opened window
- " screenx = 141" should set left position of opened window
- "screenx==141" should set left position of opened window
- "\nscreenx= 141" should set left position of opened window
- ",screenx=141,," should set left position of opened window
- "SCREENX=141" should set left position of opened window
- "screenX=141" should set left position of opened window
- "screeny=142" should set top position of opened window
- " screeny = 142" should set top position of opened window
- "screeny==142" should set top position of opened window
- "\nscreeny= 142" should set top position of opened window
- ",screeny=142,," should set top position of opened window
- "SCREENY=142" should set top position of opened window
- "screenY=142" should set top position of opened window
open-features-tokenization-top-left.html 16 / 16 passingChrome 6 / 160 failedClean
16 passing subtests
- "left=141" should set left position of opened window
- " left = 141" should set left position of opened window
- "left==141" should set left position of opened window
- " left= 141" should set left position of opened window
- ",left=141,," should set left position of opened window
- "LEFT=141" should set left position of opened window
- "top=142" should set top position of opened window
- " top = 142" should set top position of opened window
- "top==142" should set top position of opened window
- "\ttop= 142" should set top position of opened window
- ",top=142,," should set top position of opened window
- "TOP=142" should set top position of opened window
- "top=152,left=152" should set top and left position of opened window
- "top=152,,left=152," should set top and left position of opened window
- "top=152==left=152" should set top and left position of opened window
- ",,top= 152, left=152" should set top and left position of opened window
open-features-tokenization-width-height.html 18 / 18 passingChrome 6 / 180 failedClean
18 passing subtests
- "width=401" should set width of opened window
- " width = 401" should set width of opened window
- "width==401" should set width of opened window
- "\nwidth= 401" should set width of opened window
- ",width=401,," should set width of opened window
- "WIDTH=401" should set width of opened window
- "height=402" should set height of opened window
- " height = 402" should set height of opened window
- "height==402" should set height of opened window
- "\nheight= 402" should set height of opened window
- ",height=402,," should set height of opened window
- "HEIGHT=402" should set height of opened window
- "height=402,width=401" should set height and width of opened window
- " height = 402 , width = 401 ," should set height and width of opened window
- "height==402 width = 401" should set height and width of opened window
- "\nheight= 402,,width=\n401" should set height and width of opened window
- ",height=402,,width==401" should set height and width of opened window
- "HEIGHT=402, WIDTH=401" should set height and width of opened window
open_initial_size.html 1 / 1 passingChrome 1 / 10 failedClean
1 passing subtest
- Window geometry is available in opener context immediately
script-closable-webdriver.html 1 / 2 passingChrome 2 / 21 failedWith failures
- ¶
FAILA window created by WebDriver is not script-closable once its session history size is greater than 1
promise_test: Unhandled rejection with value: object "Error: create_window() is not implemented by testdriver-vendor.js"
1 passing subtest
- A window created by window.open() stays script-closable once its session history size is greater than 1
script-closable.html 6 / 6 passingChrome 6 / 60 failedClean
6 passing subtests
- Window created by form with opener is script-closable
- Window created by form with noopener is script-closable
- Window created by link with opener is script-closable
- Window created by link with noopener is script-closable
- Window created by script with opener is script-closable
- Window created by script with noopener is script-closable