From e748f212a324abd25d9424384272fc093c7ed3b0 Mon Sep 17 00:00:00 2001 From: Sebastian Hengst Date: Sat, 9 Sep 2017 22:35:59 +0200 Subject: [PATCH] Backed out changeset 27f3e967a340 (bug 864845) --- dom/tests/mochitest/bugs/test_bug440572.html | 2 +- dom/webidl/Window.webidl | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/dom/tests/mochitest/bugs/test_bug440572.html b/dom/tests/mochitest/bugs/test_bug440572.html index 00516ab6c0e1..5e13401a4106 100644 --- a/dom/tests/mochitest/bugs/test_bug440572.html +++ b/dom/tests/mochitest/bugs/test_bug440572.html @@ -29,7 +29,7 @@ function runtests() { is(messages.size, 3, "received the right number of messages."); is(messages.get("test"), "success", "test in frame failed."); - is(messages.get("content"), "success", "parent[\"content\"] should be the subframe named 'content'"); + isnot(messages.get("content"), "success", "parent[\"content\"] should be the WebIDL property of Window."); isnot(messages.get("dump"), "success", "parent[\"dump\"] should be the WebIDL property of Window."); SimpleTest.finish(); diff --git a/dom/webidl/Window.webidl b/dom/webidl/Window.webidl index 6ee95703f0f1..70b011c34c5e 100644 --- a/dom/webidl/Window.webidl +++ b/dom/webidl/Window.webidl @@ -336,7 +336,7 @@ partial interface Window { optional DOMString options = "", any... extraArguments); - [ChromeOnly, Replaceable, Throws, NeedsCallerType] readonly attribute object? content; + [Replaceable, Throws, NeedsCallerType] readonly attribute object? content; [ChromeOnly, Throws, NeedsCallerType] readonly attribute object? __content;