Closed Bug 1667122 Opened 6 years ago Closed 6 years ago

Perma browser/base/content/test/static/browser_parsable_css.js | Got error message for resource://gre-resources/mathml.css: Unknown property ‘math-style’. Declaration dropped. when Gecko 83 merges to Beta on 2020-10-19

Categories

(Core :: CSS Parsing and Computation, defect)

defect

Tracking

()

VERIFIED FIXED
83 Branch
Tracking Status
firefox-esr78 --- unaffected
firefox81 --- unaffected
firefox82 --- unaffected
firefox83 --- verified

People

(Reporter: aryx, Assigned: fwang)

References

(Regression)

Details

(Keywords: regression)

Attachments

(1 file, 1 obsolete file)

central-as-beta simulation: https://treeherder.mozilla.org/#/jobs?repo=try&group_state=expanded&selectedTaskRun=CiuiHaBcQ6yxpMqztMqEDw.0&resultStatus=testfailed%2Cbusted%2Cexception%2Cretry%2Cusercancel%2Crunnable&revision=fe26df9ba01855cafb14cd113e2f328b4e345d00&searchStr=browser-chrome

Failure log: https://treeherder.mozilla.org/logviewer.html#?job_id=316581875&repo=try

TEST-UNEXPECTED-FAIL | browser/base/content/test/static/browser_parsable_css.js | Got error message for resource://gre-resources/mathml.css: Unknown property ‘math-style’. Declaration dropped. -

Flags: needinfo?(fred.wang)

Probably, the test should be adjusted to only test math-style when layout.css.math-style.enabled is enabled. I guess we do something similar for other properties that are only enabled in nightly?

Flags: needinfo?(fred.wang) → needinfo?(emilio)

Yeah, you need a whitelist entry like this: https://searchfox.org/mozilla-central/rev/3d53187b90605ccef321c9cadbba762ad06a6381/browser/base/content/test/static/browser_parsable_css.js

But using math-style as the property name and mathml.css instead of forms.css, and conditional on the pref being false (you can see existing entries below).

Flags: needinfo?(emilio)

This also causes mochitest-plain failures: https://treeherder.mozilla.org/logviewer.html#?job_id=316582730&repo=try

TEST-UNEXPECTED-FAIL | layout/style/test/test_bug1112014.html | uncaught exception - NS_ERROR_FAILURE: at doApply@resource://specialpowers/WrapPrivileged.jsm:118:18
TEST-UNEXPECTED-FAIL | layout/style/test/test_ch_ex_no_infloops.html | Setting 'math-style' to '3ex' should not cause infinite loop - didn't expect "", but got it
etc.

Attachment #9177805 - Attachment is obsolete: true

(In reply to Sebastian Hengst [:aryx] (needinfo on intermittent or backout) from comment #3)

This also causes mochitest-plain failures: https://treeherder.mozilla.org/logviewer.html#?job_id=316582730&repo=try

TEST-UNEXPECTED-FAIL | layout/style/test/test_bug1112014.html | uncaught exception - NS_ERROR_FAILURE: at doApply@resource://specialpowers/WrapPrivileged.jsm:118:18
TEST-UNEXPECTED-FAIL | layout/style/test/test_ch_ex_no_infloops.html | Setting 'math-style' to '3ex' should not cause infinite loop - didn't expect "", but got it
etc.

These ones seem to use layout/style/test/property_database.js

I've uploaded a tentative patch.

Blocks: 1667118
Assignee: nobody → fred.wang
Status: NEW → ASSIGNED
Attachment #9177806 - Attachment description: Bug 1667122 - Make CSS tests work when math-style is disabled → Bug 1667122 - Make CSS tests work when math-style is disabled. r=emilio
Pushed by ncsoregi@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/52f73bfae49a Make CSS tests work when math-style is disabled. r=emilio
Status: ASSIGNED → RESOLVED
Closed: 6 years ago
Resolution: --- → FIXED
Target Milestone: --- → 83 Branch
Pushed by geoff@darktrojan.net: https://hg.mozilla.org/comm-central/rev/0babcd701b43 Port bug 1667122 - Make CSS tests work when math-style is disabled. rs=bustage-fix
Has Regression Range: --- → yes
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: