aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--test/data/onbeforeunload.html2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/data/onbeforeunload.html b/test/data/onbeforeunload.html
index 62c424e89..ad3a1caeb 100644
--- a/test/data/onbeforeunload.html
+++ b/test/data/onbeforeunload.html
@@ -6,7 +6,7 @@
var payload = {
event: event.type
};
- return top.postMessage( JSON.stringify(payload), "*" );
+ return parent.postMessage( JSON.stringify(payload), "*" );
}
jQuery( window ).on( "beforeunload", function( event ) {