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 here

Each test file opens in place to its subtests, and each subtest that did not pass to its message.

Test fileSubtests passingChromeFailedStanding
close_beforeunload.html1 / 1 passingChrome 1 / 10 failedClean
Standing
Clean runner status OK
Chrome
Clean 1 / 1 WPT subtests passing runner status OK
1 passing subtest
  1. Running beforeunload handler in window.close()
close_noopener_beforeunload.html2 / 2 passingChrome 2 / 20 failedClean
Standing
Clean runner status OK
Chrome
Clean 2 / 2 WPT subtests passing runner status OK
2 passing subtests
  1. closing noopener window with 2 entries
  2. closing noopener window with 1 entry
close_pagehide.html1 / 1 passingChrome 1 / 10 failedClean
Standing
Clean runner status OK
Chrome
Clean 1 / 1 WPT subtests passing runner status OK
1 passing subtest
  1. Running pagehide handler in window.close()
close_script_defer.html0 / 1 passingChrome 0 / 11 failedExempt
Standing
Exempt runner status OK
Chrome
Exempt 0 / 1 WPT subtests passing runner status OK

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
  1. FAILRunning defer script in window.close()
    assert_unreached: Reached unreachable code
close_unload.html1 / 1 passingChrome 0 / 10 failedClean
Standing
Clean runner status OK
Chrome
TIMEOUT 0 / 1 WPT subtests passing runner status TIMEOUT
1 passing subtest
  1. Running unload handler in window.close()
closed-after-close.html1 / 1 passingChrome 1 / 10 failedClean
Standing
Clean runner status OK
Chrome
Clean 1 / 1 WPT subtests passing runner status OK
1 passing subtest
  1. window.closed behavior after calling window.close().
creating_browsing_context_test_01.html4 / 4 passingChrome 4 / 40 failedClean
Standing
Clean runner status OK
Chrome
Clean 4 / 4 WPT subtests passing runner status OK
4 passing subtests
  1. first argument: absolute url
  2. first argument: empty url
  3. second argument: passing a non-empty name
  4. second argument: setting name after opening
no_window_open_when_term_nesting_level_nonzero.window.js4 / 4 passingChrome 3 / 40 failedClean
Standing
Clean runner status OK
Chrome
With failures 3 / 4 WPT subtests passing runner status OK
4 passing subtests
  1. no popups with frame removal
  2. no popups with frame navigation
  3. no popups from synchronously reachable window
  4. no popups from another synchronously reachable window
open-features-is-popup-condition.html69 / 69 passingChrome 69 / 690 failedClean
Standing
Clean runner status OK
Chrome
Clean 69 / 69 WPT subtests passing runner status OK

/html/browsers/the-window-object/open-close/open-features-is-popup-condition.html?combination OK 14 / 14

