mirror of
https://github.com/servo/servo.git
synced 2025-08-06 14:10:11 +01:00
Add detail to mozbrowsererror events.
This commit is contained in:
parent
97a45dc30c
commit
d65cf8e833
4 changed files with 42 additions and 5 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue