Skip to content

Commit

Permalink
Un-break webmessaging origin comparison.
Browse files Browse the repository at this point in the history
  • Loading branch information
sideshowbarker committed Nov 26, 2014
1 parent 2d41a5d commit 744fb6e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion webmessaging/event.origin.sub.htm
Expand Up @@ -23,7 +23,7 @@
var TARGET1 = document.querySelectorAll("iframe")[0];
var TARGET2 = document.querySelectorAll("iframe")[1];
var XORIGIN = "http://{{domains[www]}}:{{ports[http][0]}}";
var SORIGIN = "http://" + location.host;
var SORIGIN = "http://{{host}}:{{ports[http][0]}}";
var ExpectedResult = ["#1", XORIGIN, "#2", SORIGIN];
var ActualResult = [];
var loaded = 0;
Expand Down

0 comments on commit 744fb6e

Please sign in to comment.