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

23682 Коммитов

Автор SHA1 Сообщение Дата
Andreea Pavel 2d1453c463 Bug 1549985 - update disabling condition for browser_tabCloseSpacer.js to include osx r=jmaher DONTBUILD
Differential Revision: https://phabricator.services.mozilla.com/D88197
2020-08-25 21:23:52 +00:00
Emilio Cobos Álvarez 044b3c4332 Bug 1636728 - Centralize printing entry points in nsGlobalWindowOuter, and move cloning out of nsPrintJob. r=jwatt,geckoview-reviewers,smaug,agi
This centralizes our print and preview setup in nsGlobalWindowOuter so
that we never re-clone a clone, and so that we reuse the window.open()
codepath to create the browsing context to clone into.

For window.print, for both old print dialog / silent printing and new
print preview UI, we now create a hidden browser (as in with visibility:
collapse, which takes no space but still gets a layout box).

 * In the modern UI case, this browser is swapped with the actual print
   preview clone, and the UI takes care of removing the browser.

 * In the print dialog / silent printing case, the printing code calls
   window.close() from nsDocumentViewer::OnDonePrinting().

 * We don't need to care about the old print preview UI for this case
   because it can't be open from window.print().

We need to fall back to an actual window when there's no
nsIBrowserDOMWindow around for WPT print tests and the like, which don't
have one. That seems fine, we could special-case this code path more if
needed but it doesn't seem worth it.

Differential Revision: https://phabricator.services.mozilla.com/D87063
2020-08-25 17:45:12 +00:00
Neil Deakin 3bcbd15d51 Bug 1614761, move refresh blocking handling from framescript to an actor, r=Gijs
Differential Revision: https://phabricator.services.mozilla.com/D87206
2020-08-25 10:21:38 +00:00
Mark Striemer 596793feda Bug 1654962 - Size tab modal print UI to available window size r=Gijs,sfoster,emalysz,pbz
Differential Revision: https://phabricator.services.mozilla.com/D86037
2020-08-24 21:00:36 +00:00
Gijs Kruitbosch 603d7b7137 Bug 1660608 - fix plugin crash notification bar message for GMP crashes to include plugin name, r=mconley
The test abstraction meant we missed that this broke in the refactor. This
fixes the bug and makes sure the test actually tests it.

Differential Revision: https://phabricator.services.mozilla.com/D88012
2020-08-24 16:48:27 +00:00
Joel Maher bbef58adcc Bug 1660590 - add expectations to browser_startup_syncIPC.js to work on windows10 hardware. r=Gijs
add expectations to browser_startup_syncIPC.js to pass on windows10 hardware.

Differential Revision: https://phabricator.services.mozilla.com/D87939
2020-08-24 11:39:12 +00:00
Joel Maher 66ed7f07fc Bug 1660582 - Add expected file access to browser_startup_mainthreadio.js while running on windows10 hardware. r=Gijs
Add expected file access to browser_startup_mainthreadio.js while running on windows10 hardware

Differential Revision: https://phabricator.services.mozilla.com/D87938
2020-08-24 11:38:58 +00:00
Joel Maher b0af2e5f20 Bug 1660480 - Add expected read access for ShaderCache in browser_startup_content_mainthreadio.js. r=Gijs
Add expected read access for ShaderCache in browser_startup_content_mainthreadio.js

Differential Revision: https://phabricator.services.mozilla.com/D87929
2020-08-24 11:39:18 +00:00
Jared Wein 659900f484 Bug 1656494 - Add tests for default browser notification bar. r=Gijs
Differential Revision: https://phabricator.services.mozilla.com/D87804
2020-08-23 22:47:00 +00:00
Jared Wein 80dedf4123 Bug 1656494 - Style changes for larger notification bar. r=ntim
Differential Revision: https://phabricator.services.mozilla.com/D87492
2020-08-23 22:24:20 +00:00
Jared Wein 6c6d41cb43 Bug 1656494 - Show the default browser notification on the first New Tab Page of a session. r=Gijs,fluent-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D87490
2020-08-23 22:24:05 +00:00
Noemi Erli cad3633ca8 Backed out 5 changesets (bug 1656494) for causing failures in browser_all_files_referenced.js
Backed out changeset 4c4a5066876f (bug 1656494)
Backed out changeset 8017af5da26a (bug 1656494)
Backed out changeset 8b6aa5d6dae2 (bug 1656494)
Backed out changeset 0588b4cf76ec (bug 1656494)
Backed out changeset 8a88718e4ec3 (bug 1656494)
2020-08-24 00:01:04 +03:00
Jared Wein 046f2cfd9d Bug 1656494 - Add tests for default browser notification bar. r=Gijs
Differential Revision: https://phabricator.services.mozilla.com/D87804
2020-08-23 19:03:11 +00:00
Jared Wein 17a5a4bafb Bug 1656494 - Style changes for larger notification bar. r=ntim
Differential Revision: https://phabricator.services.mozilla.com/D87492
2020-08-23 08:01:02 +00:00
Jared Wein 1e92a26a92 Bug 1656494 - Show the default browser notification on the first New Tab Page of a session. r=Gijs,fluent-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D87490
2020-08-23 08:01:12 +00:00
Cristina Coroiu 09e50d2ff3 Backed out 5 changesets (bug 1656494) for browser-chrome failures at browser/base/content/test/about/browser_aboutNewTab_defaultBrowserNotification.js
Backed out changeset 2ec1967f17c1 (bug 1656494)
Backed out changeset 90d378b5aab9 (bug 1656494)
Backed out changeset 0e8cadf60b6a (bug 1656494)
Backed out changeset a980956c1ddf (bug 1656494)
Backed out changeset 0208b2ba6a6f (bug 1656494)
2020-08-23 10:56:06 +03:00
Jared Wein 2316254406 Bug 1656494 - Add tests for default browser notification bar. r=Gijs
Differential Revision: https://phabricator.services.mozilla.com/D87804
2020-08-23 06:57:29 +00:00
Jared Wein 410fe143f2 Bug 1656494 - Style changes for larger notification bar. r=ntim
Differential Revision: https://phabricator.services.mozilla.com/D87492
2020-08-23 06:57:11 +00:00
Jared Wein db18b40ed8 Bug 1656494 - Show the default browser notification on the first New Tab Page of a session. r=Gijs,fluent-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D87490
2020-08-23 06:57:00 +00:00
Emma Malysz 511f442a94 Bug 1659859, make sure printing from context menu uses correct pref value r=mstriemer
Differential Revision: https://phabricator.services.mozilla.com/D87778
2020-08-21 23:33:17 +00:00
Dan Mosedale 147ed3c440 Bug 1643776 - Add Alpenglow theme, r=dmose,rpl,flod
Differential Revision: https://phabricator.services.mozilla.com/D86058
2020-08-21 17:20:07 +00:00
Mihai Alexandru Michis 3e266b539c Backed out changeset 80e6be24260d (bug 1654962) for causing bc failures in browser_modal_print.js
CLOSED TREE
2020-08-21 17:47:07 +03:00
Mark Striemer 223bb33a6c Bug 1654962 - Size tab modal print UI to available window size r=Gijs,sfoster,emalysz,pbz
Differential Revision: https://phabricator.services.mozilla.com/D86037
2020-08-21 13:55:15 +00:00
Sebastian Hengst 0f2aef673e Backed out changeset 809409c1751f (bug 1623856) due to behavior change of feature widely used by developers.
See bug 1659473 for more discussion.
2020-08-21 15:51:50 +02:00
Razvan Maries 15cd0824da Backed out changeset 2f4bf8bab6cf (bug 1643776) for causing bug 1660323. CLOSED TREE 2020-08-21 04:34:24 +03:00
Dan Mosedale eb0f5b96d9 Bug 1643776 - Add Alpenglow theme, r=dmose,rpl,flod
Differential Revision: https://phabricator.services.mozilla.com/D86058
2020-08-21 00:43:03 +00:00
Razvan Maries 5746cb6bd9 Backed out changeset 2a1fa73b1a63 (bug 1643776) for perma failures on browser_all_files_referenced.js. CLOSED TREE 2020-08-21 01:02:18 +03:00
Dan Mosedale a33a060360 Bug 1643776 - Add Alpenglow theme r=dmose,rpl,flod
Differential Revision: https://phabricator.services.mozilla.com/D86058
2020-08-20 21:04:57 +00:00
Razvan Maries 6bd97d7a62 Backed out changeset 6ffb6196daf7 (bug 1643776) for perma failures on browser_all_files_referenced.js. CLOSED TREE 2020-08-20 22:26:31 +03:00
Dan Mosedale 84eb4977dc Bug 1643776 - Add Alpenglow theme r=dmose,rpl,flod
Differential Revision: https://phabricator.services.mozilla.com/D86058
2020-08-20 17:52:09 +00:00
Emilio Cobos Álvarez 0ec64c5610 Bug 1660291 - Make print frame in the context menu use the new print UI when appropriate. r=nordzilla
I had to make printing subframes work with the new UI for
window.print(), we may as well use it.

