DevTools: [esmodules] Network initiators don't work |
|||||
Issue descriptionThey all point to the HTML test app: https://paulirish.github.io/es-modules-todomvc/ All but bootstrap.js are requested from inside other network requests.
,
May 26 2017
Bumping to P1, M61 given that this blocks the devtools MVP bug which blocks ES6 Modules (targeted at M61).
,
May 29 2017
allada@ Do you have cycle to work on this bug? This will block ES6 modules ship.
,
May 29 2017
I think we can simply plumb the ModuleScriptFetchRequest::referrer_ to the inspector
,
Jun 12 2017
allada: Would you give update on this?
,
Jun 13 2017
Yep sorry this slipped through my email. I will look into it today and give an update :-)
,
Jun 13 2017
I took a look into what is going on here and the fix will not be able to be squeezed into this quarter. We can add it to our Q3 OKR. I am not convinced that we can use ModuleScriptFetchRequest::referrer_... It appears that we can easily loose the referrer if the policy deems so. I believe the best thing to do is to have V8 pass a ScriptLocation of when a new module resource is added to the module tree. Is adding it to Q3 OKRs good with you?
,
Jun 19 2017
,
Jun 21 2017
V8 API change landed: https://chromium-review.googlesource.com/c/541322/
,
Jun 28 2017
I think it would be very helpful to know (by order of priority) - 1. The specific module that first triggered loading this module. 2. All of the modules that would have triggered loading this module. 3. Perhaps there should be a module-dependency panel/drawer for showing all of the relationships and dependencies. But this is probably too fancy. The point is that sometimes loading (running) a module may cause bugs and knowing the way that brought this module to the application would make it much faster to fix.
,
Jun 29 2017
We're working on module-specific features, and I think we'll cover all mentioned use cases. Thanks! But this particular issue is fixed by [1]. [1] https://chromium-review.googlesource.com/c/539565/
,
Jun 29 2017
lgtm! thx |
|||||
►
Sign in to add a comment |
|||||
Comment 1 by seththompson@chromium.org
, May 12 2017