[SOLVED] [5.0.3rc1] Dynamically loaded content is broken

Bug reports and enhancement requests

[SOLVED] [5.0.3rc1] Dynamically loaded content is broken

Postby RichardFreeman » Mon Mar 20, 2017 1:12 pm

It seems dynamically loaded content is broken on many websites.

Steps to reproduce:
- open https://www.twitch.tv/

Result: screen is all white, no content is displayed

Console output with only twitch.tv and ttvnw.net as enabled scripts:
Code: Select all
GET
https://twitch.tv/ [HTTP/1.1 302 Moved Temporarily 778ms]
POST
http://ocsp.digicert.com/ [HTTP/1.1 200 OK 157ms]
GET
https://www.twitch.tv/ [HTTP/2.0 200 OK 0ms]
:  a12.34.js:2:0
GET
https://www.twitch.tv/site_options.js [HTTP/2.0 200 OK 931ms]
GET
https://www.twitch.tv/assets/mobileRedirect-e8b59ebbddf4e45773c6292795eb2145.js [HTTP/2.0 200 OK 0ms]
GET
https://www.twitch.tv/assets/emberhelper-d1b44afb396390260d901d523f56e149.js [HTTP/2.0 304 Not Modified 927ms]
GET
https://www.twitch.tv/tmilibs/tmi-v3.js [HTTP/2.0 302 Found 1066ms]
GET
https://web-cdn.ttvnw.net/styles/application.css [HTTP/2.0 302 Found 0ms]
GET
https://web-cdn.ttvnw.net/global.js [HTTP/2.0 302 Found 355ms]
GET
https://web-cdn.ttvnw.net/benchmark.js [HTTP/2.0 302 Found 0ms]
GET
https://web-cdn.ttvnw.net/emberapp.js [HTTP/2.0 302 Found 0ms]
GET
https://web-cdn.ttvnw.net/translations/en-us.js [HTTP/2.0 302 Found 0ms]
GET
https://web-cdn.ttvnw.net/styles/phoenix.css [HTTP/2.0 302 Found 0ms]
GET
https://player.twitch.tv/js/embed-v0.js [HTTP/2.0 304 Not Modified 355ms]
GET
https://player.twitch.tv/js/player.js [HTTP/2.0 304 Not Modified 1355ms]
GET
https://player.twitch.tv/css/player.css [HTTP/2.0 304 Not Modified 1215ms]
GET
https://web-cdn.ttvnw.net/styles/application-14606e0abc2b612d9264872a738042e1.css [HTTP/2.0 200 OK 0ms]
GET
https://web-cdn.ttvnw.net/benchmark-2a38bdf0074bd5531465a112dea2c5f6.js [HTTP/2.0 200 OK 0ms]
GET
https://web-cdn.ttvnw.net/emberapp-8dc95b12cc0c6f5b3c8083a2003b3bee.js [HTTP/2.0 200 OK 0ms]
GET
https://web-cdn.ttvnw.net/translations/en-us-c8a2aa6e98e6eaa45f99ffbd3cb12489.js [HTTP/2.0 200 OK 0ms]
GET
https://web-cdn.ttvnw.net/styles/phoenix-0f64c80e2d2b9337c89471be94c2a29f.css [HTTP/2.0 200 OK 0ms]
POST
http://ss.symcd.com/ [HTTP/1.1 200 OK 59ms]
nsIJSON.encode is deprecated.  Please use JSON.stringify instead. ssl-observatory.js:625:31
POST
XHR
https://observatory.eff.org/submit_cert#0.63445462667663410.45769927390367193 [HTTP/1.1 200 OK 451ms]
GET
https://www.twitch.tv/site_options.js [HTTP/2.0 200 OK 0ms]
GET
https://www.twitch.tv/tmilibs/tmi-v3.r4d29c57ae9feb5016cd69d8b346de81ba868af83.js [HTTP/2.0 200 OK 0ms]
GET
https://web-cdn.ttvnw.net/global-fc745e2ea004813615fcc97063d833b2.js [HTTP/2.0 200 OK 0ms]
JQMIGRATE: Migrate is installed with logging active, version 1.4.1 global.js:4:3429
JQMIGRATE: jQuery.browser is deprecated global.js:4:3067
console.trace(): global.js:4
i() global.js:4
r/<.get() global.js:4
r<() global.js:10
<anonymous> global.js:10
<anonymous> global.js:10

