blob: ac0d25b9ba1c893fe87c35cca52c920749b7df1d [file] [log] [blame] [edit]
<!DOCTYPE html> <!-- webkit-test-runner [ IPCTestingAPIEnabled=true IgnoreInvalidMessageWhenIPCTestingAPIEnabled=false AttachmentElementEnabled=true ] -->
<title>Test that calling into attachmentElement specific methods, like RegisterAttachmentIdentifier, is enabled if AttachmentElementEnabled is true</title>
<script src="../../resources/ipc.js"></script>
<script src="../../resources/testharness.js"></script>
<script src="../../resources/testharnessreport.js"></script>
<body>
<script>
testRunner.dumpAsText();
if (window.IPC) {
IPC.sendMessage(
'UI',
IPC.webPageProxyID,
IPC.messages.WebPageProxy_RegisterAttachmentIdentifier.name,
[
{
type: 'String',
value: 'Some UUID'
}
]
);
asyncFlush('UI').then(() => {
testRunner.notifyDone();
});
} else {
testRunner.notifyDone();
}
</script>
</body>