Index: LayoutTests/fast/dom/Window/Location/window-shadow-location-using-string.html |
diff --git a/LayoutTests/fast/dom/Window/Location/window-shadow-location-using-string.html b/LayoutTests/fast/dom/Window/Location/window-shadow-location-using-string.html |
index 0112294de2bfa018f016159384a25b00ece1cba7..6227c8218752695d72cffbdc797c788f3bf55976 100644 |
--- a/LayoutTests/fast/dom/Window/Location/window-shadow-location-using-string.html |
+++ b/LayoutTests/fast/dom/Window/Location/window-shadow-location-using-string.html |
@@ -9,7 +9,7 @@ |
testRunner.waitUntilDone(); |
var result; |
- function frameLoaded() |
+ window.onmessage = function() |
{ |
result = normalizeURL(String(window.frames[0].location)); |
shouldBe("result", "'pass.html'"); |
@@ -17,6 +17,6 @@ |
testRunner.notifyDone(); |
} |
</script> |
-<iframe onload="frameLoaded()" src="resources/window-shadow-location-using-string-iframe.html"></iframe> |
+<iframe src="resources/window-shadow-location-using-string-iframe.html"></iframe> |
</body> |
</html> |