14 passing subtests
  1. "location,toolbar,menubar,resizable,scrollbars,status" should set BarProp visibility to true
  2. "location,menubar,resizable,scrollbars,status" should set BarProp visibility to true
  3. "toolbar,menubar,resizable,scrollbars,status" should set BarProp visibility to true
  4. "resizable,scrollbars,status" should set BarProp visibility to false
  5. "location=no,menubar=no,resizable,scrollbars,status" should set BarProp visibility to false
  6. "location,toolbar,resizable,scrollbars,status" should set BarProp visibility to false
  7. "location,toolbar,menubar,scrollbars,status" should set BarProp visibility to true
  8. "location,toolbar,menubar,resizable=no,scrollbars,status" should set BarProp visibility to false
  9. "location,toolbar,menubar,resizable,status" should set BarProp visibility to false
  10. "location,toolbar,menubar,resizable,scrollbars" should set BarProp visibility to false
  11. "popup=1,location,toolbar,menubar,resizable,scrollbars,status" should set BarProp visibility to false
  12. "popup=yes,location,toolbar,menubar,resizable,scrollbars,status" should set BarProp visibility to false
  13. "popup=true,location,toolbar,menubar,resizable,scrollbars,status" should set BarProp visibility to false
  14. "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
  1. "left=500" should set BarProp visibility to false
  2. "screenX=500" should set BarProp visibility to false
  3. "top=500" should set BarProp visibility to false
  4. "screenY=500" should set BarProp visibility to false
  5. "width=500" should set BarProp visibility to false
  6. "innerWidth=500" should set BarProp visibility to false
  7. "outerWidth=500" should set BarProp visibility to false
  8. "height=500" should set BarProp visibility to false
  9. "innerHeight=500" should set BarProp visibility to false
  10. "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
  1. undefined should set BarProp visibility to true
  2. "popup" should set BarProp visibility to false
  3. "popup=1" should set BarProp visibility to false
  4. "popup=true" should set BarProp visibility to false
  5. "popup=0" should set BarProp visibility to true
  6. "location" should set BarProp visibility to false
  7. "location=yes" should set BarProp visibility to false
  8. "location=true" should set BarProp visibility to false
  9. "location=no" should set BarProp visibility to false
  10. "toolbar" should set BarProp visibility to false
  11. "toolbar=yes" should set BarProp visibility to false
  12. "toolbar=true" should set BarProp visibility to false
  13. "toolbar=no" should set BarProp visibility to false
  14. "menubar" should set BarProp visibility to false
  15. "menubar=yes" should set BarProp visibility to false
  16. "menubar=true" should set BarProp visibility to false
  17. "menubar=no" should set BarProp visibility to false
  18. "resizable" should set BarProp visibility to false
  19. "resizable=yes" should set BarProp visibility to false
  20. "resizable=true" should set BarProp visibility to false
  21. "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
  1. "scrollbars" should set BarProp visibility to false
  2. "scrollbars=yes" should set BarProp visibility to false
  3. "scrollbars=true" should set BarProp visibility to false
  4. "scrollbars=no" should set BarProp visibility to false
  5. "status" should set BarProp visibility to false
  6. "status=yes" should set BarProp visibility to false
  7. "status=true" should set BarProp visibility to false
  8. "status=no" should set BarProp visibility to false
  9. "titlebar" should set BarProp visibility to false
  10. "titlebar=yes" should set BarProp visibility to false
  11. "titlebar=true" should set BarProp visibility to false
  12. "titlebar=no" should set BarProp visibility to false
  13. "close" should set BarProp visibility to false
  14. "close=yes" should set BarProp visibility to false
  15. "close=true" should set BarProp visibility to false
  16. "close=no" should set BarProp visibility to false
  17. "minimizable" should set BarProp visibility to false
  18. "minimizable=yes" should set BarProp visibility to false
  19. "minimizable=true" should set BarProp visibility to false
  20. "minimizable=no" should set BarProp visibility to false
  21. "personalbar" should set BarProp visibility to false
  22. "personalbar=yes" should set BarProp visibility to false
  23. "personalbar=true" should set BarProp visibility to false
  24. "personalbar=no" should set BarProp visibility to false
open-features-negative-innerwidth-innerheight.html6 / 6 passingChrome 6 / 60 failedClean
Standing
Clean runner status OK
Chrome
Clean 6 / 6 WPT subtests passing runner status OK
6 passing subtests
  1. features "innerwidth=-404" should NOT set "width=404"
  2. features "innerwidth=-404.5" should NOT set "width=404"
  3. features "innerwidth=-404e1" should NOT set "width=404"
  4. features "innerheight=-404" should NOT set "height=404"
  5. features "innerheight=-404.5" should NOT set "height=404"
  6. features "innerheight=-404e1" should NOT set "height=404"
