mirror of
https://repo.dactyloidae.xyz/Dactyloidae/UXP.git
synced 2026-09-04 14:58:37 +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
20
devtools/client/storage/test/storage-cache-error.html
Normal file
20
devtools/client/storage/test/storage-cache-error.html
Normal file
|
|
@ -0,0 +1,20 @@
|
|||
<!DOCTYPE HTML>
|
||||
<html>
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
<title>Storage inspector test for handling errors in CacheStorage</title>
|
||||
</head>
|
||||
<body>
|
||||
<script type="application/javascript;version=1.7">
|
||||
"use strict";
|
||||
|
||||
// Create an iframe with a javascript: source URL. Such iframes are
|
||||
// considered untrusted by the CacheStorage.
|
||||
let frameEl = document.createElement("iframe");
|
||||
document.body.appendChild(frameEl);
|
||||
|
||||
window.frameContent = 'Hello World';
|
||||
frameEl.contentWindow.location.href = "javascript:parent.frameContent";
|
||||
</script>
|
||||
</body>
|
||||
</html>
|
||||
Loading…
Add table
Add a link
Reference in a new issue