Chromium Code Reviews| Index: third_party/WebKit/LayoutTests/http/tests/svg/svg-in-object-in-sandboxed-iframe.html |
| diff --git a/third_party/WebKit/LayoutTests/http/tests/svg/svg-in-object-in-sandboxed-iframe.html b/third_party/WebKit/LayoutTests/http/tests/svg/svg-in-object-in-sandboxed-iframe.html |
| new file mode 100644 |
| index 0000000000000000000000000000000000000000..dbcad5bc3633443890273c54afeee6473ce3c2f3 |
| --- /dev/null |
| +++ b/third_party/WebKit/LayoutTests/http/tests/svg/svg-in-object-in-sandboxed-iframe.html |
| @@ -0,0 +1,13 @@ |
| +<!DOCTYPE html> |
| +<script> |
| +if (window.testRunner) |
| + testRunner.waitUntilDone(); |
| +function finishTest() { |
| + if (window.testRunner) |
| + testRunner.notifyDone(); |
| +} |
|
Mike West
2016/02/24 13:30:55
You could turn this into a `testharness`-style tes
fs
2016/02/24 17:57:16
Done.
|
| +</script> |
| +<iframe sandbox src="resources/object-svg.html" |
|
Mike West
2016/02/24 13:30:55
You'd need to add `allow-same-origin` to do so.
fs
2016/02/24 17:57:16
And 'allow-scripts' too I guess.
|
| + style="border: none; margin: 0" |
| + scrolling="no" |
| + onload="finishTest()"></iframe> |