Source code
Revision control
Copy as Markdown
Other Tools
Test Info: Warnings
- This test has a WPT meta file that disables it given conditions:
- This WPT test may be referenced by the following Test IDs:
- /webrtc-encoded-transform/sframe-transform-readable.html - WPT Dashboard Interop Dashboard
<!doctype html>
<html>
<head>
<meta charset="utf-8">
<script src="/resources/testharness.js"></script>
<script src="/resources/testharnessreport.js"></script>
</head>
<body>
<iframe src="." id="frame"></iframe>
<script>
promise_test(async (test) => {
const frameDOMException = frame.contentWindow.DOMException;
const transform = new frame.contentWindow.SFrameTransform;
frame.remove();
assert_throws_dom("InvalidStateError", frameDOMException, () => transform.readable);
});
</script>
</body>
</html>