mirror of
https://github.com/servo/servo.git
synced 2025-08-15 02:15:33 +01:00
"javascript:" urls: move test to correct location
- move test to correct directory - update it to be more concise I also confirmed that this test passes in Firefox.
This commit is contained in:
parent
ff786a050a
commit
fc23cb1a63
3 changed files with 26 additions and 38 deletions
|
@ -0,0 +1,16 @@
|
|||
<!doctype html>
|
||||
<meta charset=utf-8>
|
||||
<script src=/resources/testharness.js></script>
|
||||
<script src=/resources/testharnessreport.js></script>
|
||||
|
||||
<a id="javascript-link" href="javascript:changeStatus()">link</a>
|
||||
|
||||
<script>
|
||||
function changeStatus() {
|
||||
t.done();
|
||||
}
|
||||
|
||||
var t = async_test(function(t) {
|
||||
document.querySelector("#javascript-link").click();
|
||||
}, "javascript: scheme urls should be executed in current global scope");
|
||||
</script>
|
Loading…
Add table
Add a link
Reference in a new issue