From a3415bccd881651b7411aab4a2bb04dc8d813bbd Mon Sep 17 00:00:00 2001 From: Ilya Grigorik Date: Wed, 23 Sep 2015 14:33:51 -0700 Subject: [PATCH] improve initiatorType - 'fetch' for fetch() initiated requests - 'preflight' for CORS-preflight requests - 'other' to catch all other cases closes #8 --- index.html | 3 +++ 1 file changed, 3 insertions(+) diff --git a/index.html b/index.html index 2186033..0a46c8a 100644 --- a/index.html +++ b/index.html @@ -355,6 +355,9 @@

The PerformanceResourceTiming Interface

If the initiator is a CSS resource downloaded by the url() syntax [[!CSS-SYNTAX-3]], such as @import url() or background: url(), on getting, the initiatorType attribute MUST return the DOMString "css".

If the initiator is an XMLHttpRequest object [[!XMLHttpRequest]], on getting, the initiatorType attribute MUST return the DOMString "xmlhttprequest".

+

If the initiator is the Fetch method [[!Fetch]], on getting, the initiatorType attribute MUST return the DOMString "fetch".

+

If the initiator is the CORS-preflight fetch [[!Fetch]], on getting, the initiatorType attribute MUST return the DOMString "preflight".

+

Otherwise, on getting, the initiatorType attribute MUST return the DOMString "other".

readonly attribute DOMString nextHopProtocol