Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(7)

Side by Side Diff: LayoutTests/fast/css/style-scoped/style-scoped-shadow-crash.html

Issue 325663003: Remove scoped styles (retry) (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Fix layout test (and expectation) Created 6 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
(Empty)
1 <div id=div1>
2 <style scoped></style>
3 </div>
4 <div id=div2></div>
5
6 <script>
7 if (window.testRunner) {
8 testRunner.dumpAsText();
9 testRunner.waitUntilDone();
10 }
11
12 (function() {
13 var div1 = document.getElementById("div1");
14 div2Shadow = div2.createShadowRoot();
15 div2Shadow.appendChild(div1);
16 div1.parentNode.removeChild(div1);
17 })();
18
19 gc();
20
21 setTimeout(function() {
22 document.body.appendChild(document.createElementNS("http://www.w3.org/2000/s vg", "font-face"));
23 console.log("PASS unless crash");
24 window.testRunner.notifyDone();
25 }, 0);
26
27 </script>
28
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698