Closed Bug 1669459 Opened 4 years ago Closed 4 years ago

Add an InspectorUtils API that allows to parse in different modes (UA/chrome rules)

Categories

(DevTools :: Inspector: Rules, task)

task

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: emilio, Assigned: emilio)

References

Details

Attachments

(3 files)

No description provided.

Use UTF8String rather than converting on the callee (which can avoid
copies), and also it doesn't really throw, so don't claim it does.

Just some drive-by cleanup.

Depends on D92583

Which allows to run CSS.supports in chrome/user-agent context. We should
probably add a couple more tweaks for stuff like quirks or what not (the
ParsingMode enum), but that seem lower priority.

I only added the one-value version of CSS.supports because it should be enough
and supporting the two value version required a bit of awkward code due to when
we parse the CSS property name right now.

Depends on D92584

Keywords: leave-open
Pushed by ealvarez@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/02be727b0bb5
Introduce InspectorUtils.supports(). r=rcaliman,heycam
Status: NEW → RESOLVED
Closed: 4 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: