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

Unified Diff: LayoutTests/dart/resources/multi-wrapper-frame-child.html

Issue 1532413002: Added Dartium changes onto 45.0.2454.104 (Closed) Base URL: http://src.chromium.org/blink/branches/chromium/2454
Patch Set: Created 5 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
« no previous file with comments | « LayoutTests/dart/reload-crash-two-isolates-expected.txt ('k') | LayoutTests/dart/resources/pong.html » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: LayoutTests/dart/resources/multi-wrapper-frame-child.html
diff --git a/LayoutTests/dart/resources/multi-wrapper-frame-child.html b/LayoutTests/dart/resources/multi-wrapper-frame-child.html
new file mode 100644
index 0000000000000000000000000000000000000000..9e663cb2709e92026af50c89465ca0cbbed1ef71
--- /dev/null
+++ b/LayoutTests/dart/resources/multi-wrapper-frame-child.html
@@ -0,0 +1,37 @@
+<html>
+<body>
+
+<div id="child-div"></div>
+
+<script type="application/dart">
+import 'dart:html';
+import 'dart:js';
+
+var childWindow;
+var childDocument;
+var childHistory;
+var childLocation;
+
+var parentWindow;
+var parentDocument;
+var parentHistory;
+var parentLocation;
+
+void main() {
+ print("Child");
+
+ childWindow = window;
+ childDocument = window.document;
+ childHistory = window.history;
+ childLocation = window.location;
+
+ parentWindow = context['parent'];
+ parentDocument = context['parent']['document'];
+ parentHistory = context['parent']['history'];
+ parentLocation = context['parent']['location'];
+}
+
+</script>
+
+</body>
+</html>
« no previous file with comments | « LayoutTests/dart/reload-crash-two-isolates-expected.txt ('k') | LayoutTests/dart/resources/pong.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698