New issue
Advanced search Search tips

Issue 814733 link

Starred by 1 user

Issue metadata

Status: Assigned
Owner:
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: Linux , Windows , Mac
Pri: 2
Type: Feature


Show other hotlists

Hotlists containing this issue:
Hotlist-1
Hotlist-2


Sign in to add a comment

Request flag to disable Javascript modules

Reported by thomas.t...@gmail.com, Feb 22 2018

Issue description

UserAgent: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/64.0.3282.167 Safari/537.36

Steps to reproduce the problem:
For testing purpose, I'd like to have a flag to disable Javascript modules (import/export).
That way, Chrome would read  <script nomodule> over <script type="module">.

What is the expected behavior?

What went wrong?
No flag.

Did this work before? N/A 

Does this work in other browsers? N/A

Chrome version: 64.0.3282.167  Channel: stable
OS Version: 
Flash Version:
 
Labels: Needs-Triage-M64
Components: Blink>JavaScript
Labels: -Type-Bug Triaged-ET M-66 FoundIn-66 OS-Mac OS-Windows Type-Feature
Status: Untriaged (was: Unconfirmed)
As per comment #0, this seems to be a feature request. Hence, marking it as untriaged for further inputs from dev team.

Thanks...!!
Cc: adamk@chromium.org
Status: WontFix (was: Untriaged)
ATM there already is one: chrome://flags/#enable-module-scripts-dynamic-import

I don't know how long it is planned to exist though. Adamk@ might know.
Components: -Blink>JavaScript Blink>JavaScript>Language
Status: Available (was: WontFix)
Seems like the linked flag only is about dynamic imports. Reopening.
Thanks, it's indeed not related to dynamic imports.
Firefox has got it under about:config > dom.moduleScripts.enabled.

Comment 6 by adamk@chromium.org, Mar 5 2018

Components: -Blink>JavaScript>Language Blink>HTML>Script
Owner: kouhei@chromium.org
Status: Assigned (was: Available)
I don't think this is something we would want to do, but assigning to kouhei for further triage, as it's a request for handling of an HTML feature (executing <script nomodule>), not a JS one.

Sign in to add a comment