Bug 1378814 - Don't return None in get_pseudo_style if not probing. r?emilio draft
authorXidorn Quan <me@upsuper.org>
Fri, 07 Jul 2017 16:02:17 +1000
changeset 605548 92e1dda9e3227aa3cab1bdb337d74f9f9545d172
parent 605197 b952b913e68b8dcdf7e81be4312c270da056c4c8
child 636529 669931d8b10e9d08f2086580953f091dba8e5f74
push id67448
push userxquan@mozilla.com
push dateFri, 07 Jul 2017 23:13:11 +0000
reviewersemilio
bugs1378814
milestone56.0a1
Bug 1378814 - Don't return None in get_pseudo_style if not probing. r?emilio MozReview-Commit-ID: 5CziNBwYZSa
layout/style/crashtests/1378814.html
layout/style/crashtests/crashtests.list
new file mode 100644
--- /dev/null
+++ b/layout/style/crashtests/1378814.html
@@ -0,0 +1,4 @@
+<!DOCTYPE html>
+<script>
+getComputedStyle(document.documentElement, '::first-letter').display;
+</script>
--- a/layout/style/crashtests/crashtests.list
+++ b/layout/style/crashtests/crashtests.list
@@ -171,8 +171,9 @@ pref(dom.animations-api.core.enabled,tru
 load 1342316-1.html
 load 1356601-1.html
 load 1370793-1.xhtml
 load content-only-on-link-before.html
 load content-only-on-visited-before.html
 load 1375812-1.html
 load 1377053-1.html
 load 1377256-1.html
+load 1378814.html