Skip to content

Commit 4f4b04b

Browse files
committed
Fix popstate frame calling test
1 parent fa1b0bb commit 4f4b04b

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

test/unit/pjax_fallback.js

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -103,6 +103,10 @@ asyncTest("adds entry to browser history"+s, function() {
103103
var frame = this.frame
104104
var count = 0
105105

106+
frame.onpopstate = function() {
107+
window.iframeLoad(frame)
108+
}
109+
106110
this.loaded = function() {
107111
count++
108112

0 commit comments

Comments
 (0)