[RESOLVED] Fx 28 breaks bookmarklet event listeners
[RESOLVED] Fx 28 breaks bookmarklet event listeners
... and XHR and window.setTimeout() and dev tools, again! Same test cases as when Fx 27 broke them a month ago. Tested with NS 2.6.8.18rc1.
Mozilla/5.0 (X11; Linux x86_64; rv:28.0) Gecko/20100101 Firefox/28.0
Re: Fx 28 breaks bookmarklet event listeners
Is it that it doesn't work in a New Tab, but will once a page has first loaded?
Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.1.19) Gecko/20110420 SeaMonkey/2.0.14 Pinball NoScript FlashGot AdblockPlus
Mozilla/5.0 (Windows NT 5.1; rv:28.0) Gecko/20100101 SeaMonkey/2.25
Re: Fx 28 breaks bookmarklet event listeners
Same as last time. Load a page, add an event listener in a bookmarklet or Scratchpad. Listener won't fire unless scripts are enabled for that domain.
Mozilla/5.0 (X11; Linux x86_64; rv:28.0) Gecko/20100101 Firefox/28.0
Re: Fx 28 breaks bookmarklet event listeners
Confirmed in Gecko 28 with this testcase as URL bar typed/pasted JS:
Also doesn't work from the Web Console.
Gecko 29 (SeaMonkey Aurora 20140317013001) doesn't seem affected.
Code: Select all
javascript:document.body.addEventListener("click", function(){alert("You clicked!");},false);void(0);
Gecko 29 (SeaMonkey Aurora 20140317013001) doesn't seem affected.
*Always* check the changelogs BEFORE updating that important software!
Mozilla/5.0 (X11; Linux i686; rv:29.0) Gecko/20100101 Firefox/29.0 SeaMonkey/2.26a2
Re: Fx 28 breaks bookmarklet event listeners
( Code: ... )
Are you sure that's correct?
Are you sure that's correct?
Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.1.19) Gecko/20110420 SeaMonkey/2.0.14 Pinball NoScript FlashGot AdblockPlus
Mozilla/5.0 (Windows NT 5.1; rv:28.0) Gecko/20100101 SeaMonkey/2.25
Re: Fx 28 breaks bookmarklet event listeners
Yes, why?
*Always* check the changelogs BEFORE updating that important software!
Mozilla/5.0 (Macintosh; Intel Mac OS X 10.7; rv:27.0) Gecko/20100101 Firefox/27.0 SeaMonkey/2.24
Re: Fx 28 breaks bookmarklet event listeners
Well, at first I wasn't making it work.
And just now I did, accidentally.
But I do show that it works in FF28.
And SeaMonkey 2.26a2, Aurora.
With SeaMonkey you get a beep.
With FF, not.
It does not work on a about:newtab, about: ... type of "page", but maybe that's to be expected.
Oh, wait... FF had NoScript 2.6.8.11rc4 in it...
But I still see it working in FF28 with NoScript 2.6.8.18rc1.
And just now I did, accidentally.
But I do show that it works in FF28.
And SeaMonkey 2.26a2, Aurora.
With SeaMonkey you get a beep.
With FF, not.
It does not work on a about:newtab, about: ... type of "page", but maybe that's to be expected.
Oh, wait... FF had NoScript 2.6.8.11rc4 in it...
But I still see it working in FF28 with NoScript 2.6.8.18rc1.
Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.1.19) Gecko/20110420 SeaMonkey/2.0.14 Pinball NoScript FlashGot AdblockPlus
Mozilla/5.0 (Windows NT 6.1; WOW64; rv:29.0) Gecko/20100101 Firefox/29.0 SeaMonkey/2.26a2
Re: Fx 28 breaks bookmarklet event listeners
Heh, I didn't test Fx at all for reasons you can guess...
I was testing on a completely script-forbidden http page.
It never worked for me with any SeaMonkey on about: pages, even with scripts allowed and/or running the code from the Web Console instead of through NS, so I guess that is expected.
On the script-disabled http page, SeaMonkey 2.25 didn't fire the event listener at all, not even after running the test code from the Web Console or trying a new profile with only NoScript added (but no Web Console there...), so I would guess this is more likely a Gecko 28-specific bug than a NoScript bug or extension conflict.
@therube, what did you do that made it work, and on what page??

I was testing on a completely script-forbidden http page.
It never worked for me with any SeaMonkey on about: pages, even with scripts allowed and/or running the code from the Web Console instead of through NS, so I guess that is expected.
On the script-disabled http page, SeaMonkey 2.25 didn't fire the event listener at all, not even after running the test code from the Web Console or trying a new profile with only NoScript added (but no Web Console there...), so I would guess this is more likely a Gecko 28-specific bug than a NoScript bug or extension conflict.
@therube, what did you do that made it work, and on what page??
*Always* check the changelogs BEFORE updating that important software!
Mozilla/5.0 (Macintosh; Intel Mac OS X 10.7; rv:27.0) Gecko/20100101 Firefox/27.0 SeaMonkey/2.24
- Giorgio Maone
- Site Admin
- Posts: 9526
- Joined: Wed Mar 18, 2009 11:22 pm
- Location: Palermo - Italy
- Contact:
Re: Fx 28 breaks bookmarklet event listeners
Please check latest development build 2.6.8.18rc2, thanks.
Mozilla/5.0 (Windows NT 6.1; WOW64; rv:28.0) Gecko/20100101 Firefox/28.0
Re: Fx 28 breaks bookmarklet event listeners
Seems fixed here, both URL bar JS and the Web Console work properly with my testcase in Gecko 28 now. Thanks a lot!
*Always* check the changelogs BEFORE updating that important software!
Mozilla/5.0 (Macintosh; Intel Mac OS X 10.7; rv:28.0) Gecko/20100101 Firefox/28.0 SeaMonkey/2.25
Re: [RESOLVED] Fx 28 breaks bookmarklet event listeners
I agree.
window.setTimeout/Interval() remain unavailable on script-disabled sites, but then I suspect that was already the case after last month's Firefox changes and it's not a very serious loss anyway.
Thanks Giorgio.
window.setTimeout/Interval() remain unavailable on script-disabled sites, but then I suspect that was already the case after last month's Firefox changes and it's not a very serious loss anyway.
Thanks Giorgio.
Mozilla/5.0 (X11; Linux x86_64; rv:28.0) Gecko/20100101 Firefox/28.0
Re: [RESOLVED] Fx 28 breaks bookmarklet event listeners
WFM, so it's probably another Gecko 28 bug..porl wrote:window.setTimeout/Interval() remain unavailable on script-disabled sites
*Always* check the changelogs BEFORE updating that important software!
Mozilla/5.0 (Macintosh; Intel Mac OS X 10.7; rv:29.0) Gecko/20100101 Firefox/29.0 SeaMonkey/2.26a2