mirror of
https://github.com/servo/servo.git
synced 2025-08-11 00:15:32 +01:00
Fire a mozbrowseropenwindow event when an html anchor has a non-self target.
This commit is contained in:
parent
55b0bb027c
commit
835b6a9017
9 changed files with 115 additions and 8 deletions
|
@ -83,6 +83,19 @@ dictionary BrowserShowModalPromptEventDetail {
|
|||
// TODO(simartin) unblock() callback
|
||||
};
|
||||
|
||||
dictionary BrowserElementOpenTabEventDetail {
|
||||
// https://developer.mozilla.org/en-US/docs/Web/Events/mozbrowseropentab
|
||||
DOMString url;
|
||||
};
|
||||
|
||||
dictionary BrowserElementOpenWindowEventDetail {
|
||||
// https://developer.mozilla.org/en-US/docs/Web/Events/mozbrowseropenwindow
|
||||
DOMString url;
|
||||
DOMString target;
|
||||
DOMString features;
|
||||
// Element frameElement;
|
||||
};
|
||||
|
||||
BrowserElement implements BrowserElementCommon;
|
||||
BrowserElement implements BrowserElementPrivileged;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue