Commit graph

21428 commits

Author SHA1 Message Date
Neil Deakin
1a628e76c2 Bug 1519952, replace calls to boxobject screenX and screenY with the equivalent on XULElement, r=paolo 2019-02-15 15:26:17 -05:00
Cosmin Sabou
a4b19fcd61 Merge mozilla-inbound to mozilla-central. a=merge
--HG--
rename : browser/components/nsBrowserContentHandler.js => browser/components/BrowserContentHandler.jsm
2019-02-15 20:39:45 +02:00
Cosmin Sabou
fab429586f Merge autoland to mozilla-central. a=merge 2019-02-15 20:36:32 +02:00
Cosmin Sabou
ba308a2f90 Backed out 4 changesets (bug 1521808) for causing merge conflicts.
Backed out changeset 42641f88d7da (bug 1521808)
Backed out changeset 32ce09b2c33a (bug 1521808)
Backed out changeset 94e513102b53 (bug 1521808)
Backed out changeset a08553c07886 (bug 1521808)
2019-02-15 20:34:07 +02:00
Razvan Maries
00ff5fa61a Backed out changeset 10528ad0d7a1 (bug 1525125) for frequently failing bug 1528134. a=backout 2019-02-15 18:23:14 +02:00
Razvan Maries
d93d94cbc9 Backed out 9 changesets (bug 1522637) for causing bug 1528188. a=backout
Backed out changeset e4ca191d62a5 (bug 1522637)
Backed out changeset 540e5f318768 (bug 1522637)
Backed out changeset 0886a317a108 (bug 1522637)
Backed out changeset 4c7c512a262d (bug 1522637)
Backed out changeset d7eb272688be (bug 1522637)
Backed out changeset 67e838f49f4b (bug 1522637)
Backed out changeset 7e38890c72fa (bug 1522637)
Backed out changeset e6ca9ad18d15 (bug 1522637)
Backed out changeset 0f759e91eca8 (bug 1522637)
2019-02-15 18:21:36 +02:00
Ed Lee
30b0aa948f Bug 1528119 - Add Discovery design tweaks, preference visibility and bug fixes to Activity Stream r=k88hudson
Differential Revision: https://phabricator.services.mozilla.com/D19880

--HG--
extra : moz-landing-system : lando
2019-02-15 02:20:31 +00:00
Mark Banner
10cebf3c34 Bug 1515083 - Re-implement telemetry for selected index/type on QuantumBar. r=adw
This makes the browser_UsageTelemetry_urlbar*.js tests pass for the all of the
FX_URLBAR_SELECTED_RESULT_* histograms apart from the "METHOD" one which will be handled
in bug 1500476.

I have handled the recording of telemetry in the controller, as this seems a better
location than BrowserUsageTelemetry.jsm due to needing to reach into the results and obtain
specific details.

Differential Revision: https://phabricator.services.mozilla.com/D19785

--HG--
extra : moz-landing-system : lando
2019-02-15 14:57:23 +00:00
Daniel Varga
3ee8a5a1e9 Merge mozilla-central to autoland. a=merge on a CLOSED TREE 2019-02-15 03:45:59 +02:00
Daniel Varga
30780abeeb Merge mozilla-inbound to mozilla-central. a=merge 2019-02-15 03:41:17 +02:00
Michael Kaply
3bca501987 Bug 1527766 - Add enterprise policy for support menu. r=Felipe,flod
Differential Revision: https://phabricator.services.mozilla.com/D19722

--HG--
extra : moz-landing-system : lando
2019-02-14 23:25:08 +00:00
Oriol Brufau
c3577f0fc0 Bug 1525634 - Preserve lazyness of the old tab when adopted by another window. r=jaws
Differential Revision: https://phabricator.services.mozilla.com/D18982

--HG--
extra : moz-landing-system : lando
2019-02-14 19:48:58 +00:00
Shane Caraveo
75718b91a4 Bug 1525125 block newtab and homepage overrides in private windows r=rpl,Gijs
Differential Revision: https://phabricator.services.mozilla.com/D18730

--HG--
extra : moz-landing-system : lando
2019-02-14 19:46:00 +00:00
Brendan Dahl
74c580a4c5 Bug 1527733 - Remove special XUL DOM tree traversal. r=smaug
Move functionality out of XULDocument::AddElementToDocumentPost:
1) Convert all XUL link elements into HTML link elements which have
code to handle when they are added to the DOM.
2) Move handling of the end of a linkset element into nsXULElement's DoneAddingChildren callback.
3) Move document direction reset to where the root element is created.

Differential Revision: https://phabricator.services.mozilla.com/D19739

