Add detail to mozbrowsererror events.

This commit is contained in:
Alan Jeffrey 2016-04-25 12:18:28 -05:00
parent 97a45dc30c
commit d65cf8e833
4 changed files with 42 additions and 5 deletions

View file

@ -53,6 +53,16 @@ dictionary BrowserElementSecurityChangeDetail {
boolean mixedContent;
};
dictionary BrowserElementErrorEventDetail {
// https://developer.mozilla.org/en-US/docs/Web/Events/mozbrowsererror
// just requires a "type" field, but we also provide
// an optional human-readable description, and
// an optional machine-readable report (e.g. a backtrace for panics)
DOMString type;
DOMString description;
DOMString report;
};
dictionary BrowserElementLocationChangeEventDetail {
DOMString uri;
boolean canGoBack;