| Index: content/test/data/click-noreferrer-links.html
|
| diff --git a/content/test/data/click-noreferrer-links.html b/content/test/data/click-noreferrer-links.html
|
| index f195d657540611ca23f4c139578c0f8a3db58ddb..536188e929a172e560cc27a259ee7fd46b1e2a5a 100644
|
| --- a/content/test/data/click-noreferrer-links.html
|
| +++ b/content/test/data/click-noreferrer-links.html
|
| @@ -38,9 +38,13 @@
|
|
|
| function testScriptAccessToWindow() {
|
| // Grab a reference to the existing foo window and access its location.
|
| - var w = window.open("", "foo");
|
| - var url = w.location.href;
|
| - return url != undefined;
|
| + try {
|
| + var w = window.open("", "foo");
|
| + var url = w.location.href;
|
| + return url != undefined;
|
| + } catch (e) {
|
| + return false;
|
| + }
|
| }
|
|
|
| function testCloseWindow() {
|
|
|