Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove noopener from tokenizedFeatures #3297

Merged
merged 1 commit into from
May 3, 2019
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
36 changes: 27 additions & 9 deletions source
Original file line number Diff line number Diff line change
Expand Up @@ -78656,15 +78656,33 @@ dictionary <dfn>WindowPostMessageOptions</dfn> : <span>PostMessageOptions</span>

<li><p>Let <var>noopener</var> and <var>noreferrer</var> be false.</p></li>

<li><p>If <var>tokenizedFeatures</var> <span data-x="map exists">contains</span> an entry with
the key "<code data-x="">noopener</code>", then set <var>noopener</var> to the result of <span
data-x="concept-window-open-features-parse-boolean">parsing
<var>tokenizedFeatures["noopener"]</var> as a boolean feature</span>.</p></li>

<li><p>If <var>tokenizedFeatures</var> <span data-x="map exists">contains</span> an entry with
the key "<code data-x="">noreferrer</code>", then set <var>noreferrer</var> to the result of
<span data-x="concept-window-open-features-parse-boolean">parsing
<var>tokenizedFeatures["noreferrer"]</var> as a boolean feature</span>.</p></li>
<li>
<p>If <var>tokenizedFeatures</var>["<code data-x="">noopener</code>"] <span data-x="map
exists">exists</span>, then:</p>

<ol>
<li><p>Set <var>noopener</var> to the result of <span
data-x="concept-window-open-features-parse-boolean">parsing <var>tokenizedFeatures</var>["<code
data-x="">noopener</code>"] as a boolean feature</span>.</p></li>

<li><p><span data-x="map remove">Remove</span> <var>tokenizedFeatures</var>["<code
data-x="">noopener</code>"].</p></li>
</ol>
</li>

<li>
<p>If <var>tokenizedFeatures</var>["<code data-x="">noreferrer</code>"] <span data-x="map
exists">exists</span>, then:</p>

<ol>
<li><p>Set <var>noreferrer</var> to the result of <span
data-x="concept-window-open-features-parse-boolean">parsing <var>tokenizedFeatures</var>["<code
data-x="">noreferrer</code>"] as a boolean feature</span>.</p></li>

<li><p><span data-x="map remove">Remove</span> <var>tokenizedFeatures</var>["<code
data-x="">noreferrer</code>"].</p></li>
</ol>
</li>

<li><p>If <var>noreferrer</var> is true, then set <var>noopener</var> to true.</p></li>

Expand Down