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

Unified Diff: LayoutTests/fast/dom/shadow/remove-stylesheet-from-shadow-crash.html

Issue 1106313003: Null check collection handling dirty scopes. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Addressed review issues Created 5 years, 8 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | LayoutTests/fast/dom/shadow/remove-stylesheet-from-shadow-crash-expected.txt » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: LayoutTests/fast/dom/shadow/remove-stylesheet-from-shadow-crash.html
diff --git a/LayoutTests/fast/dom/shadow/remove-stylesheet-from-shadow-crash.html b/LayoutTests/fast/dom/shadow/remove-stylesheet-from-shadow-crash.html
new file mode 100644
index 0000000000000000000000000000000000000000..6bdee18faba4f7d041a86de5b2523674c2bd57e9
--- /dev/null
+++ b/LayoutTests/fast/dom/shadow/remove-stylesheet-from-shadow-crash.html
@@ -0,0 +1,11 @@
+<!DOCTYPE html>
+<p>This test should not crash.</p>
+<div id="outer">
+ <div id="host"></div>
+</div>
+<script>
+if (window.testRunner)
+ testRunner.dumpAsText();
+host.createShadowRoot().innerHTML = "<style>@import url(notfound.css);</style>";
+outer.removeChild(host);
+</script>
« no previous file with comments | « no previous file | LayoutTests/fast/dom/shadow/remove-stylesheet-from-shadow-crash-expected.txt » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698