Differential Revision: https://phabricator.services.mozilla.com/D87785
2020-08-20 17:48:10 +00:00
Mark Banner 0542586f06 Bug 1656220 - Implement recording attributions for search engines. r=dao
Differential Revision: https://phabricator.services.mozilla.com/D87501
2020-08-20 12:58:23 +00:00
Cristina Coroiu 3a18ab95b5 Backed out 2 changesets (bug 1656220, bug 1656219) for browser-chrome failures at browser_UsageTelemetry_urlbar.js and browser_oneOffs.js on a CLOSED TREE
Backed out changeset bf68aec38a05 (bug 1656220)
Backed out changeset 706d2900077b (bug 1656219)
2020-08-20 14:15:07 +03:00
Mark Banner 21253cfa1a Bug 1656220 - Implement recording attributions for search engines. r=dao
Differential Revision: https://phabricator.services.mozilla.com/D87501
2020-08-20 09:06:59 +00:00
Jan-Ivar Bruaroey 50f3635eb9 Bug 1652884 - Test combination of disabling track & muting camera. r=padenot
Differential Revision: https://phabricator.services.mozilla.com/D84268
2020-08-19 22:18:07 +00:00
Jan-Ivar Bruaroey c79d3ea44b Bug 1652884 - Test that mute/unmute track events fire from UA muting camera. r=padenot
Differential Revision: https://phabricator.services.mozilla.com/D84243
2020-08-19 22:18:11 +00:00
Jan-Ivar Bruaroey 6c76cfdfca Bug 1652884 - Test browser muting/unmuting of camera. r=padenot
Differential Revision: https://phabricator.services.mozilla.com/D84223
2020-08-19 22:18:15 +00:00
Bogdan Tara 30eb420e4a Backed out 14 changesets (bug 1652884) for test_peerConnection_trackDisabling.html failures CLOSED TREE
Backed out changeset f83951453e94 (bug 1652884)
Backed out changeset fc697986d538 (bug 1652884)
Backed out changeset 20a10128b5e1 (bug 1652884)
Backed out changeset c99c32323c76 (bug 1652884)
Backed out changeset 991e8975f03d (bug 1652884)
Backed out changeset 9e9511e32cdd (bug 1652884)
Backed out changeset 605c1ac3081a (bug 1652884)
Backed out changeset dd6edf636659 (bug 1652884)
Backed out changeset 74a2f5a9eea2 (bug 1652884)
Backed out changeset b9f419aed12d (bug 1652884)
Backed out changeset 84e82e25929f (bug 1652884)
Backed out changeset 876dbad27af5 (bug 1652884)
Backed out changeset 8f60e3af2a19 (bug 1652884)
Backed out changeset de7537bda499 (bug 1652884)
2020-08-20 01:13:29 +03:00
Jan-Ivar Bruaroey 085f0fe3e1 Bug 1652884 - Test combination of disabling track & muting camera. r=padenot
Differential Revision: https://phabricator.services.mozilla.com/D84268
2020-08-19 19:30:49 +00:00
Jan-Ivar Bruaroey 14d93f2803 Bug 1652884 - Test that mute/unmute track events fire from UA muting camera. r=padenot
Differential Revision: https://phabricator.services.mozilla.com/D84243
2020-08-19 19:30:48 +00:00
Jan-Ivar Bruaroey 5a903e491c Bug 1652884 - Test browser muting/unmuting of camera. r=padenot
Differential Revision: https://phabricator.services.mozilla.com/D84223
2020-08-19 19:30:47 +00:00
Mark Striemer e075211be5 Bug 1653317 - Use TabDialogBox for tab modal print UI r=Gijs,pbz
Differential Revision: https://phabricator.services.mozilla.com/D86597
2020-08-19 20:04:52 +00:00
Bogdan Tara fd6c09249f Backed out 14 changesets (bug 1652884) for VideoFrameConverter related failures CLOSED TREE
Backed out changeset 28c4e8c373f0 (bug 1652884)
Backed out changeset 658ba8f39abe (bug 1652884)
Backed out changeset 8e67fe040e4a (bug 1652884)
Backed out changeset 6f5833203763 (bug 1652884)
Backed out changeset 569ff85dfc2e (bug 1652884)
Backed out changeset eaa171643447 (bug 1652884)
Backed out changeset 6b37b60b6662 (bug 1652884)
Backed out changeset 438cce7456fb (bug 1652884)
Backed out changeset e6ed13952b67 (bug 1652884)
Backed out changeset e0b1266231bf (bug 1652884)
Backed out changeset 32f4aae2b5fe (bug 1652884)
Backed out changeset 76b4abccd61b (bug 1652884)
Backed out changeset 9010365ffa66 (bug 1652884)
Backed out changeset 763f39eb5c13 (bug 1652884)
2020-08-19 22:21:31 +03:00
lougeniac64 16418eddeb Bug 1657463 - Allow users to delete their data when signing out r=markh,fluent-reviewers,flod
Differential Revision: https://phabricator.services.mozilla.com/D86065
2020-08-19 04:55:51 +00:00
Jan-Ivar Bruaroey f3fd0b5d66 Bug 1652884 - Test combination of disabling track & muting camera. r=padenot
Differential Revision: https://phabricator.services.mozilla.com/D84268
2020-08-19 14:03:26 +00:00
Jan-Ivar Bruaroey 67fdc2c0a2 Bug 1652884 - Test that mute/unmute track events fire from UA muting camera. r=padenot
Differential Revision: https://phabricator.services.mozilla.com/D84243
2020-08-19 14:03:17 +00:00
Jan-Ivar Bruaroey a27d031cb6 Bug 1652884 - Test browser muting/unmuting of camera. r=padenot
Differential Revision: https://phabricator.services.mozilla.com/D84223
2020-08-19 14:28:34 +00:00
Emilio Cobos Álvarez f04cda9679 Bug 1602410 - Make window.print() work with tab-modal printing. r=nika,geckoview-reviewers,agi
Do this by spinning the event loop until we've done the clone for
preview as appropriate.

