Bug 1328509 - Add visited pseudo crashtests. r=emilio draft
authorJ. Ryan Stinnett <jryans@gmail.com>
Mon, 22 May 2017 15:06:52 -0500
changeset 584192 cc2badb97fedb262b34c5cce2a9ccf7bccc452a3
parent 584191 bfd8e03c86bb0f3d4e3f5a6bdeb743ccb69e127b
child 584193 2c143f328b469dab860d89076cf2a0541119a56d
push id60646
push userbmo:jryans@gmail.com
push dateThu, 25 May 2017 00:30:26 +0000
reviewersemilio
bugs1328509
milestone55.0a1
Bug 1328509 - Add visited pseudo crashtests. r=emilio Rename and duplicate a crashtest to better cover each variation of a single :link or single :visited style on a pseudo-element. MozReview-Commit-ID: JMFXD7nk9fH
layout/style/crashtests/147777-1.html
layout/style/crashtests/content-only-on-link-before.html
layout/style/crashtests/content-only-on-visited-before.html
layout/style/crashtests/crashtests.list
deleted file mode 100644
--- a/layout/style/crashtests/147777-1.html
+++ /dev/null
@@ -1,6 +0,0 @@
-<!DOCTYPE HTML>
-<title>crashtest for NS_ABORT_IF_FALSE during development of 147777</title>
-<style type="text/css">
-:link::before { content: "link: " }
-</style>
-<a href="http://www.example.com/">example</a>
new file mode 100644
--- /dev/null
+++ b/layout/style/crashtests/content-only-on-link-before.html
@@ -0,0 +1,5 @@
+<!DOCTYPE HTML>
+<style type="text/css">
+:link::before { content: "link: " }
+</style>
+<a href="http://www.example.com/">example</a>
new file mode 100644
--- /dev/null
+++ b/layout/style/crashtests/content-only-on-visited-before.html
@@ -0,0 +1,5 @@
+<!DOCTYPE HTML>
+<style type="text/css">
+:visited::before { content: "link: " }
+</style>
+<a href="http://www.example.com/">example</a>
--- a/layout/style/crashtests/crashtests.list
+++ b/layout/style/crashtests/crashtests.list
@@ -1,10 +1,9 @@
 load 105619-1.html
-load 147777-1.html
 load 187671-1.html
 load 192408-1.html
 load 285727-1.html
 load 286707-1.html
 load 317561-1.html
 load 330998-1.html
 load 363950.html
 load 368175-1.html
@@ -167,8 +166,10 @@ load 1319072-1.html
 HTTP load 1320423-1.html
 load 1321357-1.html
 load 1328535-1.html
 load 1331272.html
 HTTP load 1333001-1.html
 pref(dom.animations-api.core.enabled,true) load 1340344.html
 load 1342316-1.html
 load 1356601-1.html
+load content-only-on-link-before.html
+load content-only-on-visited-before.html