Closed Bug 589209 Opened 14 years ago Closed 14 years ago

change name of DOM panel to Object

Categories

(DevTools :: General, defect)

defect
Not set
normal

Tracking

(blocking2.0 -)

RESOLVED FIXED
Firefox 4.0b5
Tracking Status
blocking2.0 --- -

People

(Reporter: rcampbell, Assigned: msucan)

References

Details

(Whiteboard: [kd4b5] [patchclean:0825])

Attachments

(1 file, 3 obsolete files)

Currently, the DOM panel's name is confusing. DOM, standing for Document Object Model is the full model of the document contained in a window. When inspecting the currently-misnamed DOM panel shows only the properties of the highlit node. "Object" is a more appropriate term for this view.
Assignee: nobody → mihai.sucan
Whiteboard: [kd4b5]
Attached patch proposed patch (obsolete) — Splinter Review
This patch changes the name of the DOM panel to Object panel through-out the Inspector code and UI.

All tests pass, no known regressions.

Additionally, I also fixed bug 588795 with a one-liner.
Attachment #468138 - Flags: feedback?(rcampbell)
Status: NEW → ASSIGNED
blocking2.0: --- → ?
OS: Mac OS X → All
Blocks: 588795
Doesn't block, would likely approve a reviewed patch, though.
blocking2.0: ? → -
Attached patch smaller patch (obsolete) — Splinter Review
This is a smaller patch that the previously proposed one. Here I limit the changes only to the one-liner fix for bug 588795, and to the l10n changes.

Thanks!
Attachment #468138 - Attachment is obsolete: true
Attachment #469084 - Flags: review?(gavin.sharp)
Attachment #468138 - Flags: feedback?(rcampbell)
Comment on attachment 469084 [details] [diff] [review]
smaller patch

>diff --git a/browser/locales/en-US/chrome/browser/browser.dtd b/browser/locales/en-US/chrome/browser/browser.dtd

>+<!-- LOCALIZATION NOTE (inspectObjectButton.label): This button label
>+  -  appears on the Inspector's toolbar. It is used to open and close the Object
>+  -  panel. There is also a DOM label in inspector.properties for the panel
>+  -  titlebar. -->

Remove "DOM" from the comment, or reference the other string name exactly?
Attachment #469084 - Flags: review?(gavin.sharp) → review+
(In reply to comment #4)
> Comment on attachment 469084 [details] [diff] [review]
> smaller patch
> 
> >diff --git a/browser/locales/en-US/chrome/browser/browser.dtd b/browser/locales/en-US/chrome/browser/browser.dtd
> 
> >+<!-- LOCALIZATION NOTE (inspectObjectButton.label): This button label
> >+  -  appears on the Inspector's toolbar. It is used to open and close the Object
> >+  -  panel. There is also a DOM label in inspector.properties for the panel
> >+  -  titlebar. -->
> 
> Remove "DOM" from the comment, or reference the other string name exactly?

Thanks for your quick r+ Gavin! Yeah, will update the patch accordingly.
Hardware: x86 → All
Whiteboard: [kd4b5] → [kd4b5] [patchclean:0825]
Attached patch updated patch (obsolete) — Splinter Review
Updated patch as suggested in Gavin's review.
Attachment #469084 - Attachment is obsolete: true
Keywords: checkin-needed
Attached patch rebased patchSplinter Review
Rebased patch for mozilla-central.
Attachment #469099 - Attachment is obsolete: true
http://hg.mozilla.org/mozilla-central/rev/d207cb43a7bf
Status: ASSIGNED → RESOLVED
Closed: 14 years ago
Keywords: checkin-needed
Resolution: --- → FIXED
Target Milestone: --- → Firefox 4.0b5
Product: Firefox → DevTools
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: