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.
<!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.
<script>
if (window.testRunner) {
......@@ -8,7 +8,8 @@ if (window.testRunner) {
}
function go() {
target.setAttribute("classid", "test");
window.testRunner.notifyDone();
if (window.testRunner)
window.testRunner.notifyDone();
}
requestAnimationFrame(() => requestAnimationFrame(go));
</script>
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