This should be much less risky than finishing the previous patches
which would still be nice, but realistically landing them for 81 is not
going to happen.

This just returns without doing nothing in a couple cases, like when
there's already another modal dialog or such. That seems acceptable to
me, it's not clear what better way to do would be.

Differential Revision: https://phabricator.services.mozilla.com/D87484
2020-08-19 09:27:18 +00:00
Sonia Singla 5f5c9fd7f2 Bug 1659267 - Remove usages of -moz-user-select across the Firefox codebase. r=emilio,marionette-reviewers,geckoview-reviewers,preferences-reviewers,whimboo,agi
Differential Revision: https://phabricator.services.mozilla.com/D87499
2020-08-18 23:37:51 +00:00
Severin be26819c80 Bug 1595743 - fix dark theme popup hover color;r=MattN
Differential Revision: https://phabricator.services.mozilla.com/D87017
2020-08-18 20:56:36 +00:00
Ed Lee 44952e64bb Bug 1639173 - Replace import info icon with Learn More autocomplete entry r=MattN,fluent-reviewers,flod
When adding importable logins, also add new single row autocomplete entry with fluent text and ignore it for telemetry.

Differential Revision: https://phabricator.services.mozilla.com/D84464
2020-08-18 17:48:34 +00:00
Drew Willcoxon 4a6570ffd6 Bug 1659128 - Exit search mode as appropriate when input.setURI is called. r=harry
We need to exit search mode when a page loads in the current tab. We may need to
exit search mode for page loads in other tabs too: If you're in search mode,
click a slow link, switch tabs, and the page loads in the meantime, then search
mode should be not be entered when you switch back. I don't think we handle that
case correctly right now, and this patch doesn't address that at all. That's
worth doing in another bug because I think the fix will be different.

At first I added an `onLocationChange` method to UrlbarInput that was called by
`XULBrowserWindow.onLocationChange` in browser.js [1], just like we have an
`onLocationChange` in UrlbarProviderSearchTips called by
`XULBrowserWindow.onLocationChange`. But we need to potentially exit search mode
any time `input.setURI` is called. `setURI` happens to be called by
`XULBrowserWindow.onLocationChange`, one of the several places that calls it
[2].

