Closed Bug 785528 Opened 12 years ago Closed 12 years ago

Don't allow deletion of doctype nodes in the markup panel

Categories

(DevTools :: Inspector, defect)

13 Branch
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED
Firefox 17

People

(Reporter: dcamp, Assigned: dcamp)

References

Details

(Whiteboard: [fixed-in-fx-team])

Attachments

(2 files, 1 obsolete file)

Attached patch v1 (obsolete) — Splinter Review
This patch prevents deletion of the doctype tag, and moves protection of other tags from the delete key handler to the deleteNode method.
Attachment #655180 - Flags: review?(jwalker)
Attachment #655180 - Flags: review?(jwalker) → review+
Added dependency
Blocks: 785380
Attached patch patch to landSplinter Review
Brought in the fix to this patch from bug 785380.
Attachment #655180 - Attachment is obsolete: true
https://hg.mozilla.org/integration/fx-team/rev/4c3e82b3dcaf
Whiteboard: [fixed-in-fx-team]
Attached patch bustage fixSplinter Review
I didn't move the fix over from 785380 correctly.  I landed this fix with r=jwalker, since it's what he reviewed over on bug 785380.

https://hg.mozilla.org/integration/fx-team/rev/5fa145ef906a
https://hg.mozilla.org/mozilla-central/rev/4c3e82b3dcaf
https://hg.mozilla.org/mozilla-central/rev/5fa145ef906a
Status: NEW → RESOLVED
Closed: 12 years ago
Resolution: --- → FIXED
Target Milestone: --- → Firefox 17
Product: Firefox → DevTools
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: