Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code

Issue 29590603: Issue 5954 - Read-only properties cannot be assigned in strict mode in Edge (Closed)

Created:
Oct. 27, 2017, 1:10 p.m. by Oleksandr
Modified:
Nov. 13, 2017, 11:35 a.m.
Visibility:
Public.

Description

Issue 5954 - Read-only properties cannot be assigned in strict mode in Edge

Patch Set 1 #

Total comments: 5

Patch Set 2 : Refactor. Mention accessor descriptors. #

Total comments: 10

Patch Set 3 : Use function instead of arrow function. #

Patch Set 4 : Delete accessor methods explicitly #

Total comments: 1

Patch Set 5 : Remove the comment #

Unified diffs Side-by-side diffs Delta from patch set Stats (+5 lines, -2 lines) Patch
M polyfill.js View 1 2 3 4 2 chunks +5 lines, -2 lines 0 comments Download

Messages

Total messages: 15
Oleksandr
https://codereview.adblockplus.org/29590603/diff/29590604/polyfill.js File polyfill.js (right): https://codereview.adblockplus.org/29590603/diff/29590604/polyfill.js#newcode72 polyfill.js:72: let descriptor = Reflect.getOwnPropertyDescriptor(object, name); We cannot use Object.getOwnPropertyDescriptor ...
Oct. 27, 2017, 1:12 p.m. (2017-10-27 13:12:38 UTC) #1
Manish Jethani
https://codereview.adblockplus.org/29590603/diff/29590604/polyfill.js File polyfill.js (right): https://codereview.adblockplus.org/29590603/diff/29590604/polyfill.js#newcode72 polyfill.js:72: let descriptor = Reflect.getOwnPropertyDescriptor(object, name); On 2017/10/27 13:12:37, Oleksandr ...
Oct. 27, 2017, 2:25 p.m. (2017-10-27 14:25:16 UTC) #2
Oleksandr
Nov. 5, 2017, 2:24 a.m. (2017-11-05 02:24:32 UTC) #3
Manish Jethani
https://codereview.adblockplus.org/29590603/diff/29597564/polyfill.js File polyfill.js (right): https://codereview.adblockplus.org/29590603/diff/29597564/polyfill.js#newcode80 polyfill.js:80: descriptor.value = (...args) => Functions and arrow functions have ...
Nov. 5, 2017, 10:13 a.m. (2017-11-05 10:13:52 UTC) #4
kzar
https://codereview.adblockplus.org/29590603/diff/29597564/polyfill.js File polyfill.js (right): https://codereview.adblockplus.org/29590603/diff/29597564/polyfill.js#newcode72 polyfill.js:72: let oldDescriptor = Object.getOwnPropertyDescriptor(object, name); How about this (untested): ...
Nov. 6, 2017, 8:52 a.m. (2017-11-06 08:52:02 UTC) #5
Oleksandr
https://codereview.adblockplus.org/29590603/diff/29597564/polyfill.js File polyfill.js (right): https://codereview.adblockplus.org/29590603/diff/29597564/polyfill.js#newcode72 polyfill.js:72: let oldDescriptor = Object.getOwnPropertyDescriptor(object, name); On 2017/11/06 08:52:01, kzar ...
Nov. 6, 2017, 9:05 a.m. (2017-11-06 09:05:01 UTC) #6
kzar
https://codereview.adblockplus.org/29590603/diff/29597564/polyfill.js File polyfill.js (right): https://codereview.adblockplus.org/29590603/diff/29597564/polyfill.js#newcode72 polyfill.js:72: let oldDescriptor = Object.getOwnPropertyDescriptor(object, name); On 2017/11/06 09:05:00, Oleksandr ...
Nov. 6, 2017, 10:12 a.m. (2017-11-06 10:12:38 UTC) #7
Oleksandr
https://codereview.adblockplus.org/29590603/diff/29597564/polyfill.js File polyfill.js (right): https://codereview.adblockplus.org/29590603/diff/29597564/polyfill.js#newcode72 polyfill.js:72: let oldDescriptor = Object.getOwnPropertyDescriptor(object, name); On 2017/11/06 10:12:38, kzar ...
Nov. 6, 2017, 10:14 a.m. (2017-11-06 10:14:18 UTC) #8
kzar
https://codereview.adblockplus.org/29590603/diff/29597564/polyfill.js File polyfill.js (right): https://codereview.adblockplus.org/29590603/diff/29597564/polyfill.js#newcode72 polyfill.js:72: let oldDescriptor = Object.getOwnPropertyDescriptor(object, name); On 2017/11/06 10:14:18, Oleksandr ...
Nov. 6, 2017, 10:37 a.m. (2017-11-06 10:37:37 UTC) #9
Oleksandr
https://codereview.adblockplus.org/29590603/diff/29597564/polyfill.js File polyfill.js (right): https://codereview.adblockplus.org/29590603/diff/29597564/polyfill.js#newcode72 polyfill.js:72: let oldDescriptor = Object.getOwnPropertyDescriptor(object, name); > This also makes ...
Nov. 8, 2017, 1:58 p.m. (2017-11-08 13:58:10 UTC) #10
kzar
Otherwise LGTM https://codereview.adblockplus.org/29590603/diff/29601587/polyfill.js File polyfill.js (right): https://codereview.adblockplus.org/29590603/diff/29601587/polyfill.js#newcode73 polyfill.js:73: // Some descriptors like setUninstallURL are in ...
Nov. 10, 2017, 2:16 p.m. (2017-11-10 14:16:14 UTC) #11
kzar
https://codereview.adblockplus.org/29590603/diff/29597564/polyfill.js File polyfill.js (right): https://codereview.adblockplus.org/29590603/diff/29597564/polyfill.js#newcode72 polyfill.js:72: let oldDescriptor = Object.getOwnPropertyDescriptor(object, name); On 2017/11/08 13:58:09, Oleksandr ...
Nov. 10, 2017, 2:18 p.m. (2017-11-10 14:18:20 UTC) #12
Manish Jethani
On 2017/11/10 14:18:20, kzar wrote: > https://codereview.adblockplus.org/29590603/diff/29597564/polyfill.js > File polyfill.js (right): > > https://codereview.adblockplus.org/29590603/diff/29597564/polyfill.js#newcode72 > ...
Nov. 13, 2017, 9:58 a.m. (2017-11-13 09:58:40 UTC) #13
Oleksandr
Nov. 13, 2017, 11:07 a.m. (2017-11-13 11:07:09 UTC) #14
Manish Jethani
Nov. 13, 2017, 11:16 a.m. (2017-11-13 11:16:31 UTC) #15
LGTM

Powered by Google App Engine
This is Rietveld