Revision 1d8cf99335f45dadb6d8e42d782d51a823045176 authored by Chris Rebert on 12 April 2016, 07:20:12 UTC, committed by Chris Rebert on 12 April 2016, 07:28:17 UTC
* Add `readonly` attribute test * Test temporal <input>s with range limitations * Test that <input type="range"> never matches * Test that <input> types which cannot have range limitations and/or are barred from constraint validation never match
1 parent 8a4c5a9
postMessage_dup_transfer_objects.htm
<!DOCTYPE html>
<html>
<head>
<title> postMessage with duplicate transfer objects raises DataCloneError exception </title>
<script src="/resources/testharness.js"></script>
<script src="/resources/testharnessreport.js"></script>
</head>
<body>
<div id=log></div>
<div style="display:none">
<iframe width="70%" onload="PostMessageTest()" src="./support/ChildWindowPostMessage.htm"></iframe>
</div>
<script>
var description = "Test Description: " +
"postMessage with duplicate transfer objects raises DataCloneError exception.";
var DATA = "ports";
var TARGET = document.querySelector("iframe");
function PostMessageTest()
{
test(function()
{
assert_throws("DATA_CLONE_ERR", function()
{
assert_own_property(window, "MessageChannel", "window");
var channel = new MessageChannel();
TARGET.contentWindow.postMessage(DATA, "*", [channel.port1, channel.port1]);
});
}, description);
}
</script>
</body>
</html>
Computing file changes ...