mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-13 21:35:39 +00:00
Bug 1228702. Don't expose the 'location' property of Exception/DOMException on workers. r=bholley
This commit is contained in:
parent
cd5ac03ace
commit
49fb3ecd4e
@ -50,12 +50,13 @@ interface ExceptionMembers
|
||||
|
||||
// A stack trace, if available. nsIStackFrame does not have classinfo so
|
||||
// this was only ever usefully available to chrome JS.
|
||||
[ChromeOnly]
|
||||
[ChromeOnly, Exposed=Window]
|
||||
readonly attribute StackFrame? location;
|
||||
// An inner exception that triggered this, if available.
|
||||
readonly attribute nsISupports? inner;
|
||||
|
||||
// Arbitary data for the implementation.
|
||||
[Exposed=Window]
|
||||
readonly attribute nsISupports? data;
|
||||
|
||||
// Formatted exception stack
|
||||
@ -63,7 +64,7 @@ interface ExceptionMembers
|
||||
readonly attribute DOMString stack;
|
||||
};
|
||||
|
||||
[NoInterfaceObject]
|
||||
[NoInterfaceObject, Exposed=(Window,Worker)]
|
||||
interface Exception {
|
||||
// A generic formatter - make it suitable to print, etc.
|
||||
stringifier;
|
||||
|
Loading…
Reference in New Issue
Block a user