Andrey Lushnikov 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							1cf1f53076 
							
						 
					 
					
						
						
							
							chore: update browser patches as of Jan 11, 2023 ( #21068 )  
						
						
						
						
					 
					
						2023-02-21 11:46:10 -08:00 
						 
				 
			
				
					
						
							
							
								Andrey Lushnikov 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							6c5317bd31 
							
						 
					 
					
						
						
							
							chore: update browser patches as of Dec 13, 2022 ( #20297 )  
						
						
						
						
					 
					
						2023-01-23 11:29:48 -08:00 
						 
				 
			
				
					
						
							
							
								Andrey Lushnikov 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							e4be1266a9 
							
						 
					 
					
						
						
							
							browser(firefox-stable): roll Firefox to 104.0 ( #16784 )  
						
						... 
						
						
						
						References #16780  
						
						
					 
					
						2022-08-23 15:13:06 -07:00 
						 
				 
			
				
					
						
							
							
								Yury Semikhatsky 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							a8249163d3 
							
						 
					 
					
						
						
							
							browser(firefox): preserve content-type from original request if it i… ( #16739 )  
						
						
						
						
					 
					
						2022-08-23 08:51:09 -07:00 
						 
				 
			
				
					
						
							
							
								Yury Semikhatsky 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							02aa31048c 
							
						 
					 
					
						
						
							
							browser(firefox): cross thread sync in screencast ( #16320 )  
						
						... 
						
						
						
						* nsIScreencastServiceClient is not thread safe refcounted so we make nsScreencastService::Session a thread safe refcounted object and keep it alive while there are inflight frames. Once such frames get handled on the main thread we check if the session has been stopped.
* Removed mCaptureCallbackCs in favor of atomic counter (mClient is not accessed only on the main thread).
* HeadlessWindowCapturer now holds RefPtr to the headless window object to avoid use after free when clearing it as a listener on the widget.
* ScreencastEncoder is not ref counted anymore.
Pretty-diff: 5f5042ff1e 
						
						
					 
					
						2022-08-05 15:25:26 -07:00 
						 
				 
			
				
					
						
							
							
								Yury Semikhatsky 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							135971c406 
							
						 
					 
					
						
						
							
							browser(firefox): recompute content-length if body is overridden ( #16173 )  
						
						
						
						
					 
					
						2022-08-02 13:51:05 -07:00 
						 
				 
			
				
					
						
							
							
								Dmitry Gozman 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							94efeed192 
							
						 
					 
					
						
						
							
							browser(firefox): make scrollIntoViewIfNeeded and getContentQuads work with display:contents ( #16111 )  
						
						
						
						
					 
					
						2022-08-01 14:40:23 -07:00 
						 
				 
			
				
					
						
							
							
								Yury Semikhatsky 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							d33455dcca 
							
						 
					 
					
						
						
							
							browser(firefox): dispatch console messages even if there are workers ( #16068 )  
						
						
						
						
					 
					
						2022-07-29 16:56:17 -07:00 
						 
				 
			
				
					
						
							
							
								Andrey Lushnikov 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							60ab16377a 
							
						 
					 
					
						
						
							
							browser(firefox): roll Firefox stable to 103 ( #16047 )  
						
						
						
						
					 
					
						2022-07-29 05:47:00 -07:00 
						 
				 
			
				
					
						
							
							
								Yury Semikhatsky 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							b479869ddc 
							
						 
					 
					
						
						
							
							browser(firefox): do not leak vpx codec ( #16034 )  
						
						
						
						
					 
					
						2022-07-28 13:39:34 -07:00 
						 
				 
			
				
					
						
							
							
								Andrey Lushnikov 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							e9d66535ba 
							
						 
					 
					
						
						
							
							browser(firefox): move screenshots to browser-side ( #15230 )  
						
						... 
						
						
						
						* `clip` option is always passed from the client code
* with this change, we can no longer capture screenshot of a blinking
  caret; the browser-side API doesn't have this capability. 
						
						
					 
					
						2022-07-06 15:02:48 -07:00 
						 
				 
			
				
					
						
							
							
								Andrey Lushnikov 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							530867e8ab 
							
						 
					 
					
						
						
							
							browser(firefox): report unhandled rejections for Firefox ( #15391 )  
						
						... 
						
						
						
						References #14165  
						
						
					 
					
						2022-07-05 15:46:28 -07:00 
						 
				 
			
				
					
						
							
							
								Andrey Lushnikov 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							8a8bdec87d 
							
						 
					 
					
						
						
							
							browser(firefox): roll Firefox Stable to 102 ( #15321 )  
						
						... 
						
						
						
						This roll:
- NetworkObserver now uses the `remote's` ChannelEventSink layer to
  subscribe to redirects.
- Wheel events now must be dispatched from browser process.
- There's a new API for console messages
- The old methods to wait for search service and addon manager no longer
  work; speculatively remove them since neither `remote` nor
  `marionette` have anything like this.
Native manual merge: 9e6fcfd868 
						
						
					 
					
						2022-07-05 08:20:01 -07:00 
						 
				 
			
				
					
						
							
							
								Andrey Lushnikov 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							458c9b2207 
							
						 
					 
					
						
						
							
							browser(firefox): fix racy browser.newPage() method ( #15251 )  
						
						... 
						
						
						
						It looks like the tabopen callback is async, so we must
make sure it is called when opening new pages. 
						
						
					 
					
						2022-06-30 11:07:38 -07:00 
						 
				 
			
				
					
						
							
							
								Dmitry Gozman 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							141093a1cd 
							
						 
					 
					
						
						
							
							browser(firefox): a11y haspopup is a string, not a boolean ( #15056 )  
						
						
						
						
					 
					
						2022-06-22 17:01:13 -07:00 
						 
				 
			
				
					
						
							
							
								Dmitry Gozman 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							94a0d669b6 
							
						 
					 
					
						
						
							
							browser(firefox): expose Response.fromServiceWorker ( #14606 )  
						
						... 
						
						
						
						This property is "true" when network response was fulfilled
by the service worker. 
						
						
					 
					
						2022-06-02 17:16:19 -07:00 
						 
				 
			
				
					
						
							
							
								Andrey Lushnikov 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							7b0505d610 
							
						 
					 
					
						
						
							
							browser(firefox): roll Firefox to 100.0.2 ( #14492 )  
						
						
						
						
					 
					
						2022-05-31 00:54:36 -07:00 
						 
				 
			
				
					
						
							
							
								Yury Semikhatsky 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							463b4b1c0d 
							
						 
					 
					
						
						
							
							browser(firefox): do not send post data > 10Mb to the client ( #12969 )  
						
						
						
						
					 
					
						2022-03-23 08:58:29 -07:00 
						 
				 
			
				
					
						
							
							
								Yury Semikhatsky 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							96b0a4b993 
							
						 
					 
					
						
						
							
							browser(firefox): fast post body conversion to base64 ( #12898 )  
						
						
						
						
					 
					
						2022-03-18 18:30:28 -07:00 
						 
				 
			
				
					
						
							
							
								Pavel Feldman 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							618cc66c8d 
							
						 
					 
					
						
						
							
							browser(firefox): manage scripts to evaluate on load on front-end ( #12101 )  
						
						
						
						
					 
					
						2022-02-14 20:32:12 -08:00 
						 
				 
			
				
					
						
							
							
								Ross Wollman 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							8f0a5019c0 
							
						 
					 
					
						
						
							
							browser(firefox): fixes empty string postData override ( #11529 )  
						
						... 
						
						
						
						Relates #11470 
Blocks #11421  
						
						
					 
					
						2022-01-21 01:19:29 +01:00 
						 
				 
			
				
					
						
							
							
								Andrey Lushnikov 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							22194bb4a9 
							
						 
					 
					
						
						
							
							browser(firefox): roll Firefox to 96 stable ( #11451 )  
						
						
						
						
					 
					
						2022-01-18 03:16:04 -08:00 
						 
				 
			
				
					
						
							
							
								Andrey Lushnikov 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							5d8aa8d5cf 
							
						 
					 
					
						
						
							
							browser(firefox): fix extra HTTP headers in request interception ( #11265 )  
						
						
						
						
					 
					
						2022-01-08 08:26:11 -08:00 
						 
				 
			
				
					
						
							
							
								Andrey Lushnikov 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							fba29aa319 
							
						 
					 
					
						
						
							
							browser(firefox): fix HTTP->HTTPS fallback for refused connection ( #11123 )  
						
						... 
						
						
						
						In this case, there's no protocol version that we can extract for
nsIHttpChannel.
The code that does the redirect is here: 7f3d9fce41/docshell/base/nsDocShell.cpp (L6079-L6095)#11118  
						
						
					 
					
						2021-12-28 12:23:53 -08:00 
						 
				 
			
				
					
						
							
							
								Andrey Lushnikov 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							2d386ee8e7 
							
						 
					 
					
						
						
							
							browser(firefox): fix proxy auth redirect + resource redirect handling ( #10854 )  
						
						... 
						
						
						
						This was breaking a vital invariant in our firefox network code - see
comments.
References #10095  
						
						
					 
					
						2021-12-10 13:11:58 -08:00 
						 
				 
			
				
					
						
							
							
								Max Schmitt 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							08d31965c6 
							
						 
					 
					
						
						
							
							browser(firefox): ignore console events with attached exception ( #10581 )  
						
						
						
						
					 
					
						2021-11-29 17:55:15 +01:00 
						 
				 
			
				
					
						
							
							
								Andrey Lushnikov 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							0fa8073ab6 
							
						 
					 
					
						
						
							
							browser(firefox): fix input composition when TIP is stolen by user ( #10238 )  
						
						... 
						
						
						
						When firefox is automated + interacted with manually, input composition
might get stolen from Text Input Processor.
Re-requiring TIP every time seems to fix this.
References #5460  
						
						
					 
					
						2021-11-11 10:23:00 -08:00 
						 
				 
			
				
					
						
							
							
								Yury Semikhatsky 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							091c0065ad 
							
						 
					 
					
						
						
							
							browser(firefox): delete response interception code ( #10053 )  
						
						
						
						
					 
					
						2021-11-04 12:29:36 -07:00 
						 
				 
			
				
					
						
							
							
								Yury Semikhatsky 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							ddda507ccd 
							
						 
					 
					
						
						
							
							browser(firefox): do not crash when browser window is minimized ( #9951 )  
						
						
						
						
					 
					
						2021-11-01 17:11:21 -07:00 
						 
				 
			
				
					
						
							
							
								Max Schmitt 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							6a1e075903 
							
						 
					 
					
						
						
							
							fix(browser): fix downloads with nested frames ( #9925 )  
						
						
						
						
					 
					
						2021-11-01 09:37:07 -07:00 
						 
				 
			
				
					
						
							
							
								Yury Semikhatsky 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							7560f40c77 
							
						 
					 
					
						
						
							
							browser(firefox): set opener for popup opened from iframe ( #9837 )  
						
						
						
						
					 
					
						2021-10-28 02:16:37 -07:00 
						 
				 
			
				
					
						
							
							
								Andrey Lushnikov 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							18e690e234 
							
						 
					 
					
						
						
							
							browser(firefox): fix firefox crashes ( #9563 )  
						
						... 
						
						
						
						Fixes  #9418  
					
						2021-10-15 19:37:00 -07:00 
						 
				 
			
				
					
						
							
							
								Max Schmitt 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							4e95448887 
							
						 
					 
					
						
						
							
							browser(firefox): expose encodedBodySize in requestFinished ( #8835 )  
						
						
						
						
					 
					
						2021-09-10 08:41:34 -07:00 
						 
				 
			
				
					
						
							
							
								Max Schmitt 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							d9eb37b0b9 
							
						 
					 
					
						
						
							
							browser(firefox): resolve socks DNS on server side ( #8723 )  
						
						
						
						
					 
					
						2021-09-06 16:34:28 +02:00 
						 
				 
			
				
					
						
							
							
								Max Schmitt 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							1762f4c547 
							
						 
					 
					
						
						
							
							browser(firefox): expose protocolVersion in ResponseFinished ( #8687 )  
						
						
						
						
					 
					
						2021-09-03 11:39:38 -07:00 
						 
				 
			
				
					
						
							
							
								Andrey Lushnikov 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							5901cb321d 
							
						 
					 
					
						
						
							
							browser(firefox): fix file chooser in iframes  #8510  ( #8510 )  
						
						... 
						
						
						
						References #8016  
						
						
					 
					
						2021-08-27 09:28:24 -07:00 
						 
				 
			
				
					
						
							
							
								Joel Einbinder 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							e04ff81921 
							
						 
					 
					
						
						
							
							browser(firefox): Browser.setPlatformOverride ( #8440 )  
						
						
						
						
					 
					
						2021-08-25 11:45:45 -04:00 
						 
				 
			
				
					
						
							
							
								Joel Einbinder 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							f7950352b9 
							
						 
					 
					
						
						
							
							browser(firefox): Page.dispatchWheelEvent ( #8439 )  
						
						
						
						
					 
					
						2021-08-25 11:27:12 -04:00 
						 
				 
			
				
					
						
							
							
								Dmitry Gozman 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							4344b3810a 
							
						 
					 
					
						
						
							
							browser(firefox): fix a race between Browser.close and closing context ( #8294 )  
						
						
						
						
					 
					
						2021-08-18 14:47:21 -07:00 
						 
				 
			
				
					
						
							
							
								Yury Semikhatsky 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							90385a7941 
							
						 
					 
					
						
						
							
							browser(firefox): failure response interception ( #8194 )  
						
						
						
						
					 
					
						2021-08-16 09:36:28 -07:00 
						 
				 
			
				
					
						
							
							
								Dmitry Gozman 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							dba3c5055f 
							
						 
					 
					
						
						
							
							browser(firefox): support start/stop videos for context ( #8173 )  
						
						
						
						
					 
					
						2021-08-12 17:17:54 -07:00 
						 
				 
			
				
					
						
							
							
								Yury Semikhatsky 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							f434c41523 
							
						 
					 
					
						
						
							
							browser(firefox): fulfill intercepted response with empty body ( #8152 )  
						
						
						
						
					 
					
						2021-08-11 14:39:49 -07:00 
						 
				 
			
				
					
						
							
							
								Andrey Lushnikov 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							75dfc15e62 
							
						 
					 
					
						
						
							
							browser(firefox): roll to new Firefox Stable M91 ( #8130 )  
						
						
						
						
					 
					
						2021-08-10 17:37:57 -07:00 
						 
				 
			
				
					
						
							
							
								Yury Semikhatsky 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							f9efc7f8a4 
							
						 
					 
					
						
						
							
							browser(firefox): response interception after redirects ( #8107 )  
						
						
						
						
					 
					
						2021-08-10 14:43:21 -07:00 
						 
				 
			
				
					
						
							
							
								Yury Semikhatsky 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							efb21b9e9f 
							
						 
					 
					
						
						
							
							browser(firefox): support response interception ( #7509 )  
						
						
						
						
					 
					
						2021-07-09 05:41:53 -07:00 
						 
				 
			
				
					
						
							
							
								Dmitry Gozman 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							fca965cb98 
							
						 
					 
					
						
						
							
							browser(firefox): properly handle HSTS redirects ( #7391 )  
						
						... 
						
						
						
						When Firefox decides to perform an http->https redirect based on HSTS
information, it issues an "internal" redirect and cancels the http request.
Since there is no response for the http request, we forge 307 redirect
in this case, following Chromium lead.
The relevant code is in nsHttpChannel::StartRedirectChannelToHttps. 
						
						
					 
					
						2021-06-30 12:59:27 -07:00 
						 
				 
			
				
					
						
							
							
								Max Schmitt 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							18266722a1 
							
						 
					 
					
						
						
							
							browser(firefox): add Download.cancel ( #7390 )  
						
						
						
						
					 
					
						2021-06-30 01:29:58 +02:00 
						 
				 
			
				
					
						
							
							
								Max Schmitt 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							8fa93ae6be 
							
						 
					 
					
						
						
							
							browser(firefox): add transferSize to Network.requestFinished ( #7355 )  
						
						
						
						
					 
					
						2021-06-28 21:22:55 +02:00 
						 
				 
			
				
					
						
							
							
								Max Schmitt 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							9b9091b3fe 
							
						 
					 
					
						
						
							
							browser(firefox): fixed Array.prototype.toJSON workaround ( #7018 )  
						
						... 
						
						
						
						References #7015  
						
						
					 
					
						2021-06-10 17:21:20 -07:00 
						 
				 
			
				
					
						
							
							
								Max Schmitt 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							226159defc 
							
						 
					 
					
						
						
							
							browser(firefox): forced-colors media query emulation ( #6902 )  
						
						
						
						
					 
					
						2021-06-09 01:00:15 +02:00