DevTools: add way to compile and evaluate module using protocol |
|||||
Issue descriptionUserAgent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_13_3) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/66.0.3359.45 Safari/537.36 Steps to reproduce the problem: 1. create a new snippet 2. add an import What is the expected behavior? The import works What went wrong? Syntax error Did this work before? No Chrome version: 66.0.3359.45 Channel: n/a OS Version: OS X 10.13.3 Flash Version:
,
Apr 6 2018
Thanks for filing the issue! @justinfagnani: Could you please share a sample test file which helps us to triage the issue in a better way. Any further inputs from your end may be helpful.
,
Apr 6 2018
Only one line is necessary. Any `import` or `export` will cause a syntax error as snippets aren't parsed as modules. ie:
import * as foo from 'foo';
,
Apr 6 2018
Thank you for providing more feedback. Adding the requester to the cc list. For more details visit https://www.chromium.org/issue-tracking/autotriage - Your friendly Sheriffbot
,
Apr 6 2018
Thanks for the report. If snippets start supporting modules, it might makes sense to 'import' in console, too.
,
Sep 25
,
Sep 25
,
Sep 25
|
|||||
►
Sign in to add a comment |
|||||
Comment 1 by krajshree@chromium.org
, Apr 6 2018