Bug 154412 - window.history / window.navigator should not be replaceable
Summary: window.history / window.navigator should not be replaceable
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: DOM (show other bugs)
Version: WebKit Nightly Build
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Chris Dumez
URL: https://html.spec.whatwg.org/multipag...
Keywords: InRadar, WebExposed
Depends on:
Blocks:
 
Reported: 2016-02-18 13:51 PST by Chris Dumez
Modified: 2016-02-18 21:17 PST (History)
9 users (show)

See Also:


Attachments
Patch (17.75 KB, patch)
2016-02-18 14:26 PST, Chris Dumez
no flags Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Chris Dumez 2016-02-18 13:51:11 PST
window.history / window.navigator should not be replaceable as per:
https://html.spec.whatwg.org/multipage/browsers.html#the-window-object

Firefox and Chrome already match the specification.
Comment 1 Chris Dumez 2016-02-18 14:26:21 PST
Created attachment 271695 [details]
Patch
Comment 2 Radar WebKit Bug Importer 2016-02-18 14:27:10 PST
<rdar://problem/24728508>
Comment 3 Radar WebKit Bug Importer 2016-02-18 14:27:15 PST
<rdar://problem/24728515>
Comment 4 WebKit Commit Bot 2016-02-18 21:17:29 PST
Comment on attachment 271695 [details]
Patch

Clearing flags on attachment: 271695

Committed r196797: <http://trac.webkit.org/changeset/196797>
Comment 5 WebKit Commit Bot 2016-02-18 21:17:34 PST
All reviewed patches have been landed.  Closing bug.