Closed Bug 1575954 Opened 1 year ago Closed 11 months ago

Create React App error causes replay.js error and rewind to fail

Categories

(Core Graveyard :: Web Replay, defect)

defect
Not set
normal

Tracking

(firefox71 fixed)

RESOLVED FIXED
mozilla71
Tracking Status
firefox71 --- fixed

People

(Reporter: Harald, Assigned: bhackett1024)

Details

Attachments

(2 files)

STR:

  1. Enable Record on https://firefox-debugger-example-create-react-app.glitch.me/
  2. Win the game (3 in a row)
  3. Set another field
  4. React error page is shown

AR: Can't step back anymore
ER: Rewind works

Content console:
NS_ERROR_XPC_CANT_MODIFY_PROP_ON_WN: Cannot modify properties of a WrappedNative

Browser console:

error occurred while processing 'sources': TypeError: this.dbg.findSourceURLs is not a function
Stack: addAllSources@resource://devtools/server/actors/thread.js:1316:32
onSources@resource://devtools/server/actors/thread.js:1339:10
onPacket@resource://devtools/server/debugger-server-connection.js:378:58
receiveMessage@resource://devtools/shared/transport/child-transport.js:66:16
MessageListener.receiveMessage*_addListener@resource://devtools/shared/transport/child-transport.js:40:14
ready@resource://devtools/shared/transport/child-transport.js:57:10
_onConnection@resource://devtools/server/debugger-server.js:491:15
connectToParent@resource://devtools/server/debugger-server.js:349:17
onConnect<@resource://devtools/server/startup/frame.js:62:35
exports.makeInfallible/<@resource://devtools/shared/ThreadSafeDevToolsUtils.js:111:22
MessageListener.receiveMessage*@resource://devtools/server/startup/frame.js:92:23
@resource://devtools/server/startup/frame.js:174:5
Line: 1316, column: 32 debugger-server-connection.js:232
NS_ERROR_XPC_CANT_MODIFY_PROP_ON_WN: Cannot modify properties of a WrappedNative replay.js:261
Error: Assertion Failed! 4 control.js:2016:17

This patch fixes the first bug (https://phabricator.services.mozilla.com/D43103), but does not fix this error:

NS_ERROR_XPC_CANT_MODIFY_PROP_ON_WN: Cannot modify properties of a WrappedNative replay.js:261

Brian, do you know what is happening here?

Flags: needinfo?(bhackett1024)
Flags: needinfo?(bhackett1024)
Pushed by bhackett@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/ff1dfd35561a
QI for nsIDocShell before setting watchedByDevtools, r=jlast.
Status: NEW → RESOLVED
Closed: 11 months ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla70
Assignee: nobody → bhackett1024
Target Milestone: mozilla70 → mozilla71
Product: Core → Core Graveyard
You need to log in before you can comment on or make changes to this bug.