Fire a mozbrowseropenwindow event when an html anchor has a non-self target.

This commit is contained in:
Alan Jeffrey 2016-05-31 14:23:06 -05:00
parent 55b0bb027c
commit 835b6a9017
9 changed files with 115 additions and 8 deletions

View file

@ -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;