[FIXED] (2.9.5.1rc1) NoScript and Stylish editor issue

Bug reports and enhancement requests
Post Reply
JustAnotherGuy
Posts: 3
Joined: Fri Jul 29, 2016 2:06 am

[FIXED] (2.9.5.1rc1) NoScript and Stylish editor issue

Post by JustAnotherGuy » Tue Nov 22, 2016 7:29 pm

Firefox 50 both x32/x64 with either e10s enabled/disabled
NoScript 2.9.5.1rc1 or any build since 2.9.5rc21
Stylish 2.0.7
about:stylish-edit is whitelisted

Trying to edit a style opens up an un-editable blank space. Workaround is to either toggle extensions.stylish.editor = 1 to use plain text box or extensions.stylish.editorWindowMode = 1 to open editor in a window. CodeMirror editor seems like its being blocked by NoScript in tab but not in window.

Works fine in NoScript v2.9.0.14
Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:50.0) Gecko/20100101 Firefox/50.0

barbaz
Senior Member
Posts: 10122
Joined: Sat Aug 03, 2013 5:45 pm

Re: (2.9.5.1rc1) NoScript and Stylish editor issue

Post by barbaz » Tue Nov 22, 2016 8:59 pm

Confirmed in SeaMonkey 2.46pre (like Firefox 49.0.2)

Browser Console messages:

Code: Select all

TypeError: cm is undefined
Editor.prototype.getText()
editor.js:533
get value()
edit.js:557
<anonymous>
edit.js:666
removeTab()
tabbrowser.xml:1818
onTabClick()
tabbrowser.xml:1228
onclick()
navigator.xul:1
[Learn More]editor.js:533:7
TypeError: cm is undefined
Editor.prototype.getText()
editor.js:533
get value()
edit.js:557
<anonymous>
edit.js:666
loadURIWithFlags/<()
browser.xml:152
_wrapURIChangeCall()
browser.xml:49
loadURIWithFlags()
browser.xml:151
loadURI/<()
browser.xml:120
_wrapURIChangeCall()
browser.xml:49
loadURI()
browser.xml:119
removeTab()
tabbrowser.xml:1956
onTabClick()
tabbrowser.xml:1228
onclick()
navigator.xul:1
[Learn More]editor.js:533:7
TypeError: cm is undefined
Editor.prototype.getText()
editor.js:533
get value()
edit.js:557
<anonymous>
edit.js:682
[Learn More]editor.js:533:7
Warning: ‘nsIOService::NewChannel()’ deprecated, please use ‘nsIOService::NewChannel2()’aboutStylishEdit.js:28:13
Warning: ‘nsIAboutModule->newChannel(aURI)’ deprecated, please use ‘nsIAboutModule->newChannel(aURI, aLoadInfo)’browser.xml:152:14
No chrome package registered for chrome://browser/content/devtools/theme-switching.js
No chrome package registered for chrome://itsalltext/content/API.js
No chrome package registered for chrome://browser/skin/devtools/common.css
No chrome package registered for chrome://browser/content/devtools/theme-switching.js
No chrome package registered for chrome://itsalltext/content/API.js
TypeError: this._browser.messageManager is undefined
set_browser()
findbar.xml:288
findbar_XBL_Constructor/<()
findbar.xml:380
[Learn More]findbar.xml:288:13
The Components object is deprecated. It will soon be removed.theme-switching.js:165:8
TypeError: Cu is undefined[Learn More]theme-switching.js:166:9
*Always* check the changelogs BEFORE updating that important software!
-

Schwubbeldiwupp
Posts: 1
Joined: Thu Nov 24, 2016 3:51 pm

Re: (2.9.5.1rc1) NoScript and Stylish editor issue

Post by Schwubbeldiwupp » Thu Nov 24, 2016 4:04 pm

I can confirm the bug already exists in the first NoScript version (2.9.5rc24) compatible with FF50.0.
I only tested the functionality of the "stylish"-Addon (Editing styles with URL shown: about:stylish-edit).
Mozilla/5.0 (Windows NT 6.3; WOW64; rv:50.0) Gecko/20100101 Firefox/50.0

User avatar
Giorgio Maone
Site Admin
Posts: 9186
Joined: Wed Mar 18, 2009 11:22 pm
Location: Palermo - Italy
Contact:

Re: (2.9.5.1rc1) NoScript and Stylish editor issue

Post by Giorgio Maone » Mon Nov 28, 2016 9:25 pm

Please check latest development build 2.9.5.2rc5, thanks.
Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:50.0) Gecko/20100101 Firefox/50.0

barbaz
Senior Member
Posts: 10122
Joined: Sat Aug 03, 2013 5:45 pm

Re: (2.9.5.1rc1) NoScript and Stylish editor issue

Post by barbaz » Mon Nov 28, 2016 9:49 pm

That fix it here, thank you!

JustAnotherGuy, is it fixed for you too?
*Always* check the changelogs BEFORE updating that important software!
-

JustAnotherGuy
Posts: 3
Joined: Fri Jul 29, 2016 2:06 am

Re: (2.9.5.1rc1) NoScript and Stylish editor issue

Post by JustAnotherGuy » Mon Nov 28, 2016 10:16 pm

Yep, 2.9.5.2 fixes it for me. Thank you very much!
Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:50.0) Gecko/20100101 Firefox/50.0

Post Reply