Commit Graph

715687 Commits

Author SHA1 Message Date
Mitchell Hentges
73be855175 Bug 1646832: Use objects to represent availability of Sentry r=rstewart
Sentry is initialized globally, but it's not clear to consumers when this actually happens.
For example, an unwary developer may call report_exception() within check_and_get_mach(),
not knowing that Sentry hasn't been initialized yet.

Using a class should make the dependency on register_sentry() more verbose.

Depends on D80913

Differential Revision: https://phabricator.services.mozilla.com/D80918
2020-06-29 17:58:14 +00:00
Mitchell Hentges
018693001f Bug 1646832: Don't report Sentry issues for build team members r=rstewart
Differential Revision: https://phabricator.services.mozilla.com/D80913
2020-06-29 17:58:06 +00:00
Butkovits Atila
b75fb2d3e0 Backed out 4 changesets (bug 1646592) for xpcshell failures on test_ext_webRequest_filterResponseData.js CLOSED TREE
Backed out changeset cc60e258290e (bug 1646592)
Backed out changeset 3a514b227127 (bug 1646592)
Backed out changeset de9ba1eaded1 (bug 1646592)
Backed out changeset 31aab78792d8 (bug 1646592)
2020-06-30 21:50:45 +03:00
Butkovits Atila
e6f3141f9a Backed out changeset 2df0c2a2f866 (bug 1614969) for asertion failure on base/LoadInfo.cpp. 2020-06-30 21:47:17 +03:00
Butkovits Atila
146ad267af Backed out 6 changesets (bug 1599579) for bc failures at test_chrome_ext_contentscript_data_uri.html.
Backed out changeset b767f26b10ed (bug 1599579)
Backed out changeset c5bc0ea42193 (bug 1599579)
Backed out changeset cfdd8d5973d4 (bug 1599579)
Backed out changeset 73f6c956fc30 (bug 1599579)
Backed out changeset 14698ab42ee4 (bug 1599579)
Backed out changeset b4bdd8759433 (bug 1599579)
2020-06-30 21:41:27 +03:00
Butkovits Atila
277ed87531 Backed out changeset 3c400bb0cd01 (bug 1648639) for bc failures on browser_panel_keyboard_navigation.js. 2020-06-30 21:35:06 +03:00
Sebastian Streich
5bb89780fa Bug 1614969 - Check download with MixedContentBlocker r=ckerschb
Differential Revision: https://phabricator.services.mozilla.com/D73302
2020-06-30 16:29:22 +00:00
Sebastian Streich
147fdbb684 Bug 1633710 - principal.URI in Sanitizer.jsm r=ckerschb,johannh
Differential Revision: https://phabricator.services.mozilla.com/D75801
2020-06-30 16:25:45 +00:00
Kris Maglione
2f7bc0f0ff Bug 1648854: Fix telemetry logging. r=Dexter
Setting the log level on a logger with a prefix doesn't work, because the
property isn't a setter, and prefix loggers use Object.create to create a new
object with the real logger as their prototype.

Differential Revision: https://phabricator.services.mozilla.com/D81430
2020-06-29 07:58:59 +00:00
Nihanth Subramanya
b507e85bad Bug 1649450 - Optimistically run heuristics immediately upon network-up. r=valentin
Differential Revision: https://phabricator.services.mozilla.com/D81707
2020-06-30 16:45:28 +00:00
Nika Layzell
35d83dbe5a Bug 1599579 - Part 6: Handle process switches in talos pageloader.js, r=mconley,perftest-reviewers,Bebe
This is done by reloading framescripts and re-attaching message listeners when
process switch events are fired.

