Title: [212788] trunk
Revision
212788
Author
[email protected]
Date
2017-02-21 17:59:57 -0800 (Tue, 21 Feb 2017)

Log Message

Unreviewed, rolling out r212737.

This change caused an existing LayoutTest to crash.

Reverted changeset:

"REGRESSION(r207669): Crash after mutating selector text"
https://bugs.webkit.org/show_bug.cgi?id=168655
http://trac.webkit.org/changeset/212737

Modified Paths

Removed Paths

Diff

Modified: trunk/LayoutTests/ChangeLog (212787 => 212788)


--- trunk/LayoutTests/ChangeLog	2017-02-22 01:58:29 UTC (rev 212787)
+++ trunk/LayoutTests/ChangeLog	2017-02-22 01:59:57 UTC (rev 212788)
@@ -1,3 +1,15 @@
+2017-02-21  Ryan Haddad  <[email protected]>
+
+        Unreviewed, rolling out r212737.
+
+        This change caused an existing LayoutTest to crash.
+
+        Reverted changeset:
+
+        "REGRESSION(r207669): Crash after mutating selector text"
+        https://bugs.webkit.org/show_bug.cgi?id=168655
+        http://trac.webkit.org/changeset/212737
+
 2017-02-21  Chris Dumez  <[email protected]>
 
         REGRESSION (r207720): /more/conformance/conformance/quickCheckAPI-S_V.html test fails

Deleted: trunk/LayoutTests/fast/css/selector-text-mutation-crash-expected.txt (212787 => 212788)


--- trunk/LayoutTests/fast/css/selector-text-mutation-crash-expected.txt	2017-02-22 01:58:29 UTC (rev 212787)
+++ trunk/LayoutTests/fast/css/selector-text-mutation-crash-expected.txt	2017-02-22 01:59:57 UTC (rev 212788)
@@ -1 +0,0 @@
-PASS

Deleted: trunk/LayoutTests/fast/css/selector-text-mutation-crash.html (212787 => 212788)


--- trunk/LayoutTests/fast/css/selector-text-mutation-crash.html	2017-02-22 01:58:29 UTC (rev 212787)
+++ trunk/LayoutTests/fast/css/selector-text-mutation-crash.html	2017-02-22 01:59:57 UTC (rev 212788)
@@ -1,14 +0,0 @@
-<script>
-if (window.testRunner)
-    testRunner.dumpAsText();
-</script>
-<style id=s>
-body[foo] [id=d] { color: green };
-</style>
-<body>
-<div id=d>PASS</div>
-<script>
-d.offsetLeft;
-s.sheet.cssRules.item(0).selectorText = "body[foo]";
-document.body.setAttribute("foo", "foo");
-</script>

Modified: trunk/Source/WebCore/ChangeLog (212787 => 212788)


--- trunk/Source/WebCore/ChangeLog	2017-02-22 01:58:29 UTC (rev 212787)
+++ trunk/Source/WebCore/ChangeLog	2017-02-22 01:59:57 UTC (rev 212788)
@@ -1,3 +1,15 @@
+2017-02-21  Ryan Haddad  <[email protected]>
+
+        Unreviewed, rolling out r212737.
+
+        This change caused an existing LayoutTest to crash.
+
+        Reverted changeset:
+
+        "REGRESSION(r207669): Crash after mutating selector text"
+        https://bugs.webkit.org/show_bug.cgi?id=168655
+        http://trac.webkit.org/changeset/212737
+
 2017-02-21  Chris Dumez  <[email protected]>
 
         REGRESSION (r207720): /more/conformance/conformance/quickCheckAPI-S_V.html test fails

Modified: trunk/Source/WebCore/style/StyleScope.cpp (212787 => 212788)


--- trunk/Source/WebCore/style/StyleScope.cpp	2017-02-22 01:58:29 UTC (rev 212787)
+++ trunk/Source/WebCore/style/StyleScope.cpp	2017-02-22 01:59:57 UTC (rev 212788)
@@ -521,9 +521,6 @@
 
 void Scope::scheduleUpdate(UpdateType update)
 {
-    if (update == UpdateType::ContentsOrInterpretation)
-        clearResolver();
-
     if (!m_pendingUpdate || *m_pendingUpdate < update) {
         m_pendingUpdate = update;
         if (m_shadowRoot)
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to