diff --git a/html/browsers/browsing-the-web/navigating-across-documents/010-form-action-javascript-url-aborted-by-navigation.html b/html/browsers/browsing-the-web/navigating-across-documents/010-form-action-javascript-url-aborted-by-navigation.html new file mode 100644 index 000000000000000..ef62455b635f7df --- /dev/null +++ b/html/browsers/browsing-the-web/navigating-across-documents/010-form-action-javascript-url-aborted-by-navigation.html @@ -0,0 +1,56 @@ + + + + + + + + + +Link with onclick form submit to navigate "javascript: url" in nested browsing context, is aborted by href navigation + + +
+ + +
+Test + + + diff --git a/html/browsers/browsing-the-web/navigating-across-documents/010.html b/html/browsers/browsing-the-web/navigating-across-documents/010.html deleted file mode 100644 index 3917cd16e5578d5..000000000000000 --- a/html/browsers/browsing-the-web/navigating-across-documents/010.html +++ /dev/null @@ -1,17 +0,0 @@ - -Link with onclick form submit to javascript url with delayed document.write and href navigation - - -
- -
-Test - diff --git a/html/browsers/browsing-the-web/navigating-across-documents/011.html b/html/browsers/browsing-the-web/navigating-across-documents/011.html index fe6b8dbc3560fba..27d0f4d33db25eb 100644 --- a/html/browsers/browsing-the-web/navigating-across-documents/011.html +++ b/html/browsers/browsing-the-web/navigating-across-documents/011.html @@ -1,21 +1,39 @@ -Link with onclick navigation to javascript url with document.write and href navigation + +Link with onclick that does not attempt to navigate and href navigation
-Test +Test + + diff --git a/html/browsers/browsing-the-web/navigating-across-documents/012-async-timeout.html b/html/browsers/browsing-the-web/navigating-across-documents/012-async-timeout.html new file mode 100644 index 000000000000000..c411b7aee269ad1 --- /dev/null +++ b/html/browsers/browsing-the-web/navigating-across-documents/012-async-timeout.html @@ -0,0 +1,44 @@ + + +Link with onclick, which executes a handler containing a timeout, that then navigates the iframe, and returns true. + + +
+ +Test + + + diff --git a/html/browsers/browsing-the-web/navigating-across-documents/012-blocking-then-async-postmessage.html b/html/browsers/browsing-the-web/navigating-across-documents/012-blocking-then-async-postmessage.html new file mode 100644 index 000000000000000..c4bffde7d005174 --- /dev/null +++ b/html/browsers/browsing-the-web/navigating-across-documents/012-blocking-then-async-postmessage.html @@ -0,0 +1,46 @@ + + +Link with onclick, which executes a handler containing a 100ms blocking operation, then iframe document.write, then returns true. + + +
+ + Test + + + + diff --git a/html/browsers/browsing-the-web/navigating-across-documents/012.html b/html/browsers/browsing-the-web/navigating-across-documents/012.html deleted file mode 100644 index be8f2feba8244a5..000000000000000 --- a/html/browsers/browsing-the-web/navigating-across-documents/012.html +++ /dev/null @@ -1,20 +0,0 @@ - -Link with onclick navigation to javascript url with delayed document.write and href navigation - - -
- - -Test - diff --git a/html/browsers/browsing-the-web/navigating-across-documents/013.html b/html/browsers/browsing-the-web/navigating-across-documents/013.html index 69ce7bc6168a9af..7f4ccd71b7fbe71 100644 --- a/html/browsers/browsing-the-web/navigating-across-documents/013.html +++ b/html/browsers/browsing-the-web/navigating-across-documents/013.html @@ -1,20 +1,46 @@ -Link with onclick navigation to javascript url with delayed document.write and href navigation + + + + + +Link with href navigation to "javascript: url", order of execution
-Test +Test + + diff --git a/html/browsers/browsing-the-web/navigating-across-documents/014.html b/html/browsers/browsing-the-web/navigating-across-documents/014.html index 605e181858d4c70..fdf4d6e48de5ae3 100644 --- a/html/browsers/browsing-the-web/navigating-across-documents/014.html +++ b/html/browsers/browsing-the-web/navigating-across-documents/014.html @@ -1,21 +1,55 @@ - Link with javascript onclick form submission script order + + + + + + + + + +Link with onclick form submit to "javascript: url", order of execution
-
-Test +
+Test + + diff --git a/html/browsers/browsing-the-web/navigating-across-documents/015.html b/html/browsers/browsing-the-web/navigating-across-documents/015.html index eb54622b785ea12..3c7268e4fcaab2b 100644 --- a/html/browsers/browsing-the-web/navigating-across-documents/015.html +++ b/html/browsers/browsing-the-web/navigating-across-documents/015.html @@ -1,20 +1,48 @@ - Link with javascript onclick and href script order + + + + + +Link with onclick and href javascript: url, order of execution
-Test +Test + + diff --git a/html/browsers/browsing-the-web/navigating-across-documents/016-onclick-return-false-no-navigation.html b/html/browsers/browsing-the-web/navigating-across-documents/016-onclick-return-false-no-navigation.html new file mode 100644 index 000000000000000..eb90612e96b98b3 --- /dev/null +++ b/html/browsers/browsing-the-web/navigating-across-documents/016-onclick-return-false-no-navigation.html @@ -0,0 +1,44 @@ + + +Link with onclick navigates iframe and returns false, which will prevent the href navigation + + +
+ +Test + + + + diff --git a/html/browsers/browsing-the-web/navigating-across-documents/016-onclick-return-true-then-navigation.html b/html/browsers/browsing-the-web/navigating-across-documents/016-onclick-return-true-then-navigation.html new file mode 100644 index 000000000000000..8e1cac7112b1e23 --- /dev/null +++ b/html/browsers/browsing-the-web/navigating-across-documents/016-onclick-return-true-then-navigation.html @@ -0,0 +1,45 @@ + + +Link with onclick navigates iframe and returns true, which allows the href navigation + + +
+ +Test + + + + diff --git a/html/browsers/browsing-the-web/navigating-across-documents/call-parent-postmessage.html b/html/browsers/browsing-the-web/navigating-across-documents/call-parent-postmessage.html new file mode 100644 index 000000000000000..3c677b0b90687ee --- /dev/null +++ b/html/browsers/browsing-the-web/navigating-across-documents/call-parent-postmessage.html @@ -0,0 +1,6 @@ + + diff --git a/html/browsers/browsing-the-web/navigating-across-documents/click.html b/html/browsers/browsing-the-web/navigating-across-documents/click.html index 8cb03b74d5ecee7..11a8f1a1c375de7 100644 --- a/html/browsers/browsing-the-web/navigating-across-documents/click.html +++ b/html/browsers/browsing-the-web/navigating-across-documents/click.html @@ -1,4 +1,6 @@