Differential Revision: https://phabricator.services.mozilla.com/D81136
2020-06-30 15:55:49 +00:00
Nika Layzell
9ba0e21272 Bug 1599579 - Part 5: Ensure all views have matching BrowsingContextGroup IDs in getViews test, r=kmag
Differential Revision: https://phabricator.services.mozilla.com/D80258
2020-06-30 15:55:47 +00:00
Nika Layzell
6179f0edcf Bug 1599579 - Part 4: Expose BrowsingContextGroup.id to JS, r=kmag
Differential Revision: https://phabricator.services.mozilla.com/D80257
2020-06-30 15:55:45 +00:00
Nika Layzell
4977d4d393 Bug 1599579 - Part 3: Load toplevel extension frames into a per-extension BrowsingContextGroup, r=kmag
This is done by tracking a specific BrowsingContextGroup ID on the
WebExtensionPolicy in the parent process. Whenever a load is done with that
policy, the browsing context is replaced to ensure it is loaded in the correct
BrowsingContextGroup.

This patch also ensures that extension iframes are always loaded in the same
process as their embedder document, even if the frame was previously remote.

Differential Revision: https://phabricator.services.mozilla.com/D80256
2020-06-30 15:55:43 +00:00
Nika Layzell
c42a21e44a Bug 1599579 - Part 2: Reorganize RemoteType logic in MaybeTriggerProcessSwitch, r=mattwoodrow,necko-reviewers,valentin
The goal with this is to avoid having multiple booleans and other values
computed in arbitrary places and used around the method, and instead pre-compute
common shared information, and group each remoteType special-case together.

Hopefully, this should make it easier to extend the behaviour in
MaybeTriggerProcessSwitch in the future.

Differential Revision: https://phabricator.services.mozilla.com/D80255
2020-06-30 15:55:35 +00:00
Nika Layzell
824c8da580 Bug 1599579 - Part 1: Add the ability to specify a specific BrowsingContextGroup during process switch, r=kmag
Differential Revision: https://phabricator.services.mozilla.com/D80254
2020-06-30 16:52:53 +00:00
Junior Hsu
cf2bd325c2 Bug 1646592 - P4 Remove the depedency between OnStartRequestSent and AttachStreamFilter, r=mayhemer,necko-reviewers
We're shorter the name!

Differential Revision: https://phabricator.services.mozilla.com/D81275
2020-06-30 00:35:22 +00:00
Junior Hsu
b5d505b9d7 Bug 1646592 - P3 Sending endpoint of stream filter via PHttpBackgroundChannel, r=mayhemer,necko-reviewers
Endpoint would be passed by a series of std::move via
nsHttpChannel -> HttpChannelParent -> HttpBackgroundChannelParent ---> HttpBackgroundChannelChild -> HttpChannelChild
												|
												|
   Resolve promise after successfully send IPC<-/

Differential Revision: https://phabricator.services.mozilla.com/D81274
2020-06-30 00:35:12 +00:00
Junior Hsu
97eade221b Bug 1646592 - P2 remove NeckoTargetChannelEvent which could not be specialized for HttpChannelChild, r=mayhemer,necko-reviewers
NeckoTargetChannelEvent uses a protected member function, which couldn't compile with instantiation of HttpChannelChild
https://searchfox.org/mozilla-central/rev/cfaa250d14e344834932de4c2eed0061701654da/netwerk/ipc/ChannelEventQueue.h#64

Differential Revision: https://phabricator.services.mozilla.com/D81273
2020-06-30 00:34:54 +00:00
Junior Hsu
2a27443b11 Bug 1646592 - P1 Use nsISerialEventTarget for HttpBackgroundChannelParent, r=valentin,necko-reviewers
Like bug 1647133, we need this to be nsISerialEventTarget for the InvokeAsync

Differential Revision: https://phabricator.services.mozilla.com/D81272
2020-06-30 00:34:47 +00:00
Emma Malysz
7726722698 Bug 1648639, remove containers, help view, and developer panels from main view and place in template r=Gijs
Differential Revision: https://phabricator.services.mozilla.com/D81257
2020-06-30 15:11:00 +00:00
André Bargull
fa5e4b4155 Bug 1648203: Use locale-dependent number grouping for RelativeTimeFormat. r=jwalden
Depends on D81365

Differential Revision: https://phabricator.services.mozilla.com/D81366
2020-06-30 15:54:01 +00:00
Julian Descottes
41dc7a25a4 Bug 1649418 - Enable async stacks during DevTools mochitests r=loganfsmyth
Async stacks can provide valuable information when chasing intermittents.
But by default they are only enabled in debuggees, to avoid performance overhead.
Forcing javascript.options.asyncstack_capture_debuggee_only to false before running any
DevTools mochitest will ensure async stacks are available for all locations.

