Closed
Bug 1058948
Opened 11 years ago
Closed 11 years ago
Disable History & Location APIs in prerendering
Categories
(Core :: DOM: Core & HTML, defect)
Tracking
()
RESOLVED
FIXED
mozilla38
People
(Reporter: rvid, Assigned: rvid)
References
Details
Attachments
(1 file)
|
1.73 KB,
patch
|
jst
:
review+
|
Details | Diff | Splinter Review |
No description provided.
| Assignee | ||
Updated•11 years ago
|
Blocks: prerendering
| Assignee | ||
Updated•11 years ago
|
Summary: Disable History API in prerendering → Disable History & Location APIs in prerendering
| Assignee | ||
Comment 1•11 years ago
|
||
Assignee: nobody → roshanvid
| Assignee | ||
Updated•11 years ago
|
Attachment #8483822 -
Flags: review?(jst)
Comment 2•11 years ago
|
||
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-
Comment 3•11 years ago
|
||
(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 4•11 years ago
|
||
Comment on attachment 8483822 [details] [diff] [review]
1058948.patch
Requesting review again.
Attachment #8483822 -
Flags: review- → review?(jst)
Updated•11 years ago
|
Attachment #8483822 -
Flags: review?(jst) → review+
Comment 5•11 years ago
|
||
Status: NEW → RESOLVED
Closed: 11 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla38
Updated•7 years ago
|
Component: DOM → DOM: Core & HTML
You need to log in
before you can comment on or make changes to this bug.
Description
•