NoScript prevents XML feeds from loading

Bug reports and enhancement requests
Post Reply
KonomiKitten
Posts: 11
Joined: Mon Mar 19, 2018 6:30 am

NoScript prevents XML feeds from loading

Post by KonomiKitten » Thu Aug 02, 2018 1:47 pm

If I visit this page it just stays loading forever as soon as I go to addons then disable NoScript it will instantly load.

Page:

Code: Select all

https://www.youtube.com/feeds/videos.xml?channel_id=UCLEoyoOKZK0idGqSc6Pi23w
Firefox Version:

Code: Select all

61.0.1
Firefox Agent:

Code: Select all

Mozilla/5.0 (X11; Linux x86_64; rv:61.0) Gecko/20100101 Firefox/61.0
NoScript Version:

Code: Select all

10.1.8.16
NoScript Config(I had to remove xssUserChoices content as it triggers the spam filter):

Code: Select all

{
  "policy": {
    "DEFAULT": {
      "capabilities": [
        "frame",
        "fetch",
        "other",
        "script",
        "media",
        "font"
      ],
      "temp": false
    },
    "TRUSTED": {
      "capabilities": [
        "script",
        "object",
        "media",
        "frame",
        "font",
        "webgl",
        "fetch",
        "other"
      ],
      "temp": false
    },
    "UNTRUSTED": {
      "capabilities": [],
      "temp": false
    },
    "sites": {
      "trusted": [
        "§:addons.mozilla.org",
        "§:afx.ms",
        "§:ajax.aspnetcdn.com",
        "§:ajax.googleapis.com",
        "§:bootstrapcdn.com",
        "§:code.jquery.com",
        "§:firstdata.com",
        "§:firstdata.lv",
        "§:gfx.ms",
        "§:google.com",
        "§:googlevideo.com",
        "§:gstatic.com",
        "§:hotmail.com",
        "§:live.com",
        "§:live.net",
        "§:maps.googleapis.com",
        "§:mozilla.net",
        "§:netflix.com",
        "§:nflxext.com",
        "§:nflximg.com",
        "§:nflxvideo.net",
        "§:noscript.net",
        "§:outlook.com",
        "§:passport.com",
        "§:passport.net",
        "§:passportimages.com",
        "§:paypal.com",
        "§:paypalobjects.com",
        "§:securecode.com",
        "§:securesuite.net",
        "§:sfx.ms",
        "§:tinymce.cachefly.net",
        "§:wlxrs.com",
        "§:yahoo.com",
        "§:yahooapis.com",
        "§:yimg.com",
        "§:youtube.com",
        "§:ytimg.com"
      ],
      "untrusted": [],
      "custom": {}
    },
    "enforced": true,
    "autoAllowTop": false
  },
  "local": {
    "debug": false,
    "showCtxMenuItem": false,
    "showCountBadge": true,
    "showFullAddresses": true,
    "storage": "local",
    "uuid": "f0234288-0dab-41d2-aad7-98850488202d"
  },
  "sync": {
    "global": false,
    "xss": true,
    "clearclick": true,
    "storage": "sync"
  },
  "xssUserChoices": {
  }
}
Browser Console with Filter of NoScript:

Code: Select all