mutating the [[Prototype]] of an object will cause your code to run very slowly; instead create the object with the correct initial [[Prototype]] value using Object.create emberapp.js:1:4792
GET
https://api-akamai.twitch.tv/crossdomain/receiver.html [HTTP/2.0 200 OK 0ms]
GET
https://web-cdn.ttvnw.net/images/xarth/twitch_logo_white_102_33.png [HTTP/2.0 200 OK 0ms]
GET
https://www.twitch.tv/favicon.ico [HTTP/2.0 200 OK 0ms]
[Exception... "Component returned failure code: 0x80004005 (NS_ERROR_FAILURE) [nsIChannelEventSink.asyncOnChannelRedirect]"  nsresult: "0x80004005 (NS_ERROR_FAILURE)"  location: "JS frame :: chrome://noscript/content/ForcedRedirectionCallback.js :: CESDelegate.prototype.asyncOnChannelRedirect :: line 51"  data: no]CESDelegate.prototype.asyncOnChannelRedirect@chrome://noscript/content/ForcedRedirectionCallback.js:51:7

NS_ERROR_FAILURE: Component returned failure code: 0x80004005 (NS_ERROR_FAILURE) [nsIChannelEventSink.asyncOnChannelRedirect] ForcedRedirectionCallback.js:51:0
Firefox can't establish a connection to the server at wss://pubsub-edge.twitch.tv/v1. emberapp.js:39:19441
GET
https://pubsub-edge.twitch.tv/v1 [HTTP/1.1 101 Switching Protocols 717ms]
POST
http://ocsp.digicert.com/ [HTTP/1.1 200 OK 31ms]
:  emberapp.js:38:0
1490014577577   Toolkit.Telemetry   WARN   TelemetryStorage::_scanArchive - have seen this id before: 62b97ddc-ec33-495d-9166-dd46619c3c85, overwrite: false
no element found data::1:1
1490014578240   addons.productaddons   ERROR   Request failed certificate checks: [Exception... "SSL is required and URI scheme is not https."  nsresult: "0x8000ffff (NS_ERROR_UNEXPECTED)"  location: "JS frame :: resource://gre/modules/CertUtils.jsm :: checkCert :: line 145"  data: no] Log.jsm:751:0
1490014578240   Toolkit.GMP   ERROR   GMPInstallManager.simpleCheckAndInstall Could not check for addons: [Exception... "SSL is required and URI scheme is not https."  nsresult: "0x8000ffff (NS_ERROR_UNEXPECTED)"  location: "JS frame :: resource://gre/modules/CertUtils.jsm :: checkCert :: line 145"  data: no] Stack trace: checkCert()@resource://gre/modules/CertUtils.jsm:145 < downloadXML/</success()@resource://gre/modules/addons/ProductAddonChecker.jsm:113 Log.jsm:751:0
:  emberapp.js:38:0


Console output with scripts allowed globally:
Code: Select all
The connection to wss://pubsub-edge.twitch.tv/v1 was interrupted while the page was loading. emberapp.js:39:19441
GET
https://www.twitch.tv/ [HTTP/2.0 200 OK 0ms]
GET
https://www.twitch.tv/site_options.js [HTTP/2.0 200 OK 0ms]
GET
https://web-cdn.ttvnw.net/styles/application.css [HTTP/2.0 302 Found 0ms]
GET
https://www.twitch.tv/assets/mobileRedirect-e8b59ebbddf4e45773c6292795eb2145.js [HTTP/2.0 200 OK 0ms]
GET
https://web-cdn.ttvnw.net/global.js [HTTP/2.0 302 Found 0ms]
GET
https://web-cdn.ttvnw.net/benchmark.js [HTTP/2.0 302 Found 0ms]
GET
https://www.twitch.tv/assets/emberhelper-d1b44afb396390260d901d523f56e149.js [HTTP/2.0 200 OK 0ms]
GET
https://web-cdn.ttvnw.net/emberapp.js [HTTP/2.0 302 Found 0ms]
GET
https://www.twitch.tv/tmilibs/tmi-v3.js [HTTP/2.0 302 Found 0ms]
GET
https://player.twitch.tv/js/embed-v0.js [HTTP/2.0 200 OK 0ms]
GET
https://player.twitch.tv/js/player.js [HTTP/2.0 200 OK 0ms]
GET
https://web-cdn.ttvnw.net/translations/en-us.js [HTTP/2.0 302 Found 0ms]
GET
https://player.twitch.tv/css/player.css [HTTP/2.0 200 OK 268ms]
GET
https://web-cdn.ttvnw.net/styles/phoenix.css [HTTP/2.0 302 Found 0ms]
edge.quantserve.com:443 uses an invalid security certificate.

