resource-timing icon indicating copy to clipboard operation
resource-timing copied to clipboard

InitiatorType for module scripts

Open yoavweiss opened this issue 3 years ago • 2 comments

It seems like the initiatorType for module script preloads is currently tested to be "other"

Would be good to define it to be either more meaningful ("script" or "module script") or more consistent ("link" like other <link> based resources)

yoavweiss avatar Sep 02 '22 04:09 yoavweiss

The spec currently says that this should be "module" If switching to something like "module script", then this needs to be defined in HTML first, and aligned with the list in fetch as well.

clelland avatar Sep 26 '22 14:09 clelland

HTML's set up the module script request doesn't set an initiatorType on the request. We should modify it to indicate "script".

yoavweiss avatar Sep 26 '22 15:09 yoavweiss