Граф коммитов

717655 Коммитов

Автор SHA1 Сообщение Дата
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
Andreea Pavel 6ab54edd35 Bug 1651858 - update observe.html expectancy on android r=jmaher
Differential Revision: https://phabricator.services.mozilla.com/D83254
2020-07-12 10:57:15 +00:00
Razvan Maries 92f3190a0c Bug 1604202 - Disabled browser_net_websocket_stacks.js on all platforms. r=jmaher
Differential Revision: https://phabricator.services.mozilla.com/D83253
2020-07-12 10:56:39 +00:00
Csoregi Natalia b74c685d0f Backed out 6 changesets (bug 1650099, bug 1647881, bug 1645521, bug 1645324) for causing Bug 1652024.
Backed out changeset f66c5cce9088 (bug 1650099)
Backed out changeset bf67c2159244 (bug 1645324)
Backed out changeset 76d81e1e728b (bug 1645521)
Backed out changeset ab3766fa81f9 (bug 1645521)
Backed out changeset ff56bb6cbfb7 (bug 1645521)
Backed out changeset aceb6f9acf3b (bug 1647881)
2020-07-12 17:58:28 +03:00
James Teh eee112f8f9 Bug 1647666: test_doc_busy.html: Handle the case where the busy change and not-busy change events are coalesced out of existence. r=yzen
Also removed debug logging, as well as about:blank check which turned out not to be the cause of the timeout.

Differential Revision: https://phabricator.services.mozilla.com/D82137
2020-07-12 14:56:23 +00:00
Jonathan Watt 90ba304cdb Bug 1652337. Prevent script from calling nsIWebBrowserPrint.print(). r=bobowen
Differential Revision: https://phabricator.services.mozilla.com/D83264
2020-07-12 14:40:50 +00:00
Jonathan Watt 1cf2b1f72e 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 14:40:50 +00:00
Jonathan Watt c3822cef03 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 14:40:14 +00:00
Jonathan Kew 60d76d2989 Bug 1646639 - Add collection of testcases here as a WPT reftest. r=dholbert
We get a small amount of antialiasing-related "fuzz" on some platforms,
so those are noted in the corresponding .ini files.

Differential Revision: https://phabricator.services.mozilla.com/D82893
2020-07-12 10:05:33 +00:00
Jonathan Kew b56c4b385c Bug 1646639 - Don't recursively apply the line's start-offset and text-indent to children of a first-line frame. r=dholbert
But do apply any adjustment needed for text-align to the first-line frame itself.

Differential Revision: https://phabricator.services.mozilla.com/D82725
2020-07-11 22:52:41 +00:00
Jonathan Watt 7738e40fdd Bug 1652265. Add a more helpful comment to nsPrintJob::Observe. r=bobowen
Differential Revision: https://phabricator.services.mozilla.com/D83246
2020-07-11 22:34:38 +00:00
Csoregi Natalia af5cff556a Backed out 6 changesets (bug 1648468) for failures on test_keywords.js. CLOSED TREE
Backed out changeset 918db5010acb (bug 1648468)
Backed out changeset 91a4b5b593bf (bug 1648468)
Backed out changeset 3bded27be98e (bug 1648468)
Backed out changeset 60a36d4424df (bug 1648468)
Backed out changeset 1edf02398318 (bug 1648468)
Backed out changeset ebac9fb9da0d (bug 1648468)
2020-07-12 09:03:53 +03:00
Harry Twyford daefa9ecc0 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 02:28:07 +00:00
Harry Twyford d7e9c8e70f 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-11 22:53:07 +00:00
Harry Twyford 90b04e45ef Bug 1648468 - Part 4 - Port autofill unit tests to browser/components/urlbar. r=adw
Differential Revision: https://phabricator.services.mozilla.com/D82237
2020-07-11 22:53:09 +00:00
Harry Twyford b2ff98e2f8 Bug 1648468 - Part 3 - Allow UrlbarProviderTokenAliasEngines to provide its own heuristic result. r=adw
Differential Revision: https://phabricator.services.mozilla.com/D82236
2020-07-11 22:53:11 +00:00
Harry Twyford ec02dade55 Bug 1648468 - Part 2 - Dedupe results matching autofill in the muxer. r=adw
Differential Revision: https://phabricator.services.mozilla.com/D82235
2020-07-11 22:53:03 +00:00
Harry Twyford ce7998586e Bug 1648468 - Part 1 - Create UrlbarProviderAutofill.jsm. r=adw
Differential Revision: https://phabricator.services.mozilla.com/D82234
2020-07-11 22:53:00 +00:00
Razvan Maries edd6936d05 Backed out changeset b932e78a6bbc (bug 1591678) as per Andrew's request. 2020-07-12 05:22:58 +03:00
Razvan Maries d80f844cba Backed out 2 changesets (bug 1646639) for perma failures on first-line-bidi-002.html. CLOSED TREE
Backed out changeset e1d587422484 (bug 1646639)
Backed out changeset 5caaf51dac99 (bug 1646639)
2020-07-12 01:34:31 +03:00
Razvan Maries 911baac099 Backed out 6 changesets (bug 1648468) for perma failures on browser_test_focus_urlbar.js. CLOSED TREE
Backed out changeset 60b6915e8037 (bug 1648468)
Backed out changeset fc7a6b8f84a2 (bug 1648468)
Backed out changeset 97c7475abf85 (bug 1648468)
Backed out changeset bb37a0821844 (bug 1648468)
Backed out changeset 10447a3e04ff (bug 1648468)
Backed out changeset 69a210ce0e9a (bug 1648468)
2020-07-12 01:31:42 +03:00