Bug 1406222 tests. r=heycam
☠☠ backed out by 003871675722 ☠ ☠
authorBoris Zbarsky <bzbarsky@mit.edu>
Sat, 07 Oct 2017 03:17:22 -0400
changeset 384851 cb92b20ea556cc67cb5560ff82ef870b6cdcff49
parent 384850 cde3a075132970db8ed850af08ddfa4d3c1b1603
child 384852 fcc02c3f871b523f4b2a9b4dc070acf1bd2485b4
push id52836
push userbzbarsky@mozilla.com
push dateSat, 07 Oct 2017 07:17:46 +0000
treeherderautoland@cb92b20ea556 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersheycam
bugs1406222
milestone58.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 1406222 tests. r=heycam MozReview-Commit-ID: 6fNGlwC8ZwA
layout/style/crashtests/1406222-1.html
layout/style/crashtests/1406222-2.html
layout/style/crashtests/crashtests.list
new file mode 100644
--- /dev/null
+++ b/layout/style/crashtests/1406222-1.html
@@ -0,0 +1,25 @@
+<script>
+window.addEventListener("load", function(event) {
+  setTimeout(window.close, 1000);
+});
+</script>
+<!-- a -->
+<style id="s1">
+:not(video) { position: fixed; }
+a::first-line {}
+*, .class3 { columns: 0px; }
+</style>
+<script>
+function jsfuzzer() {
+try { s1.appendChild(htmlvar00009); } catch(e) { }
+try { htmlvar00001.scrollIntoView(true); } catch(e) { }
+try { htmlvar00003.href = undefined; } catch(e) { }
+try { document.createEvent("1"); } catch(e) { }
+}
+</script>
+<body onload=jsfuzzer()>
+<shadow id="htmlvar00001">
+<a id="htmlvar00003">
+</a>
+<a id="htmlvar00009">
+<!-- a -->
new file mode 100644
--- /dev/null
+++ b/layout/style/crashtests/1406222-2.html
@@ -0,0 +1,15 @@
+<!DOCTYPE html>
+<style>
+a { display: block; }
+a { columns: 0px; }
+a::first-line {}
+</style>
+<script>
+onload = function() {
+  document.body.offsetWidth;
+  document.body.style.color = "green";
+  document.body.offsetWidth;
+  document.querySelector("a").href = "Something";
+}
+</script>
+<a>Some text</a>
--- a/layout/style/crashtests/crashtests.list
+++ b/layout/style/crashtests/crashtests.list
@@ -236,11 +236,13 @@ load 1402472.html
 load 1403028.html
 load 1403433.html
 load 1403465.html
 load 1403592.html
 load 1403615.html
 load 1403712.html
 load 1404180-1.html
 load 1404316.html
+load 1406222-1.html
+load 1406222-2.html
 load 1404324-1.html
 load 1404324-2.html
 load 1404324-3.html