Bug 1501562 - Don't set window.opened window to explicitly load about:blank r=jgraham
☠☠ backed out by 7133f3098dc5 ☠ ☠
authorJames Graham <james@hoppipolla.co.uk>
Tue, 23 Apr 2019 21:03:06 +0000
changeset 470561 7010f2e2696928f419eecce244fa189725273ada
parent 470560 8045a87e5ce666e6de3fb71c58f60007d1f27608
child 470562 c666c0a0d04208fa315059b45c0521c880ef7c60
push id35908
push useraciure@mozilla.com
push dateWed, 24 Apr 2019 04:28:40 +0000
treeherdermozilla-central@c9f0730a57a6 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersjgraham
bugs1501562
milestone68.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 1501562 - Don't set window.opened window to explicitly load about:blank r=jgraham Mark a few linux debug non-e10s tests as expected fail as this change seems to break these tests in weird ways in that configuration. Differential Revision: https://phabricator.services.mozilla.com/D28160
testing/web-platform/meta/html/semantics/embedded-content/media-elements/event_play_noautoplay.html.ini
testing/web-platform/meta/infrastructure/assumptions/allowed-to-play.html.ini
testing/web-platform/tests/tools/wptrunner/wptrunner/executors/executormarionette.py
new file mode 100644
--- /dev/null
+++ b/testing/web-platform/meta/html/semantics/embedded-content/media-elements/event_play_noautoplay.html.ini
@@ -0,0 +1,3 @@
+[event_play_noautoplay.html]
+  expected:
+    if (os == "linux") and not e10s and (bits == 32): FAIL
new file mode 100644
--- /dev/null
+++ b/testing/web-platform/meta/infrastructure/assumptions/allowed-to-play.html.ini
@@ -0,0 +1,3 @@
+[allowed-to-play.html]
+  expected:
+    if (os == "linux") and not e10s and (bits == 32): FAIL
--- a/testing/web-platform/tests/tools/wptrunner/wptrunner/executors/executormarionette.py
+++ b/testing/web-platform/tests/tools/wptrunner/wptrunner/executors/executormarionette.py
@@ -703,17 +703,17 @@ class MarionetteTestharnessExecutor(Test
     def do_testharness(self, protocol, url, timeout):
         parent_window = protocol.testharness.close_old_windows(protocol)
 
         if self.protocol.coverage.is_enabled:
             self.protocol.coverage.reset()
 
         format_map = {"url": strip_server(url)}
 
-        protocol.base.execute_script("window.open('about:blank', '%s', 'noopener')" % self.window_id)
+        protocol.base.execute_script("window.open(undefined, '%s', 'noopener')" % self.window_id)
         test_window = protocol.testharness.get_test_window(self.window_id, parent_window,
                                                            timeout=10*self.timeout_multiplier)
         self.protocol.base.set_window(test_window)
         handler = CallbackHandler(self.logger, protocol, test_window)
         protocol.marionette.navigate(url)
         while True:
             result = protocol.base.execute_script(
                 self.script_resume % format_map, async=True)