open-features-negative-screenx-screeny.html6 / 6 passingChrome 6 / 60 failedClean
Standing
Clean runner status OK
Chrome
Clean 6 / 6 WPT subtests passing runner status OK
6 passing subtests
  1. features "screeny=-204" should NOT set "top=204"
  2. features "screeny=-204.5" should NOT set "top=204"
  3. features "screeny=-0" should NOT set "top=204"
  4. features "screenx=-204" should NOT set "left=204"
  5. features "screenx=-204.5" should NOT set "left=204"
  6. features "screenx=-0" should NOT set "left=204"
open-features-negative-top-left.html6 / 6 passingChrome 6 / 60 failedClean
Standing
Clean runner status OK
Chrome
Clean 6 / 6 WPT subtests passing runner status OK
6 passing subtests
  1. features "top=-204" should NOT set "top=204"
  2. features "top=-204.5" should NOT set "top=204"
  3. features "top=-0" should NOT set "top=204"
  4. features "left=-204" should NOT set "left=204"
  5. features "left=-204.5" should NOT set "left=204"
  6. features "left=-0" should NOT set "left=204"
open-features-negative-width-height.html6 / 6 passingChrome 6 / 60 failedClean
Standing
Clean runner status OK
Chrome
Clean 6 / 6 WPT subtests passing runner status OK
6 passing subtests
  1. features "width=-404" should NOT set "width=404"
  2. features "width=-404.5" should NOT set "width=404"
  3. features "width=-404e1" should NOT set "width=404"
  4. features "height=-404" should NOT set "height=404"
  5. features "height=-404.5" should NOT set "height=404"
  6. features "height=-404e1" should NOT set "height=404"
open-features-non-integer-height.html14 / 14 passingChrome 5 / 140 failedClean
Standing
Clean runner status OK
Chrome
With failures 5 / 14 WPT subtests passing runner status OK
14 passing subtests
  1. top=0,left=0,width=401,: absence of feature "height" should be treated same as "height=0"
  2. top=0,left=0: absence of feature "height" should be treated same as "height=0"
  3. features "height=/404" should NOT set "height=404"
  4. features "height=_404" should NOT set "height=404"
  5. features "height=L404" should NOT set "height=404"
  6. features "height=405.5" should set "height=405"
  7. features "height=405.32" should set "height=405"
  8. features "height=405LLl" should set "height=405"
  9. features "height=405^4" should set "height=405"
  10. features "height=405*3" should set "height=405"
  11. features "height=405/5" should set "height=405"
  12. features "height=405 " should set "height=405"
  13. features "height=405e1" should set "height=405"
  14. features "height=405e-1" should set "height=405"
open-features-non-integer-innerheight.html12 / 12 passingChrome 3 / 120 failedClean
Standing
Clean runner status OK
Chrome
With failures 3 / 12 WPT subtests passing runner status OK
12 passing subtests
  1. features "innerheight=/404" should NOT set "height=404"
  2. features "innerheight=_404" should NOT set "height=404"
  3. features "innerheight=L404" should NOT set "height=404"
  4. features "innerheight=405.5" should set "height=405"
  5. features "innerheight=405.32" should set "height=405"
  6. features "innerheight=405LLl" should set "height=405"
  7. features "innerheight=405^4" should set "height=405"
  8. features "innerheight=405*3" should set "height=405"
  9. features "innerheight=405/5" should set "height=405"
  10. features "innerheight=405 " should set "height=405"
  11. features "innerheight=405e1" should set "height=405"
  12. features "innerheight=405e-1" should set "height=405"
open-features-non-integer-innerwidth.html12 / 12 passingChrome 12 / 120 failedClean
Standing
Clean runner status OK
Chrome
Clean 12 / 12 WPT subtests passing runner status OK
12 passing subtests
  1. features "innerwidth=/404" should NOT set "width=404"
  2. features "innerwidth=_404" should NOT set "width=404"
  3. features "innerwidth=L404" should NOT set "width=404"
  4. features "innerwidth=405.5" should set "width=405"
  5. features "innerwidth=405.32" should set "width=405"
  6. features "innerwidth=405LLl" should set "width=405"
  7. features "innerwidth=405^4" should set "width=405"
  8. features "innerwidth=405*3" should set "width=405"
  9. features "innerwidth=405/5" should set "width=405"
  10. features "innerwidth=405 " should set "width=405"
  11. features "innerwidth=405e1" should set "width=405"
  12. features "innerwidth=405e-1" should set "width=405"
