mirror of
https://github.com/servo/servo
synced 2026-04-29 19:07:38 +02:00
Update web-platform-tests to revision 7123012427f92f0dc38a120e6e86a75b6c03aab5
This commit is contained in:
@@ -0,0 +1,14 @@
|
||||
<!DOCTYPE html>
|
||||
<meta charset="utf-8"/>
|
||||
<title>Testcase 3: frameElement attribute must return null if the container\'s document does not have the same effective script origin</title>
|
||||
<script>
|
||||
window.addEventListener("message", function (event) {
|
||||
try {
|
||||
var result = "window.frameElement = " + window.frameElement;
|
||||
} catch (e) {
|
||||
result = e.message;
|
||||
}
|
||||
event.source.postMessage(JSON.stringify({name: "testcase3", result: result}),
|
||||
"*");
|
||||
}, false);
|
||||
</script>
|
||||
Reference in New Issue
Block a user