2 // Test passes if it does not crash.
3 // Note: this test is located under Layouttests/http in order to load an external
4 // document and modify it without hitting security restrictions.
5 if (window
.testRunner
) {
6 testRunner
.waitUntilDone();
7 testRunner
.dumpAsText();
11 q
= document
.getElementById('root').contentDocument
;
13 q
.getElementById('d').id
= "maskedGradient";
14 document
.write("If this text is visible and the test did not crash, this test passes");
16 if (window
.testRunner
)
17 testRunner
.notifyDone();
20 <object data=
"http://127.0.0.1:8000/svg/resources/svg-use-defs-rect.svg" id=
"root" onload=
"crash()"/>