Add support for `css` in `scripting.RegisteredContentScript`
Categories
(WebExtensions :: General, enhancement, P2)
Tracking
(firefox100 fixed)
Tracking | Status | |
---|---|---|
firefox100 | --- | fixed |
People
(Reporter: willdurand, Assigned: willdurand)
References
Details
(Whiteboard: [addons-jira])
Attachments
(1 file)
(deleted),
text/x-phabricator-request
|
Details |
It's about adding support for css
and writing tests. This should be very similar to what has been done for js
.
Updated•3 years ago
|
Assignee | ||
Comment 1•3 years ago
|
||
We'll have to make sure runAt
is not taken into account for css
, see: https://bugzilla.mozilla.org/show_bug.cgi?id=1755978#c1
Assignee | ||
Comment 2•3 years ago
|
||
(In reply to William Durand [:willdurand] from comment #1)
We'll have to make sure
runAt
is not taken into account forcss
, see: https://bugzilla.mozilla.org/show_bug.cgi?id=1755978#c1
This does not look like an easy task because we only have 1 runAt
for both JS and CSS paths: https://searchfox.org/mozilla-central/rev/61c6b2ca66b8fc7d82a71d6f045871e5a8649cbb/dom/chrome-webidl/WebExtensionContentScript.webidl#146-184. Changing this will be done in a separate bug.
Assignee | ||
Comment 3•3 years ago
|
||
Updated•3 years ago
|
Assignee | ||
Comment 4•3 years ago
|
||
(In reply to William Durand [:willdurand] from comment #2)
(In reply to William Durand [:willdurand] from comment #1)
We'll have to make sure
runAt
is not taken into account forcss
, see: https://bugzilla.mozilla.org/show_bug.cgi?id=1755978#c1This does not look like an easy task because we only have 1
runAt
for both JS and CSS paths: https://searchfox.org/mozilla-central/rev/61c6b2ca66b8fc7d82a71d6f045871e5a8649cbb/dom/chrome-webidl/WebExtensionContentScript.webidl#146-184. Changing this will be done in a separate bug.
I filed Bug 1759117 for that.
Comment 6•3 years ago
|
||
bugherder |
Description
•