open-features-non-integer-left.html12 / 12 passingChrome 12 / 120 failedClean
Standing
Clean runner status OK
Chrome
Clean 12 / 12 WPT subtests passing runner status OK
12 passing subtests
  1. features "left=/104" should NOT set "left=104"
  2. features "left=_104" should NOT set "left=104"
  3. features "left=L104" should NOT set "left=104"
  4. features "left=105.5" should set "left=105"
  5. features "left=105.32" should set "left=105"
  6. features "left=105LLl" should set "left=105"
  7. features "left=105^4" should set "left=105"
  8. features "left=105*3" should set "left=105"
  9. features "left=105/5" should set "left=105"
  10. features "left=105 " should set "left=105"
  11. features "left=105e1" should set "left=105"
  12. features "left=105e-1" should set "left=105"
open-features-non-integer-screenx.html12 / 12 passingChrome 12 / 120 failedClean
Standing
Clean runner status OK
Chrome
Clean 12 / 12 WPT subtests passing runner status OK
12 passing subtests
  1. features "screenx=/104" should NOT set "screenx=104"
  2. features "screenx=_104" should NOT set "screenx=104"
  3. features "screenx=L104" should NOT set "screenx=104"
  4. features "screenx=105.5" should set "screenx=105"
  5. features "screenx=105.32" should set "screenx=105"
  6. features "screenx=105LLl" should set "screenx=105"
  7. features "screenx=105^4" should set "screenx=105"
  8. features "screenx=105*3" should set "screenx=105"
  9. features "screenx=105/5" should set "screenx=105"
  10. features "screenx=105 " should set "screenx=105"
  11. features "screenx=105e1" should set "screenx=105"
  12. features "screenx=105e-1" should set "screenx=105"
open-features-non-integer-screeny.html12 / 12 passingChrome 3 / 120 failedClean
Standing
Clean runner status OK
Chrome
With failures 3 / 12 WPT subtests passing runner status OK
12 passing subtests
  1. features "screeny=/404" should NOT set "screeny=404"
  2. features "screeny=_404" should NOT set "screeny=404"
  3. features "screeny=L404" should NOT set "screeny=404"
  4. features "screeny=405.5" should set "screeny=405"
  5. features "screeny=405.32" should set "screeny=405"
  6. features "screeny=405LLl" should set "screeny=405"
  7. features "screeny=405^4" should set "screeny=405"
  8. features "screeny=405*3" should set "screeny=405"
  9. features "screeny=405/5" should set "screeny=405"
  10. features "screeny=405 " should set "screeny=405"
  11. features "screeny=405e1" should set "screeny=405"
  12. features "screeny=405e-1" should set "screeny=405"
open-features-non-integer-top.html12 / 12 passingChrome 12 / 120 failedClean
Standing
Clean runner status OK
Chrome
Clean 12 / 12 WPT subtests passing runner status OK
12 passing subtests
  1. features "top=/104" should NOT set "top=104"
  2. features "top=_104" should NOT set "top=104"
  3. features "top=L104" should NOT set "top=104"
  4. features "top=105.5" should set "top=105"
  5. features "top=105.32" should set "top=105"
  6. features "top=105LLl" should set "top=105"
  7. features "top=105^4" should set "top=105"
  8. features "top=105*3" should set "top=105"
  9. features "top=105/5" should set "top=105"
  10. features "top=105 " should set "top=105"
  11. features "top=105e1" should set "top=105"
  12. features "top=105e-1" should set "top=105"
