1
0
Fork 0
firefox/toolkit/components/extensions/test/mochitest/file_remote_frame.html
Daniel Baumann 5e9a113729
Adding upstream version 140.0.
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
2025-06-25 09:37:52 +02:00

20 lines
393 B
HTML

<!DOCTYPE>
<html>
<head>
<meta charset="utf-8">
<script>
"use strict";
var response = {
tabs: false,
cookie: document.cookie,
};
try {
browser.tabs.create({url: "file_sample.html"});
response.tabs = true;
} catch (e) {
// ok
}
window.parent.postMessage(response, "*");
</script>
</head>
</html>