mirror of
https://repo.dactyloidae.xyz/Dactyloidae/UXP.git
synced 2026-09-27 19:07:31 +09:00
import FIREFOX_52_6_0esr_RELEASE from mozilla-esr52 hg repo
This commit is contained in:
commit
dcd9973243
150858 changed files with 23884658 additions and 0 deletions
18
dom/xhr/tests/iframe_sync_xhr_unload.html
Normal file
18
dom/xhr/tests/iframe_sync_xhr_unload.html
Normal file
|
|
@ -0,0 +1,18 @@
|
|||
<!DOCTYPE HTML>
|
||||
<html>
|
||||
<body>
|
||||
<script type="application/javascript">
|
||||
|
||||
function o() {
|
||||
var xhr = new XMLHttpRequest();
|
||||
xhr.open("GET", "sync_xhr_unload.sjs", false);
|
||||
try { xhr.send(); } catch(e) {}
|
||||
}
|
||||
|
||||
window.addEventListener("beforeunload", o, false);
|
||||
window.addEventListener("unload", o, false)
|
||||
|
||||
</script>
|
||||
</body>
|
||||
</html>
|
||||
|
||||
Loading…
Add table
Add a link
Reference in a new issue