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

Side by Side Diff: LayoutTests/fast/dom/move-style-element-to-inactive-document-crash.html

Issue 204423002: Should remove StyleSheetContents from cache even if document is not active. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 years, 9 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
« no previous file with comments | « no previous file | LayoutTests/fast/dom/move-style-element-to-inactive-document-crash-expected.txt » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
1 <!DOCTYPE html>
2 <body>
3 <script>
4 if (window.testRunner)
5 testRunner.dumpAsText();
6
7 onload = function() {
8 var style = document.createElement("style");
9 document.body.appendChild(style);
10 var option = document.createElement("option");
11
12 var newdoc = document.implementation.createDocument("", null);
13 newdoc.appendChild(document.body);
14 style.appendChild(option);
15
16 document.body = document.createElement('body');
17 document.body.innerHTML = 'PASS if no crash.';
18 }
19 </script>
20 </body>
21
OLDNEW
« no previous file with comments | « no previous file | LayoutTests/fast/dom/move-style-element-to-inactive-document-crash-expected.txt » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698