Closed Bug 1824481 Opened 2 years ago Closed 2 years ago

Add emulation for scripting media query

Categories

(DevTools :: Inspector, enhancement)

enhancement

Tracking

(Not tracked)

RESOLVED WONTFIX

People

(Reporter: canadahonk, Unassigned)

References

(Blocks 1 open bug)

Details

With Bug 1166581, we will shortly implement the scripting media query, part of Media Queries Level 5 by default. Emulation for this query should also probably be added as part of media emulation, although it can already be tested by users manually disabling JS in settings/etc, but is not that easy or straight forward as an emulation option.

I am wondering if it makes sense as a pure emulation feature that would only impact media queries. If users also rely on the fact that no script runs when this media query applies, I think emulating something that only affects the media queries could lead to unexpected results.

Considering we already have features to disable JavaScript, maybe we should rather try to improve the UX of this feature?

Oh, I must have missed the option to disable JS in devtools haha. Fine with that then, thanks!

Status: NEW → RESOLVED
Closed: 2 years ago
Resolution: --- → WONTFIX
You need to log in before you can comment on or make changes to this bug.