open-features-non-integer-width.html14 / 14 passingChrome 14 / 140 failedClean
Standing
Clean runner status OK
Chrome
Clean 14 / 14 WPT subtests passing runner status OK
14 passing subtests
  1. top=0,left=0,height=401,: absence of feature "width" should be treated same as "width=0"
  2. top=0,left=0: absence of feature "width" should be treated same as "width=0"
  3. features "width=/404" should NOT set "width=404"
  4. features "width=_404" should NOT set "width=404"
  5. features "width=L404" should NOT set "width=404"
  6. features "width=405.5" should set "width=405"
  7. features "width=405.32" should set "width=405"
  8. features "width=405LLl" should set "width=405"
  9. features "width=405^4" should set "width=405"
  10. features "width=405*3" should set "width=405"
  11. features "width=405/5" should set "width=405"
  12. features "width=405 " should set "width=405"
  13. features "width=405e1" should set "width=405"
  14. features "width=405e-1" should set "width=405"
open-features-tokenization-innerheight-innerwidth.html14 / 14 passingChrome 7 / 140 failedClean
Standing
Clean runner status OK
Chrome
With failures 7 / 14 WPT subtests passing runner status OK
14 passing subtests
  1. "innerwidth=401" should set width of opened window
  2. " innerwidth = 401" should set width of opened window
  3. "innerwidth==401" should set width of opened window
  4. "\ninnerwidth= 401" should set width of opened window
  5. ",innerwidth=401,," should set width of opened window
  6. "INNERWIDTH=401" should set width of opened window
  7. "innerWidth=401" should set width of opened window
  8. "innerheight=402" should set height of opened window
  9. " innerheight = 402" should set height of opened window
  10. "innerheight==402" should set height of opened window
  11. "\ninnerheight= 402" should set height of opened window
  12. ",innerheight=402,," should set height of opened window
  13. "INNERHEIGHT=402" should set height of opened window
  14. "innerHeight=402" should set height of opened window
open-features-tokenization-noopener.html8 / 8 passingChrome 8 / 80 failedClean
Standing
Clean runner status OK
Chrome
Clean 8 / 8 WPT subtests passing runner status OK
8 passing subtests
  1. Tokenization of "noopener" should skip window features separators before feature
  2. Feature "noopener" should be converted to ASCII lowercase
  3. After "noopener", tokenization should skip window features separators that are not "=" or ","
  4. Tokenizing "noopener" should ignore window feature separators except "," after initial "=" and before value
  5. Tokenizing "noopener" should read characters until first window feature separator as `value`
  6. Integer values other than 0 should activate the feature
  7. Integer value of 0 should not activate "noopener"
  8. Invalid feature names should not tokenize as "noopener"
open-features-tokenization-noreferrer.html8 / 8 passingChrome 8 / 80 failedClean
Standing
Clean runner status OK
Chrome
Clean 8 / 8 WPT subtests passing runner status OK
8 passing subtests
  1. Tokenization of "noreferrer" should skip window features separators before feature
  2. Feature "noreferrer" should be converted to ASCII lowercase
  3. After "noreferrer", tokenization should skip window features separators that are not "=" or ","
  4. Tokenizing "noreferrer" should ignore window feature separators except "," after initial "=" and before value
  5. Tokenizing "noreferrer" should read characters until first window feature separator as `value`
  6. Integer values other than 0 should activate the feature
  7. Integer value of 0 should not activate "noreferrer"
  8. Invalid feature names should not tokenize as "noreferrer"
