mirror of
https://github.com/servo/servo.git
synced 2025-07-23 07:13:52 +01:00
Update window.open() to return fallible result
This commit is contained in:
parent
0b05b5ed87
commit
86a5cf75aa
7 changed files with 15 additions and 137 deletions
|
@ -661,7 +661,7 @@ impl WindowMethods for Window {
|
|||
url: USVString,
|
||||
target: DOMString,
|
||||
features: DOMString,
|
||||
) -> Option<DomRoot<WindowProxy>> {
|
||||
) -> Fallible<Option<DomRoot<WindowProxy>>> {
|
||||
self.window_proxy().open(url, target, features)
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue