Closed
Bug 1839178
Opened 3 years ago
Closed 3 years ago
Make offset assertion easier to read in test_parseDeclarations.js
Categories
(DevTools :: Inspector: Rules, task, P3)
DevTools
Inspector: Rules
Tracking
(firefox116 fixed)
RESOLVED
FIXED
116 Branch
| Tracking | Status | |
|---|---|---|
| firefox116 | --- | fixed |
People
(Reporter: nchevobbe, Assigned: nchevobbe)
References
Details
Attachments
(1 external file)
No description provided.
| Assignee | ||
Comment 1•3 years ago
|
||
Seeing those offsets integer in the test case is a bit hard to assert that they
do actually refer to the expected part of the input.
This adds a declarationText property on the expected object that can be used
to properly asserts produced offsets.
Updated•3 years ago
|
Attachment #9339845 -
Attachment description: Bug 1838011 - [devtools] Assert parseDeclaration offsets easier. r=#devtools-reviewers. → Bug 1839178 - [devtools] Assert parseDeclaration offsets easier. r=#devtools-reviewers.
Pushed by nchevobbe@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/46492ffbcaf8
[devtools] Assert parseDeclaration offsets easier. r=devtools-reviewers,ochameau.
Comment 3•3 years ago
|
||
| bugherder | ||
Status: ASSIGNED → RESOLVED
Closed: 3 years ago
status-firefox116:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → 116 Branch
| Assignee | ||
Updated•3 years ago
|
Priority: -- → P3
You need to log in
before you can comment on or make changes to this bug.
Description
•