beforeunload and unload infrastructure

This commit is contained in:
Gregory Terzian 2018-03-18 13:20:24 +08:00
parent a1d1b18710
commit 427eaed535
28 changed files with 267 additions and 60 deletions

View file

@ -1,10 +1,7 @@
[url-in-tags-revoke.window.html]
expected: TIMEOUT
[Fetching a blob URL immediately before revoking it works in an iframe.]
expected: FAIL
[Fetching a blob URL immediately before revoking it works in <script> tags.]
expected: TIMEOUT
[Fetching a blob URL immediately before revoking it works in an iframe navigation.]
expected: TIMEOUT

View file

@ -1,3 +1,4 @@
[007.html]
type: testharness
expected: TIMEOUT
[Link with onclick javascript url and href navigation ]
expected: FAIL

View file

@ -1,6 +0,0 @@
[child_navigates_parent_location.html]
type: testharness
expected: TIMEOUT
[Child document navigating parent via location ]
expected: TIMEOUT

View file

@ -0,0 +1,4 @@
[001.html]
type: testharness
[document.open in unload]
expected: FAIL

View file

@ -0,0 +1,4 @@
[002.html]
type: testharness
[document.open in unload]
expected: FAIL

View file

@ -0,0 +1,4 @@
[003.html]
type: testharness
[document.open in beforeunload with link]
expected: FAIL

View file

@ -0,0 +1,4 @@
[004.html]
type: testharness
[document.open in beforeunload with button]
expected: FAIL

View file

@ -0,0 +1,4 @@
[005.html]
type: testharness
[document.open in pagehide in iframe]
expected: FAIL

View file

@ -0,0 +1,4 @@
[beforeunload-on-history-back.html]
type: testharness
[beforeunload event fires on history navigation back]
expected: FAIL

View file

@ -0,0 +1,6 @@
[beforeunload-on-navigation-of-parent.html]
type: testharness
[Triggering navigation from within beforeunload event]
expected: FAIL
[beforeunload in iframe on navigation of parent]
expected: FAIL

View file

@ -0,0 +1,4 @@
[navigation-within-beforeunload.html]
type: testharness
[Triggering navigation from within beforeunload event]
expected: FAIL

View file

@ -0,0 +1,4 @@
[003.html]
type: testharness
[unload event properties]
expected: FAIL

View file

@ -0,0 +1,5 @@
[006.html]
type: testharness
expected: TIMEOUT
[salvagable state of document after setting pagehide listener]
expected: TIMEOUT

View file

@ -1,6 +0,0 @@
[assign_after_load.html]
type: testharness
expected: TIMEOUT
[Assignment to location after document is completely loaded]
expected: TIMEOUT

View file

@ -1,6 +0,0 @@
[assign_before_load.html]
type: testharness
expected: TIMEOUT
[Assignment to location before document is completely loaded]
expected: TIMEOUT

View file

@ -44,9 +44,6 @@
[Document interface: attribute onsecuritypolicyviolation]
expected: FAIL
[Document interface: iframe.contentDocument must have own property "location"]
expected: FAIL
[Document interface: iframe.contentDocument must inherit property "dir" with the proper type]
expected: FAIL
@ -113,9 +110,6 @@
[Document interface: iframe.contentDocument must inherit property "onsecuritypolicyviolation" with the proper type]
expected: FAIL
[Document interface: new Document() must have own property "location"]
expected: FAIL
[Document interface: new Document() must inherit property "dir" with the proper type]
expected: FAIL
@ -179,9 +173,6 @@
[Document interface: new Document() must inherit property "onsecuritypolicyviolation" with the proper type]
expected: FAIL
[Document interface: document.implementation.createDocument(null, "", null) must have own property "location"]
expected: FAIL
[Document interface: document.implementation.createDocument(null, "", null) must inherit property "dir" with the proper type]
expected: FAIL
@ -4991,9 +4982,6 @@
[Window interface: window must inherit property "self" with the proper type]
expected: FAIL
[Window interface: window must have own property "location"]
expected: FAIL
[Window interface: window must inherit property "locationbar" with the proper type]
expected: FAIL

View file

@ -1,5 +0,0 @@
[079.html]
type: testharness
[ setting location to javascript URL from event handler ]
expected: FAIL