`setURI` is also called when switching tabs. Bug 1647899 already took care of
handling search mode for tab switches, but it would be nice to handle all this
in one place. `setURI` is also how `userTypedValue` is restored in the input,
and of course `userTypedValue` is something we need to restore when switching
tabs, just like search mode. For these reasons I moved per-tab search mode
restoration to `setURI` as part of this.

I'm also changing the name of the second parameter in `setURI`. I wasn't sure
whether it's true iff we're switching tabs, so I tracked down why that param was
added. It was added in bug 1478348, and comment 21 confirms it was added to tell
`setURI` and `XULBrowserWindow.onLocationChange` when they're being called due
to a tab switch. To make this clearer, I renamed the param and added some
javadoc for `XULBrowserWindow.onLocationChange`.

[1] https://searchfox.org/mozilla-central/rev/50cb0892948fb4291b9a6b1b30122100ec7d4ef2/browser/base/content/browser.js#5205
[2] https://searchfox.org/mozilla-central/search?q=symbol:%23setURI&redirect=false

Differential Revision: https://phabricator.services.mozilla.com/D87172
2020-08-17 20:31:44 +00:00
Kris Maglione 0c976d908a Bug 1651519: Part 2 - Also remove nsIDOMWindowUtils::outerWindowID. r=nika,geckoview-reviewers,agi
Differential Revision: https://phabricator.services.mozilla.com/D82957
2020-08-17 20:22:12 +00:00
pbz 1058f2522e Bug 1650795 - Implemented TabDialogBox to show chrome dialogs embedded on tab level. r=Gijs,preferences-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D83631
2020-08-17 10:26:22 +00:00
Andrea Marchesini 6b8618a091 Bug 1658878 - Isolate BlobURLs per agent-cluster - pref, r=smaug
Differential Revision: https://phabricator.services.mozilla.com/D86968
2020-08-17 09:55:56 +00:00
Emilio Cobos Álvarez 6f85f8c453 Bug 1656081 - Cleanup iframe sizing so that it does the same as every other replaced element. r=boris
Differential Revision: https://phabricator.services.mozilla.com/D85386
2020-08-16 18:45:39 +00:00
Mark Striemer 0ae2f94de2 Bug 1659099 - Only show the preview browser or loading indicator r=emalysz,jaws
This uses opacity with a transition to hide the preview for a smoother switch between states.

Differential Revision: https://phabricator.services.mozilla.com/D87074
2020-08-14 23:31:38 +00:00
Robert Helmer 3bf5cba2d4 Bug 1659149 - add about:pioneer as a secure page in Firefox r=jaws
Differential Revision: https://phabricator.services.mozilla.com/D87116
2020-08-14 19:26:08 +00:00
Bogdan Tara f3e186366b Backed out 7 changesets (bug 1650795, bug 1651958) for test_master_password.html failures CLOSED TREE
Backed out changeset 4812945bfaf2 (bug 1651958)
Backed out changeset a3f28fadcdf3 (bug 1651958)
Backed out changeset 70a61c971427 (bug 1651958)
Backed out changeset e7194e7e7ecc (bug 1651958)
Backed out changeset 7e66e5431ef7 (bug 1651958)
Backed out changeset a6c58935e1d8 (bug 1650795)
Backed out changeset b79f254df4cb (bug 1650795)
2020-08-14 23:29:33 +03:00
Bogdan Tara 694be205aa Backed out 4 changesets (bug 1658878) for blob related leaks CLOSED TREE
Backed out changeset 0288ef9ab65b (bug 1658878)
Backed out changeset a5af0e097560 (bug 1658878)
Backed out changeset 33c4b81f99a1 (bug 1658878)
Backed out changeset 16a33c7b4ff3 (bug 1658878)
2020-08-14 22:41:05 +03:00
Andrea Marchesini 8d8dfa8e36 Bug 1658878 - Isolate BlobURLs per agent-cluster - pref, r=smaug
Differential Revision: https://phabricator.services.mozilla.com/D86968
2020-08-14 17:39:14 +00:00
Olli Pettay 0352eecee9 Bug 1656997 - When session history runs in the parent process, SessionStore should not modify the session history when doing process switches, r=nika,mconley
Differential Revision: https://phabricator.services.mozilla.com/D86073
2020-08-14 15:27:26 +00:00
Mihai Alexandru Michis 33c1daa575 Backed out 4 changesets (bug 1658878) for causing failures in browser_blobURLIsolation.js
CLOSED TREE

