mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-19 16:25:38 +00:00
Bug 1577723: Follow-up: Fix another crash test relied on GC timing. r=bustage
MANUAL PUSH: Bustage fix.
This commit is contained in:
parent
5c43907520
commit
d70488e985
@ -10,8 +10,12 @@
|
||||
frameWindow = testFrame.contentWindow;
|
||||
testframe.remove();
|
||||
|
||||
// Shouldn't crash at this line.
|
||||
content.textContent = "location=" + frameWindow.location;
|
||||
try {
|
||||
// Shouldn't crash at this line.
|
||||
content.textContent = "location=" + frameWindow.location;
|
||||
} catch (e) {
|
||||
// location.toString() should throw after the BrowsingContext is discarded.
|
||||
}
|
||||
|
||||
document.documentElement.className = "";
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user