--HG--
extra : moz-landing-system : lando
2019-02-14 10:43:35 +00:00
Nika Layzell
a2bc82eb15 Bug 1522637 - Part 7: Perform process switches separtely from on-examine-response, r=valentin
Issues were occuring where a process swap would be decided upon during
on-examine-response, but before the swap could be handled by the
channel, the channel was redirected.

This new code takes the mildly hacky approach of simply using a separate
observer notification which is fired at the correct time. A better
solution may be to use a dedicated service for responding to these
events, however that was not implemented for this initial patch.

Depends on D18607

Differential Revision: https://phabricator.services.mozilla.com/D19691

--HG--
extra : source : 3d24e8e81c02af9d1edec7571afecefb0d2f1eb4
2019-02-14 15:37:06 +00:00
Nika Layzell
507211a3ab Bug 1522637 - Part 4: Support browsers in globals without gMultiProcessBrowser, r=qdot
Depends on D18604

Differential Revision: https://phabricator.services.mozilla.com/D18605

--HG--
extra : source : 8f494271ec06babf4ee70bb58a3a967e25d74c82
2019-02-14 15:14:01 +00:00
Nika Layzell
6ded246a08 Bug 1522637 - Part 3: Send history index when resuming redirected loads, r=qdot
Depends on D18603

Differential Revision: https://phabricator.services.mozilla.com/D18604

--HG--
extra : source : 6b4d010964ec9e2175e7ba02991d083fab128c49
2019-02-14 15:36:02 +00:00
Nika Layzell
9f36101095 Bug 1522637 - Part 2: Include BrowsingContextID in LoadInfo for subdocument loads, r=valentin
Depends on D18602

Differential Revision: https://phabricator.services.mozilla.com/D18603

--HG--
extra : source : 5eeda2ba8e7965fccf3e17a8d1fd059872b2c2e8
2019-02-14 15:12:51 +00:00
Bogdan Tara
c732fccb1e Backed out 8 changesets (bug 1522637) for browser_all_files_referenced.js failures CLOSED TREE
Backed out changeset f7ab0e6e739b (bug 1522637)
Backed out changeset 3d24e8e81c02 (bug 1522637)
Backed out changeset 41ca0b87537e (bug 1522637)
Backed out changeset 6e0d4b6b1c93 (bug 1522637)
Backed out changeset 8f494271ec06 (bug 1522637)
Backed out changeset 6b4d010964ec (bug 1522637)
Backed out changeset 5eeda2ba8e79 (bug 1522637)
Backed out changeset 5988b8e7d17c (bug 1522637)
2019-02-14 19:20:58 +02:00
Bogdan Tara
4c0cf6db45 Backed out 3 changesets (bug 1523272) for ES Linut failure CLOSED TREE
Backed out changeset 80d103201d1d (bug 1523272)
Backed out changeset bbd8f0b2e3b2 (bug 1523272)
Backed out changeset bf2ec5cdc33b (bug 1523272)
2019-02-14 18:29:54 +02:00
Nika Layzell
1b032ecafb Bug 1522637 - Part 7: Perform process switches separtely from on-examine-response, r=valentin
Issues were occuring where a process swap would be decided upon during
on-examine-response, but before the swap could be handled by the
channel, the channel was redirected.

This new code takes the mildly hacky approach of simply using a separate
observer notification which is fired at the correct time. A better
solution may be to use a dedicated service for responding to these
events, however that was not implemented for this initial patch.

Depends on D18607

Differential Revision: https://phabricator.services.mozilla.com/D19691

--HG--
extra : moz-landing-system : lando
2019-02-14 15:37:06 +00:00
Nika Layzell
60ebf8f8f0 Bug 1522637 - Part 4: Support browsers in globals without gMultiProcessBrowser, r=qdot
Depends on D18604

Differential Revision: https://phabricator.services.mozilla.com/D18605

--HG--
extra : moz-landing-system : lando
2019-02-14 15:14:01 +00:00
Nika Layzell
438cbbeca1 Bug 1522637 - Part 3: Send history index when resuming redirected loads, r=qdot
Depends on D18603

Differential Revision: https://phabricator.services.mozilla.com/D18604

--HG--
extra : moz-landing-system : lando
2019-02-14 15:36:02 +00:00
Nika Layzell
530fa8e29b Bug 1522637 - Part 2: Include BrowsingContextID in LoadInfo for subdocument loads, r=valentin
Depends on D18602

Differential Revision: https://phabricator.services.mozilla.com/D18603

