Closed Bug 1490524 Opened 7 years ago Closed 7 years ago

Streamline nsISHistory

Categories

(Core :: DOM: Navigation, enhancement)

enhancement
Not set
normal

Tracking

()

RESOLVED FIXED
mozilla64
Tracking Status
firefox64 --- fixed

People

(Reporter: n.nethercote, Assigned: n.nethercote)

Details

Attachments

(3 files, 1 obsolete file)

More shistory clean-ups.
It's unused.
Attachment #9008264 - Flags: review?(nika)
Assignee: nobody → n.nethercote
Status: NEW → ASSIGNED
This also requires making nsISHistory `builtinclass`.
Attachment #9008265 - Flags: review?(nika)
- Move VIEWER_WINDOW from nsISHistory to nsSHistory. - Mark some C++-only nsISHistory methods as [noscript, notxpcom]. - Add gotoIndex() to nsISHistory so that LegacySHistoryImpl() can be removed.
Attachment #9008266 - Flags: review?(nika)
The patch also removes some NS_ENSURE_ARG_POINTER checks from these attributes' getters. Most of these getters already lack such checks, and as long as the infallible getters are used a non-null pointer is guaranteed. In the worst case we'll safely null-crash anyway.
Attachment #9008267 - Flags: review?(nika)
Comment on attachment 9008267 [details] [diff] [review] Make most nsISHEntry attributes infallible Actually, I have more nsISHEntry changes coming, so I'll do them in a separate bug.
Attachment #9008267 - Attachment is obsolete: true
Attachment #9008267 - Flags: review?(nika)
Summary: Streamline nsISHistory and nsISHEntry → Streamline nsISHistory
Attachment #9008264 - Flags: review?(nika) → review+
Attachment #9008265 - Flags: review?(nika) → review+
Attachment #9008266 - Flags: review?(nika) → review+
Status: ASSIGNED → RESOLVED
Closed: 7 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla64
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: