From 5616fb9f65c7d616d6c5d0116fb1fceea6cdec5b Mon Sep 17 00:00:00 2001
From: Simon Pieters The following terms are defined in the WHATWG Infra standard: The following features and terms are defined in the CSS Syntax specifications:
@@ -78574,8 +78577,8 @@ callback FrameRequestCallback = void (DOMHighResTimeStampOpens a window to show url (defaults to
+
resize
eventscroll
eventwindow.open
+ about:blank
), and returns it.
The target argument gives the name of the new window. If a window exists with that
- name already, it is reused. The features argument can be
- used to influence the rendering of the new window.
Interpret features as defined in the CSSOM - View specification.
Let tokenizedFeatures be the result of tokenizing features.
If target browsing context is a new auxiliary browsing context, + then set up browsing context features for target browsing context given + tokenizedFeatures.
If the result of splitting features
- on commas contains the token "noopener
", then disown target browsing context's opener and
- return null.
If tokenizedFeatures contains an entry with
+ the key "noopener
", then disown
+ target browsing context's opener and return null.
Otherwise, return the WindowProxy
object of target browsing
context.
To tokenize the features + argument:
+ +Let tokenizedFeatures be a new ordered map.
Let position point at the first code point of features.
While position is not past the end of features:
+ +Let name be the empty string.
Let value be the empty string.
Collect a sequence of code points that are feature separators from features given position. This + skips past leading separators before the name.
Collect a sequence of code points that are not feature separators from features given position. Set + name to the collected characters, converted to ASCII lowercase.
Set name to the result of normalizing the feature name + name.
While position is not past the end of features and the + code point at position in features is not U+003D (=):
+ +If the code point at position in features is U+002C (,), or if + it is not a feature separator, then break.
Advance position by 1.
This skips to the first U+003D (=) but does not skip past a U+002C (,) or a + non-separator.
+If the code point at position in features is a feature + separator:
+ +While position is not past the end of features and the code point + at position in features is a feature separator:
+ +If the code point at position in features is U+002C (,), then + break.
Advance position by 1.
This skips to the first non-separator but does not skip past a U+002C + (,).
+Collect a sequence of code points that are not feature separators code points from features given + position. Set value to the collected code points, converted to + ASCII lowercase.
If name is not the empty string, then set + tokenizedFeatures[name] to value.
Return tokenizedFeatures.
A code point is a feature separator if it is ASCII whitespace, U+003D + (=), or U+002C (,).
+ +For legacy reasons, there are some aliases of some feature names. To normalize a feature name name, switch on name:
+ +screenx
"
+ left
".
+ screeny
"
+ top
".
+ innerwidth
"
+ width
".
+ innerheight
"
+ height
".
+ The name
attribute of the Window
object