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

improve initiatorType #36

Closed
wants to merge 1 commit into from
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
3 changes: 3 additions & 0 deletions index.html
Expand Up @@ -355,6 +355,9 @@ <h3>The <code>PerformanceResourceTiming</code> Interface</h3>
<p>If the initiator is a CSS resource downloaded by the <code><a href="http://www.w3.org/TR/css-syntax-3/#consume-a-url-token">url()</a></code> syntax [[!CSS-SYNTAX-3]], such as <code>@import url()</code> or <code>background: url()</code>,
on getting, the <code><a href="#widl-PerformanceResourceTiming-initiatorType">initiatorType</a></code> attribute MUST return the DOMString <code>"css"</code>.</p>
<p>If the initiator is an XMLHttpRequest object [[!XMLHttpRequest]], on getting, the <code><a href="#widl-PerformanceResourceTiming-initiatorType">initiatorType</a></code> attribute MUST return the DOMString <code>"xmlhttprequest"</code>.</p>
<p>If the initiator is the <a href="https://fetch.spec.whatwg.org/#dom-global-fetch">Fetch method</a> [[!Fetch]], on getting, the <code><a href="#widl-PerformanceResourceTiming-initiatorType">initiatorType</a></code> attribute MUST return the DOMString <code>"fetch"</code>.</p>
<p>If the initiator is the <a href="https://fetch.spec.whatwg.org/#cors-preflight-fetch">CORS-preflight fetch</a> [[!Fetch]], on getting, the <code><a href="#widl-PerformanceResourceTiming-initiatorType">initiatorType</a></code> attribute MUST return the DOMString <code>"preflight"</code>.</p>
<p>Otherwise, on getting, the initiatorType attribute MUST return the DOMString <code>"other"</code>.</p>
</dd>

<dt>readonly attribute DOMString nextHopProtocol</dt>
Expand Down