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

Side by Side Diff: LayoutTests/fast/dom/shadow/remove-styles-in-shadow-crash-3.html

Issue 1313443003: Fix crash when removing stylesheets from shadow tree. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 5 years, 4 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
OLDNEW
(Empty)
1 <!DOCTYPE html>
2 <style></style>
3 <script>
4 if (window.testRunner)
5 testRunner.dumpAsText();
6
7 onload = function() {
8 var link = document.createElement("link");
9 link.setAttribute("rel", "stylesheet");
10 link.setAttribute("href", "file:notfound.css");
11 document.head.appendChild(link);
12 var root = host.createShadowRoot();
13 root.innerHTML = "<span><style></style><style></style>";
14 root.innerHTML = "";
15 }
16 </script>
17 <p>PASS if no crash</p>
18 <div id="host"></div>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698