--HG--
extra : moz-landing-system : lando
2019-02-14 15:12:51 +00:00
Johann Hofmann
f5219412e9 Bug 1523272 - Remove mock code from about:preferences siteData tests. r=baku
These tests used to mock out the SiteDataManager to test only the UI for things
like removing site data or sorting. This bug breaks that possibility, because
the SiteDataManager no longer uses its internal data to remove site data but
delegates the logic to ClearSiteDataService.

I don't think it's a loss, that mocking was always a little weird.

Differential Revision: https://phabricator.services.mozilla.com/D18283

--HG--
extra : moz-landing-system : lando
2019-02-14 15:22:49 +00:00
Dão Gottwald
7e50e9ddb5 Bug 1525318 - Quantumbar: Make clicking one off buttons work. r=Standard8
Differential Revision: https://phabricator.services.mozilla.com/D19776

--HG--
extra : moz-landing-system : lando
2019-02-14 15:46:16 +00:00
Bogdan Tara
55264a1e43 Backed out changeset 14f7c02566c2 (bug 1525125) for browser_ext_windows_create_tabId.js failures CLOSED TREE 2019-02-14 17:29:40 +02:00
Dão Gottwald
b6a41eda70 Bug 1527724 - Let the preselected result not modify the urlbar value. r=Standard8
Differential Revision: https://phabricator.services.mozilla.com/D19762

--HG--
extra : moz-landing-system : lando
2019-02-14 14:43:51 +00:00
Johann Hofmann
de712b6ac3 Bug 1523272 - Remove mock code from about:preferences siteData tests. r=baku
These tests used to mock out the SiteDataManager to test only the UI for things
like removing site data or sorting. This bug breaks that possibility, because
the SiteDataManager no longer uses its internal data to remove site data but
delegates the logic to ClearSiteDataService.

I don't think it's a loss, that mocking was always a little weird.

Differential Revision: https://phabricator.services.mozilla.com/D18283

--HG--
extra : moz-landing-system : lando
2019-02-14 22:53:19 +00:00
Nicolas Chevobbe
e8099d4018 Bug 1527834 - Rename WebConsoleWrapper:hud to WebConsoleWrapper:webConsoleUI; r=bgrins.
This better reflects what the property is (i.e. a
WebConsoleUI instance), and avoid confusion with
the panel's hud (created in webconsole.js).
We take that as an opportunity to clean things up
a bit (e.g. don't access the webConsoleUI through
JsTerm).

Differential Revision: https://phabricator.services.mozilla.com/D19783

--HG--
extra : moz-landing-system : lando
2019-02-15 08:17:43 +00:00
Valentin Gosu
3d45f28bb0 Bug 1521808 - Implement process switching based on Cross-Opener-Origin-Policy header r=nika,qdot
* New topLevel loads get the nsILoadInfo.openerPolicy of the current top level document
* Parsing the Cross-Opener-Origin-Policy of a channel will update mLoadInfo.openerPolicy and this value will get propagated to the child process.
* SessionStore now checks nsIHttpChannel.hasCrossOriginOpenerPolicyMismatch (preffed off) and performs a process switch if needed

Differential Revision: https://phabricator.services.mozilla.com/D19000

--HG--
rename : toolkit/components/remotebrowserutils/tests/browser/browser_httpResponseProcessSelection.js => toolkit/components/remotebrowserutils/tests/browser/browser_httpCrossOriginOpenerPolicy.js
extra : moz-landing-system : lando
2019-02-15 12:14:49 +00:00
Dão Gottwald
dac519208a Bug 1525018 - Handle copying autocompleted non-URL values. r=Standard8
Differential Revision: https://phabricator.services.mozilla.com/D19814

--HG--
extra : moz-landing-system : lando
2019-02-15 11:18:47 +00:00
Liang-Heng Chen
65f81a0201 Bug 1504157 - Don't share window object between 2 tests; r=smaug
using one window to test resize event twice with 2 separated event listener might potentially action on incorrect resize event.

Differential Revision: https://phabricator.services.mozilla.com/D19790

--HG--
extra : moz-landing-system : lando
2019-02-14 19:53:24 +00:00
Mark Banner
6ba6468176 Bug 1527940 - Port one-off search button tests to QuantumBar. r=dao
Differential Revision: https://phabricator.services.mozilla.com/D19895

--HG--
rename : browser/components/urlbar/tests/legacy/browser_urlbarOneOffs.js => browser/components/urlbar/tests/browser/browser_urlbarOneOffs.js
rename : browser/components/urlbar/tests/legacy/browser_urlbarOneOffs_searchSuggestions.js => browser/components/urlbar/tests/browser/browser_urlbarOneOffs_searchSuggestions.js
extra : moz-landing-system : lando
2019-02-15 08:59:59 +00:00
Mark Banner
0baadc8693 Bug 1522504 - Update browser_PageActions.js and browser_UsageTelemetry_urlbar.js to be able to run with QuantumBar. r=adw
Differential Revision: https://phabricator.services.mozilla.com/D19709