open-features-tokenization-screenx-screeny.html14 / 14 passingChrome 7 / 140 failedClean
Standing
Clean runner status OK
Chrome
With failures 7 / 14 WPT subtests passing runner status OK
14 passing subtests
  1. "screenx=141" should set left position of opened window
  2. " screenx = 141" should set left position of opened window
  3. "screenx==141" should set left position of opened window
  4. "\nscreenx= 141" should set left position of opened window
  5. ",screenx=141,," should set left position of opened window
  6. "SCREENX=141" should set left position of opened window
  7. "screenX=141" should set left position of opened window
  8. "screeny=142" should set top position of opened window
  9. " screeny = 142" should set top position of opened window
  10. "screeny==142" should set top position of opened window
  11. "\nscreeny= 142" should set top position of opened window
  12. ",screeny=142,," should set top position of opened window
  13. "SCREENY=142" should set top position of opened window
  14. "screenY=142" should set top position of opened window
open-features-tokenization-top-left.html16 / 16 passingChrome 6 / 160 failedClean
Standing
Clean runner status OK
Chrome
With failures 6 / 16 WPT subtests passing runner status OK
16 passing subtests
  1. "left=141" should set left position of opened window
  2. " left = 141" should set left position of opened window
  3. "left==141" should set left position of opened window
  4. " left= 141" should set left position of opened window
  5. ",left=141,," should set left position of opened window
  6. "LEFT=141" should set left position of opened window
  7. "top=142" should set top position of opened window
  8. " top = 142" should set top position of opened window
  9. "top==142" should set top position of opened window
  10. "\ttop= 142" should set top position of opened window
  11. ",top=142,," should set top position of opened window
  12. "TOP=142" should set top position of opened window
  13. "top=152,left=152" should set top and left position of opened window
  14. "top=152,,left=152," should set top and left position of opened window
  15. "top=152==left=152" should set top and left position of opened window
  16. ",,top= 152, left=152" should set top and left position of opened window
open-features-tokenization-width-height.html18 / 18 passingChrome 6 / 180 failedClean
Standing
Clean runner status OK
Chrome
With failures 6 / 18 WPT subtests passing runner status OK
18 passing subtests
  1. "width=401" should set width of opened window
  2. " width = 401" should set width of opened window
  3. "width==401" should set width of opened window
  4. "\nwidth= 401" should set width of opened window
  5. ",width=401,," should set width of opened window
  6. "WIDTH=401" should set width of opened window
  7. "height=402" should set height of opened window
  8. " height = 402" should set height of opened window
  9. "height==402" should set height of opened window
  10. "\nheight= 402" should set height of opened window
  11. ",height=402,," should set height of opened window
  12. "HEIGHT=402" should set height of opened window
  13. "height=402,width=401" should set height and width of opened window
  14. " height = 402 , width = 401 ," should set height and width of opened window
  15. "height==402 width = 401" should set height and width of opened window
  16. "\nheight= 402,,width=\n401" should set height and width of opened window
  17. ",height=402,,width==401" should set height and width of opened window
  18. "HEIGHT=402, WIDTH=401" should set height and width of opened window
open_initial_size.html1 / 1 passingChrome 1 / 10 failedClean
Standing
Clean runner status OK
Chrome
Clean 1 / 1 WPT subtests passing runner status OK
1 passing subtest
  1. Window geometry is available in opener context immediately
script-closable-webdriver.html1 / 2 passingChrome 2 / 21 failedWith failures
Standing
With failures runner status OK
Chrome
Clean 2 / 2 WPT subtests passing runner status OK
  1. 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
  1. A window created by window.open() stays script-closable once its session history size is greater than 1
script-closable.html6 / 6 passingChrome 6 / 60 failedClean
Standing
Clean runner status OK
Chrome
Clean 6 / 6 WPT subtests passing runner status OK
6 passing subtests
  1. Window created by form with opener is script-closable
  2. Window created by form with noopener is script-closable
  3. Window created by link with opener is script-closable
  4. Window created by link with noopener is script-closable
  5. Window created by script with opener is script-closable
  6. Window created by script with noopener is script-closable

Written as HTML by tools/wpt_site/generate.zig from the runner’s journals and result streams; site.js adds the interactive chart, sorting, filtering and search. Faces: Source Serif 4, Public Sans and Source Code Pro, under the SIL Open Font License. Crane on GitHub.