[NoScript] deferWebTraffic on  
Promise { <state>: "fulfilled", <value>: undefined }
log.js:9:39
[NoScript] Including /bg/defaults.js log.js:9:39
[NoScript] Including /bg/RequestGuard.js log.js:9:39
[NoScript] Including /bg/RequestUtil.js log.js:9:39
[NoScript] Including /legacy/Legacy.js log.js:9:39
[NoScript] Including /xss/Exceptions.js log.js:9:39
[NoScript] Including /legacy/defaults.js log.js:9:39
[NoScript] Collected seen 
Array []
log.js:9:39
[NoScript] Collected seen 
Array []
log.js:9:39
[NoScript] Cannot collect noscript activity data Error: "Could not establish connection. Receiving end does not exist."
collectSeenmoz-extension://bf5f47b7-b839-47ee-ade8-01b17c527c8a/bg/main.js:252:38 Could not establish connection. Receiving end does not exist. collectSeen@moz-extension://bf5f47b7-b839-47ee-ade8-01b17c527c8a/bg/main.js:252:38
log.js:12:62
[NoScript] Collected seen 
Array []
log.js:9:39
[NoScript] Collected seen 
Array []
log.js:9:39
[NoScript] Collected seen 
Array []
log.js:9:39
[NoScript] Cannot collect noscript activity data Error: "Could not establish connection. Receiving end does not exist."
collectSeenmoz-extension://bf5f47b7-b839-47ee-ade8-01b17c527c8a/bg/main.js:252:38 Could not establish connection. Receiving end does not exist. collectSeen@moz-extension://bf5f47b7-b839-47ee-ade8-01b17c527c8a/bg/main.js:252:38
log.js:12:62
[NoScript] Cannot collect noscript activity data Error: "Could not establish connection. Receiving end does not exist."
collectSeenmoz-extension://bf5f47b7-b839-47ee-ade8-01b17c527c8a/bg/main.js:252:38 Could not establish connection. Receiving end does not exist. collectSeen@moz-extension://bf5f47b7-b839-47ee-ade8-01b17c527c8a/bg/main.js:252:38
log.js:12:62
[NoScript] Including /bg/Settings.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."
collectSeenmoz-extension://bf5f47b7-b839-47ee-ade8-01b17c527c8a/bg/main.js:252:38 Could not establish connection. Receiving end does not exist. collectSeen@moz-extension://bf5f47b7-b839-47ee-ade8-01b17c527c8a/bg/main.js:252:38
log.js:12:62
[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
[NoScript] apply 
accesskey="I"
log.js:9:39
[NoScript] apply 
accesskey="E"
log.js:9:39
[NoScript] apply 
accesskey="s"
log.js:9:39
[NoScript] apply 
accesskey=""
log.js:9:39
[NoScript] apply 
accesskey="w"
log.js:9:39
[NoScript] Cannot collect noscript activity data Error: "Could not establish connection. Receiving end does not exist."
collectSeenmoz-extension://bf5f47b7-b839-47ee-ade8-01b17c527c8a/bg/main.js:252:38 Could not establish connection. Receiving end does not exist. collectSeen@moz-extension://bf5f47b7-b839-47ee-ade8-01b17c527c8a/bg/main.js:252:38
log.js:12:62
[NoScript] Cannot collect noscript activity data TypeError: "items is undefined"
collectSeenmoz-extension://bf5f47b7-b839-47ee-ade8-01b17c527c8a/bg/main.js:252:21 items is undefined collectSeen@moz-extension://bf5f47b7-b839-47ee-ade8-01b17c527c8a/bg/main.js:252:21
log.js:12:62
[NoScript] Cannot collect noscript activity data Error: "Could not establish connection. Receiving end does not exist."
collectSeenmoz-extension://bf5f47b7-b839-47ee-ade8-01b17c527c8a/bg/main.js:252:38 Could not establish connection. Receiving end does not exist. collectSeen@moz-extension://bf5f47b7-b839-47ee-ade8-01b17c527c8a/bg/main.js:252:38
log.js:12:62
[NoScript] Cannot collect noscript activity data Error: "Could not establish connection. Receiving end does not exist."
collectSeenmoz-extension://bf5f47b7-b839-47ee-ade8-01b17c527c8a/bg/main.js:252:38 Could not establish connection. Receiving end does not exist. collectSeen@moz-extension://bf5f47b7-b839-47ee-ade8-01b17c527c8a/bg/main.js:252:38
log.js:12:62
[NoScript] Cannot collect noscript activity data Error: "Could not establish connection. Receiving end does not exist."
collectSeenmoz-extension://bf5f47b7-b839-47ee-ade8-01b17c527c8a/bg/main.js:252:38 Could not establish connection. Receiving end does not exist. collectSeen@moz-extension://bf5f47b7-b839-47ee-ade8-01b17c527c8a/bg/main.js:252:38
log.js:12:62
[NoScript] Cannot collect noscript activity data Error: "Could not establish connection. Receiving end does not exist."
collectSeenmoz-extension://bf5f47b7-b839-47ee-ade8-01b17c527c8a/bg/main.js:252:38 Could not establish connection. Receiving end does not exist. collectSeen@moz-extension://bf5f47b7-b839-47ee-ade8-01b17c527c8a/bg/main.js:252:38
log.js:12:62
[NoScript] Cannot collect noscript activity data TypeError: "items is undefined"
collectSeenmoz-extension://bf5f47b7-b839-47ee-ade8-01b17c527c8a/bg/main.js:252:21 items is undefined collectSeen@moz-extension://bf5f47b7-b839-47ee-ade8-01b17c527c8a/bg/main.js:252:21
log.js:12:62
Mozilla/5.0 (X11; Linux x86_64; rv:61.0) Gecko/20100101 Firefox/61.0

skriptimaahinen
Senior Member
Posts: 213
Joined: Wed Jan 10, 2018 7:37 am

Re: NoScript prevents XML feeds from loading

Post by skriptimaahinen » Thu Aug 02, 2018 2:15 pm

Can't reproduce. Test on clean profile?
Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:61.0) Gecko/20100101 Firefox/61.0

KonomiKitten
Posts: 11
Joined: Mon Mar 19, 2018 6:30 am

Re: NoScript prevents XML feeds from loading

Post by KonomiKitten » Thu Aug 02, 2018 3:07 pm

I managed to reproduce, it seems you need Firefox Multi-Account Containers.

Reproduce with fresh profile:

1. Install https://addons.mozilla.org/en-US/firefo ... /noscript/
1. Install https://addons.mozilla.org/en-US/firefo ... ontainers/
2. Open a new Personal tab
3. Visit YouTube https://www.youtube.com/
4. Set YouTube to always open in personal tab via the multi account container extension.
5. Visit https://www.youtube.com/feeds/videos.xm ... GqSc6Pi23w

Edit: Lots of edits to clarify reproducing the bug.
Last edited by KonomiKitten on Thu Aug 02, 2018 5:55 pm, edited 1 time in total.
Mozilla/5.0 (X11; Linux x86_64; rv:61.0) Gecko/20100101 Firefox/61.0

skriptimaahinen
Senior Member
Posts: 213
Joined: Wed Jan 10, 2018 7:37 am

Re: NoScript prevents XML feeds from loading

Post by skriptimaahinen » Thu Aug 02, 2018 5:25 pm

Yup, this kills the RSS feed (can reproduce on other feeds too e.g. https://noscript.net/feed).

It appears, that for some reason, the executeScript in RequestUtil simply hangs indeterminately.

And what is even more baffling is that hitting home button (have newtab set there, in case that makes any difference) while the page is perpetually loading, will actually load the page. And it seems to really be the page and not just a "afterimage" as it is interactive and has the right url in the urlbar. However subsequent refresh or home button pressing will load the newtab. Attempts to navigate to the feed after that work fine as long as they happen in the same tab. Problem will resurface on new tab.
Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:61.0) Gecko/20100101 Firefox/61.0

User avatar
therube
Ambassador
Posts: 7682
Joined: Thu Mar 19, 2009 4:17 pm
Location: Maryland USA

Re: NoScript prevents XML feeds from loading

Post by therube » Thu Aug 02, 2018 7:39 pm

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:52.0) Gecko/20100101 SeaMonkey/2.49.4

Post Reply