--HG--
extra : moz-landing-system : lando
2019-02-14 22:23:43 +00:00
Dão Gottwald
66e708b906 Bug 1524123 - Use engine favicons if available instead of the magnifying glass. r=adw
Differential Revision: https://phabricator.services.mozilla.com/D19661

--HG--
extra : moz-landing-system : lando
2019-02-14 21:41:31 +00:00
Shane Caraveo
5b5b01194d Bug 1524001 update manifest to validate manifest.icons, r=kmag
Differential Revision: https://phabricator.services.mozilla.com/D18105

--HG--
rename : toolkit/components/extensions/test/xpcshell/test_ext_manifest.js => browser/components/extensions/test/xpcshell/test_ext_manifest.js
extra : moz-landing-system : lando
2019-02-14 01:32:31 +00:00
Shane Caraveo
40e0ac9225 Bug 1525125 block newtab and homepage overrides in private windows r=rpl,Gijs
Differential Revision: https://phabricator.services.mozilla.com/D18730

--HG--
extra : moz-landing-system : lando
2019-02-14 12:44:07 +00:00
Gurzau Raul
372cd785ae Bug 1349892 Disable browser_ext_sidebarAction_context.js on all platforms. r=aryx
Differential Revision: https://phabricator.services.mozilla.com/D19769

--HG--
extra : moz-landing-system : lando
2019-02-14 12:12:39 +00:00
Dave Townsend
09e06b44c8 Bug 1522253: about:newinstall should get its configuration via RemotePageManager rather than query params. r=Gijs
Differential Revision: https://phabricator.services.mozilla.com/D19413

--HG--
extra : moz-landing-system : lando
2019-02-13 17:28:20 +00:00
Noemi Erli
8842faa45f Backed out 2 changesets (bug 1522253) for causing ES Lint failure in newInstallPage.js
Backed out changeset 5b2aeaf2da17 (bug 1522253)
Backed out changeset a091f6b58aba (bug 1522253)
2019-02-13 19:12:35 +02:00
Dave Townsend
0fc1c65c7c Bug 1522253: about:newinstall should get its configuration via RemotePageManager rather than query params. r=Gijs
Differential Revision: https://phabricator.services.mozilla.com/D19413

--HG--
extra : moz-landing-system : lando
2019-02-13 16:57:35 +00:00
Junior Hsu
7a39bec13f Bug 1524264 - move noproxy textbox lower to hint as a global effect r=ewright,flod
Differential Revision: https://phabricator.services.mozilla.com/D18981

--HG--
extra : moz-landing-system : lando
2019-02-13 10:46:19 +00:00
Dão Gottwald
f568816086 Bug 1527260 - Integrate one off buttons into keyboard navigation. r=Standard8
Differential Revision: https://phabricator.services.mozilla.com/D19656

--HG--
extra : moz-landing-system : lando
2019-02-13 15:06:54 +00:00
Razvan Maries
2fb9019d41 Merge mozilla-central to mozilla-inbound. a=merge on a CLOSED TREE 2019-02-15 11:59:08 +02:00
Daniel Varga
1e9aa9e1fc Merge mozilla-central to mozilla-inbound. a=merge on a CLOSED TREE
--HG--
rename : browser/components/nsBrowserContentHandler.js => browser/components/BrowserContentHandler.jsm
2019-02-15 03:51:05 +02:00
Alexander Surkov
1649231cef Bug 1527495 - migrate text-link binding to CE, r=bgrins
Differential Revision: https://phabricator.services.mozilla.com/D19595

--HG--
rename : toolkit/content/widgets/text.xml => toolkit/content/widgets/text.js
2019-02-12 19:14:40 -05:00
Ed Lee
0b18c766a9 Bug 1527504 - Add parallel feeds, performance telemetry and bug fixes to Activity Stream r=k88hudson
Differential Revision: https://phabricator.services.mozilla.com/D19597

--HG--
extra : moz-landing-system : lando
2019-02-13 02:04:26 +00:00
Andreea Pavel
5ed044bed1 Backed out changeset e957d571c91c (bug 1524264) for failing bc at browser_extension_controlled.js on a CLOSED TREE 2019-02-13 06:22:27 +02:00
Junior Hsu
59dba7c26e Bug 1524264 - move noproxy textbox lower to hint as a global effect r=ewright,flod
Differential Revision: https://phabricator.services.mozilla.com/D18981

--HG--
extra : moz-landing-system : lando
2019-02-13 01:45:28 +00:00