The certificate is only valid for the following names:
  *.akamaihd.net, *.akamaized-staging.net, *.akamaized.net, *.akamaihd-staging.net, a248.e.akamai.net 

Error code: <a id="errorCode" title="SSL_ERROR_BAD_CERT_DOMAIN">SSL_ERROR_BAD_CERT_DOMAIN</a>
<unknown>
GET
https://web-cdn.ttvnw.net/styles/application-14606e0abc2b612d9264872a738042e1.css [HTTP/2.0 200 OK 0ms]
GET
https://web-cdn.ttvnw.net/global-fc745e2ea004813615fcc97063d833b2.js [HTTP/2.0 200 OK 0ms]
GET
https://web-cdn.ttvnw.net/benchmark-2a38bdf0074bd5531465a112dea2c5f6.js [HTTP/2.0 200 OK 0ms]
GET
https://web-cdn.ttvnw.net/emberapp-8dc95b12cc0c6f5b3c8083a2003b3bee.js [HTTP/2.0 200 OK 0ms]
GET
https://www.twitch.tv/tmilibs/tmi-v3.r4d29c57ae9feb5016cd69d8b346de81ba868af83.js [HTTP/2.0 200 OK 0ms]
GET
https://web-cdn.ttvnw.net/translations/en-us-c8a2aa6e98e6eaa45f99ffbd3cb12489.js [HTTP/2.0 200 OK 0ms]
GET
https://web-cdn.ttvnw.net/styles/phoenix-0f64c80e2d2b9337c89471be94c2a29f.css [HTTP/2.0 200 OK 0ms]
GET
https://www.twitch.tv/site_options.js [HTTP/2.0 200 OK 0ms]
POST
http://clients1.google.com/ocsp [HTTP/1.1 200 OK 69ms]
JQMIGRATE: Migrate is installed with logging active, version 1.4.1 global.js:4:3429
JQMIGRATE: jQuery.browser is deprecated global.js:4:3067
console.trace(): global.js:4
i() global.js:4
r/<.get() global.js:4
r<() global.js:10
<anonymous> global.js:10
<anonymous> global.js:10

GET
https://api-akamai.twitch.tv/crossdomain/receiver.html [HTTP/2.0 200 OK 0ms]
mutating the [[Prototype]] of an object will cause your code to run very slowly; instead create the object with the correct initial [[Prototype]] value using Object.create emberapp.js:1:4792
GET
https://imasdk.googleapis.com/js/sdkloader/ima3.js [HTTP/2.0 200 OK 417ms]
POST
http://clients1.google.com/ocsp [HTTP/1.1 200 OK 39ms]
GET
https://pubsub-edge.twitch.tv/v1 [HTTP/1.1 101 Switching Protocols 582ms]
nsIJSON.encode is deprecated.  Please use JSON.stringify instead. ssl-observatory.js:625:31
POST
XHR
https://observatory.eff.org/submit_cert#0.63445462667663410.45769927390367193 [HTTP/1.1 200 OK 692ms]
:  emberapp.js:38:0


Page loads fine with NoScript disabled.
Problem was not present in previous versions of NoScript.

Fun fact: when writing this post, I had to manually type the bb codes because clicking the buttons did not work either. (argh, even smileys won't) :)

Version:
- NoScript 5.0.3rc1
- Firefox ESR 45.8.0
Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Firefox/45.0
RichardFreeman
 
Posts: 8
Joined: Tue Sep 01, 2015 4:07 pm

Re: [SOLVED] [5.0.3rc1] Dynamically loaded content is broken

Postby RichardFreeman » Mon Mar 20, 2017 1:21 pm

Manually updating to 5.0.3rc2 fixed this issue.
Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Firefox/45.0
RichardFreeman
 
Posts: 8
Joined: Tue Sep 01, 2015 4:07 pm


Return to NoScript Development

Who is online

Users browsing this forum: No registered users and 1 guest