Commit Graph

717730 Commits

Author SHA1 Message Date
Simon Giesecke
e1f0ac0514 Bug 1652409 - Ensure that a corrupted file encountered during ReadCompressedNumber does not cause an assertion failure. r=dom-workers-and-storage-reviewers,janv
Differential Revision: https://phabricator.services.mozilla.com/D83300
2020-07-13 12:32:06 +00:00
Bogdan Tara
6faddf7d8f Backed out changeset 1a0f002865d3 (bug 1650919) for test_deprecated.html failures CLOSED TREE 2020-07-13 19:22:21 +03:00
Bogdan Tara
00004145e8 Merge mozilla-central to autoland a=merge on a CLOSED TREE 2020-07-13 19:01:45 +03:00
Bogdan Tara
87e6851f48 Merge autoland to mozilla-central a=merge 2020-07-13 18:59:22 +03:00
Byron Campen [:bwc]
7d8edb8e41 Bug 1648848: Lock mTransportMonitor inside AddFrameHistory. r=ng
Differential Revision: https://phabricator.services.mozilla.com/D82063
2020-07-13 15:26:19 +00:00
Emilio Cobos Álvarez
61befc8e91 Bug 1650703 - Don't double-apply text zoom for <select> popups. r=Gijs
The computed font-size already has the zoom value in that case.

Differential Revision: https://phabricator.services.mozilla.com/D83275
2020-07-13 10:36:09 +00:00
Tomislav Jovanovic
0d4b27f0d1 Bug 1587541 - Make tab.executeScript, insertCSS, removeCSS Fission compatible r=rpl
Differential Revision: https://phabricator.services.mozilla.com/D81772
2020-07-13 10:28:42 +00:00
Sebastian Hengst
002cdf9831 Bug 1651807 - CLOBBER because build system regards file as missing which got moved in bug 1618465. DONTBUILD a=clobber 2020-07-13 12:28:32 +02:00
Bogdan Tara
51562a8355 Backed out changeset 73b12096811d (bug 1644896) for mochitest crashes CLOSED TREE 2020-07-13 12:32:28 +03:00
Narcis Beleuzu
8981494089 Backed out 5 changesets (bug 1646899) for mochitest failures on DocumentLoadListener.cpp . CLOSED TREE
Backed out changeset f41ac122a801 (bug 1646899)
Backed out changeset 86a5e0827050 (bug 1646899)
Backed out changeset d2fd0f955e24 (bug 1646899)
Backed out changeset 7a7194146fe1 (bug 1646899)
Backed out changeset 4731d76dae88 (bug 1646899)
2020-07-13 05:43:30 +03:00
Narcis Beleuzu
895e17157a Backed out changeset aeaa527e6119 (bug 1587541) for mochitest failures on test_chrome_ext_contentscript_telemetry.html . CLOSED TREE 2020-07-13 05:28:48 +03:00
Marcos Cáceres
a1ea15806f Bug 1616863 - Fix Payment Request dialog container style r=MattN
Bring the payment sheet back up, gives us something visual to work from.

Differential Revision: https://phabricator.services.mozilla.com/D82654
2020-07-13 01:06:27 +00:00
Masayuki Nakano
e0fab23e4d Bug 1649980 - part 3: Make WSRunScanner store white-space sequence data with a TextFragmentData instance r=m_kato
This patch makes `WSRunScanner` have `TextFragmentData const mTextFragmentData`
instead of 2 `BoundaryData`s, a `NoBreakingSpaceData` and a `bool` storing
whether it's preformatted or not.

Depends on D82694

Differential Revision: https://phabricator.services.mozilla.com/D82695
2020-07-13 01:30:11 +00:00
Mihai Alexandru Michis
ce67650fd6 Backed out changeset e95324121fde (bug 1625909) for causing multiple devtool failures. 2020-07-13 04:20:41 +03:00
Dan Glastonbury
a82dc8dfff Bug 1646899 - P5: Fix test_bug375314. r=heycam
Move check from content to parent process.