Backed out changeset f69f80e5659f (bug 1658878)
Backed out changeset 20401a2adaa6 (bug 1658878)
Backed out changeset a8620aecc29f (bug 1658878)
Backed out changeset 3609760c1e5d (bug 1658878)
2020-08-14 19:55:25 +03:00
Andrea Marchesini 2175d60f4a Bug 1658878 - Isolate BlobURLs per agent-cluster - pref, r=smaug
Differential Revision: https://phabricator.services.mozilla.com/D86968
2020-08-14 15:57:02 +00:00
pbz 509eea0b25 Bug 1650795 - Implemented TabDialogBox to show chrome dialogs embedded on tab level. r=Gijs,preferences-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D83631
2020-08-14 11:31:04 +00:00
Csoregi Natalia 36ac6c5cca Backed out 2 changesets (bug 1656997, bug 1656996) for fission failures on browser_preferences_usage.js. CLOSED TREE
Backed out changeset c3aaa4f191e6 (bug 1656997)
Backed out changeset e41977f9608f (bug 1656996)
2020-08-14 00:47:56 +03:00
Csoregi Natalia eac68e26b0 Backed out 7 changesets (bug 1650795, bug 1651958) for failures on test_modal_prompts.html . CLOSED TREE
Backed out changeset 505f46d2cd97 (bug 1651958)
Backed out changeset f7893f4dc092 (bug 1651958)
Backed out changeset 54ea7a160e0d (bug 1651958)
Backed out changeset c2bc9c8d2e97 (bug 1651958)
Backed out changeset 247880941893 (bug 1651958)
Backed out changeset c8945eb14177 (bug 1650795)
Backed out changeset fc4dcfaf3938 (bug 1650795)
2020-08-14 00:02:08 +03:00
Emma Malysz 952e7dd5d7 Bug 1653323: show print preview progress in the print preview browser when preview is being rendered. r=fluent-reviewers,flod,jaws
Differential Revision: https://phabricator.services.mozilla.com/D86116
2020-08-13 18:12:04 +00:00
Olli Pettay 3f04798752 Bug 1656997 - When session history runs in the parent process, SessionStore should not modify the session history when doing process switches, r=nika
Differential Revision: https://phabricator.services.mozilla.com/D86073
2020-08-13 19:17:21 +00:00
pbz 8c8b150bd2 Bug 1650795 - Implemented TabDialogBox to show chrome dialogs embedded on tab level. r=Gijs,preferences-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D83631
2020-08-13 18:43:49 +00:00
Xidorn Quan ddf0b0df24 Bug 1623856 - Make shift-click reload button open a new window. r=dao
Differential Revision: https://phabricator.services.mozilla.com/D86464
2020-08-12 14:56:50 +00:00
Rob Wu 070087f72c Bug 1657992 - Handle middle-click on long-press backForwardMenu only once + tests r=dao
Differential Revision: https://phabricator.services.mozilla.com/D86784
2020-08-12 14:50:42 +00:00
Andreas Farre 66f4b719dd Bug 1646539 - Part 1: Test cross origin popup permissions. r=nika
Differential Revision: https://phabricator.services.mozilla.com/D86377
2020-08-12 15:37:59 +00:00
Emilio Cobos Álvarez 0c03ba166c Bug 1658471 - Remove dom.security.featurePolicy.enabled. r=baku
We've shipped it on by default since 74 (bug 1617219).

Differential Revision: https://phabricator.services.mozilla.com/D86665
2020-08-12 10:57:04 +00:00
Valentin Gosu e1f98ce23a Bug 1657582 - Add nsIDNSResolverInfo interface r=necko-reviewers,geckoview-reviewers,snorp,mixedpuppy,extension-reviewers,dragana
This patch adds the nsIDNSResolverInfo interface which is used to hold
information about the resolver to be used in a DNS resolution.

We use this to merge all of the *WithTRRServer resolve functions into one.
Passing a resolver info will use that object when appropriate. No resolver
info means that we default to using the system resolver, or the default TRR
resolver.

This patch also converts the RESOLVE_TYPE_* flags into a cenum and adds
the resolveType as a parameter to asyncResolve thus removing the need
to have asyncResolveByType methods.

