mirror of
https://github.com/servo/servo.git
synced 2025-08-05 13:40:08 +01:00
Make location_reload.html not trigger resource exhaustion.
This commit is contained in:
parent
6ce5b7527a
commit
d6ea4b60a4
2 changed files with 1 additions and 3 deletions
|
@ -1,3 +0,0 @@
|
||||||
[location_reload.html]
|
|
||||||
type: testharness
|
|
||||||
expected: CRASH
|
|
|
@ -21,6 +21,7 @@
|
||||||
assert_equals(url, innerURL, "iframe url (" + pingCount + ")");
|
assert_equals(url, innerURL, "iframe url (" + pingCount + ")");
|
||||||
pingCount++;
|
pingCount++;
|
||||||
if (pingCount == 5) {
|
if (pingCount == 5) {
|
||||||
|
iframe.src = 'about:blank';
|
||||||
t.done();
|
t.done();
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue