Warn when implicitly-enabled extensions are used
Categories
(Core :: Graphics: CanvasWebGL, enhancement, P2)
Tracking
()
Tracking | Status | |
---|---|---|
firefox70 | --- | fixed |
People
(Reporter: jgilbert, Assigned: greyson.gilbert.oss)
References
Details
(Whiteboard: gfx-noted)
Attachments
(1 file, 1 obsolete file)
This will help prevent devs from shipping non-portable code.
Reporter | ||
Updated•6 years ago
|
Reporter | ||
Updated•6 years ago
|
Assignee | ||
Comment 1•6 years ago
|
||
Emits a warning when an extension is enabled implicitly.
Reporter | ||
Comment 2•6 years ago
•
|
||
Thanks for the submission!
I worry that warn-on-implicit-enable will cause false-positives on most existing content.
I think the most helpful we can be here is to watch for usage of implicitly enabled functionality.
For example, FormatUsageInfo::renderable could become an enum or class that tracks if it was enabled implicitly or explicitly. Then, when we perform validation against it, we can generate warnings if it wasn't explicitly enabled.
We also need to be sure that if a user later explicitly enables an extension, we update our implicit/explicit tracking, so that we don't force them to activate extensions in a particular order.
Assignee | ||
Comment 3•6 years ago
|
||
Reporter | ||
Updated•6 years ago
|
Comment 5•6 years ago
|
||
bugherder |
Updated•5 years ago
|
Updated•5 years ago
|
Description
•