Update window.open() to return fallible result

This commit is contained in:
Utsav Oza 2020-05-04 19:02:38 +05:30
parent 0b05b5ed87
commit 86a5cf75aa
7 changed files with 15 additions and 137 deletions

View file

@ -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)
}