| 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>
|
|
|