Closed
Bug 1470709
Opened 6 years ago
Closed 5 years ago
GeckoView uses variables from UA sheets, which are exposed to content.
Categories
(GeckoView :: General, defect, P3)
GeckoView
General
Tracking
(firefox62 wontfix, firefox63 wontfix, firefox64 wontfix, firefox65 wontfix, firefox66 wontfix, firefox75 fixed)
RESOLVED
FIXED
mozilla75
People
(Reporter: emilio, Assigned: emilio)
References
Details
Attachments
(2 files)
The fact that rules like[1] are loaded into content is observable, and someone could start relying on it.
Also, variables are a bit slower, but that's not quite the point.
[1]: https://searchfox.org/mozilla-central/rev/9a3f8590f807d449e790c8ba0e39eb14f41066d8/mobile/android/themes/geckoview/defines.css#6
Assignee | ||
Updated•6 years ago
|
Summary: Gecko view uses variables from UA sheets, which are exposed to content. → GeckoView uses variables from UA sheets, which are exposed to content.
Assignee | ||
Updated•6 years ago
|
Attachment #8987306 -
Attachment description: Testcase (should be blank, prints #bfbfbf on nightly) → Testcase (should be blank, prints #bfbfbf on nightly fennec)
Attachment #8987306 -
Attachment mime type: text/plain → text/html
Comment 1•6 years ago
|
||
Does this bug affect both Fennec Nightly and Focus+GeckoView Nightly? Comment 0 mentions Fennec Nightly, but the stylesheet is in a geckoview directory.
Assignee | ||
Comment 2•6 years ago
|
||
Affects both.
Assignee | ||
Updated•6 years ago
|
Updated•6 years ago
|
status-firefox64:
--- → fix-optional
status-firefox65:
--- → affected
Updated•6 years ago
|
Product: Firefox for Android → GeckoView
Comment 3•6 years ago
|
||
Marking fix-optional for 65 and 66 so that these already triaged issues don't show up repeatedly in weekly regression triage. Happy to take a patch in nightly.
Assignee | ||
Comment 4•5 years ago
|
||
Just inline them, they're not that many.
Using CSS variables is observable from content, which is not good. It also means
that we need an @import.
For bug 1618202, I plan to move this stylesheet to the global stylesheet cache.
This is so that I can add them based on prefs, but should also have memory
improvements (the stylesheet would be shared in memory across processes, see bug
1474793).
Updated•5 years ago
|
Assignee: nobody → emilio
Status: NEW → ASSIGNED
Pushed by ealvarez@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/7249f7406387
Stop using CSS variables from android UA stylesheets. r=snorp
Comment 6•5 years ago
|
||
bugherder |
Status: ASSIGNED → RESOLVED
Closed: 5 years ago
status-firefox75:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → mozilla75
Updated•5 years ago
|
You need to log in
before you can comment on or make changes to this bug.
Description
•