Differential Revision: https://phabricator.services.mozilla.com/D81694
2020-06-30 15:45:59 +00:00
Bert Peers
0c6a81a2b3 Bug 1648879 - SWGL on Windows upside down r=lsalzman
Fix ODR violation: type of GLboolean must match gleam, else the unsafe{}
glue code will corrupt the parameters (and go out of bounds in
GetBooleanv). "Composite" was getting a garbage value for "flip".

Differential Revision: https://phabricator.services.mozilla.com/D81618
2020-06-30 00:09:39 +00:00
Simon Fraser
f02cac8eef Bug 1648664 Reduce download concurrency in partials r=aki
Differential Revision: https://phabricator.services.mozilla.com/D81692
2020-06-30 16:34:06 +00:00
Dana Keeler
01d493c65b Bug 1647505 - update the list of Google roots in PreloadedHPKPins.json DONTBUILD NPOTB r=jcj,kjacobs
Differential Revision: https://phabricator.services.mozilla.com/D81626
2020-06-30 16:15:35 +00:00
Edgar Chen
ccfe08a5ac Bug 1630828 - Handle mouseup properly on Mac when ctrl key is pressed; r=NeilDeakin
Differential Revision: https://phabricator.services.mozilla.com/D71338
2020-06-30 10:47:46 +00:00
egao
b78617c46d Bug 1638950 - run mach browsertime with python3 r=sparky
Changes:
  - `mach browsertime` appears to run well on python3 without any changes.

Differential Revision: https://phabricator.services.mozilla.com/D81383
2020-06-29 17:56:58 +00:00
Myeongjun Go
20bcc8c1aa Bug 1633418 - [Perfdocs] Add the ability to include static content into perfdocs r=sparky,perftest-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D80031
2020-06-30 16:35:00 +00:00
Cosmin Sabou
7ece4fe886 Backed out 1 changesets (bug 1648877) for mochitest failures on test_bug1648877_dialog_fullscreen_denied.html. CLOSED TREE
Backed out changeset bfd857646de4 (bug 1648877)
2020-06-30 20:00:28 +03:00
Cosmin Sabou
4a382d7801 Backed out 4 changesets (bug 1640338, bug 1640778) for devtools failures on browser_dbg-toolbox-unselected-pause.js.
Backed out changeset 92cb02f03119 (bug 1640778)
Backed out changeset 6401dd804f28 (bug 1640338)
Backed out changeset cb4edb2627bb (bug 1640338)
Backed out changeset b2394d79f48f (bug 1640338)
2020-06-30 19:59:10 +03:00
Nika Layzell
c47eae6143 Bug 1647557 - Fix toolchain bustage caused by unused variable. CLOSED TREE
Differential Revision: https://phabricator.services.mozilla.com/D81722
2020-06-30 16:01:46 +00:00
Logan Smyth
bbe144a63b Bug 1642397 - Part 3: Show query string in SourcesTree when files conflict. r=jlast,davidwalsh
Differential Revision: https://phabricator.services.mozilla.com/D81268
2020-06-29 18:51:57 +00:00
Logan Smyth
545d9c16ae Bug 1642397 - Part 2: Only pass sources-tree a query param if it should use it. r=jlast,davidwalsh
Differential Revision: https://phabricator.services.mozilla.com/D81267
2020-06-26 20:04:36 +00:00
Logan Smyth
baf16e0a5f Bug 1642397 - Part 1: Handle unparseable URLs more consistently and handle query params. r=jlast,davidwalsh
Differential Revision: https://phabricator.services.mozilla.com/D81266
2020-06-26 19:27:54 +00:00
sefeng
6d945fa759 Bug 1648877 - Deny the fullscreen request if the element is dialog r=smaug
Per fullscreen api spec,
https://fullscreen.spec.whatwg.org/#dom-element-requestfullscreen,
fullscreen request should be denied if the requesting element is
<dialog>

