Page 1 of 1

NoScript 10.1.3c1 broken. Blocked it's own Web-Extension JS?

Posted: Mon Nov 27, 2017 12:21 pm
by debugger
My Firefox 57.0 (64-bit, Ubuntu variant) does not show the popup menus any more.
I cannot set any permissions. I think the problem is that NoScript blocks the JavaScript of Web Extensions, too.

Can you guys whitelist web-extension:// such that I can disable Scripts and everything else by default?

If I should create my own whitelist entry for my web-extensions, please speak up.

Settings dump of /storage-sync.sqlite via

Code: Select all

SELECT * FROM collection_data WHERE collection_name like "default/{73a6fe31-595d-460b-a920-fcc0f8843232}%"
:

Code: Select all

default/{73a6fe31-595d-460b-a920-fcc0f8843232}|key-xssWhitelist|{"id":"key-xssWhitelist","key":"xssWhitelist","data":{"https://outlook.office.com":["https://login.microsoftonline.com"]},"_status":"created"}
default/{73a6fe31-595d-460b-a920-fcc0f8843232}|key-sync|{"id":"key-sync","key":"sync","data":{"global":false,"xss":false,"clearclick":true,"storage":"sync"},"_status":"created"}

default/{73a6fe31-595d-460b-a920-fcc0f8843232}|key-policy|{"id":"key-policy","key":"policy","data":{"DEFAULT":{"capabilities":[]},"TRUSTED":{"capabilities":["script","fetch","font","other","object","media","webgl","frame"]},
"UNTRUSTED":{"capabilities":["script","fetch","object"]},
"sites":{
"trusted":[various https websites],
"untrusted":[various https websites],
"custom":{... "§:googlevideo.com":{"capabilities":["media","fetch","script"]},...,
"enforced":true
},"_status":"created"}
In case I've diagnosed the root cause incorrectly. I have the following extensions:
  • AdBlock (Web Extension)
  • Cookie AutoDelete
  • FoxyProxy Standard
  • NoScript
  • Smart Referer
  • User-Agent Switch (disabled)
  • Web Developer (disabled)
Results in nearly empty "popup" window except for default buttons. Here is the debugger console output for the broken popup:

Code: Select all

moz-extension://f28313c6-567d-4695-88db-61f36db570c3/ui/popup.html?tabId=43
[NoScript] apply 
title=">Options…"
log.js:9:39
[NoScript] apply 
title="Temporarily allow all this page"
log.js:9:39
[NoScript] apply 
title="Revoke Temporary Permissions"
log.js:9:39
[NoScript] Including /ui/ui.css
log.js:9:39
[NoScript] Including /lib/punycode.js
log.js:9:39
[NoScript] Including /lib/tld.js
log.js:9:39
[NoScript] Including /common/Policy.js
Cache, Cookies, Index, Storage etc. for
moz-extension://f28313c6-567d-4695-88db-61f36db570c3 are empty.

These are log messages I found on the browser console on start up. Double line break indicates I've removed messages in between. I filtered only what I thought was NoScript related:

Code: Select all

[NoScript] Including /bg/RequestGuard.js  log.js:9:39
[NoScript] STARTED  log.js:6:37
[NoScript] Cannot collect noscript activity data Error: Could not establish connection. Receiving end does not exist. Could not establish connection. Receiving end does not exist.   log.js:12:5
	error moz-extension://f28313c6-567d-4695-88db-61f36db570c3/lib/log.js:12:5
	collectSeen moz-extension://f28313c6-567d-4695-88db-61f36db570c3/bg/main.js:220:9

Exception... "Component returned failure code: 0xc1f30001 (NS_ERROR_NOT_INITIALIZED) [nsIMessageSender.sendAsyncMessage]"  nsresult: "0xc1f30001 (NS_ERROR_NOT_INITIALIZED)"  location: "JS frame :: resource://gre/modules/ExtensionUtils.jsm :: sendAsyncMessage :: line 505"  data: no] (unknown)
	sendAsyncMessage resource://gre/modules/ExtensionUtils.jsm:505:51
	_handleMessage/deferred.promise< resource://gre/modules/MessageChannel.jsm:774:9

[NoScript] Cannot collect noscript activity data Error: Could not establish connection. Receiving end does not exist. Could not establish connection. Receiving end does not exist.   log.js:12:5
	error moz-extension://f28313c6-567d-4695-88db-61f36db570c3/lib/log.js:12:5
	collectSeen moz-extension://f28313c6-567d-4695-88db-61f36db570c3/bg/main.js:220:9

[NoScript] apply title=">__MSG_Options__"  log.js:9:39
[NoScript] apply title="__MSG_TempAllowPage__"  log.js:9:39
[NoScript] apply title="__MSG_RevokeTemp__"  log.js:9:39
[NoScript] Including /ui/ui.css  log.js:9:39
[NoScript] Including /lib/punycode.js  log.js:9:39
[NoScript] Including /lib/tld.js  log.js:9:39
[NoScript] Including /common/Policy.js  log.js:9:39
TypeError: invalid 'in' operand browser[Learn More]  tabbrowser.xml:2426:1
	_insertBrowser chrome://browser/content/tabbrowser.xml:2426:1
	getRelatedElement chrome://browser/content/tabbrowser.xml:7146:11
	set_selectedIndex chrome://global/content/bindings/tabbox.xml:406:31
	tabs_XBL_Constructor chrome://global/content/bindings/tabbox.xml:275:13
	<anonymous> chrome://browser/content/tabbrowser.xml:46:9
	_updateNewTabVisibility chrome://browser/content/tabbrowser.xml:5828:15
	tabbrowser_XBL_Constructor chrome://browser/content/tabbrowser.xml:5885:11
Error: Missing host permission for the tab  undefined