From b3145ac763044a0166138b204c7d707a424efa79 Mon Sep 17 00:00:00 2001 From: Samael Wang Date: Wed, 15 Nov 2017 16:10:04 +0000 Subject: [PATCH] Add wpt test of form submission inside an onload handler. MozReview-Commit-ID: HearVphzHsG Upstreamed from https://bugzilla.mozilla.org/show_bug.cgi?id=1397512 [ci skip] --- .../navigation-in-onload.tentative.html | 37 +++++++++++++++++++ ...in-onload_form-submission-1.tentative.html | 15 ++++++++ ...in-onload_form-submission-2.tentative.html | 22 +++++++++++ ...m-submission-dynamic-iframe.tentative.html | 16 ++++++++ ...load_form-submission-iframe.tentative.html | 10 +++++ 5 files changed, 100 insertions(+) create mode 100644 html/browsers/history/the-session-history-of-browsing-contexts/navigation-in-onload.tentative.html create mode 100644 html/browsers/history/the-session-history-of-browsing-contexts/navigation-in-onload_form-submission-1.tentative.html create mode 100644 html/browsers/history/the-session-history-of-browsing-contexts/navigation-in-onload_form-submission-2.tentative.html create mode 100644 html/browsers/history/the-session-history-of-browsing-contexts/navigation-in-onload_form-submission-dynamic-iframe.tentative.html create mode 100644 html/browsers/history/the-session-history-of-browsing-contexts/navigation-in-onload_form-submission-iframe.tentative.html diff --git a/html/browsers/history/the-session-history-of-browsing-contexts/navigation-in-onload.tentative.html b/html/browsers/history/the-session-history-of-browsing-contexts/navigation-in-onload.tentative.html new file mode 100644 index 00000000000000..3e021c65ac8e73 --- /dev/null +++ b/html/browsers/history/the-session-history-of-browsing-contexts/navigation-in-onload.tentative.html @@ -0,0 +1,37 @@ + + + +Navigation in onload handler + + + + diff --git a/html/browsers/history/the-session-history-of-browsing-contexts/navigation-in-onload_form-submission-1.tentative.html b/html/browsers/history/the-session-history-of-browsing-contexts/navigation-in-onload_form-submission-1.tentative.html new file mode 100644 index 00000000000000..53a2dab1bc2dc6 --- /dev/null +++ b/html/browsers/history/the-session-history-of-browsing-contexts/navigation-in-onload_form-submission-1.tentative.html @@ -0,0 +1,15 @@ + + + + + Navigation in onload handler through form submission + + + +
+ + diff --git a/html/browsers/history/the-session-history-of-browsing-contexts/navigation-in-onload_form-submission-2.tentative.html b/html/browsers/history/the-session-history-of-browsing-contexts/navigation-in-onload_form-submission-2.tentative.html new file mode 100644 index 00000000000000..10cc69ae0f4d6f --- /dev/null +++ b/html/browsers/history/the-session-history-of-browsing-contexts/navigation-in-onload_form-submission-2.tentative.html @@ -0,0 +1,22 @@ + + + + + Navigation in onload handler through form submission + + + + + diff --git a/html/browsers/history/the-session-history-of-browsing-contexts/navigation-in-onload_form-submission-dynamic-iframe.tentative.html b/html/browsers/history/the-session-history-of-browsing-contexts/navigation-in-onload_form-submission-dynamic-iframe.tentative.html new file mode 100644 index 00000000000000..ebf663fadb8ecf --- /dev/null +++ b/html/browsers/history/the-session-history-of-browsing-contexts/navigation-in-onload_form-submission-dynamic-iframe.tentative.html @@ -0,0 +1,16 @@ + + + + + Navigation in onload handler through form submission in a dynamically created iframe + + + + + diff --git a/html/browsers/history/the-session-history-of-browsing-contexts/navigation-in-onload_form-submission-iframe.tentative.html b/html/browsers/history/the-session-history-of-browsing-contexts/navigation-in-onload_form-submission-iframe.tentative.html new file mode 100644 index 00000000000000..1c45fada5a352f --- /dev/null +++ b/html/browsers/history/the-session-history-of-browsing-contexts/navigation-in-onload_form-submission-iframe.tentative.html @@ -0,0 +1,10 @@ + + + + + Navigation in onload handler through form submission in an iframe + + + + +