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

Unified Diff: third_party/WebKit/LayoutTests/fast/parser/resources/write-script-waiting-for-style-crash.html

Issue 2099583002: When pumping tokens yield for scripts waiting for resources. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Improved test. Created 4 years, 6 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 | third_party/WebKit/LayoutTests/fast/parser/write-script-waiting-for-style-crash.html » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/LayoutTests/fast/parser/resources/write-script-waiting-for-style-crash.html
diff --git a/third_party/WebKit/LayoutTests/fast/parser/resources/write-script-waiting-for-style-crash.html b/third_party/WebKit/LayoutTests/fast/parser/resources/write-script-waiting-for-style-crash.html
new file mode 100644
index 0000000000000000000000000000000000000000..9fc045e1400e4743abfab71ec57394b184483a3a
--- /dev/null
+++ b/third_party/WebKit/LayoutTests/fast/parser/resources/write-script-waiting-for-style-crash.html
@@ -0,0 +1,11 @@
+<style>
+@import url(a)</style>
+<script>
+function f() {
+ window.parent.postMessage(1, '*');
+ var t = document.documentElement.outerHTML;
+ document.writeln(t);
+}
+</script>
+<style onload="f()"></style>
+<iframe></iframe>
kouhei (in TOK) 2016/06/24 09:02:54 Please format. Would it be possible to create a t
« no previous file with comments | « no previous file | third_party/WebKit/LayoutTests/fast/parser/write-script-waiting-for-style-crash.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698