Closed
Bug 1501804
Opened 6 years ago
Closed 6 years ago
web fonts runtime setting broken
Categories
(GeckoView :: General, defect, P1)
Tracking
(geckoview62 wontfix, geckoview63 wontfix, geckoview64 wontfix, firefox63 wontfix, firefox64 wontfix, firefox65 fixed)
RESOLVED
FIXED
mozilla65
People
(Reporter: snorp, Assigned: m_kato)
References
Details
Attachments
(2 files)
47 bytes,
text/x-phabricator-request
|
jcristau
:
approval-mozilla-beta+
|
Details | Review |
5.09 KB,
patch
|
snorp
:
review+
|
Details | Diff | Splinter Review |
At some point the pref for this changed from a boolean to an integer, so it broke our runtime setting. We should have a test :)
Comment 1•6 years ago
|
||
Makoto would you like to take this bug?
Flags: needinfo?(m_kato)
Priority: -- → P1
Assignee | ||
Comment 2•6 years ago
|
||
Ah, it mean browser.display.use_document_fonts. I thought that this is gfx.downloadable_fonts.enabled for downloadable font.
Assignee: nobody → m_kato
Flags: needinfo?(m_kato)
Assignee | ||
Comment 3•6 years ago
|
||
Pushed by m_kato@ga2.so-net.ne.jp: https://hg.mozilla.org/integration/autoland/rev/50484e0a51c8 browser.display.use_document_fonts is integer, not boolean. r=snorp
Comment 5•6 years ago
|
||
bugherder |
https://hg.mozilla.org/mozilla-central/rev/50484e0a51c8
Status: NEW → RESOLVED
Closed: 6 years ago
status-firefox65:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → Firefox 65
Comment 6•6 years ago
|
||
Makoto, does this web fonts setting affect GV 64? Focus will use GV 64 Beta in another beta test so blocking web fonts needs to work in 64.
status-firefox63:
--- → wontfix
status-firefox64:
--- → ?
status-geckoview62:
--- → wontfix
Flags: needinfo?(m_kato)
Assignee | ||
Comment 7•6 years ago
|
||
Comment on attachment 9022539 [details] Bug 1501804 - browser.display.use_document_fonts is integer, not boolean. r?snorp [Beta/Release Uplift Approval Request] Feature/Bug causing the regression: None User impact if declined: Firefox Focus can blow web font setting. But it doesn't work well when using GeckoView. Is this code covered by automated tests?: No Has the fix been verified in Nightly?: No Needs manual test from QE?: No If yes, steps to reproduce: List of other uplifts needed: None Risk to taking this patch: Low Why is the change risky/not risky? (and alternatives if risky): Preference type is mistake. it is int type, not boolean String changes made/needed: No
Flags: needinfo?(m_kato)
Attachment #9022539 -
Flags: approval-mozilla-beta?
Comment 8•6 years ago
|
||
Comment on attachment 9022539 [details] Bug 1501804 - browser.display.use_document_fonts is integer, not boolean. r?snorp fix for web fonts in geckoview, approved for 64.0b9
Attachment #9022539 -
Flags: approval-mozilla-beta? → approval-mozilla-beta+
Comment 9•6 years ago
|
||
(In reply to James Willcox (:snorp) (jwillcox@mozilla.com) from comment #0) > At some point the pref for this changed from a boolean to an integer, so it > broke our runtime setting. We should have a test :) Any update on that test? :)
Flags: in-testsuite?
Comment 10•6 years ago
|
||
bugherder uplift |
https://hg.mozilla.org/releases/mozilla-beta/rev/a691b474af0c
Comment 12•6 years ago
|
||
Backed out from beta for failing Android at org.mozilla.geckoview.test.crash.CrashTest.crashParent Push with failures: https://treeherder.mozilla.org/#/jobs?repo=mozilla-beta&resultStatus=testfailed%2Cbusted%2Cexception&classifiedState=unclassified&revision=a4175191b29b274d59ed117567ec03df9d6b8cf5&selectedJob=211226792 Failure log: https://taskcluster-artifacts.net/PPYQfJl-RwuzaK3-0bkWLg/0/public/logs/live_backing.log Backout: https://hg.mozilla.org/releases/mozilla-beta/rev/d74a918ff930da31a1ef3ad019ae27fdc75b0d44
Flags: needinfo?(m_kato)
Updated•6 years ago
|
Updated•6 years ago
|
status-geckoview63:
--- → wontfix
Comment 13•6 years ago
|
||
Makoto any thoughts on cause for backout in comment 12? We probably want this in 64...
Assignee | ||
Comment 14•6 years ago
|
||
(In reply to David Bolter [:davidb] (NeedInfo me for attention) from comment #13) > Makoto any thoughts on cause for backout in comment 12? We probably want > this in 64... Since bug 1502053 isn't landed on 65, this seems to occurs. I am looking for workaround...
Assignee | ||
Comment 15•6 years ago
|
||
https://treeherder.mozilla.org/#/jobs?repo=try&revision=acab9e3103e193d18f45003ec7f58ad1b2334193
Assignee | ||
Comment 16•6 years ago
|
||
Since bug 1502053 isn't landed on 65, we have to fix PrefsHelper too. This prefs is into INT_TO_BOOL_PREFS, "(Boolean) value" causes exception. After landing bug 1502053, PrefsHelper.setPref isn't used.
Flags: needinfo?(m_kato)
Attachment #9028656 -
Flags: review?(snorp)
Reporter | ||
Comment 17•6 years ago
|
||
Comment on attachment 9028656 [details] [diff] [review] for beta Review of attachment 9028656 [details] [diff] [review]: ----------------------------------------------------------------- ::: mobile/android/geckoview/src/main/java/org/mozilla/geckoview/GeckoRuntimeSettings.java @@ +498,5 @@ > * > * @return Whether web fonts support is enabled. > */ > public boolean getWebFontsEnabled() { > + return mWebFonts.get() != 0 ? true : false; You can just do `return mWebFonts.get() != 0`
Attachment #9028656 -
Flags: review?(snorp) → review+
Comment 18•6 years ago
|
||
In anticipation of the creation of the GECKOVIEW_64_RELBRANCH next week, I am moving this bug from status-firefox64=affected to status-geckoview64=affected.
Comment 19•6 years ago
|
||
status-geckoview64=wontfix
Updated•5 years ago
|
Product: Firefox for Android → GeckoView
Updated•5 years ago
|
Version: Firefox 59 → 59 Branch
Updated•5 years ago
|
Target Milestone: Firefox 65 → mozilla65
You need to log in
before you can comment on or make changes to this bug.
Description
•