blob: 3fa93979fa4e654a2176a7461e14df8ff1eb36bc (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
|
<html>
<head>
<meta charset="utf-8">
</head>
<body>
<h3>test page</h3>
<iframe src="about:blank"></iframe>
<script>
"use strict";
window.onmessage = function(evt) {
if (evt.data === "updated-iframe-url") {
window.postMessage("frame-updated", "*");
}
};
window.onload = function() {
document.querySelector("iframe").setAttribute("src", "context_tabs_onUpdated_iframe.html");
};
</script>
</body>
</html>
|