Differential Revision: https://phabricator.services.mozilla.com/D80408
2020-07-13 00:49:04 +00:00
Dan Glastonbury
f5fd7b3d97 Bug 1646899 - P4: Handle object & embed via DocumentChannel. r=mattwoodrow,jya
Pass internal content policy type to DLL and switch behavior depending on type
being loaded. This implementation immediately redirects channel back to the
content process for further handling.

Differential Revision: https://phabricator.services.mozilla.com/D80407
2020-07-13 00:48:57 +00:00
Dan Glastonbury
8847465b59 Bug 1646899 - P3: Modify CanUseDocumentChannel to take necessary vars. r=mattwoodrow
Allows checking if DocumentChannel can be used with out creating an
nsDocShellLoadState object.

Differential Revision: https://phabricator.services.mozilla.com/D80406
2020-07-13 00:48:54 +00:00
Dan Glastonbury
6bc2c8f1eb Bug 1646899 - P2: Use named factories to create LoadInfo. r=mattwoodrow
LoadInfo has a number of constructors intended to be used in different contexts.
Add named factory functions to make it clearer in which context the returns
LoadInfo is being used.

Differential Revision: https://phabricator.services.mozilla.com/D80405
2020-07-13 00:48:52 +00:00
Dan Glastonbury
98dc480963 Bug 1646899 - P1: Deduplicate initialization of LoadInfo default values. r=necko-reviewers,dragana
LoadInfo has a lot of state. Simplify initialization so most have one definition
of truth.

Differential Revision: https://phabricator.services.mozilla.com/D80404
2020-07-13 00:48:45 +00:00
Jonathan Watt
b800c4c54e Bug 1652344 p3. Stop creating an nsIPrintSettings in nsGlobalWindowOuter::PrintOuter. r=bobowen
The fallback code in nsPrintJob::DoCommonPrint to create an nsIPrintSettings if
none is passed in is never used, since all callers pass a settings object.
However, to simplify future changes I'd like nsGlobalWindowOuter::PrintOuter to
stop creating and passing in its own default valued nsIPrintSettings object.

This patch makes the fallback code that DoCommonPrint calls do what
nsGlobalWindowOuter::PrintOuter does, and makes the latter stop passing in a
settings object.

This patch also removes nsIWebBrowserPrint.globalPrintSettings since
nsGlobalWindowOuter::PrintOuter was its only consumer.

Differential Revision: https://phabricator.services.mozilla.com/D83268
2020-07-13 00:22:28 +00:00
Jonathan Watt
dc75460193 Bug 1652344 p2. Fix the print settings creation in the print preview tests. r=hiro
nsIWebBrowserPrint.globalPrintSettings returns a new object each time.  That is
why the code in these tests doesn't work, and why they have the workaround to
set the pref to disable the progress dialog. This patch fixes the code and
removes the prefs setting workaround.

This patch also changes the code to use the print settings service to get the
print settings.  That's all that nsIWebBrowserPrint.globalPrintSettings does
anyway.  Making this change allows me to remove
nsIWebBrowserPrint.globalPrintSettings in the next patch.

Differential Revision: https://phabricator.services.mozilla.com/D83279
2020-07-13 00:30:00 +00:00
Tomislav Jovanovic
d1e60a800a Bug 1587541 - Make tab.executeScript, insertCSS, removeCSS Fission compatible r=rpl
Differential Revision: https://phabricator.services.mozilla.com/D81772
2020-07-13 00:32:43 +00:00
Hubert Boma Manilla
9bcb3649ef Bug 1625909 - Use the ResourceWatcher API to fetch Network Events r=ochameau,Honza,nchevobbe
This patch migrates to using the Resource Watcher API to handle Network events, it adds a legacy listeners for the network events

Differential Revision: https://phabricator.services.mozilla.com/D71543
2020-07-12 20:38:06 +00:00
Jonathan Watt
185c6d1087 Bug 1652344 p1. Remove the code in nsGlobalWindowOuter::PrintOuter for handling failure to get an nsIPrintSettingsService. r=bobowen
All our backends implement nsIPrintSettingsService, so this code is unused.

