Closed Bug 1058948 Opened 11 years ago Closed 11 years ago

Disable History & Location APIs in prerendering

Categories

(Core :: DOM: Core & HTML, defect)

x86
macOS
defect
Not set
normal

Tracking

()

RESOLVED FIXED
mozilla38

People

(Reporter: rvid, Assigned: rvid)

References

Details

Attachments

(1 file)

No description provided.
Blocks: prerendering
Summary: Disable History API in prerendering → Disable History & Location APIs in prerendering
Attached patch 1058948.patchSplinter Review
Assignee: nobody → roshanvid
Attachment #8483822 - Flags: review?(jst)
Comment on attachment 8483822 [details] [diff] [review] 1058948.patch [Throws] void pushState(any data, DOMString title, optional DOMString? url = null); [Throws] void replaceState(any data, DOMString title, optional DOMString? url = null); Don't we want to flag these too? They directly mess with the history for the object in observable ways. r- until we figure that out.
Attachment #8483822 - Flags: review?(jst) → review-
(In reply to Johnny Stenback (:jst, jst@mozilla.com) from comment #2) > Comment on attachment 8483822 [details] [diff] [review] > 1058948.patch > > [Throws] > void pushState(any data, DOMString title, optional DOMString? url = null); > [Throws] > void replaceState(any data, DOMString title, optional DOMString? url = > null); > > Don't we want to flag these too? They directly mess with the history for the > object in observable ways. r- until we figure that out. No, I don't think we want to do that. The methods blacklisted here actually end up doing navigations, but pushState/replaceState don't. Also bug 1045759 is filed for blacklisting other types of navigations.
Comment on attachment 8483822 [details] [diff] [review] 1058948.patch Requesting review again.
Attachment #8483822 - Flags: review- → review?(jst)
Attachment #8483822 - Flags: review?(jst) → review+
Status: NEW → RESOLVED
Closed: 11 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla38
Component: DOM → DOM: Core & HTML
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: