Closed Bug 1217590 Opened 10 years ago Closed 7 years ago

Variables view 'delete' function doesn't work in worker console

Categories

(DevTools :: Console, defect)

defect
Not set
normal

Tracking

(Not tracked)

RESOLVED INVALID

People

(Reporter: bgrins, Unassigned)

References

Details

STR: Open a worker toolbox at https://bgrins.github.io/devtools-demos/worker/webworker.html In the console, run: `this.foo = "bar"; this;` Click on the DedicatedWorkerGlobalScope object to open the variables view. Then click 'x' next to this.foo to delete it Expected this.foo is deleted Actual: this.foo === "bar"
Relevant trace: DBG-SERVER: error occurred while processing 'evaluateJSAsync: TypeError: Cu is undefined Stack: WCA_evalWithDebugger@resource://devtools/server/actors/webconsole.js:1162:13 WCA_onEvaluateJS@resource://devtools/server/actors/webconsole.js:829:20 WCA_onEvaluateJSAsync@resource://devtools/server/actors/webconsole.js:800:20 DSC_onPacket@resource://devtools/server/main.js:1599:15 WorkerDebuggerTransport.prototype._onMessage@resource://devtools/shared/transport/transport.js:864:11 EventListener.handleEvent*WorkerDebuggerTransport.prototype.ready@resource://devtools/shared/transport/transport.js:835:9 DS_onConnection@resource://devtools/server/main.js:1119:5 DebuggerServer.connectToParent@resource://devtools/server/main.js:711:12 @resource://devtools/server/worker.js:46:22 EventListener.handleEvent*@resource://devtools/server/worker.js:41:1 Line: 1162, column: 13
Product: Firefox → DevTools
We don't use the variableView in the console anymore
Status: NEW → RESOLVED
Closed: 7 years ago
Resolution: --- → INVALID
You need to log in before you can comment on or make changes to this bug.