Closed Bug 661466 Opened 13 years ago Closed 13 years ago

Refactor utils.js clipboard flavors

Categories

(Other Applications :: DOM Inspector, defect)

defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: crussell, Assigned: crussell)

References

Details

Attachments

(2 files)

// TODO: Move these (or similar) to jsutil/system/clipboardFlavors.js or
// something as part of bug 328878.

I actually want to do this as a prerequisite to bug 546170.

Two things:
1. Rename CSSDeclaration to CSSProperty.  Style declarations are not properties.  This probably contributed to the confusion in bug 536012 (comment 8).
2. Move it and DOMAttribute to jsutil/system/clipboardFlavors.js
Assignee: nobody → Sevenspade
Status: NEW → ASSIGNED
Attachment #536912 - Attachment description: Move CSSDeclaration and DOMAttribute from utils.js to jsutil/system/clipboardFlavors.js → Phase 1: Move CSSDeclaration and DOMAttribute from utils.js to jsutil/system/clipboardFlavors.js
Attachment #536913 - Attachment description: Rename CSSDeclaration to CSSProperty and make entailing viewer changes → Phase 2: Rename CSSDeclaration to CSSProperty and make entailing viewer changes
No longer depends on: 172302
Comment on attachment 536912 [details] [diff] [review]
Phase 1: Move CSSDeclaration and DOMAttribute from utils.js to jsutil/system/clipboardFlavors.js [pushed in comment 4]

Sorry for the delay. I don't have a trunk build that knows how to handle file copies but then I realised that my branch build pulls trunk inspector anyway.
Attachment #536912 - Flags: review?(neil) → review+
Attachment #536913 - Flags: review?(neil) → review+
Comment on attachment 536912 [details] [diff] [review]
Phase 1: Move CSSDeclaration and DOMAttribute from utils.js to jsutil/system/clipboardFlavors.js [pushed in comment 4]

Pushed:
http://hg.mozilla.org/dom-inspector/rev/38f7c7d8867c
http://hg.mozilla.org/dom-inspector/rev/63179abb9bd5
Attachment #536912 - Attachment description: Phase 1: Move CSSDeclaration and DOMAttribute from utils.js to jsutil/system/clipboardFlavors.js → Phase 1: Move CSSDeclaration and DOMAttribute from utils.js to jsutil/system/clipboardFlavors.js [pushed in comment 4]
Attachment #536913 - Attachment description: Phase 2: Rename CSSDeclaration to CSSProperty and make entailing viewer changes → Phase 2: Rename CSSDeclaration to CSSProperty and make entailing viewer changes [pushed in comment 4]
Blocks: DOMi2.0.10
Status: ASSIGNED → RESOLVED
Closed: 13 years ago
Resolution: --- → FIXED
No longer blocks: DOMi2.0.10
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: