Bug 154989 - Location.reload should not be writable
Summary: Location.reload should not be writable
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:
Keywords: WebExposed
Depends on:
Blocks: 154396
  Show dependency treegraph
 
Reported: 2016-03-03 16:20 PST by Chris Dumez
Modified: 2016-03-04 11:30 PST (History)
9 users (show)

See Also:


Attachments
Patch (8.07 KB, patch)
2016-03-04 09:25 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-03-03 16:20:06 PST
Location.reload should not be writable. The property is currently marked as Readonly and getOwnPropertyDescriptor() correctly reports that the property is not writable. However, if you actually try to set it, it will work as long as the Location object has not been reified. This needs to be fixed.
Comment 1 Chris Dumez 2016-03-04 09:25:55 PST
Created attachment 273003 [details]
Patch
Comment 2 WebKit Commit Bot 2016-03-04 11:30:27 PST
Comment on attachment 273003 [details]
Patch

Clearing flags on attachment: 273003

Committed r197576: <http://trac.webkit.org/changeset/197576>
Comment 3 WebKit Commit Bot 2016-03-04 11:30:31 PST
All reviewed patches have been landed.  Closing bug.