| Index: third_party/WebKit/LayoutTests/http/tests/misc/iframe-script-modify-attr.html
|
| diff --git a/third_party/WebKit/LayoutTests/http/tests/misc/iframe-script-modify-attr.html b/third_party/WebKit/LayoutTests/http/tests/misc/iframe-script-modify-attr.html
|
| new file mode 100644
|
| index 0000000000000000000000000000000000000000..d4d0223396c1d67575a665afae4d5426498eb537
|
| --- /dev/null
|
| +++ b/third_party/WebKit/LayoutTests/http/tests/misc/iframe-script-modify-attr.html
|
| @@ -0,0 +1,22 @@
|
| +<!DOCTYPE html>
|
| +
|
| +<script>
|
| +window.addEventListener("message", (event) => {
|
| + if (testRunner)
|
| + testRunner.notifyDone();
|
| +});
|
| +
|
| +window.onload = () => {
|
| + if (testRunner)
|
| + testRunner.waitUntilDone();
|
| + var ifr = document.getElementById('ifr');
|
| + ifr.scrolling = 'no';
|
| + ifr.marginWidth = '50';
|
| + ifr.marginHeight = '100';
|
| + ifr.contentWindow.postMessage({}, '*');
|
| +};
|
| +</script>
|
| +
|
| +<iframe id="ifr" scrolling="yes" style="width:200px;height:200px;"
|
| + src="http://localhost:8000/misc/resources/iframe-big.html">
|
| +</iframe>
|
|
|