This website requires JavaScript.
Explore
Help
Register
Sign In
Filip
/
playwright
Watch
1
Star
0
Fork
You've already forked playwright
0
Code
Issues
Pull requests
Actions
Packages
Projects
Releases
Wiki
Activity
dee739259e
playwright
/
browser_patches
/
firefox
/
BUILD_NUMBER
3 lines
61 B
Plaintext
Raw
Normal View
History
Unescape
Escape
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 18:16:03 +02:00
1170
Changed: dgozman@gmail.com Tue Sep 8 22:17:56 PDT 2020
Reference in a new issue
Copy permalink