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

Unified Diff: LayoutTests/fast/dom/MutationObserver/script-end-tag.html

Issue 169093004: Don't perform a microtask checkpoint for document.write('<script><\/script>') (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 years, 10 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 | Source/core/html/parser/HTMLScriptRunner.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: LayoutTests/fast/dom/MutationObserver/script-end-tag.html
diff --git a/LayoutTests/fast/dom/MutationObserver/script-end-tag.html b/LayoutTests/fast/dom/MutationObserver/script-end-tag.html
index 76870ad45c9575ebc1fdb8c1a4030c70790bc69b..4f4daacf132782d94c8940c75f0a5c6b2c0174f4 100644
--- a/LayoutTests/fast/dom/MutationObserver/script-end-tag.html
+++ b/LayoutTests/fast/dom/MutationObserver/script-end-tag.html
@@ -12,7 +12,9 @@ var observer = new MutationObserver(callback);
var div = document.createElement('div');
observer.observe(div, {attributes: true});
div.setAttribute('foo', 'bar');
+document.write('<script><\/script>');
shouldBeFalse('mutationsDelivered');
-document.write('<script><\/script>'); // performs a microtask checkpoint
+</script>
+<script>
shouldBeTrue('mutationsDelivered');
</script>
« no previous file with comments | « no previous file | Source/core/html/parser/HTMLScriptRunner.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698