mirror of
https://github.com/servo/servo.git
synced 2025-08-06 22:15:33 +01:00
Implement window.openURLInDefaultBrowser() (fixes #11292)
This commit is contained in:
parent
8003687deb
commit
056bdc5514
8 changed files with 39 additions and 5 deletions
|
@ -146,16 +146,16 @@ interface BrowserElementPrivileged {
|
|||
// unsigned long count,
|
||||
// unsigned long modifiers);
|
||||
|
||||
[Func="Window::global_is_mozbrowser", Throws]
|
||||
[Throws]
|
||||
void goBack();
|
||||
|
||||
[Func="Window::global_is_mozbrowser", Throws]
|
||||
[Throws]
|
||||
void goForward();
|
||||
|
||||
[Func="Window::global_is_mozbrowser", Throws]
|
||||
[Throws]
|
||||
void reload(optional boolean hardReload = false);
|
||||
|
||||
[Func="Window::global_is_mozbrowser", Throws]
|
||||
[Throws]
|
||||
void stop();
|
||||
|
||||
//[Throws,
|
||||
|
|
|
@ -159,6 +159,8 @@ partial interface Window {
|
|||
void debug(DOMString arg);
|
||||
void gc();
|
||||
void trap();
|
||||
[Func="Window::global_is_mozbrowser", Throws]
|
||||
void openURLInDefaultBrowser(DOMString href);
|
||||
};
|
||||
|
||||
// WebDriver extensions
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue