Index: third_party/WebKit/Source/core/frame/Window.idl |
diff --git a/third_party/WebKit/Source/core/frame/Window.idl b/third_party/WebKit/Source/core/frame/Window.idl |
index c86c8b21790ac6626c5f682a9df2207544a54917..bc3cacdffe45b6217cc4805b4d7fb70d812a72e9 100644 |
--- a/third_party/WebKit/Source/core/frame/Window.idl |
+++ b/third_party/WebKit/Source/core/frame/Window.idl |
@@ -62,8 +62,8 @@ |
[CrossOrigin, Custom=Setter] attribute Window opener; |
[Replaceable, CrossOrigin] readonly attribute Window? parent; |
[CheckSecurity=ReturnValue, Custom=Getter] readonly attribute Element? frameElement; |
- // FIXME: open() should have 4 optional arguments with defaults. |
- [Custom] Window? open(DOMString url, DOMString target, optional DOMString features); |
+ // TODO(lunalu): Replace Window by WindowProxy. |
foolip
2017/03/21 08:09:34
There's already a generic WindowProxy FIXME furthe
lunalu1
2017/03/21 19:49:45
My bad. I will just remove this TODO then.
|
+ [Custom] Window? open(optional DOMString url = "about:blank", optional DOMString target = "_blank", [TreatNullAs=EmptyString] optional DOMString features = ""); |
foolip
2017/03/21 08:09:34
Because of the [Custom] extended attribute, this w
lunalu1
2017/03/21 19:49:45
There isn't a test for window.open.length. But I a
foolip
2017/03/22 05:31:20
It is a bit silly, yes, and something I think idlh
lunalu1
2017/03/24 19:37:31
Very interesting found: Chrome currently already b
lunalu1
2017/03/24 19:37:31
I tried to test for window.open().name. It doesn't
foolip
2017/03/30 05:04:50
This is complicated a bit by https://html.spec.wha
|
// FIXME: These getters should not have [NotEnumerable]. |
[NotEnumerable, CrossOrigin] getter Window (unsigned long index); |
[Custom, NotEnumerable, CrossOrigin] getter object (DOMString name); |