Closed
Bug 1528299
Opened 6 years ago
Closed 6 years ago
InspectorUtils.getCSSStyleRules returns incorrect type
Categories
(Core :: Layout, defect)
Core
Layout
Tracking
()
RESOLVED
FIXED
mozilla67
Tracking | Status | |
---|---|---|
firefox67 | --- | fixed |
People
(Reporter: jkratzer, Assigned: emilio)
References
(Blocks 1 open bug)
Details
Attachments
(1 file)
The InspectorUtils getCSSStyleRules IDL definition defines the wrong return type.
namespace InspectorUtils {
// documentOnly tells whether user and UA sheets should get included.
sequence<StyleSheet> getAllStyleSheets(Document document, optional boolean documentOnly = false);
sequence<CSSRule> getCSSStyleRules(
Element element,
[TreatNullAs=EmptyString] optional DOMString pseudo = "");
This should return a sequence of CSSStyleRule objects.
Comment 1•6 years ago
|
||
WebIDL Bindings component is for bindings generation only. Moving this over to layout, which is where InspectorUtils specific bugs should go I think?
Component: DOM: Bindings (WebIDL) → Layout
Comment 2•6 years ago
|
||
Should be easy to just change the webidl file as well as the parameter of InspectorUtils::GetCSSStyleRules
.
Assignee | ||
Comment 3•6 years ago
|
||
Yeah, I can just do that.
Assignee: nobody → emilio
Flags: needinfo?(emilio)
Assignee | ||
Updated•6 years ago
|
Flags: needinfo?(emilio)
Assignee | ||
Comment 4•6 years ago
|
||
Pushed by ealvarez@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/65ed1a6835b9
Make InspectorUtils.getCSStyleRules return a proper CSSStyleRule sequence. r=xidorn
Comment 6•6 years ago
|
||
bugherder |
Status: NEW → RESOLVED
Closed: 6 years ago
status-firefox67:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → mozilla67
You need to log in
before you can comment on or make changes to this bug.
Description
•