mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Add a workaround for bfcache suckage and reenable these tests. r=sheriff for CLOSED TREE
This commit is contained in:
parent
9f3a9b188d
commit
452bac2b8b
@ -55,8 +55,15 @@ _HTTP_FILES = \
|
||||
$(NULL)
|
||||
|
||||
_TEST_FILES = \
|
||||
test_bug92598.xul \
|
||||
bug92598_window.xul \
|
||||
92598_nostore.html \
|
||||
test_bug112564.xul \
|
||||
bug112564_window.xul \
|
||||
test_bug113934.xul \
|
||||
bug113934_window.xul \
|
||||
test_bug215405.xul \
|
||||
bug215405_window.xul \
|
||||
test_bug364461.xul \
|
||||
bug364461_window.xul \
|
||||
test_bug396519.xul \
|
||||
@ -67,16 +74,6 @@ _TEST_FILES = \
|
||||
test_bug456980.xul \
|
||||
$(NULL)
|
||||
|
||||
# Disabled for now
|
||||
# test_bug92598.xul \
|
||||
# bug92598_window.xul \
|
||||
# 92598_nostore.html \
|
||||
# test_bug112564.xul \
|
||||
# bug112564_window.xul \
|
||||
# test_bug215405.xul \
|
||||
# bug215405_window.xul \
|
||||
|
||||
|
||||
libs:: $(_HTTP_FILES)
|
||||
$(INSTALL) $(foreach f,$^,"$f") $(DEPTH)/_tests/testing/mochitest/tests/$(relativesrcdir)
|
||||
|
||||
|
@ -65,6 +65,10 @@
|
||||
gBrowser.removeEventListener(eventType, eventListener, true);
|
||||
}
|
||||
|
||||
// Work around bug 467960
|
||||
var history = gBrowser.webNavigation.sessionHistory;
|
||||
history.PurgeHistory(history.count);
|
||||
|
||||
window.close();
|
||||
window.opener.wrappedJSObject.SimpleTest.finish();
|
||||
}
|
||||
|
@ -64,6 +64,10 @@
|
||||
|
||||
function finish() {
|
||||
gBrowser.removeEventListener("pageshow", eventListener, true);
|
||||
// Work around bug 467960
|
||||
var history = gBrowser.webNavigation.sessionHistory;
|
||||
history.PurgeHistory(history.count);
|
||||
|
||||
window.close();
|
||||
window.opener.wrappedJSObject.SimpleTest.finish();
|
||||
}
|
||||
|
@ -65,6 +65,10 @@
|
||||
gBrowser.removeEventListener(eventType, eventListener, true);
|
||||
}
|
||||
|
||||
// Work around bug 467960
|
||||
var history = gBrowser.webNavigation.sessionHistory;
|
||||
history.PurgeHistory(history.count);
|
||||
|
||||
window.close();
|
||||
window.opener.wrappedJSObject.SimpleTest.finish();
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user