Commit bbf4268c authored by Chris Harrelson's avatar Chris Harrelson Committed by Commit Bot

Adjust test to not refer to an external domain.

Change-Id: I1f3d9d5ad10e175809b6e304019d6179ca0b0d43
Reviewed-on: https://chromium-review.googlesource.com/1125302Reviewed-by: default avatarXianzhu Wang <wangxianzhu@chromium.org>
Commit-Queue: Xianzhu Wang <wangxianzhu@chromium.org>
Cr-Commit-Position: refs/heads/master@{#572384}
parent 192c03da
Blocked access to external URL http://www.example.org/
Test passes if it does not crash. Test passes if it does not crash.
<!doctype HTML> <!doctype HTML>
<object style="all: inherit;" id="target" data="http://www.example.org/"/> <object style="all: inherit;" id="target" data="http://localhost:8000/object/resources/test.html"/>
Test passes if it does not crash. Test passes if it does not crash.
<script> <script>
if (window.testRunner) { if (window.testRunner) {
...@@ -8,6 +8,7 @@ if (window.testRunner) { ...@@ -8,6 +8,7 @@ if (window.testRunner) {
} }
function go() { function go() {
target.setAttribute("classid", "test"); target.setAttribute("classid", "test");
if (window.testRunner)
window.testRunner.notifyDone(); window.testRunner.notifyDone();
} }
requestAnimationFrame(() => requestAnimationFrame(go)); requestAnimationFrame(() => requestAnimationFrame(go));
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment