Rob--W / crxviewer

Add-on / web app to view the source code of Chrome / Firefox / Opera 15 extensions and zip files.
https://robwu.nl/crxviewer/
Mozilla Public License 2.0
1.44k stars 222 forks source link

Network errors with extension version 1.6.11 with Waterfox Classic 56.2.12 #87

Open grahamperrin opened 5 years ago

grahamperrin commented 5 years ago

1.6.10:

image

1.6.11, with web console – before a reload:

image

– and (taking a hint from https://github.com/Rob--W/crxviewer/issues/75#issuecomment-441356694) after a reload:

image

https://github.com/Rob--W/crxviewer/blob/21395df0db08a4ad1e214b479404b1f58ca93421/src/domain-fronter.js#L51

Reproducibility

Initially not reproducible with a new profile, but after quitting: with a second use of the new profile, the issue is reproducible.

Waterfox Classic 56.2.12 at https://www.waterfox.net/releases/ (I'm using a home build on FreeBSD-CURRENT)

Rob--W commented 5 years ago

Could you take a look at the network tab, and post more details about the request and response? Status code, request headers/response headers (if cookies were present, keep them but change the values of cookies).

grahamperrin commented 5 years ago

image

Request headers:

Host: reviewers.addons.mozilla.org
User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:56.0) Gecko/20100101 Firefox/56.0 Waterfox/56.2.12
Accept: */*
Accept-Language: en-US,en;q=0.5
Accept-Encoding: gzip, deflate, br
Cookie: _ga=GA1.2.….…; sessionid=.…; _gid=GA1.2.….…
Cache-Control: no-cache
Connection: keep-alive

Response headers:

Content-Type: text/html
Date: Thu, 15 Aug 2019 09:16:35 GMT
Location: https://addons.mozilla.org/firefox/downloads/latest/crxviewer/platform:2/crxviewer.xpi
Public-Key-Pins: max-age=5184000; includeSubDomains; pin-sha256="WoiWRyIOVNa9ihaBciRSC7XHjliYS9VwUGOIud4PB18="; pin-sha256="r/mIkG3eEpVdm+u/ko/cwxzOMo1bk4TyHIlByibiA5E="
Server: nginx
Content-Length: 178
Connection: keep-alive