Differential Revision: https://phabricator.services.mozilla.com/D83267
2020-07-12 19:32:25 +00:00
Harry Twyford
2ac85191d6 Bug 1648468 - Part 7 - Temporarily disable test_keywords.js on Linux to resolve bug 1474616. r=mak
Differential Revision: https://phabricator.services.mozilla.com/D83272
2020-07-12 21:55:25 +00:00
Harry Twyford
f9ae9c43a1 Bug 1648468 - Part 6 - Resolve a11y focus issue causing a failure in browser_test_focus_urlbar.js. r=adw
The line that adds `suggestedIndex` in the test should also fix bug 1652138.

Differential Revision: https://phabricator.services.mozilla.com/D83244
2020-07-12 21:55:25 +00:00
Harry Twyford
370555942c Bug 1648468 - Part 5 - Move some deduping code from UnifiedComplete to the UrlbarMuxer. r=adw,mak
Differential Revision: https://phabricator.services.mozilla.com/D82800
2020-07-12 21:55:25 +00:00
Harry Twyford
2e97219404 Bug 1648468 - Part 4 - Port autofill unit tests to browser/components/urlbar. r=adw
Differential Revision: https://phabricator.services.mozilla.com/D82237
2020-07-12 21:55:24 +00:00
Harry Twyford
e6650028ab Bug 1648468 - Part 3 - Allow UrlbarProviderTokenAliasEngines to provide its own heuristic result. r=adw
Differential Revision: https://phabricator.services.mozilla.com/D82236
2020-07-12 21:55:24 +00:00
Harry Twyford
6b7fb22319 Bug 1648468 - Part 2 - Dedupe results matching autofill in the muxer. r=adw
Differential Revision: https://phabricator.services.mozilla.com/D82235
2020-07-12 21:55:24 +00:00
Harry Twyford
1868c41333 Bug 1648468 - Part 1 - Create UrlbarProviderAutofill.jsm. r=adw
Differential Revision: https://phabricator.services.mozilla.com/D82234
2020-07-12 21:55:24 +00:00
Marco Bonardo
595dcb2420 Bug 1650099 - Unify UrlbarProviders logger boilerplate. r=adw
Differential Revision: https://phabricator.services.mozilla.com/D82939
2020-07-12 19:54:09 +00:00
Harry Twyford
dccd26f8a7 Bug 1645324 - Move the omnibox heuristic result to the omnibox provider. r=adw
Differential Revision: https://phabricator.services.mozilla.com/D80295
2020-07-12 19:54:09 +00:00
Harry Twyford
e0287bb730 Bug 1645521 - Part 3 - Port unifiedcomplete tests. r=adw
Differential Revision: https://phabricator.services.mozilla.com/D80294
2020-07-12 17:35:02 +00:00
Harry Twyford
12102e198f Bug 1645521 - Part 2 - Allow for multiple heuristic providers and enable ProviderHeuristicFallback. r=adw
Differential Revision: https://phabricator.services.mozilla.com/D80293
2020-07-12 17:35:01 +00:00
Harry Twyford
a83b16bdc1 Bug 1645521 - Part 1 - Add ProviderHeuristicFallback. r=adw
Differential Revision: https://phabricator.services.mozilla.com/D80291
2020-07-12 17:35:01 +00:00
Harry Twyford
b75a8887f0 Bug 1647881 - Store only a subset of fixupInfo in the queryContext. r=mak
Differential Revision: https://phabricator.services.mozilla.com/D80904
2020-07-12 20:04:51 +00:00
Mihai Alexandru Michis
c6f6f8daa2 Backed out 2 changesets (bug 1652344) for causing failures in test_printpreview.xhtml
CLOSED TREE

