Skip to content

Commit

Permalink
Revise frameElement test
Browse files Browse the repository at this point in the history
  • Loading branch information
domenic committed Jul 12, 2016
1 parent c70ade9 commit 3faa4ca
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions frame-element/entry/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,9 @@ <h1>You are looking at the entry page</h1>

<script>
"use strict";
//document.domain = "now.sh";
document.domain = "now.sh";
</script>

<iframe src="https://frame-element-incumbent-ilpibcsikj.now.sh/"></iframe>
<iframe src="https://frame-element-incumbent-fngzcsidhi.now.sh/"></iframe>

<button onclick="frames[0].test()">Test!</button>
2 changes: 1 addition & 1 deletion frame-element/incumbent/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ <h1>You are looking at the incumbent page</h1>
</script>

<iframe src="https://frame-element-current-kwekmtncpb.now.sh/" id="c"></iframe>
<iframe src="https://frame-element-relevant-qwwigdyhww.now.sh/" id="r"></iframe>
<iframe src="https://frame-element-relevant-lznmfxtchj.now.sh/" id="r"></iframe>

<script>
const current = document.querySelector("#c").contentWindow;
Expand Down
2 changes: 1 addition & 1 deletion frame-element/relevant/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -6,5 +6,5 @@ <h1>You are looking at the relevant page</h1>

<script>
"use strict";
document.domain = "now.sh";
//document.domain = "now.sh";
</script>

0 comments on commit 3faa4ca

Please sign in to comment.