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

Unified Diff: LayoutTests/fast/html/imports/import-script-prototypes-expected.txt

Issue 19762002: [HTML Imports] Let script of imported document running. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Made a test more robust. Created 7 years, 5 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
Index: LayoutTests/fast/html/imports/import-script-prototypes-expected.txt
diff --git a/LayoutTests/fast/html/imports/import-script-prototypes-expected.txt b/LayoutTests/fast/html/imports/import-script-prototypes-expected.txt
new file mode 100644
index 0000000000000000000000000000000000000000..912504af8e1bbcab4f2c2988ad355f89b5dacfc0
--- /dev/null
+++ b/LayoutTests/fast/html/imports/import-script-prototypes-expected.txt
@@ -0,0 +1,17 @@
+This test ensures each import and master is in same JS context.
+
+On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
+
+
+PASS stringInMaster.__proto__ is stringInImport.__proto__
+PASS thisDocument !== document is true
+PASS thisDocument.__proto__ is document.__proto__
+PASS thisDocument.head.__proto__ is document.head.__proto__
+PASS thisDocument.defaultView is null
+PASS (new Image()).ownerDocument is document
+PASS thisDocument.createElement('div').ownerDocument is thisDocument
+PASS document.createElement('div').ownerDocument is document
+PASS successfullyParsed is true
+
+TEST COMPLETE
+
« no previous file with comments | « LayoutTests/fast/html/imports/import-script-prototypes.html ('k') | LayoutTests/fast/html/imports/resources/script-leaf.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698