Closed Bug 2040196 Opened 2 months ago Closed 2 months ago

Plumb the document's URL data through CSS.supports()

Categories

(Core :: CSS Parsing and Computation, defect)

defect

Tracking

()

RESOLVED FIXED
153 Branch
Tracking Status
firefox153 --- fixed

People

(Reporter: hiro, Assigned: hiro)

References

Details

(Keywords: webcompat:platform-bug)

User Story

user-impact-score:1.5

Attachments

(3 files, 2 obsolete files)

With plumbing disabled_domains_pref should just work.

Replace the three boolean parameters (ua_origin, chrome_sheet, quirks)
with a CssSupportsFlags struct of three small enums. This makes call
sites self-documenting and avoids the easy-to-misorder bool triplet.

Pure refactor: each call site preserves its prior semantics.

Assignee: nobody → hikezoe.birchill
Status: NEW → ASSIGNED

Thus it's properly gated by disabled_domains_pref.

User Story: (updated)

Thus it's properly gated by disabled_domains_pref.

Attachment #9587230 - Attachment is obsolete: true
Attachment #9587231 - Attachment is obsolete: true
Severity: -- → S3
Attachment #9587091 - Attachment description: Bug 2040196 - Refactor Servo_CSSSupports to take a flags struct. r?#firefox-style-system-reviewers → Bug 2040196 - Refactor Servo_CSSSupports to take a params struct. r?#firefox-style-system-reviewers
Pushed by hikezoe.birchill@mozilla.com: https://github.com/mozilla-firefox/firefox/commit/487bc3a74c64 https://hg.mozilla.org/integration/autoland/rev/6a125cf77b6e Use CSS.supports in the proper window context rather than the devtools sandbox in walker-search.js. r=devtools-reviewers,nchevobbe https://github.com/mozilla-firefox/firefox/commit/9be32b42ea3d https://hg.mozilla.org/integration/autoland/rev/bf8dc3719053 Refactor Servo_CSSSupports to take a params struct. r=firefox-style-system-reviewers,layout-reviewers,emilio https://github.com/mozilla-firefox/firefox/commit/46c9ded44c8b https://hg.mozilla.org/integration/autoland/rev/69b64c31f956 Plumb the document's URL data through CSS.supports(). r=firefox-style-system-reviewers,layout-reviewers,emilio
Status: ASSIGNED → RESOLVED
Closed: 2 months ago
Resolution: --- → FIXED
Target Milestone: --- → 153 Branch
QA Whiteboard: [qa-triage-done-c154/b153]
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: