[whatwg/fetch] Associate import() with the "script" destination (#724)

Before this patch, the Fetch spec says nothing about the destination of
dynamic/static import(). This patch clarifies it.

importScripts() that is a similar feature of import() is associated with the
"script" destinaton, so import() should also be associated with the "script"
destination.

cc: @nyaxt
You can view, comment on, or merge this pull request online at:

  https://github.com/whatwg/fetch/pull/724

-- Commit Summary --

  * Associate import() with the "script" destination

-- File Changes --

    M fetch.bs (2)

-- Patch Links --

https://github.com/whatwg/fetch/pull/724.patch
https://github.com/whatwg/fetch/pull/724.diff

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/whatwg/fetch/pull/724

Received on Monday, 14 May 2018 04:39:46 UTC