Bug 1343666 - Part 2: Add crashtest; r=daoshengmu
authorKearwood Gilbert <kgilbert@mozilla.com>
Mon, 13 Mar 2017 10:37:24 -0700
changeset 347793 b70211869d2e50bd0936344a11c7ba6e0cbecccd
parent 347792 de78efb83b19cd360740a01b7de9eacc646d64a4
child 347794 2989d8d208f26e8f699e313fba1e45c8fc993381
push id88099
push userkgilbert@mozilla.com
push dateWed, 15 Mar 2017 20:05:53 +0000
treeherdermozilla-inbound@b70211869d2e [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersdaoshengmu
bugs1343666
milestone55.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 1343666 - Part 2: Add crashtest; r=daoshengmu MozReview-Commit-ID: 94nSsq7BR0e
gfx/tests/crashtests/1343666.html
gfx/tests/crashtests/crashtests.list
new file mode 100644
--- /dev/null
+++ b/gfx/tests/crashtests/1343666.html
@@ -0,0 +1,23 @@
+<html class="reftest-wait">
+<head>
+<meta charset="UTF-8">
+<script>
+
+function f()
+{
+    finish();
+}
+
+window.onload = function() {
+  let a = window.open("data:text/plain,test", null, "width=300,height=300");
+  setTimeout(function(){
+    a.close();
+    a.addEventListener("vrdisplayconnect", function(){});
+    window.close();
+    document.documentElement.removeAttribute("class");
+  }, 0);
+};
+
+</script>
+</head>
+</html>
--- a/gfx/tests/crashtests/crashtests.list
+++ b/gfx/tests/crashtests/crashtests.list
@@ -130,8 +130,9 @@ load 1205900.html
 load 1134549-1.svg
 load balinese-letter-spacing.html
 load 1216832-1.html
 load 1225125-1.html
 load 1308394.html
 load 1317403-1.html # bug 1331533
 load 1325159-1.html
 load 1331683.html
+skip-if(Android) pref(dom.disable_open_during_load,false) load 1343666.html