mirror of
https://github.com/servo/servo.git
synced 2025-06-25 17:44:33 +01:00
19 lines
580 B
HTML
19 lines
580 B
HTML
<!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>
|