Differential Revision: https://phabricator.services.mozilla.com/D86176
2020-08-12 08:25:14 +00:00
Bogdan Tara 694b77183c Backed out 2 changesets (bug 1657582) for test_DNSLookup.js failures CLOSED TREE
Backed out changeset 784122a5f5ab (bug 1657582)
Backed out changeset 0f17312b01ad (bug 1657582)
2020-08-12 11:18:06 +03:00
Valentin Gosu fc1bf09e47 Bug 1657582 - Add nsIDNSResolverInfo interface r=necko-reviewers,geckoview-reviewers,snorp,mixedpuppy,extension-reviewers,dragana
This patch adds the nsIDNSResolverInfo interface which is used to hold
information about the resolver to be used in a DNS resolution.

We use this to merge all of the *WithTRRServer resolve functions into one.
Passing a resolver info will use that object when appropriate. No resolver
info means that we default to using the system resolver, or the default TRR
resolver.

This patch also converts the RESOLVE_TYPE_* flags into a cenum and adds
the resolveType as a parameter to asyncResolve thus removing the need
to have asyncResolveByType methods.

Differential Revision: https://phabricator.services.mozilla.com/D86176
2020-08-12 01:00:39 +00:00
Drew Willcoxon 075c66c124 Bug 1647889 - Show different Urlbar placeholder while visual indicator is showing. r=harry,fluent-reviewers,flod
This is the simplest possible way to fix this bug in the interest of landing
ASAP. It keeps a hardcoded list of engines that search the web.

Differential Revision: https://phabricator.services.mozilla.com/D86664
2020-08-12 00:25:58 +00:00
Kashav Madan 255b3f3ecb Bug 1566422 - Avoid unnecessary coordinate conversions when showing tooltips, r=emilio
We currently start with screen-relative coordinates, translate them to
widget-relative coordinates, and then translate them back to screen-relative
coordinates when actually showing the tooltip in XULBrowserWindow.showTooltip().
There's no reason for the extra conversions, so we can just send screen-relative
coordinates directly.

Since the widget origin for out-of-process frames is the origin of the frame
itself (instead of the tab, which is the case for in-process frames), the
screen-to-widget conversion was incorrect, and was causing a bug in how the
tooltip was being positioned. Avoiding that conversion altogether also fixes
that bug.

Differential Revision: https://phabricator.services.mozilla.com/D86750
2020-08-11 22:01:40 +00:00
Christoph Kerschbaumer f372af4995 Bug 1658244: Allow view-background-image to open a data: URI by setting a flag on the loadinfo r=Gijs
Differential Revision: https://phabricator.services.mozilla.com/D86592
2020-08-11 13:41:54 +00:00
Mike Conley 5b14269be5 Bug 1657484 - Change default location of the WebRTC global sharing indicator. r=pbz
Per UX, the new default location for the indicator upon opening is the the top
of the content viewport of the most recently used browser window.

Differential Revision: https://phabricator.services.mozilla.com/D86080
2020-08-11 10:03:07 +00:00
julianwels 3e427e5423 Bug 1656027 - Added cached property 'isSecureContext' as an additional condition when the security UI should be updated. r=pbz
Differential Revision: https://phabricator.services.mozilla.com/D85327
2020-08-11 10:57:40 +00:00
Mike Conley fa88c0c32d Bug 1634804 - Make sure browser_shownRestartRequired.js waits for about:restartrequired to finish loading. r=jaws
Differential Revision: https://phabricator.services.mozilla.com/D86451
2020-08-10 20:40:52 +00:00
Emma Malysz 3123c7867e Bug 1634030: lazify main app menu r=Gijs
Differential Revision: https://phabricator.services.mozilla.com/D84014
2020-08-10 17:09:55 +00:00
Emma Malysz 58a912dc5e Bug 1648530, implement sidebar telemetry probes to track how often it was opened and what type of panel was viewed. r=jaws
Differential Revision: https://phabricator.services.mozilla.com/D81165
2020-08-10 04:16:07 +00:00
Marco Bonardo 6fb175caeb Bug 1657572 - Store form history source from search access points. r=adw
Differential Revision: https://phabricator.services.mozilla.com/D86170
2020-08-08 12:49:24 +00:00
Butkovits Atila 996e816c65 Backed out changeset e71e10688704 (bug 1634030) for failure at browser_shim_disable_devtools.js CLOSED TREE 2020-08-08 03:46:14 +03:00
Emma Malysz 77f8ca0ed1 Bug 1634030: lazify main app menu r=Gijs
Differential Revision: https://phabricator.services.mozilla.com/D84014
2020-08-07 22:02:32 +00:00
Nika Layzell 8e7de09ca6 Bug 1656636 - Part 2: Load a real http URI in browser_startup_content, r=mconley,smacleod
This avoids missing scripts which are filtered to not load on about:blank
documents.

