Closed Bug 1496722 Opened 2 years ago Closed 2 years ago

Make nsIDocShellTreeItem.itemType read-only

Categories

(Core :: DOM: Navigation, enhancement, P2)

enhancement

Tracking

()

RESOLVED FIXED
mozilla65
Tracking Status
firefox65 --- fixed

People

(Reporter: farre, Assigned: farre)

References

Details

Attachments

(1 file)

No description provided.
Assignee: nobody → afarre
The reason for making itemType read-only for nsDocShell is that it isn't expected that it should change once it has been created[1], which is now more easily accomplished after bug 1480198.

[1] https://searchfox.org/mozilla-central/source/docshell/base/nsDocShell.h#1030-1031
Depends on: 1480198
Status: NEW → ASSIGNED
Priority: -- → P2
Attachment #9014847 - Attachment description: Bug 1496722 - Make nsIDocShellTreeItem.itemType readonly → Bug 1496722 - Make nsIDocShellTreeItem.itemType readonly.
Pushed by afarre@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/2c428c8fc568
Make nsIDocShellTreeItem.itemType readonly. r=peterv
https://hg.mozilla.org/mozilla-central/rev/2c428c8fc568
Status: ASSIGNED → RESOLVED
Closed: 2 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla65
You need to log in before you can comment on or make changes to this bug.