Bug 1466089 [wpt PR 11294] - HTML: Expect salvegable to be set to false for pagehide test, a=testonly
authorSimon Pieters <zcorpan@gmail.com>
Fri, 06 Jul 2018 21:29:36 +0000
changeset 425983 10f0540871af5ee666be2366a590245f319f38b6
parent 425982 8add56efdf7447b88488e897cd6ab840e0e7a82c
child 425984 557614fc850307922aee5d14c1e9958b26e3fb8d
push id34267
push userrgurzau@mozilla.com
push dateWed, 11 Jul 2018 22:05:21 +0000
treeherdermozilla-central@3aca103e4915 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewerstestonly
bugs1466089, 11294, 11269
milestone63.0a1
first release with
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
Bug 1466089 [wpt PR 11294] - HTML: Expect salvegable to be set to false for pagehide test, a=testonly Automatic update from web-platform-testsHTML: Expect salvegable to be set to false for pagehide test Also rename the manual test. Part of #11269. -- wpt-commits: 939af265657f0fe6c59094cd9a519b6be9fdbac0 wpt-pr: 11294
testing/web-platform/meta/MANIFEST.json
testing/web-platform/tests/html/browsers/browsing-the-web/unloading-documents/unload/006-1.html
testing/web-platform/tests/html/browsers/browsing-the-web/unloading-documents/unload/manual-001-1.html
testing/web-platform/tests/html/browsers/browsing-the-web/unloading-documents/unload/manual-001.html
testing/web-platform/tests/html/browsers/browsing-the-web/unloading-documents/unload/pagehide-manual-1.html
testing/web-platform/tests/html/browsers/browsing-the-web/unloading-documents/unload/pagehide-manual.html
--- a/testing/web-platform/meta/MANIFEST.json
+++ b/testing/web-platform/meta/MANIFEST.json
@@ -11774,16 +11774,22 @@
     ]
    ],
    "html-media-capture/capture_video_user-manual.html": [
     [
      "/html-media-capture/capture_video_user-manual.html",
      {}
     ]
    ],
+   "html/browsers/browsing-the-web/unloading-documents/unload/pagehide-manual.html": [
+    [
+     "/html/browsers/browsing-the-web/unloading-documents/unload/pagehide-manual.html",
+     {}
+    ]
+   ],
    "html/browsers/history/the-history-interface/non-automated/traverse_the_history_unload_prompt_1-manual.html": [
     [
      "/html/browsers/history/the-history-interface/non-automated/traverse_the_history_unload_prompt_1-manual.html",
      {}
     ]
    ],
    "html/browsers/history/the-history-interface/non-automated/traverse_the_history_unload_prompt_2-manual.html": [
     [
@@ -276803,22 +276809,17 @@
      {}
     ]
    ],
    "html/browsers/browsing-the-web/unloading-documents/unload/009-1.html": [
     [
      {}
     ]
    ],
-   "html/browsers/browsing-the-web/unloading-documents/unload/manual-001-1.html": [
-    [
-     {}
-    ]
-   ],
-   "html/browsers/browsing-the-web/unloading-documents/unload/manual-001.html": [
+   "html/browsers/browsing-the-web/unloading-documents/unload/pagehide-manual-1.html": [
     [
      {}
     ]
    ],
    "html/browsers/history/.gitkeep": [
     [
      {}
     ]
@@ -572840,17 +572841,17 @@
    "b59f5927312dd14614cf43516f3af53939c202fc",
    "support"
   ],
   "html/browsers/browsing-the-web/unloading-documents/unload/004.html": [
    "09e07d55cd02598626c4f0b295a35638d82bcae9",
    "testharness"
   ],
   "html/browsers/browsing-the-web/unloading-documents/unload/006-1.html": [
-   "73183ec1fbbdb0f8bbf7ef0c0e2ca2d940465299",
+   "a26197e9ed1f2fc73b9b297cb1e92c21619dcbbb",
    "support"
   ],
   "html/browsers/browsing-the-web/unloading-documents/unload/006-2.html": [
    "92a580e295283f129ff57d11fb96bd529aef9e08",
    "support"
   ],
   "html/browsers/browsing-the-web/unloading-documents/unload/006.html": [
    "89d38ef91fa1ef8cbf23cdc9f7e95abacc6ead8b",
@@ -572879,23 +572880,23 @@
   "html/browsers/browsing-the-web/unloading-documents/unload/009-1.html": [
    "1961f6d8a60a5560e90130c68e840b9a95e72014",
    "support"
   ],
   "html/browsers/browsing-the-web/unloading-documents/unload/009.html": [
    "97d775ccd5a50fe561100794417c7c7eb97939e7",
    "testharness"
   ],
-  "html/browsers/browsing-the-web/unloading-documents/unload/manual-001-1.html": [
+  "html/browsers/browsing-the-web/unloading-documents/unload/pagehide-manual-1.html": [
    "ff9aaf41f253012553868cc998e0b97ab6fe2970",
    "support"
   ],
-  "html/browsers/browsing-the-web/unloading-documents/unload/manual-001.html": [
-   "2a96f64ae79f1f1089ead1d0bae17b733540a8c5",
-   "support"
+  "html/browsers/browsing-the-web/unloading-documents/unload/pagehide-manual.html": [
+   "8e6158718a67cef7e4912dda69d1287b2171654f",
+   "manual"
   ],
   "html/browsers/history/.gitkeep": [
    "da39a3ee5e6b4b0d3255bfef95601890afd80709",
    "support"
   ],
   "html/browsers/history/history-notes/.gitkeep": [
    "da39a3ee5e6b4b0d3255bfef95601890afd80709",
    "support"
--- a/testing/web-platform/tests/html/browsers/browsing-the-web/unloading-documents/unload/006-1.html
+++ b/testing/web-platform/tests/html/browsers/browsing-the-web/unloading-documents/unload/006-1.html
@@ -1,17 +1,20 @@
 <!doctype html>
 006-1
 <script>
 onpagehide = function() {
   onpagehide = null;
   setTimeout(function() {
-               parent.t.done()
+               parent.t.unreached_func('setTimeout survived navigatoin');
              }, 1000);
 }
+if (parent.loaded) {
+  setTimeout(function() { parent.t.done(); }, 2000);
+}
 onload = function() {
   if (!parent.loaded) {
     parent.loaded = true;
     setTimeout(parent.t.step_func(
        function() {
          location="006-2.html?" + Math.random();
        }
     ), 100);
deleted file mode 100644
--- a/testing/web-platform/tests/html/browsers/browsing-the-web/unloading-documents/unload/manual-001.html
+++ /dev/null
@@ -1,5 +0,0 @@
-<!doctype html>
-<title>Document salvagable state after setting pagehide handler</title>
-<script>onpagehide = function() {setTimeout(function(){document.body.innerHTML = "PASS"}, 100)}</script>
-<p>Click the link below then navigate back to this page. Shortly after returning you should see the text "PASS"</p>
-<p><A href="manual-001-1.html">Click here</a>
rename from testing/web-platform/tests/html/browsers/browsing-the-web/unloading-documents/unload/manual-001-1.html
rename to testing/web-platform/tests/html/browsers/browsing-the-web/unloading-documents/unload/pagehide-manual-1.html
new file mode 100644
--- /dev/null
+++ b/testing/web-platform/tests/html/browsers/browsing-the-web/unloading-documents/unload/pagehide-manual.html
@@ -0,0 +1,5 @@
+<!doctype html>
+<title>Document salvagable state after setting pagehide handler</title>
+<script>onpagehide = function() {setTimeout(function(){document.body.innerHTML = "PASS"}, 100)}</script>
+<p>Click the link below then navigate back to this page. Shortly after returning you should see the text "PASS"</p>
+<p><a href="pagehide-manual-1.html">Click here</a>