Backed out changeset d2b66d810ab5 (bug 1652344)
Backed out changeset 075903436ef2 (bug 1652344)
2020-07-13 01:21:28 +03:00
Matt Woodrow
3a2853e4cf Bug 1649349 - Don't delay rejecting DocumentLoadListener's Open promise when we switch process. r=jya
Differential Revision: https://phabricator.services.mozilla.com/D81648
2020-07-12 22:50:34 +00:00
Matthew Noorenberghe
f4f99ace22 Bug 1651186 - Use getLoginOrigin to remove the path from file: URIs for pwmgr. r=severin
Differential Revision: https://phabricator.services.mozilla.com/D82593
2020-07-12 20:22:02 +00:00
Jonathan Watt
44ed5abb22 Bug 1652344 p2. Stop creating an nsIPrintSettings in nsGlobalWindowOuter::PrintOuter. r=bobowen
The fallback code in nsPrintJob::DoCommonPrint to create an nsIPrintSettings if
none is passed in is never used, since all callers pass a settings object.
However, to simplify future changes I'd like nsGlobalWindowOuter::PrintOuter to
stop creating and passing in its own default valued nsIPrintSettings object.

This patch makes the fallback code that DoCommonPrint calls do what
nsGlobalWindowOuter::PrintOuter does, and makes the latter stop passing in a
settings object.

This patch also removes nsIWebBrowserPrint.globalPrintSettings since
nsGlobalWindowOuter::PrintOuter was its only consumer.

Differential Revision: https://phabricator.services.mozilla.com/D83268
2020-07-12 19:33:49 +00:00
Jonathan Watt
b850705cc7 Bug 1652344 p1. Remove the code in nsGlobalWindowOuter::PrintOuter for handling failure to get an nsIPrintSettingsService. r=bobowen
All our backends implement nsIPrintSettingsService, so this code is unused.

Differential Revision: https://phabricator.services.mozilla.com/D83267
2020-07-12 19:32:25 +00:00
Jonathan Watt
101951821c Bug 1652342. Move the print settings handling code in nsPrintJob::DoCommonPrint to after the static cloning. r=bobowen
In preparation for spliting DoCommonPrint.

Differential Revision: https://phabricator.services.mozilla.com/D83266
2020-07-12 19:29:30 +00:00
Narcis Beleuzu
8e31f424cf Backed out changeset 60840d7cfef1 (bug 1587541) for Documentation opt failure. CLOSED TREE 2020-07-12 22:46:00 +03:00
Tomislav Jovanovic
17939666b8 Bug 1587541 - Make tab.executeScript, insertCSS, removeCSS Fission compatible r=rpl
Differential Revision: https://phabricator.services.mozilla.com/D81772
2020-07-12 17:11:58 +00:00
Sylvestre Ledru
f7a0736a34 Bug 1617369 - Reformat recent rust changes with rustfmt r=emilio
# ignore-this-changeset

Differential Revision: https://phabricator.services.mozilla.com/D83259
2020-07-12 17:01:13 +00:00
Emilio Cobos Álvarez
667c41d502 Bug 1652155 - Fix document check in Document::TopLayerPop. r=edgar
Top layer / fullscreen should work in shadow dom. This check is off
compared to literally every other fullscreen check.

The test is pretty gross, but not my fault, see the comment in there :)

Differential Revision: https://phabricator.services.mozilla.com/D83198
2020-07-12 16:49:10 +00:00
Jonathan Watt
7e3e095b25 Bug 1652322. Stop nsPrintJob::DoCommonPrint using its arguments after it creates the static clone. r=bobowen
I'm going to be splitting DoCommonPrint so that the parts that run after the
static clone is created happen after a roundtrip to the parent process.

Differential Revision: https://phabricator.services.mozilla.com/D83262
2020-07-12 16:36:27 +00:00
Jonathan Watt
0d3ea503ee Bug 1652318. Freeze docshell tree navigation at the same time for both print and print preview. r=bobowen
I specifically want to move this to happen before the static clone is made, in
preparation for splitting out the static clone logic from DoCommonPrint.

Differential Revision: https://phabricator.services.mozilla.com/D83260
2020-07-12 16:34:03 +00:00
Csoregi Natalia
3fbf9ffad9 Backed out 3 changesets (bug 1652322, bug 1652337, bug 1652318) for failures on browser_DownloadPDFSaver.js. CLOSED TREE
Backed out changeset 7d6fb29b9f05 (bug 1652337)
Backed out changeset aab6c9ae9bec (bug 1652322)
Backed out changeset 90685cf5aa28 (bug 1652318)
2020-07-12 19:30:47 +03:00