mirror of
https://github.com/servo/servo.git
synced 2025-08-17 11:25:35 +01:00
Update web-platform-tests to revision 474923949524b5c05a9e6f28ec082fdca87078de
This commit is contained in:
parent
b7b1b903d3
commit
328d5a4231
91 changed files with 3190 additions and 185 deletions
|
@ -0,0 +1,22 @@
|
|||
<!DOCTYPE html>
|
||||
<script src='test-helpers.js'></script>
|
||||
<script src='messaging-serialize-helpers.js'></script>
|
||||
<script src='message-target.js'></script>
|
||||
<script id="inline_script">
|
||||
'use strict'
|
||||
|
||||
if (window.parent !== null) {
|
||||
window.parent.postMessage('LOADED', { targetOrigin: '*' });
|
||||
}
|
||||
|
||||
if (window.opener !== null) {
|
||||
window.opener.postMessage('LOADED', { targetOrigin: '*' });
|
||||
}
|
||||
|
||||
// Use an undefined message target to send responses to
|
||||
// MessageEvent::source instead.
|
||||
const target = undefined;
|
||||
|
||||
add_message_event_handlers(
|
||||
/*receiver=*/self, target, /*target_origin=*/'*');
|
||||
</script>
|
Loading…
Add table
Add a link
Reference in a new issue