Differential Revision: https://phabricator.services.mozilla.com/D81615
2020-06-30 10:03:04 +00:00
Logan Smyth
bc1239373b Bug 1637883 - Bail on eager eval for same-compartment windows. r=nchevobbe
Differential Revision: https://phabricator.services.mozilla.com/D81382
2020-06-29 05:17:59 +00:00
Brindusan Cristian
cb08871bb0 Backed out changeset 4237adea1a08 (bug 1648373) for dt failures at browser_webconsole_stubs_network_event.js. CLOSED TREE 2020-06-30 18:29:15 +03:00
Yura Zenevich
17dc33c60a Bug 1640778 - remove auto-init experiment code. r=mtigley,devtools-backward-compat-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D77057
2020-06-30 14:53:07 +00:00
Yura Zenevich
cae38c8a67 Bug 1640338 - do not cache current target on proxy accessible, instead always retrieve toolbox's target list's targetFront. r=ochameau
Differential Revision: https://phabricator.services.mozilla.com/D81143
2020-06-26 18:29:53 +00:00
Yura Zenevich
8c1725004b Bug 1640338 - simplify accessibility proxy startup since we no longer need to initialize it until the panel is opened. r=mtigley
Differential Revision: https://phabricator.services.mozilla.com/D77056
2020-06-30 14:53:07 +00:00
Yura Zenevich
770d1a4acd Bug 1640338 - remove accessibliity startup and startup functionality from tool definitions. r=ochameau
Differential Revision: https://phabricator.services.mozilla.com/D77055
2020-06-26 18:29:39 +00:00
Liang-Heng Chen
e46181f357 Bug 1649265 - Document::SetDomain should apply to all principals; r=baku
Differential Revision: https://phabricator.services.mozilla.com/D81708
2020-06-30 14:47:00 +00:00
Dimi Lee
394b7b3836 Bug 1622212 - P3. Unblock callback should always have storage access. r=baku
Depends on D78635

Differential Revision: https://phabricator.services.mozilla.com/D81671
2020-06-30 14:39:48 +00:00
Dimi Lee
056a7144b6 Bug 1622212 - P2. Add a testcase r=baku,englehardt
Depends on D78634

Differential Revision: https://phabricator.services.mozilla.com/D78635
2020-06-30 14:39:44 +00:00
Dimi Lee
70cfab7554 Bug 1622212 - P1. Always use ContentBlocking::ShouldAllowAccessFor to set mStorageAccessPermissionGranted flag r=baku
The mStorageAccessPermissionGranted variable determins the result of
HasStorageAccess API, which should sync with the result of the
ContentBlocking::ShouldAllowAccessFor.

This patch removes using nsGloWindowOuter's logic and alwasys use
ShouldAllowAccessFor while creating a new document.

Differential Revision: https://phabricator.services.mozilla.com/D78634
2020-06-30 14:39:36 +00:00
Vlad Filippov
fda2fee4d0 Bug 1642556 - Write a sync log after sending a tab. r=markh
Differential Revision: https://phabricator.services.mozilla.com/D81191
2020-06-30 14:29:11 +00:00
Ricky Stewart
01f005d7d7 Bug 1647830 - Users trying to build Firefox for Android on Windows should get a warning in bootstrap and configure r=nalexander
We get a lot of bugs about building Firefox for Android not working, and there's been ongoing confusion about whether this is something that does work or who has ever worked. The warning should hopefully clarify the current situation for people.

Differential Revision: https://phabricator.services.mozilla.com/D81585
2020-06-29 22:36:02 +00:00
Simon Giesecke
56ce33133e Bug 1644379 - Change DecodeString to return string by value. r=dom-workers-and-storage-reviewers,asuth
Differential Revision: https://phabricator.services.mozilla.com/D78881
2020-06-30 10:03:11 +00:00
Simon Giesecke
0f183e6ce2 Bug 1644379 - Move ConvertArrayValueToKey to cpp file. r=dom-workers-and-storage-reviewers,asuth
Differential Revision: https://phabricator.services.mozilla.com/D78880
2020-06-30 10:02:53 +00:00