playwright/browser_patches/firefox
Dmitry Gozman 5364c6acbc
browser(firefox): fix automatic http->https redirect (#3812)
browser(firefox): fix automatic http->https redirect

Sometimes, Firefox does an automatic http->https redirect without hitting
the network (e.g. for http://wikipedia.org). In this case, the http request
is very strange:
- it does not actually hit the network;
- it is never intercepted;
- we cannot access its response because there was no actual response.

So, we had a bug where:
- redirects inherited the original request's listener;
- that listener was throwing an error.
This lead to the error in the listeners onDataAvailable call chain,
and original listener that renders the response was never called,
resulting in an empty page.

This change:
- ignores the original request that did not hit the network;
- does not inherit the listener;
- adds try/catch around problematic calls.
2020-09-09 09:16:03 -07:00
..
juggler browser(firefox): fix automatic http->https redirect (#3812) 2020-09-09 09:16:03 -07:00
patches browser(firefox): roll Firefox to August 14 beta (#3465) 2020-08-13 23:14:24 -07:00
preferences browser(firefox): always create new process rather than reuse one (#3312) 2020-08-05 15:48:26 -07:00
.gitignore Initial commit 2019-11-19 10:58:15 -08:00
archive.sh devops: strictly configure build folder for Firefox builds (#1454) 2020-03-20 19:24:38 -07:00
build.sh devops: make sure rust toolchain is installed (#3485) 2020-08-19 09:11:28 -07:00
BUILD_NUMBER browser(firefox): fix automatic http->https redirect (#3812) 2020-09-09 09:16:03 -07:00
cheatsheet.md chore(firefox): update cheatsheet with logging instructions (#1609) 2020-03-31 13:23:35 -07:00
clean.sh devops: strictly configure build folder for Firefox builds (#1454) 2020-03-20 19:24:38 -07:00
install-preferences.js devops: bundle firefox preferences alongside with build. 2020-02-11 14:42:04 -08:00
UPSTREAM_CONFIG.sh browser(firefox): roll Firefox to August 14 beta (#3465) 2020-08-13 23:14:24 -07:00