Closed
Bug 787521
Opened 11 years ago
Closed 3 years ago
Disable theme-related CSS media queries features when not in chrome context
Categories
(Core :: CSS Parsing and Computation, defect)
Core
CSS Parsing and Computation
Tracking
()
RESOLVED
FIXED
87 Branch
Tracking | Status | |
---|---|---|
firefox87 | --- | fixed |
People
(Reporter: l702097, Assigned: emilio)
References
(Blocks 1 open bug)
Details
(Keywords: dev-doc-complete, privacy, site-compat)
Attachments
(1 file)
The following features expose system configuration information and are more harmful than useful in web pages. See #787296 -moz-mac-graphite-theme -moz-mac-lion-theme -moz-maemo-classic -moz-windows-classic -moz-windows-compositor -moz-windows-default-theme -moz-windows-theme -moz-scrollbar-end-backward -moz-scrollbar-end-forward -moz-scrollbar-start-backward -moz-scrollbar-start-forward -moz-scrollbar-thumb-proportional -moz-menubar-drag
![]() |
||
Updated•11 years ago
|
Tor browser has a patch for this (at https://gitweb.torproject.org/torbrowser.git/blob/maint-2.2:/src/current-patches/firefox/0010-Limit-device-and-system-specific-CSS-Media-Queries.patch ) - might be a bit too agressive for general usage, but IMHO it wouldn't be hard to extract blocking of Mozilla-specific features outside of Chrome from it...
Updated•6 years ago
|
Keywords: dev-doc-needed,
site-compat
Comment 2•3 years ago
|
||
we can close this: all the above mentioned items are deprecated: they return undefined
.. pinging Boris :)
Flags: needinfo?(bzbarsky)
![]() |
||
Comment 3•3 years ago
|
||
They're not deprecated, but looks like Emilio fixed them being exposed to content a while ago. Some of them have tests for that (the expression_should_not_be_parseable
bits in vlayout/style/test/test_media_queries.html
) and some don't; it may be worth adding tests for the ones that don't.
Flags: needinfo?(bzbarsky) → needinfo?(emilio)
Assignee | ||
Comment 4•3 years ago
|
||
Updated•3 years ago
|
Assignee: nobody → emilio
Attachment #9199096 -
Attachment description: Bug 787521 - Add some extra tests to test_chrome_only_media_queries. → Bug 787521 - Improve tests for chrome-only media queries. r=dholbert,#style
Status: NEW → ASSIGNED
Updated•3 years ago
|
Attachment #9199096 -
Attachment description: Bug 787521 - Improve tests for chrome-only media queries. r=dholbert,#style → Bug 787521 - Improve tests for chrome-only media queries. r=dholbert
Updated•3 years ago
|
Attachment #9199096 -
Attachment description: Bug 787521 - Improve tests for chrome-only media queries. r=dholbert → Bug 787521 - Improve tests for chrome-only media queries. r=dholbert,#style
Pushed by ealvarez@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/d76812f874e1 Improve tests for chrome-only media queries. r=dholbert
Comment 7•3 years ago
|
||
bugherder |
Status: ASSIGNED → RESOLVED
Closed: 3 years ago
status-firefox87:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → 87 Branch
Comment 8•3 years ago
|
||
This has been added to the release notes for 87, and mentions on MDN removed.
Keywords: dev-doc-needed → dev-doc-complete
You need to log in
before you can comment on or make changes to this bug.
Description
•