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

Side by Side Diff: LayoutTests/fast/parser/resources/xhtml-overwrite-frame.xhtml

Issue 1267283002: Gracefully handle XMLDocumentParser being detached by mutation events. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: add clarifying comment 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 | Annotate | Revision Log
« no previous file with comments | « no previous file | LayoutTests/fast/parser/xhtml-dom-character-data-modified-crash.html » ('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 <html xmlns="http://www.w3.org/1999/xhtml">
2 <script>
3 function overwrite() {
4 var testRunner = window.parent.testRunner;
5 window.frameElement.outerHTML = "PASS (no crash)";
6 if (testRunner)
7 testRunner.notifyDone();
8 }
9
10 document.addEventListener("DOMCharacterDataModified", overwrite);
11 </script>
12 </html>
OLDNEW
« no previous file with comments | « no previous file | LayoutTests/fast/parser/xhtml-dom-character-data-modified-crash.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698