summaryrefslogtreecommitdiffstats
path: root/layout/style/test/browser_bug453896.js
diff options
context:
space:
mode:
Diffstat (limited to 'layout/style/test/browser_bug453896.js')
-rw-r--r--layout/style/test/browser_bug453896.js13
1 files changed, 13 insertions, 0 deletions
diff --git a/layout/style/test/browser_bug453896.js b/layout/style/test/browser_bug453896.js
new file mode 100644
index 000000000..0084ae33d
--- /dev/null
+++ b/layout/style/test/browser_bug453896.js
@@ -0,0 +1,13 @@
+add_task(function* () {
+ let uri = getRootDirectory(gTestPath) + "bug453896_iframe.html";
+
+ yield BrowserTestUtils.withNewTab({
+ gBrowser,
+ url: uri
+ }, function*(browser) {
+ return ContentTask.spawn(browser, null, function* () {
+ var fake_window = { ok: ok };
+ content.wrappedJSObject.run(fake_window);
+ });
+ });
+});