Closed Bug 746943 Opened 12 years ago Closed 12 years ago

[inspector] Delete Node is allowed to remove the HTML root

Categories

(DevTools :: Inspector, defect)

14 Branch
All
Windows 7
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED DUPLICATE of bug 760171

People

(Reporter: morpheus3k+bugzilla, Unassigned)

Details

Attachments

(2 files)

I am able to delete the root HTML node via the "delete node" inspector option. It is possible to delete the tab content area and leave Firefox in an undefined state.


Steps to reproduce:

1. Open web page (e.g. mozilla.org)
2. Right click in content area
3. Click on Inspect Element (Q)
4. Click on the "html" node element on the developer toolbar
5. Click on the "node options" arrow
6. Click on the "delete node" option (resulting in "undefined")
7. Activate "Inspect Mode" on the developer toolbar
8. Move with the cursor over the content area
9. Click on the content area
10. Click on the "node options" arrow
11. Click on the "delete node" option

Actual Results:
Firefox is in an undefined state.

Expected Results:
It should not be able to delete the HTML root node.


Thanks and keep up the great work!
I attach another screenshot to illustrate the possibility to remove the tabbrowser#content node.
Status: UNCONFIRMED → RESOLVED
Closed: 12 years ago
Resolution: --- → DUPLICATE
Product: Firefox → DevTools
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: