RESOLVED FIXED 177587
Uncaught Exception: Attempted to assign to readonly property (at ContentView.js:​206:​34)​
https://bugs.webkit.org/show_bug.cgi?id=177587
Summary Uncaught Exception: Attempted to assign to readonly property (at ContentView....
Joseph Pecoraro
Reported 2017-09-27 20:05:14 PDT
Uncaught Exception: Attempted to assign to readonly property (at ContentView.js:​206:​34)​ Backtrace: Attempted to assign to readonly property. (at ContentView.js:​206:​34)​ closedContentViewForRepresentedObject @ ContentView.js:​206:​34 _disassociateFromContentView @ ContentViewContainer.js:​432:​65 closeAllContentViews @ ContentViewContainer.js:​291:​46 closed @ ClusterContentView.js:​82:​56 closed @ ResourceClusterContentView.js:​146:​21 _disassociateFromContentView @ ContentViewContainer.js:​429:​27 closeAllContentViews @ ContentViewContainer.js:​291:​46 dispose @ NetworkResourceDetailView.js:​71:​71 reset @ NetworkTableContentView.js:​183:​31 _mainResourceDidChange @ NetworkTableContentView.js:​698:​19 ... It when we close any ContentView with Post Data we can get this exception since the representedObject is a string, and you can't do: str[prop] = value; in strict mode on a string... it throws this exception.
Attachments
[PATCH] Proposed Fix (2.77 KB, patch)
2017-09-27 20:08 PDT, Joseph Pecoraro
no flags
Joseph Pecoraro
Comment 1 2017-09-27 20:08:03 PDT
Created attachment 322059 [details] [PATCH] Proposed Fix
Matt Baker
Comment 2 2017-09-27 20:34:40 PDT
Comment on attachment 322059 [details] [PATCH] Proposed Fix r=me
WebKit Commit Bot
Comment 3 2017-09-27 21:20:08 PDT
Comment on attachment 322059 [details] [PATCH] Proposed Fix Clearing flags on attachment: 322059 Committed r222599: <http://trac.webkit.org/changeset/222599>
WebKit Commit Bot
Comment 4 2017-09-27 21:20:10 PDT
All reviewed patches have been landed. Closing bug.
Radar WebKit Bug Importer
Comment 5 2017-09-27 21:21:17 PDT
Note You need to log in before you can comment on or make changes to this bug.