diff --git a/index.html b/index.html index 45658d214..eda58ef25 100644 --- a/index.html +++ b/index.html @@ -759,6 +759,12 @@
| HTTP Method | +URI Template | +
|---|---|
| GET | +/session/{session id}/window/new | +
Create a new top-level browsing context. + +
The remote end steps are: + +
If the implementation does not support creating new top-level + browsing contexts, return error with error code + unsupported operation. + +
If the current top-level browsing context is no longer open, + return error with error code no such window. + +
Handle any user prompts and return its value if it is an error. + +
Let type hint be the result of getting the property
+ "type" from the parameters argument.
+
+
Create a new top-level browsing context by running
+ the window open steps with url set to
+ "about:blank", target set to the empty
+ string, and features set to "noopener" and
+ the user agent configured to create a new browing context. This must
+ be done without invoking the focusing steps for the created browsing
+ context. If type hint has the value "tab",
+ and the implementation supports multiple browsing context in the
+ same OS window, the new browsing context should share an OS window
+ with the current browsing context. If type hint is
+ "window", and the implementation supports multiple
+ browsing contexts in seperate OS windows, the created browsing
+ context should be in a new OS window. In all other cases the details
+ of how the browsing context is presented to the user are
+ implementation defined.
+
+
Let handle be the + associated window handle of the newly created window. + +
Let type be "tab" if the newly created
+ window shares an OS-level window with the current browsing
+ context, or "window" otherwise.
+
+
Let result be a new JSON Object initialised with: + +
handle"
+ type"
+ Return success with data result. +
Window object
+ WindowProxy exotic object
setSelectionRange