Bug 1226346 - Make test that uses window.open faster and give it a longer timeout, r=Ms2ger a=testonly
authorJames Graham <james@hoppipolla.co.uk>
Tue, 08 Dec 2015 17:33:09 +0000
changeset 310501 68ef7e655da46b54d5e2c157fcfebe27a85f9a8d
parent 310500 19cd67663ca5da8b57f60c16c22ca8b65bfd2caf
child 310502 d044c3abe01932bd590a07734395cf9282b55f56
push id5513
push userraliiev@mozilla.com
push dateMon, 25 Jan 2016 13:55:34 +0000
treeherdermozilla-beta@5ee97dd05b5c [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersMs2ger, testonly
bugs1226346
milestone45.0a2
Bug 1226346 - Make test that uses window.open faster and give it a longer timeout, r=Ms2ger a=testonly
testing/web-platform/meta/html/browsers/the-window-object/apis-for-creating-and-navigating-browsing-contexts-by-name/creating_browsing_context_test_01.html.ini
testing/web-platform/tests/html/browsers/the-window-object/apis-for-creating-and-navigating-browsing-contexts-by-name/creating_browsing_context_test_01.html
--- a/testing/web-platform/meta/html/browsers/the-window-object/apis-for-creating-and-navigating-browsing-contexts-by-name/creating_browsing_context_test_01.html.ini
+++ b/testing/web-platform/meta/html/browsers/the-window-object/apis-for-creating-and-navigating-browsing-contexts-by-name/creating_browsing_context_test_01.html.ini
@@ -1,15 +1,4 @@
 [creating_browsing_context_test_01.html]
   type: testharness
   disabled:
-    if ((os == "linux") and (bits == 64)) or debug: https://bugzilla.mozilla.org/show_bug.cgi?id=1215461
-  expected:
-    if not debug and e10s and (os == "linux") and (version == "Ubuntu 12.04") and (processor == "x86_64") and (bits == 64): TIMEOUT
-    if not debug and not e10s and (os == "linux") and (version == "Ubuntu 12.04") and (processor == "x86_64") and (bits == 64): TIMEOUT
-  [first argument: absolute url]
-    expected:
-      if not debug and e10s and (os == "linux") and (version == "Ubuntu 12.04") and (processor == "x86_64") and (bits == 64): TIMEOUT
-
-  [second argument: setting name after opening]
-    expected:
-      if not debug and not e10s and (os == "linux") and (version == "Ubuntu 12.04") and (processor == "x86_64") and (bits == 64): TIMEOUT
-
+    if (os == "linux"): https://bugzilla.mozilla.org/show_bug.cgi?id=1215461
--- a/testing/web-platform/tests/html/browsers/the-window-object/apis-for-creating-and-navigating-browsing-contexts-by-name/creating_browsing_context_test_01.html
+++ b/testing/web-platform/tests/html/browsers/the-window-object/apis-for-creating-and-navigating-browsing-contexts-by-name/creating_browsing_context_test_01.html
@@ -1,19 +1,19 @@
 <!DOCTYPE html>
 <meta charset="utf-8">
 <title>[Browsing Context] : [APIs for creating browsing_contexts by name]</title>
 <link rel="author" title="Duhyeong Kim" href="mailto:dduskim@gmail.com">
 <link rel="help" href="https://html.spec.whatwg.org/multipage/#apis-for-creating-and-navigating-browsing-contexts-by-name">
+<meta name=timeout content=long>
 <script src="/resources/testharness.js"></script>
 <script src="/resources/testharnessreport.js"></script>
-<div id="log"></div>
 <script>
 async_test(function() {
-  var currentUrl = 'http://' + window.location.host + '/';
+  var currentUrl = 'http://' + window.location.host + '/common/blank.html';
   var win = window.open(currentUrl, '', 'height=1,width=1');
   this.add_cleanup(function() { win.close(); });
   win.onload = this.step_func_done(function () {
     assert_equals(win.location.href, currentUrl, 'should be equal to result url');
   });
 }, 'first argument: absolute url');
 
 test(function() {