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

Unified Diff: LayoutTests/inspector/console-document-write-from-external-script-logging-expected.txt

Issue 110183005: DevTools: added console warning when call to document.write() from async script is ignored (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Fixed tests Created 7 years 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
Index: LayoutTests/inspector/console-document-write-from-external-script-logging-expected.txt
diff --git a/LayoutTests/inspector/console-document-write-from-external-script-logging-expected.txt b/LayoutTests/inspector/console-document-write-from-external-script-logging-expected.txt
new file mode 100644
index 0000000000000000000000000000000000000000..eca9f76f78043c57af8e9646022110ddb0fcd8b3
--- /dev/null
+++ b/LayoutTests/inspector/console-document-write-from-external-script-logging-expected.txt
@@ -0,0 +1,5 @@
+CONSOLE WARNING: Failed to execute 'write' on 'Document': It isn't possible to write into a document from an asynchronously-loaded external script unless it is explicitly opened.
+Tests that ignored document.write() called from an external asynchronously loaded script is reported to console as a warning
+
+Failed to execute 'write' on 'Document': It isn't possible to write into a document from an asynchronously-loaded external script unless it is explicitly opened. external-script-with-document-write.js:2
+

Powered by Google App Engine
This is Rietveld 408576698