Differential Revision: https://phabricator.services.mozilla.com/D85649
2020-08-06 17:48:49 +00:00
Nika Layzell 031f857cfe Bug 1656636 - Part 1: Add a test for scripts loaded during subframe process startup, r=mconley,smacleod
This should help us catch loads of JSActors which may be necessary for toplevel
document loads, but which need not be loaded within a remote subframe.

Differential Revision: https://phabricator.services.mozilla.com/D85648
2020-08-07 16:24:50 +00:00
Dimi Lee 6a8e625db6 Bug 1657616 - Remove the link to StopBadware.org in SafeBrowsing interstitial page r=gcp,fluent-reviewers,flod
Differential Revision: https://phabricator.services.mozilla.com/D86321
2020-08-07 15:08:10 +00:00
Bogdan Tara 2273fb74fa Backed out changeset b0ea8d83462f (bug 1657616) for es lint failure on blockedSite.js CLOSED TREE 2020-08-07 18:00:31 +03:00
Dimi Lee 42da17613a Bug 1657616 - Remove the link to StopBadware.org in SafeBrowsing interstitial page r=gcp,fluent-reviewers,flod
Differential Revision: https://phabricator.services.mozilla.com/D86321
2020-08-07 14:31:47 +00:00
Emma Malysz 18fe337c0c Bug 1657161, enable print.tab_modal.enabled for EARLY_BETA_OR_EARLIER and hide page range section r=mstriemer,fluent-reviewers,preferences-reviewers,flod
We want this to be turned on for nightly users by default. The page range is still a WIP,
so we should hide that section for now.
This also adds the pref to the "Nightly Experiment" panel, turned on by default.

Differential Revision: https://phabricator.services.mozilla.com/D85907
2020-08-06 23:02:13 +00:00
Mihai Alexandru Michis b111833c4e Bug 1589517 - Remove unnecessary aSameProcessAsFrameLoader declaration from tabbrowser.js for causing lint failures. a=lint-fix
CLOSED TREE
2020-08-06 20:57:12 +03:00
Nika Layzell c366c291b9 Bug 1589517 - Part 4: Remove sameProcessAsFrameLoader, r=zombie,mconley,farre,smacleod
The functionality has been fully subsumed by the new
initialBrowsingContextGroupId attribute, so it is no longer necessary.

Differential Revision: https://phabricator.services.mozilla.com/D85653
2020-08-06 17:01:13 +00:00
Nika Layzell 2f84ab8f50 Bug 1589517 - Part 3: Add initialBrowsingContextGroupId to extension browsers, r=zombie
This attribute can be used to force non-tab extension browsers to be loaded in
the correct BrowsingContextGroup, and also subsumes the existing
sameProcessAsFrameLoader uses in extension code.

Differential Revision: https://phabricator.services.mozilla.com/D85652
2020-08-06 17:01:10 +00:00
Nika Layzell 2f8013d4a9 Bug 1589517 - Part 2: Add initialBrowsingContextGroupId to sameProcessAsFrameLoader callers, r=mconley,smacleod
This attribute, when combined with the remoteType attribute, should subsume all
callers of sameProcessAsFrameLoader, and also support selecting the same process
as an out-of-process iframe.

Differential Revision: https://phabricator.services.mozilla.com/D85651
2020-08-06 17:01:08 +00:00
Harry Twyford 649526b7fe Bug 1647893 - Enter search mode with default engine on Accel+K. r=adw
Differential Revision: https://phabricator.services.mozilla.com/D85914
2020-08-05 19:17:54 +00:00
ssengupta 6198ecf772 Bug 1619953 - P8 - Test `browser_blob-channelname.js` converted to xpcshell-test and updated to work with asynchronous input streams r=baku,necko-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D81783
2020-08-05 17:06:11 +00:00