Open Bug 1412712 Opened 2 years ago Updated 4 months ago

"Unexpected invalid url: Scratchpad/1" occur using Scratchpad for add-on debugging


(WebExtensions :: Developer Tools, defect, P5)



(firefox56 affected, firefox57 affected, firefox58 affected)

Tracking Status
firefox56 --- affected
firefox57 --- affected
firefox58 --- affected


(Reporter:, Unassigned)



(Keywords: regression, Whiteboard: [dev-ux][addon-debugging])

Steps to reproduce:
1. Open "about:debugging"
2. Load temporary add-on (e.g. apply-css
3. Click debug button
4. Open Scratchpad
5. Run console.log('foo');
6. Check console log

Actual Results:
"Unexpected invalid url: Scratchpad/1" is logged.

Expected Results:
No errors

Regression window:
Blocks: 1302702
Has Regression Range: --- → yes
Has STR: --- → yes
Note that this error is not fatal.


Unexpected invalid url: Scratchpad/1  webextension.js:312
	WebExtensionChildActor.prototype._allowSource resource://devtools/server/actors/webextension.js:312:5
	<anonymous> self-hosted:952:17
	TabSources/this.allowSource resource://devtools/server/actors/utils/TabSources.js:32:39
	_addSource resource://devtools/server/actors/script.js:1952:10
	onNewScript resource://devtools/server/actors/script.js:1916:5
	onNewScript self-hosted:952:17
	evalWithDebugger resource://devtools/server/actors/webconsole.js:1401:16
	onEvaluateJS resource://devtools/server/actors/webconsole.js:917:20
	onEvaluateJSAsync resource://devtools/server/actors/webconsole.js:888:20
	onEvaluateJSAsync self-hosted:954:17
	onPacket resource://devtools/server/main.js:1791:15
	receiveMessage resource://devtools/shared/transport/transport.js:761:7
Severity: normal → enhancement
Priority: -- → P5
Product: Toolkit → WebExtensions
Whiteboard: [dev-ux]
Whiteboard: [dev-ux] → [dev-ux][addon-debugging]
You need to log in before you can comment on or make changes to this bug.