Closed Bug 1195995 Opened 11 years ago Closed 11 years ago

merge css-parsing-utils and css-tokenizer

Categories

(DevTools :: Inspector, defect)

defect
Not set
normal

Tracking

(firefox44 fixed)

RESOLVED FIXED
Firefox 44
Tracking Status
firefox44 --- fixed

People

(Reporter: tromey, Assigned: tromey)

References

Details

Attachments

(1 file, 3 obsolete files)

In https://bugzilla.mozilla.org/show_bug.cgi?id=1195356#c3 Patrick suggested merging css-parsing-utils.js and css-tokenizer.js.
In a later version of the patch I dropped tokenizeCSSWithComments. So I wonder if you still want this merge to happen?
Flags: needinfo?(pbrosset)
If I'm seeing the code for the first time and need to do some CSS parsing, I may ask myself why there are 2 modules that seem to do that, judging by their names. The css-parsing-utils name seems more generic, I would delete css-tokenizer, and move its only 2 functions into css-parsing-utils, and then move css-parsing-utils into browser/devtools/shared so it looks like something people can use.
Flags: needinfo?(pbrosset)
Depends on: 994880
Depends on: 984880
No longer depends on: 994880
Move css-parsing-utils and tests to devtools/client/shared; merge css-tokenizer into that file; and fix up the fallout.
Attachment #8653728 - Attachment is obsolete: true
Attachment #8667314 - Flags: review?(mratcliffe)
Attachment #8667314 - Flags: review?(mratcliffe) → review+
Updated for changes in other bugs.
Attachment #8667314 - Attachment is obsolete: true
Attachment #8669089 - Flags: review+
Version under test.
Attachment #8669089 - Attachment is obsolete: true
Attachment #8670370 - Flags: review+
Keywords: checkin-needed
Status: ASSIGNED → RESOLVED
Closed: 11 years ago
Resolution: --- → FIXED
Target Milestone: --- → Firefox 44
Product: Firefox → DevTools
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: