Bug 1014537 - Mark Window.top as nullable in WebIDL; r=bz over IRC

In the !mDocShell case, we return null.
This commit is contained in:
Ms2ger 2014-05-22 20:43:11 +02:00
parent 3f14d6626a
commit 94bcc1bbb0

View File

@ -52,7 +52,8 @@ typedef any Transferable;
// other browsing contexts
[Replaceable, Throws, CrossOriginReadable] readonly attribute WindowProxy frames;
[Replaceable, CrossOriginReadable] readonly attribute unsigned long length;
[Unforgeable, Throws, CrossOriginReadable] readonly attribute WindowProxy top;
//[Unforgeable, Throws, CrossOriginReadable] readonly attribute WindowProxy top;
[Unforgeable, Throws, CrossOriginReadable] readonly attribute WindowProxy? top;
[Throws, CrossOriginReadable] attribute WindowProxy? opener;
//[Throws] readonly attribute WindowProxy parent;
[Replaceable, Throws, CrossOriginReadable] readonly attribute WindowProxy? parent;