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

59518 Коммитов

Автор SHA1 Сообщение Дата
Haik Aftandilian 369407ae40 Bug 1505573 - [Mac] Enable sandbox early startup by default on all releases (ride the trains) r=Alex_Gaynor
Let sandbox early startup ride the trains by setting security.sandbox.content.mac.earlyinit=true on all releases, not just Nightly.

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

--HG--
extra : moz-landing-system : lando
2018-11-30 13:55:13 +00:00
Ehsan Akhgari e62ed1ac15 Bug 1511249 - Ensure that 3rdPartyStorage permissions are checked with the exact tracker origin not just with a prefix r=johannh
Differential Revision: https://phabricator.services.mozilla.com/D13499

--HG--
extra : moz-landing-system : lando
2018-11-30 14:36:36 +00:00
Erica Wright 26b0b43dc5 Bug 1501980 - Add a mode label to the Content Blocking section in the main menu. r=johannh
Differential Revision: https://phabricator.services.mozilla.com/D13170

--HG--
extra : moz-landing-system : lando
2018-11-30 14:30:18 +00:00
Dão Gottwald ea4f22e526 Bug 1504872 - Wait for mouseover and mouseout events in browser_UrlbarInput_tooltip.js. r=mak
Differential Revision: https://phabricator.services.mozilla.com/D13537

--HG--
extra : moz-landing-system : lando
2018-11-30 14:23:55 +00:00
Sylvestre Ledru 265e672179 Bug 1511181 - Reformat everything to the Google coding style r=ehsan a=clang-format
# ignore-this-changeset

--HG--
extra : amend_source : 4d301d3b0b8711c4692392aa76088ba7fd7d1022
2018-11-30 11:46:48 +01:00
Razvan Maries 77d87d9972 Merge mozilla-central to autoland. a=merge on a CLOSED TREE 2018-11-30 05:13:14 +02:00
Ehsan Akhgari e86e968562 Bug 1510015 - Display IDN domain names properly in the storage access API doorhanger r=johannh
Differential Revision: https://phabricator.services.mozilla.com/D12984

--HG--
extra : moz-landing-system : lando
2018-11-30 02:17:50 +00:00
Dão Gottwald 211ca91f23 Bug 1511208 - Make .ctrlTab-preview override the default button:hover color on Linux. r=bgrins
Differential Revision: https://phabricator.services.mozilla.com/D13484

--HG--
extra : moz-landing-system : lando
2018-11-29 23:29:32 +00:00
Andrew Swan 79614c052c Bug 857456 Part 0: Clean up remaining tests using legacy extensions r=kmag
--HG--
extra : rebase_source : a36ea76dfff29438f24ea1467959595e5fa902ca
extra : histedit_source : 24dfb942cf4389cc1ebf4e147c649ab9099aa513
2018-11-28 18:45:08 -08:00
Razvan Maries d696b8eb57 Merge mozilla-central to mozilla-inbound. a=merge on a CLOSED TREE 2018-11-29 23:46:52 +02:00
Timothy Guan-tin Chien 61d903ae07 Bug 1509291 - Wait for window to unload before ending the test r=Felipe
Differential Revision: https://phabricator.services.mozilla.com/D13446

--HG--
extra : moz-landing-system : lando
2018-11-29 18:16:16 +00:00
Luca Greco 93075fc624 Bug 1472740 - Avoid LWT aliases in theme API tests that are not specifically about LWT aliases. r=ntim,jaws
This patch replace the LWT aliases with their related non-deprecated alias in all the theme API tests
that don't seem to be specifically testing the LWT aliases (e.g. browser_ext_themes_lwtsupport.js is
leaved unmodified for this reason).

The main reason to replace them in the "not stricly LWT-related" tests before their final removal
(currently planned for Firefox 69) is that the deprecation warnings will make these tests more
noisy (and so they may be making harder to investigate failures, without any actual gain in terms
of coverage).

Depends on D12297

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

--HG--
extra : moz-landing-system : lando
2018-11-26 16:10:36 +00:00
Daniel Varga b3613ec011 Merge mozilla-inbound to mozilla-central. a=merge 2018-11-29 18:59:59 +02:00
ffxbld 4a4bcf8624 No Bug, mozilla-central repo-update HSTS HPKP blocklist remote-settings - a=repo-update r=RyanVM
Differential Revision: https://phabricator.services.mozilla.com/D13388

--HG--
extra : moz-landing-system : lando
2018-11-29 13:37:25 +00:00
Daniel Varga d4b090ea42 Merge mozilla-central to autoland. a=merge on a CLOSED TREE
--HG--
extra : rebase_source : 81b5f62e48ccbe6c941a80b72a4eebe0ed942ccf
2018-11-29 11:59:02 +02:00
Daniel Varga e22c0d1520 Merge mozilla-inbound to mozilla-central. a=merge 2018-11-29 11:54:56 +02:00
Ehsan Akhgari 45a3f1578f Bug 1509047 - Part 5: Add heuristics to the storage access API for automatically granting temporary session-scoped storage access without displaying a doorhanger prompt; r=johannh
Differential Revision: https://phabricator.services.mozilla.com/D12866
2018-11-29 00:45:06 -05:00
Ehsan Akhgari 1a3a93b61f Bug 1509047 - Part 4: Add support for PermissionPromptPrototype.onBeforeShow() cancelling a prompt; r=johannh
Differential Revision: https://phabricator.services.mozilla.com/D12865
2018-11-29 00:45:06 -05:00
Ehsan Akhgari 4aa18e126d Bug 1509047 - Part 2: Add an API for measuring the number of unique origins visited in the past 24 hours; r=johannh
Differential Revision: https://phabricator.services.mozilla.com/D12863
2018-11-29 00:45:06 -05:00
Ed Lee 02ecb969f0 Bug 1510766 - Add AMO firstrun, FxA defaults and bug fixes to Activity Stream r=k88hudson
Differential Revision: https://phabricator.services.mozilla.com/D13317

--HG--
extra : moz-landing-system : lando
2018-11-29 05:26:55 +00:00
Coroiu Cristina 3ba5c153be Merge mozilla-central to autoland a=merge 2018-11-29 06:38:18 +02:00
Coroiu Cristina e92b0f1d7f Merge inbound to mozilla-central a=merge 2018-11-29 06:27:40 +02:00
Bogdan Tara db891f9db9 Backed out 5 changesets (bug 1509047) for ES Lint failure CLOSED TREE
Backed out changeset 53f6c4e1f112 (bug 1509047)
Backed out changeset 7bfa4179a341 (bug 1509047)
Backed out changeset 37172d2d6f99 (bug 1509047)
Backed out changeset cc9d468d6ba6 (bug 1509047)
Backed out changeset 1aa87e9e3c71 (bug 1509047)
2018-11-29 03:36:47 +02:00
Dão Gottwald 2be51b0d48 Bug 1510572 - Stop overriding WebExtensionPolicy in browser.js. r=johannh
Differential Revision: https://phabricator.services.mozilla.com/D13233

--HG--
extra : moz-landing-system : lando
2018-11-28 23:02:39 +00:00
Coroiu Cristina b8bc09a5b5 Merge mozilla-central to inbound a=merge on a CLOSED TREE
--HG--
rename : python/mozrelease/test/data/Firefox-62.0b11.update.json => python/mozrelease/test/data/Firefox-64.0b13.update.json
extra : rebase_source : 6eb078869182f40343e201993c0d0442ed96ad46
2018-11-29 00:34:07 +02:00
Vincent Cote 144c8a0202 Bug 1497727 - Add ability to add prefs on new "about:config" page. r=paolo CLOSED TREE
Differential Revision: https://phabricator.services.mozilla.com/D12719

--HG--
extra : source : 4deb028f32d6794abc15c3663434ab2799f78779
extra : amend_source : fee970fdd1c275cb655169481bbb87d4c21b1027
2018-11-28 22:09:16 +00:00
Ehsan Akhgari 5fc8173685 Bug 1509047 - Part 5: Add heuristics to the storage access API for automatically granting temporary session-scoped storage access without displaying a doorhanger prompt r=johannh
Depends on D12865

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

--HG--
extra : moz-landing-system : lando
2018-11-28 22:02:52 +00:00
Ehsan Akhgari 27fa0d6ad7 Bug 1509047 - Part 4: Add support for PermissionPromptPrototype.onBeforeShow() cancelling a prompt r=johannh
Depends on D12864

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

--HG--
extra : moz-landing-system : lando
2018-11-28 22:02:52 +00:00
Ehsan Akhgari 2f29272172 Bug 1509047 - Part 2: Add an API for measuring the number of unique origins visited in the past 24 hours r=johannh
Depends on D12862

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

--HG--
extra : moz-landing-system : lando
2018-11-28 23:01:36 +00:00
Gijs Kruitbosch 7c2539e61d Bug 1510321 - avoid calling buildArea for all the builtin toolbars, r=jaws,bgrins
Differential Revision: https://phabricator.services.mozilla.com/D13259

--HG--
extra : moz-landing-system : lando
2018-11-28 23:23:31 +00:00
Csoregi Natalia 453e2abecf Backed out changeset 4deb028f32d6 (bug 1497727) for eslint failure on browser_edit.js:44. CLOSED TREE 2018-11-29 00:00:08 +02:00
Coroiu Cristina d4aafa8e1c Merge inbound to mozilla-central a=merge 2018-11-28 23:49:09 +02:00
Robert Strong 43b69e2d87 Bug 1506915 - Move app update auto enabled / disabled to a jsm. r=bytesized,chutten
This moves getting and setting the value of app.update.auto from nsUpdateService.js to UpdateUtils.jsm so nsUpdateService.js isn't loaded during startup
Changes the browser_policy_app_update_URL.js test to check the default pref for app.update.url since the default pref is read by app update
Fixes a NS_NOINTERFACE error in app update xpcshell tests for AppInfo not implementing nsIPlatformInfo

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

--HG--
extra : moz-landing-system : lando
2018-11-28 21:47:03 +00:00
Vincent Cote bc059bf2a4 Bug 1497727 - Add ability to add prefs on new "about:config" page. r=paolo
Differential Revision: https://phabricator.services.mozilla.com/D12719

--HG--
extra : rebase_source : 0be710db3c60907ee89a3241c688870a34ac93cc
2018-11-28 21:35:30 +00:00
matthias 2de608a30a Bug 1497726 - Add ability to modify prefs on new "about:config" page. r=paolo
Differential Revision: https://phabricator.services.mozilla.com/D12620

--HG--
extra : rebase_source : d9125ca8a60f7823bbd6a78450f7416ad6d0107e
2018-11-28 20:40:01 +00:00
Michael Kaply 5a20331e3f Bug 1507629 - Switch to localized Amazon where possible. r=flod
Differential Revision: https://phabricator.services.mozilla.com/D13297

--HG--
extra : moz-landing-system : lando
2018-11-28 19:39:12 +00:00
Dão Gottwald 2d7d8cc2e5 Bug 1508081 - Make tab line color fallback to the selected tab text color instead of accentcolor. r=ntim
Differential Revision: https://phabricator.services.mozilla.com/D13232

--HG--
extra : moz-landing-system : lando
2018-11-28 12:29:49 +00:00
Jan-Erik Rediger 5fd1cd8036 Bug 1498163 - Migrate external callers to the new snapshot API r=chutten
Differential Revision: https://phabricator.services.mozilla.com/D12890

--HG--
extra : moz-landing-system : lando
2018-11-28 09:36:03 +00:00
Qinghao_Jack_Song 461c6bb6e4 Bug 1498448 - Migrate Certificate Manager Dialog to use fluent for localization r=Gijs,flod,zbraniecki
Differential Revision: https://phabricator.services.mozilla.com/D8499

--HG--
extra : moz-landing-system : lando
2018-11-28 10:30:06 +00:00
Dão Gottwald 65b52f7de5 Bug 1510418 - Use TelemetryStopwatch.running instead of custom _tabSwitchStopWatchRunning flag. r=Ehsan
Differential Revision: https://phabricator.services.mozilla.com/D13126

--HG--
extra : moz-landing-system : lando
2018-11-27 21:53:13 +00:00
Mike Conley c590cc3dc5 Bug 1510631 - Allow items to be placed on the left of the toolbar menubar spacer. r=Gijs
Differential Revision: https://phabricator.services.mozilla.com/D13290

--HG--
extra : moz-landing-system : lando
2018-11-28 20:43:26 +00:00
Coroiu Cristina 47323ec73b Merge mozilla-central to autoland a=merge on a CLOSED TREE 2018-11-28 23:56:03 +02:00
hawaiianchimp 53d1150f9c Bug 1500320 - Updating the omnibox keyword regex to allow trailing slashes r=robwu,aswan
Previously the omnibox keyword would not allow trailing slashes, such as go/
Chrome allows this keyword, and Firefox should allow this too.

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

--HG--
extra : moz-landing-system : lando
2018-11-26 23:16:22 +00:00
Dão Gottwald 328bd4a524 Bug 1510462 - Remove redundant AddonManager definition. r=jaws
Differential Revision: https://phabricator.services.mozilla.com/D13157

--HG--
extra : moz-landing-system : lando
2018-11-28 04:56:39 +00:00
Cosmin Sabou 20c5475d6d Merge mozilla-central to autoland. 2018-11-28 06:11:15 +02:00
Cosmin Sabou e1e8f2ea69 Merge mozilla-inbound to mozilla-central. a=merge 2018-11-28 06:08:19 +02:00
Matthew Noorenberghe f34b971aa6 Bug 1510470 - Disable OS re-auth for credit cards by default. r=timdream
Differential Revision: https://phabricator.services.mozilla.com/D13169

--HG--
extra : moz-landing-system : lando
2018-11-28 01:08:35 +00:00
Marco Bonardo 7adb9377d5 Bug 1510281 - Use a private and isolated context for search suggestions. r=mkaply
Differential Revision: https://phabricator.services.mozilla.com/D13082

--HG--
extra : moz-landing-system : lando
2018-11-27 17:18:28 +00:00
Mike Conley a8e69172a4 Bug 1507536 - Set skipintoolbarset="true" on some titlebar items to avoid redundant context menu items. r=dao
This adds a skipintoolbarset to the toolbar-menubar spacer and the titlebar-buttonbox-container
hbox to avoid a case where an exception can be thrown from CustomizableUI.isWidgetRemovable,
which expects all direct descendants of toolbars to either have an ID, be one of a special
set of node types, or have skipintoolbarset="true" set on it.

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

--HG--
extra : moz-landing-system : lando
2018-11-27 22:33:33 +00:00
Dão Gottwald 0f23fd4558 Bug 1509309 - Move most browser-*.js scripts from global-scripts.inc to browser.xul. r=Standard8
Differential Revision: https://phabricator.services.mozilla.com/D13064

--HG--
extra : moz-landing-system : lando
2018-11-27 21:55:21 +00:00
Erica Wright 0db7de0b87 Bug 1509558 - Trackers sub-panel category menu is correct in RTL mode. r=Ehsan
Differential Revision: https://phabricator.services.mozilla.com/D13114

--HG--
extra : moz-landing-system : lando
2018-11-27 21:54:02 +00:00
Cosmin Sabou 0bc8722484 Merge mozilla-central to autoland. 2018-11-28 00:12:05 +02:00
Cosmin Sabou a9287012c1 Backed out changeset fd00df2e0aba (bug 1507536) for causing bug 1509711 as mconley requested. a=backout 2018-11-27 23:56:47 +02:00
Erica Wright 7d7e997a07 Bug 1507981 - Land string early, awaiting decision on the rest of the patch. r=flod
Differential Revision: https://phabricator.services.mozilla.com/D12694

--HG--
extra : moz-landing-system : lando
2018-11-27 19:04:32 +00:00
Tom Prince 4f07d7aa2e Bug 1482395: [mozrelease] Generate whats new blob and populate it during release; r=mtabara
Differential Revision: https://phabricator.services.mozilla.com/D12708

--HG--
extra : moz-landing-system : lando
2018-11-26 17:51:23 +00:00
Mike Conley 74d08667b2 Bug 1509571 - Fix profiling for the sessionrestore_no_auto_restore Talos test. r=aswan
Differential Revision: https://phabricator.services.mozilla.com/D12789

--HG--
extra : moz-landing-system : lando
2018-11-27 18:36:40 +00:00
Razvan Maries 8965794e05 Merge mozilla-central to autoland. a=merge on a CLOSED TREE 2018-11-27 19:35:52 +02:00
Razvan Maries 99a5f987b3 Merge mozilla-inbound to mozilla-central a=merge 2018-11-27 19:32:31 +02:00
Bruce a2c54d59a6 Bug 1509209 - Show scrollbars in the Trackers sub-panel only if the content overflows. r=johannh 2018-11-26 22:21:00 +02:00
Sylvestre Ledru ef05004811 Bug 1503537 - Get rid of the pdfium & mortar code r=peterv
Differential Revision: https://phabricator.services.mozilla.com/D10352

--HG--
extra : moz-landing-system : lando
2018-11-28 19:31:21 +00:00
Dão Gottwald 0e10f820f1 Bug 1510599 - Backport simplified URL tooltip implementation from UrlbarInput.jsm to urlbarBindings.xml. r=adw
Differential Revision: https://phabricator.services.mozilla.com/D13248

--HG--
extra : moz-landing-system : lando
2018-11-28 19:08:46 +00:00
Shane Caraveo de4efccc84 Bug 1510700 wait for ContextualIdentityService before updating Discovery cookies r=Gijs
Differential Revision: https://phabricator.services.mozilla.com/D13291

--HG--
extra : moz-landing-system : lando
2018-11-28 19:14:10 +00:00
Dão Gottwald 992be297d7 Bug 1510414 - Use RTL_UI throughout tabbrowser.xml. r=florian
Differential Revision: https://phabricator.services.mozilla.com/D13124

--HG--
extra : moz-landing-system : lando
2018-11-28 17:34:57 +00:00
Andreea Pavel ebe85db8e7 Backed out changeset ad857edac6a5 (bug 1498163) for failing devtools/client/performance/test/browser_perf-telemetry-04.js on a CLOSED TREE 2018-11-27 11:05:28 +02:00
Jan-Erik Rediger c6e72f0819 Bug 1498163 - Migrate external callers to the new snapshot API r=chutten
Differential Revision: https://phabricator.services.mozilla.com/D12890

--HG--
extra : moz-landing-system : lando
2018-11-26 14:34:23 +00:00
Ed Lee 94aa6d4ebb Bug 1510040 - Add devtool documentation, devdep updates and bug fixes to Activity Stream r=k88hudson
Differential Revision: https://phabricator.services.mozilla.com/D13015

--HG--
extra : moz-landing-system : lando
2018-11-27 04:19:47 +00:00
Daniel Varga ef4c0efcc4 Merge mozilla-central to autoland. a=merge on a CLOSED TREE 2018-11-27 07:36:22 +02:00
Coroiu Cristina 9983cec79a Merge mozilla-central to inbound a=merge on a CLOSED TREE 2018-11-27 01:04:58 +02:00
Coroiu Cristina 9f7204e754 Merge inbound to mozilla-central a=merge 2018-11-27 00:34:45 +02:00
Geoff Brown a5ac70eeab Bug 1381451 - Skip test browser_819510_perwindowpb.js on remaining platforms; r=me,a=test-only 2018-11-26 15:05:27 -07:00
Ehsan Akhgari 923b4f06ad Bug 1503074 - Only touch the FX_TAB_SWITCH_COMPOSITE_E10S_MS stopwatch when we have actually started it in the past
Differential Revision: https://phabricator.services.mozilla.com/D12966

--HG--
extra : moz-landing-system : lando
2018-11-26 19:16:09 +00:00
Erica Wright 600ada9890 Bug 1501990 - Add a mode label to the Content Blocking section in the control center. r=johannh,flod
Differential Revision: https://phabricator.services.mozilla.com/D12717

--HG--
extra : moz-landing-system : lando
2018-11-26 16:59:19 +00:00
Dão Gottwald fbccdb1f61 Bug 1509488 - Use keydown handler instead of <key> for Shift+Ctrl+Tab. r=jaws
Differential Revision: https://phabricator.services.mozilla.com/D12744

--HG--
extra : moz-landing-system : lando
2018-11-26 16:07:07 +00:00
Ryan Hendrickson c81dc8dd55 Bug 1500479 - Part 2: expose tab successors in browser.tabs; r=mixedpuppy,rpl
1. Add successorTabId to the Tab type, so that it will be returned in, e.g.,
   browser.tabs.get calls

2. Extend or create the following methods on the browser.tabs API:
  - update: add successorTabId as an optional property on the provided
    updateProperties object
  - moveInSuccession: new method that manipulates tab successors in bulk

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

--HG--
extra : moz-landing-system : lando
2018-11-26 04:17:00 +00:00
Ryan Hendrickson 86f002c544 Bug 1500479 - Part 1: browser.tabs.onActivated; r=mixedpuppy,rpl,JanH
Add an optional previousTabId property to the onActivated event,
which is present if the previously activated tab is still open.

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

--HG--
extra : moz-landing-system : lando
2018-11-26 04:16:30 +00:00
Shane Caraveo 29892c75cf Bug 1508853 make the search default panel persistent, r=aswan
This is a quick fix to ensure that the search install panel is shown when an extension uses is_default.  The intention is to uplift for 64.

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

--HG--
extra : moz-landing-system : lando
2018-11-27 18:05:59 +00:00
Diego Pino Garcia d493028e02 Bug 1470196 - Show the month name after the month number in the cc-exp-month dropdown r=MattN
--HG--
extra : rebase_source : dab71b73d0f4e87e3d655f237d7bcc7a98dee01e
2018-11-22 23:22:00 +02:00
Csoregi Natalia bad8f23a5a Merge mozilla-central to autoland. CLOSED TREE 2018-11-26 18:22:02 +02:00
Csoregi Natalia 234c6b75f2 Merge inbound to mozilla-central. a=merge 2018-11-26 18:17:37 +02:00
Shane Caraveo dfbb130d83 Bug 1489531 Expose telemetry client_id hash to about:addons via cookie r=Gijs,chutten
Differential Revision: https://phabricator.services.mozilla.com/D9317

--HG--
extra : moz-landing-system : lando
2018-11-26 15:26:39 +00:00
James Lee 9cc4a04230 Bug 1507809 - Remove 'ExcludeReadOnlyFolders' option from places' queries r=Standard8
Removed all references to 'ExcludeReadOnlyFolders' since Firefox doesn't
(and will not) support read only folders.

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

--HG--
extra : moz-landing-system : lando
2018-11-26 13:18:05 +00:00
matthias e7d8cdcf0c Bug 1501423 - Add ability to reset a modified pref on new "about:config" page. r=paolo
Differential Revision: https://phabricator.services.mozilla.com/D12230

--HG--
extra : rebase_source : 361655e9d34f598bf7bb2fac11973f46124ff0f9
2018-11-26 10:26:20 +00:00
Ehsan Akhgari 5eb383c4df Bug 1508759 - Add support for hooking up permission prompts that don't use SitePermissions to TemporaryPermissions r=johannh
Normally, permission prompts would define a permissionKey attribute in order
to get integrated with SitePermissions.  Since SitePermissions is internally
hooked up to TemporaryPermissions, such permission prompts do not need any
extra handling for taking benefit from the temporary permissions infrastructure.

For the Storage Access API, however, we're not going to use SitePermissions,
and instead Gecko will be in charge of defining the required permissions in the
permission manager database when the prompt is responded to with an Allow
action.  This means that by default we won't be integrated with the temporary
permissions setup either.

This patch allows prompts to define a new way to opt out of reading and writing
permissions through the permission manager but still being integrated with
temporary permissions.  That is, through returning false from the new
usePermissionManager attribute and returning a name from the permissionKey
attribute.  TemporaryPermissions will do the expected work in order to ensure
that each prompt with a unique key will be automatically blocked if a previous
instance of the same prompt type with the same key has been blocked in the
current tab.

Note that this doesn't yet include support for showGloballyBlocked or
permitTemporaryAllow since those features aren't needed for our use case.

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

--HG--
extra : moz-landing-system : lando
2018-11-26 10:32:19 +00:00
Michael Kohler ce5de11037 Bug 1509411 - Remove the browser.contentblocking.(trackingprotection|rejecttrackers).ui.enabled prefs r=johannh
Differential Revision: https://phabricator.services.mozilla.com/D12819

--HG--
extra : moz-landing-system : lando
2018-11-26 12:57:42 +00:00
Dão Gottwald 9880945252 Bug 1509651 - Stop flushing style for knowing the UI direction. r=florian
Differential Revision: https://phabricator.services.mozilla.com/D12827

--HG--
extra : moz-landing-system : lando
2018-11-26 11:59:04 +00:00
Dão Gottwald 71cf7e0ea1 Bug 1509610 - Set default value for optional openParams parameter. r=Standard8
Differential Revision: https://phabricator.services.mozilla.com/D12812

--HG--
extra : moz-landing-system : lando
2018-11-26 10:58:54 +00:00
Dão Gottwald 4f21425ae7 Bug 1492810 - Display favicons in UrlbarView results. r=mak
Differential Revision: https://phabricator.services.mozilla.com/D12811

--HG--
extra : moz-landing-system : lando
2018-11-26 10:23:50 +00:00
Emilio Cobos Álvarez 9ed36d7ba6 Bug 1506547 - Align user-select behavior more with other UAs. r=mats
There's a few subtle behavior changes here, which I'll try to break down in the
commit message.

The biggest one is the EditableDescendantCount stuff going away. This
was added in bug 1181130, to prevent clicking on the non-editable div from
selecting the editable div inside. This is problematic for multiple reasons:

 * First, I don't think non-editable regions of an editable element should
   be user-select: all.

 * Second, it just doesn't work in Shadow DOM (the editable descendant count is
   not kept up-to-date when not in the uncomposed doc), so nested
   contenteditables behave differently inside vs. outside a Shadow Tree.

 * Third, I think it's user hostile to just entirely disable selection if you
   have a contenteditable descendant as a child of a user-select: all thing.

   WebKit behaves like this patch in the following test-case (though not Blink):

     https://crisal.io/tmp/user-select-all-contenteditable-descendant.html

   Edge doesn't seem to support user-select: all at all (no pun intended).

   But we don't allow to select anything at all which looks wrong.

 * Fourth, it's not tested at all (which explains how we broke it in Shadow DOM
   and not even notice...).

In any case I've verified that this doesn't regress the editor from that bug. If
this regresses anything we can fix it as outlined in the first bullet point
above, which should also make us more compatible with other UAs in that
test-case.

The other change is `all` not overriding everything else. So, something like:

  <div style="-webkit-user-select: all">All <div style="-webkit-user-select: none">None</div></div>

Totally ignores the -webkit-user-select: none declaration in Firefox before this
change. This doesn't match any other UA nor the spec, and this patch aligns us
with WebKit / Blink.

This in turn makes us not need -moz-text anymore, whose only purpose was to
avoid this.

This also fixes a variety of bugs uncovered by the previous changes, like the
SetIgnoreUserModify(false) call in editor being completely useless, since
presShell->SetCaretEnabled ended in nsCaret::SetVisible, which overrode it.

This in turn uncovered even more bugs, from bugs in the caret painting code,
like not checking -moz-user-modify on the right frame if you're the last frame
of a line, to even funnier bits where before this patch you show the caret but
can't write at all...

In any case, the new setup I came up with is that when you're editing (the
selection is focused on an editable node) moving the caret forces it to end up
in an editable node, thus jumping over non-editable ones.

This has the nice effect of not completely disabling selection of
-moz-user-select: all elements that have editable descendants (which was a very
ad-hoc hack for bug 1181130, and somewhat broken per the above), and also
not needing the -moz-user-select: all for non-editable bits in contenteditable.css
at all.

This also fixes issues with br-skipping like not being able to insert content in
the following test-case:

  <div contenteditable="true"><span contenteditable="false">xyz </span><br>editable</div>

If you start moving to the left from the second line, for example.

I think this yields way better behavior in all the relevant test-cases from bug
1181130 / bug 1109968 / bug 1132768, shouldn't cause any regression, and the
complexity is significantly reduced in some places.

There's still some other broken bits that this patch doesn't fix, but I'll file
follow-ups for those.

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

--HG--
extra : moz-landing-system : lando
2018-11-26 09:21:37 +00:00
Brindusan Cristian 31f0c21cca Backed out changeset 1575904619b5 (bug 1506547) for mochitest failures on test_reftests_with_caret.html. 2018-11-26 03:03:14 +02:00
Emilio Cobos Álvarez b74c31e4d9 Bug 1506547 - Align user-select behavior more with other UAs. r=mats
There's a few subtle behavior changes here, which I'll try to break down in the
commit message.

The biggest one is the EditableDescendantCount stuff going away. This
was added in bug 1181130, to prevent clicking on the non-editable div from
selecting the editable div inside. This is problematic for multiple reasons:

 * First, I don't think non-editable regions of an editable element should
   be user-select: all.

 * Second, it just doesn't work in Shadow DOM (the editable descendant count is
   not kept up-to-date when not in the uncomposed doc), so nested
   contenteditables behave differently inside vs. outside a Shadow Tree.

 * Third, I think it's user hostile to just entirely disable selection if you
   have a contenteditable descendant as a child of a user-select: all thing.

   WebKit behaves like this patch in the following test-case (though not Blink):

     https://crisal.io/tmp/user-select-all-contenteditable-descendant.html

   Edge doesn't seem to support user-select: all at all (no pun intended).

   But we don't allow to select anything at all which looks wrong.

 * Fourth, it's not tested at all (which explains how we broke it in Shadow DOM
   and not even notice...).

In any case I've verified that this doesn't regress the editor from that bug. If
this regresses anything we can fix it as outlined in the first bullet point
above, which should also make us more compatible with other UAs in that
test-case.

The other change is `all` not overriding everything else. So, something like:

  <div style="-webkit-user-select: all">All <div style="-webkit-user-select: none">None</div></div>

Totally ignores the -webkit-user-select: none declaration in Firefox before this
change. This doesn't match any other UA nor the spec, and this patch aligns us
with WebKit / Blink.

This in turn makes us not need -moz-text anymore, whose only purpose was to
avoid this.

This also fixes a variety of bugs uncovered by the previous changes, like the
SetIgnoreUserModify(false) call in editor being completely useless, since
presShell->SetCaretEnabled ended in nsCaret::SetVisible, which overrode it.

This in turn uncovered even more bugs, from bugs in the caret painting code,
like not checking -moz-user-modify on the right frame if you're the last frame
of a line, to even funnier bits where before this patch you show the caret but
can't write at all...

In any case, the new setup I came up with is that when you're editing (the
selection is focused on an editable node) moving the caret forces it to end up
in an editable node, thus jumping over non-editable ones.

This has the nice effect of not completely disabling selection of
-moz-user-select: all elements that have editable descendants (which was a very
ad-hoc hack for bug 1181130, and somewhat broken per the above), and also
not needing the -moz-user-select: all for non-editable bits in contenteditable.css
at all.

This also fixes issues with br-skipping like not being able to insert content in
the following test-case:

  <div contenteditable="true"><span contenteditable="false">xyz </span><br>editable</div>

If you start moving to the left from the second line, for example.

I think this yields way better behavior in all the relevant test-cases from bug
1181130 / bug 1109968 / bug 1132768, shouldn't cause any regression, and the
complexity is significantly reduced in some places.

There's still some other broken bits that this patch doesn't fix, but I'll file
follow-ups for those.

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

--HG--
extra : moz-landing-system : lando
2018-11-25 20:01:07 +00:00
ScottDowne 0040ce5c3d Bug 1509565 - Add Pocket bug fixes, Snippets Templates compat fixes to Activity Stream r=k88hudson
Differential Revision: https://phabricator.services.mozilla.com/D12805

--HG--
extra : moz-landing-system : lando
2018-11-25 19:19:23 +00:00
Dão Gottwald 68304e4ba7 Backed out changeset e6377178d093 (bug 1503161) for causing a bunch of regressions 2018-11-28 12:59:52 +01:00
Narcis Beleuzu fbd301ecde Merge mozilla-central to inbound. CLOSED TREE 2018-11-28 12:02:34 +02:00
Andrea Marchesini f399725b04 Bug 1503681 - rel=noopener implicit for target=_blank in anchor and area elements when no rel attribute is set - fix tests, r=me 2018-11-28 08:22:06 +01:00
Brindusan Cristian 025923e8bc Backed out 3 changesets (bug 1503681) for geckoview failures on org.mozilla.geckoview.test.GeckoSessionTestRuleTest.waitForChromeJS. CLOSED TREE
Backed out changeset 211c7dfdc408 (bug 1503681)
Backed out changeset 076cc5bece1d (bug 1503681)
Backed out changeset 7a19fe6be68c (bug 1503681)
2018-11-28 11:10:48 +02:00
Andrea Marchesini d69ebc1ae7 Bug 1503681 - rel=noopener implicit for target=_blank in anchor and area elements when no rel attribute is set - fix tests, r=me 2018-11-28 08:22:06 +01:00
Drew Willcoxon 086071e674 Bug 1502576 - The search bar's popup should not open when clicking menu items in its context menu. r=mkaply
Differential Revision: https://phabricator.services.mozilla.com/D12374

--HG--
extra : moz-landing-system : lando
2018-11-26 18:11:50 +00:00
Coroiu Cristina a2f107533b Merge mozilla-central to autoland a=merge on a CLOSED TREE 2018-11-27 01:03:16 +02:00
Ehsan Akhgari 164791340d Bug 1490811 - Part 2: Add a test for the basic functionality of the storage access prompt r=johannh
Depends on D12467

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

--HG--
extra : moz-landing-system : lando
2018-11-26 21:23:18 +00:00
Ehsan Akhgari cc714b7adc Bug 1490811 - Part 1: Add a permission doorhanger for the storage access API r=baku,johannh
Differential Revision: https://phabricator.services.mozilla.com/D12467

--HG--
extra : moz-landing-system : lando
2018-11-26 21:23:16 +00:00
Jared Wein bb423a3f8f Bug 1496618 - Restore the stubbed function at the end of the test. r=Felipe
Differential Revision: https://phabricator.services.mozilla.com/D12952

--HG--
extra : moz-landing-system : lando
2018-11-26 20:45:17 +00:00
Erica Wright 01788b8f3c Bug 1509936 - Fix l10n ids in content blocking. r=flod
This changes the strings' l10n ids for the strings that changed context but did not previously change their ids.

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

--HG--
extra : moz-landing-system : lando
2018-11-26 18:52:43 +00:00
Nazım Can Altınova 52910a3163 Bug 1476775 - Part 1: Discard samples that are older than given duration r=mstange
Differential Revision: https://phabricator.services.mozilla.com/D6267

--HG--
extra : moz-landing-system : lando
2018-11-21 14:13:15 +00:00
Christian Holler e48061eb07 Bug 1506044 - Do not send cookies with ASan reporter submits. r=johannh
Differential Revision: https://phabricator.services.mozilla.com/D12317

--HG--
extra : moz-landing-system : lando
2018-11-21 23:18:27 +00:00
Dão Gottwald 9d5b17b2cc Bug 1508979 - Fix global-scope pollution from browser-plugins.js. r=Gijs
Differential Revision: https://phabricator.services.mozilla.com/D12528

--HG--
extra : moz-landing-system : lando
2018-11-23 18:07:39 +00:00
Mark Striemer 0d767776aa Bug 1488442 - Part 2: Ensure added langpack is enabled r=aswan
Differential Revision: https://phabricator.services.mozilla.com/D10981

--HG--
extra : moz-landing-system : lando
2018-11-23 19:59:58 +00:00
Mark Striemer 6106f2245a Bug 1488442 - Part 1: Only list available locales in the requested set r=zbraniecki
Generally, this switches Services.locale.requestedLocales calls to use
Services.locale.appLocalesAsBCP47.

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

--HG--
extra : moz-landing-system : lando
2018-11-23 19:59:59 +00:00
Ehsan Akhgari 3f59af6b0a Bug 1508944 - Avoid dispatching the OnSecurityChange notification repeatedly when nothing has changed r=baku
Differential Revision: https://phabricator.services.mozilla.com/D12601

--HG--
extra : moz-landing-system : lando
2018-11-23 18:07:46 +00:00
Erica Wright b44fb2b5e6 Bug 1508806 - Toggling between content blocking categories correctly changes when there are multiple windows. r=johannh
We no longer set up a listener on a per-window basis for category preference changes.

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

--HG--
extra : moz-landing-system : lando
2018-11-23 16:08:58 +00:00
Dão Gottwald d201595d2e Bug 1509489 - Make StatusPanel._calcMouseTargetRect not flush layout or style and revert bug 1358712. r=mconley
Differential Revision: https://phabricator.services.mozilla.com/D12747

--HG--
extra : moz-landing-system : lando
2018-11-23 17:35:06 +00:00
Dão Gottwald 1bc409189c Bug 1509323 - Make gDragSpaceObserver private. r=johannh
Differential Revision: https://phabricator.services.mozilla.com/D12662

--HG--
extra : moz-landing-system : lando
2018-11-23 15:59:53 +00:00
Marco Bonardo 6d09b83cad Bug 1315509 - Ctrl+K shortcut should add '?' to the Address Bar if search bar is removed. r=adw
Differential Revision: https://phabricator.services.mozilla.com/D12222

--HG--
extra : moz-landing-system : lando
2018-11-23 15:15:47 +00:00
Jan-Erik Rediger b07e153ff0 Bug 1498173 - Migrate external tests to changed histogram API r=chutten
Depends on D12557

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

--HG--
extra : moz-landing-system : lando
2018-11-22 23:35:43 +00:00
Dão Gottwald 5973fb688b Bug 1509451 - Remove LOGGER_NAME and LOGGER_PREFIX as global variables. r=Standard8
Differential Revision: https://phabricator.services.mozilla.com/D12729

--HG--
extra : moz-landing-system : lando
2018-11-23 10:22:45 +00:00
shindli 20df68a5f5 Merge inbound to mozilla-central. a=merge 2018-11-23 11:38:42 +02:00
Mike Conley ae73252072 Bug 1507536 - Remove spacer in toolbar-menubar, and just make the menubar items flex instead. r=dao
This also adds a skipintoolbarset to the titlebar-buttonbox-container hbox to avoid a case
where an exception can be thrown from CustomizableUI.isWidgetRemovable, which expects all
direct descendants of toolbars to either have an ID, be one of a special set of node types,
or have skipintoolbarset="true" set on it.

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

--HG--
extra : moz-landing-system : lando
2018-11-23 05:35:48 +00:00
Vincent Cote 96b0b6cd8e Bug 1501649 - Add ability to delete a user-created pref on new "about:config" page. r=paolo
Differential Revision: https://phabricator.services.mozilla.com/D11804

--HG--
extra : rebase_source : 04073cc4f1f893024baa9b1d07da99fc4ab0d55a
extra : amend_source : 331881626b1b75240bd96ce98a9ff96a77230873
2018-11-22 22:07:05 +00:00
Erica Wright e686b919c1 Bug 1508712 - New strings for the trackers dropdown menulist. r=flod
Differential Revision: https://phabricator.services.mozilla.com/D12674

--HG--
extra : moz-landing-system : lando
2018-11-22 17:57:56 +00:00
Noemi Erli aa166890b9 Backed out changeset d8cec61d53e8 (bug 1508944) for failures in browser_trackingUI_trackers_subview.js 2018-11-23 01:05:18 +02:00
Aaron Klotz 458a02325f Bug 1509277: Handle ERROR_INVALID_PARAMETER from OpenProcess differently from other errors in launcher process startup; r=cpearce
If the launcher process's parent process was ephemeral, the parent may have
terminated before the launcher has a chance to open a handle to it. If so,
OpenProcess will fail with ERROR_INVALID_PARAMETER, as the pid is now invalid.

This is a common case, so instead of erroring out, IsSameBinaryAsParentProcess
should treat this case as, "No, our parent was not a Firefox binary" and just
return false.

This eliminated the intermittent xpcshell failures on try.

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

--HG--
extra : moz-landing-system : lando
2018-11-22 22:37:04 +00:00
Erica Wright 173d7489f1 Bug 1508716 - New strings for the cookies dropdown menulist r=flod
Differential Revision: https://phabricator.services.mozilla.com/D12673

--HG--
extra : moz-landing-system : lando
2018-11-22 17:38:12 +00:00
Ursula Sarracini 7a820761b6 Bug 1505189 - Land Return to AMO strings r=flod
Differential Revision: https://phabricator.services.mozilla.com/D12669

--HG--
extra : moz-landing-system : lando
2018-11-22 18:46:41 +00:00
Mark Striemer 2a883011a0 Bug 1509080 - Clear language change confirmation content on hide r=jaws
Previously this would just clear the locales attribute on the button, but the
button isn't always part of the content now. The content is generated in full
when it is shown.

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

--HG--
extra : moz-landing-system : lando
2018-11-22 17:56:27 +00:00
Dão Gottwald 55b1d38973 Bug 1491277 - Align UrlbarView results with the textbox. r=paolo
Differential Revision: https://phabricator.services.mozilla.com/D12548

--HG--
extra : moz-landing-system : lando
2018-11-22 16:29:51 +00:00
yehudab d8e6ef12af Bug 1503161 - Use rtl for placeholder text in urlbar if user interface is rtl r=dao
The URL bar is used for showing the URL, but also as a way to start a search.
A placeholder text is shown to let the user know about these possibilities.
In right-to-left (RTL) interface, URLs are forced to be displayed from left-to-right (LTR) to avoid confusion.
This creates an undesired side-effect, causing the placeholder text to also display LTR.
Following changes in bug 1449317, this placeholder text now contains both localized text, and names of search engines (such as Google), which causes a break in the bidi flow of text.

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

--HG--
extra : moz-landing-system : lando
2018-11-22 17:00:03 +00:00
Mike Conley e1d917279b Bug 1508954 - Avoid accidentally overriding rules that collapse toolbars when in fullscreen mode. r=dao
Differential Revision: https://phabricator.services.mozilla.com/D12585

--HG--
extra : moz-landing-system : lando
2018-11-22 15:37:36 +00:00
Ehsan Akhgari 5013723c45 Bug 1508944 - Avoid dispatching the OnSecurityChange notification repeatedly when nothing has changed r=baku
Differential Revision: https://phabricator.services.mozilla.com/D12601

--HG--
extra : moz-landing-system : lando
2018-11-22 17:24:34 +00:00
Qinghao_Jack_Song 50c25b7112 Bug 1508778 - [RTL] Background image overlapping the text in about:sessionrestore r=Gijs
Differential Revision: https://phabricator.services.mozilla.com/D12666

--HG--
extra : moz-landing-system : lando
2018-11-22 19:47:27 +00:00
Dão Gottwald 0c038526e1 Bug 1509321 - Use default --toolbarbutton-icon-fill-opacity when overriding --lwt-toolbarbutton-icon-fill in the titlebar. r=ntim
Differential Revision: https://phabricator.services.mozilla.com/D12663

--HG--
extra : moz-landing-system : lando
2018-11-22 14:41:54 +00:00
Erica Wright 8053ed16f9 Bug 1508708 - Turn on Content Blocking button should be blue. r=dao
Change the button background from purple to blue. Stop the label from flashing white on click on mac and hover on linux.

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

--HG--
extra : moz-landing-system : lando
2018-11-22 12:30:33 +00:00
Maxiwell Luo 2e676cc49d Bug 1506338 - Use gBrowser instead of getBrowser() in pocket code r=dao
Differential Revision: https://phabricator.services.mozilla.com/D12621

--HG--
extra : moz-landing-system : lando
2018-11-22 10:43:27 +00:00
Tim Nguyen 044d8ca731 Bug 1508142 - Remove remains of tree cell-based selection code. r=bzbarsky,bgrins
Differential Revision: https://phabricator.services.mozilla.com/D12225

--HG--
extra : moz-landing-system : lando
2018-11-22 09:59:02 +00:00
Timothy Guan-tin Chien 1fc139dbad Bug 1497940 - Part V, Convert pluginProblem to UA Widget r=smaug
This patch creates a pluginProblem UA Widget and constructs it (instead of the XBL pluginProblem binding) when UA Widget is enabled.

Tests in browser/base/content/test/plugins/ are duplicated so that we could test both versions.

Depends on D11702

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

--HG--
rename : browser/base/content/test/plugins/.eslintrc.js => browser/base/content/test/plugins/xbl/.eslintrc.js
rename : browser/base/content/test/plugins/blockNoPlugins.xml => browser/base/content/test/plugins/xbl/blockNoPlugins.xml
rename : browser/base/content/test/plugins/blockPluginHard.xml => browser/base/content/test/plugins/xbl/blockPluginHard.xml
rename : browser/base/content/test/plugins/blockPluginInfoURL.xml => browser/base/content/test/plugins/xbl/blockPluginInfoURL.xml
rename : browser/base/content/test/plugins/blockPluginVulnerableNoUpdate.xml => browser/base/content/test/plugins/xbl/blockPluginVulnerableNoUpdate.xml
rename : browser/base/content/test/plugins/blockPluginVulnerableUpdatable.xml => browser/base/content/test/plugins/xbl/blockPluginVulnerableUpdatable.xml
rename : browser/base/content/test/plugins/blocklist_proxy.js => browser/base/content/test/plugins/xbl/blocklist_proxy.js
rename : browser/base/content/test/plugins/browser.ini => browser/base/content/test/plugins/xbl/browser.ini
rename : browser/base/content/test/plugins/browser_CTP_context_menu.js => browser/base/content/test/plugins/xbl/browser_CTP_context_menu.js
rename : browser/base/content/test/plugins/browser_CTP_crashreporting.js => browser/base/content/test/plugins/xbl/browser_CTP_crashreporting.js
rename : browser/base/content/test/plugins/browser_CTP_drag_drop.js => browser/base/content/test/plugins/xbl/browser_CTP_drag_drop.js
rename : browser/base/content/test/plugins/browser_CTP_favorfallback.js => browser/base/content/test/plugins/xbl/browser_CTP_favorfallback.js
rename : browser/base/content/test/plugins/browser_CTP_hide_overlay.js => browser/base/content/test/plugins/xbl/browser_CTP_hide_overlay.js
rename : browser/base/content/test/plugins/browser_CTP_iframe.js => browser/base/content/test/plugins/xbl/browser_CTP_iframe.js
rename : browser/base/content/test/plugins/browser_CTP_nonplugins.js => browser/base/content/test/plugins/xbl/browser_CTP_nonplugins.js
rename : browser/base/content/test/plugins/browser_CTP_outsideScrollArea.js => browser/base/content/test/plugins/xbl/browser_CTP_outsideScrollArea.js
rename : browser/base/content/test/plugins/browser_CTP_overlay_styles.js => browser/base/content/test/plugins/xbl/browser_CTP_overlay_styles.js
rename : browser/base/content/test/plugins/browser_CTP_resize.js => browser/base/content/test/plugins/xbl/browser_CTP_resize.js
rename : browser/base/content/test/plugins/browser_CTP_shouldShowOverlay.js => browser/base/content/test/plugins/xbl/browser_CTP_shouldShowOverlay.js
rename : browser/base/content/test/plugins/browser_CTP_zoom.js => browser/base/content/test/plugins/xbl/browser_CTP_zoom.js
rename : browser/base/content/test/plugins/browser_blocking.js => browser/base/content/test/plugins/xbl/browser_blocking.js
rename : browser/base/content/test/plugins/browser_blocklist_content.js => browser/base/content/test/plugins/xbl/browser_blocklist_content.js
rename : browser/base/content/test/plugins/browser_bug743421.js => browser/base/content/test/plugins/xbl/browser_bug743421.js
rename : browser/base/content/test/plugins/browser_bug744745.js => browser/base/content/test/plugins/xbl/browser_bug744745.js
rename : browser/base/content/test/plugins/browser_bug787619.js => browser/base/content/test/plugins/xbl/browser_bug787619.js
rename : browser/base/content/test/plugins/browser_bug797677.js => browser/base/content/test/plugins/xbl/browser_bug797677.js
rename : browser/base/content/test/plugins/browser_bug812562.js => browser/base/content/test/plugins/xbl/browser_bug812562.js
rename : browser/base/content/test/plugins/browser_bug818118.js => browser/base/content/test/plugins/xbl/browser_bug818118.js
rename : browser/base/content/test/plugins/browser_bug820497.js => browser/base/content/test/plugins/xbl/browser_bug820497.js
rename : browser/base/content/test/plugins/browser_clearplugindata.html => browser/base/content/test/plugins/xbl/browser_clearplugindata.html
rename : browser/base/content/test/plugins/browser_clearplugindata.js => browser/base/content/test/plugins/xbl/browser_clearplugindata.js
rename : browser/base/content/test/plugins/browser_clearplugindata_noage.html => browser/base/content/test/plugins/xbl/browser_clearplugindata_noage.html
rename : browser/base/content/test/plugins/browser_enable_DRM_prompt.js => browser/base/content/test/plugins/xbl/browser_enable_DRM_prompt.js
rename : browser/base/content/test/plugins/browser_globalplugin_crashinfobar.js => browser/base/content/test/plugins/xbl/browser_globalplugin_crashinfobar.js
rename : browser/base/content/test/plugins/browser_iterate_hidden_plugins.js => browser/base/content/test/plugins/xbl/browser_iterate_hidden_plugins.js
rename : browser/base/content/test/plugins/browser_pluginCrashCommentAndURL.js => browser/base/content/test/plugins/xbl/browser_pluginCrashCommentAndURL.js
rename : browser/base/content/test/plugins/browser_pluginCrashReportNonDeterminism.js => browser/base/content/test/plugins/xbl/browser_pluginCrashReportNonDeterminism.js
rename : browser/base/content/test/plugins/browser_plugin_reloading.js => browser/base/content/test/plugins/xbl/browser_plugin_reloading.js
rename : browser/base/content/test/plugins/browser_pluginnotification.js => browser/base/content/test/plugins/xbl/browser_pluginnotification.js
rename : browser/base/content/test/plugins/browser_private_browsing_eme_persistent_state.js => browser/base/content/test/plugins/xbl/browser_private_browsing_eme_persistent_state.js
rename : browser/base/content/test/plugins/browser_private_clicktoplay.js => browser/base/content/test/plugins/xbl/browser_private_clicktoplay.js
rename : browser/base/content/test/plugins/browser_subframe_access_hidden_plugins.js => browser/base/content/test/plugins/xbl/browser_subframe_access_hidden_plugins.js
rename : browser/base/content/test/plugins/empty_file.html => browser/base/content/test/plugins/xbl/empty_file.html
rename : browser/base/content/test/plugins/plugin_add_dynamically.html => browser/base/content/test/plugins/xbl/plugin_add_dynamically.html
rename : browser/base/content/test/plugins/plugin_alternate_content.html => browser/base/content/test/plugins/xbl/plugin_alternate_content.html
rename : browser/base/content/test/plugins/plugin_big.html => browser/base/content/test/plugins/xbl/plugin_big.html
rename : browser/base/content/test/plugins/plugin_both.html => browser/base/content/test/plugins/xbl/plugin_both.html
rename : browser/base/content/test/plugins/plugin_both2.html => browser/base/content/test/plugins/xbl/plugin_both2.html
rename : browser/base/content/test/plugins/plugin_bug744745.html => browser/base/content/test/plugins/xbl/plugin_bug744745.html
rename : browser/base/content/test/plugins/plugin_bug749455.html => browser/base/content/test/plugins/xbl/plugin_bug749455.html
rename : browser/base/content/test/plugins/plugin_bug787619.html => browser/base/content/test/plugins/xbl/plugin_bug787619.html
rename : browser/base/content/test/plugins/plugin_bug797677.html => browser/base/content/test/plugins/xbl/plugin_bug797677.html
rename : browser/base/content/test/plugins/plugin_bug820497.html => browser/base/content/test/plugins/xbl/plugin_bug820497.html
rename : browser/base/content/test/plugins/plugin_clickToPlayAllow.html => browser/base/content/test/plugins/xbl/plugin_clickToPlayAllow.html
rename : browser/base/content/test/plugins/plugin_clickToPlayDeny.html => browser/base/content/test/plugins/xbl/plugin_clickToPlayDeny.html
rename : browser/base/content/test/plugins/plugin_crashCommentAndURL.html => browser/base/content/test/plugins/xbl/plugin_crashCommentAndURL.html
rename : browser/base/content/test/plugins/plugin_favorfallback.html => browser/base/content/test/plugins/xbl/plugin_favorfallback.html
rename : browser/base/content/test/plugins/plugin_hidden_to_visible.html => browser/base/content/test/plugins/xbl/plugin_hidden_to_visible.html
rename : browser/base/content/test/plugins/plugin_iframe.html => browser/base/content/test/plugins/xbl/plugin_iframe.html
rename : browser/base/content/test/plugins/plugin_outsideScrollArea.html => browser/base/content/test/plugins/xbl/plugin_outsideScrollArea.html
rename : browser/base/content/test/plugins/plugin_overlay_styles.html => browser/base/content/test/plugins/xbl/plugin_overlay_styles.html
rename : browser/base/content/test/plugins/plugin_shouldShowOverlay.html => browser/base/content/test/plugins/xbl/plugin_shouldShowOverlay.html
rename : browser/base/content/test/plugins/plugin_simple_blank.swf => browser/base/content/test/plugins/xbl/plugin_simple_blank.swf
rename : browser/base/content/test/plugins/plugin_small.html => browser/base/content/test/plugins/xbl/plugin_small.html
rename : browser/base/content/test/plugins/plugin_small_2.html => browser/base/content/test/plugins/xbl/plugin_small_2.html
rename : browser/base/content/test/plugins/plugin_syncRemoved.html => browser/base/content/test/plugins/xbl/plugin_syncRemoved.html
rename : browser/base/content/test/plugins/plugin_test.html => browser/base/content/test/plugins/xbl/plugin_test.html
rename : browser/base/content/test/plugins/plugin_test2.html => browser/base/content/test/plugins/xbl/plugin_test2.html
rename : browser/base/content/test/plugins/plugin_test3.html => browser/base/content/test/plugins/xbl/plugin_test3.html
rename : browser/base/content/test/plugins/plugin_two_types.html => browser/base/content/test/plugins/xbl/plugin_two_types.html
rename : browser/base/content/test/plugins/plugin_unknown.html => browser/base/content/test/plugins/xbl/plugin_unknown.html
rename : browser/base/content/test/plugins/plugin_zoom.html => browser/base/content/test/plugins/xbl/plugin_zoom.html
rename : toolkit/pluginproblem/content/pluginProblem.xml => toolkit/content/widgets/pluginProblem.js
extra : moz-landing-system : lando
2018-11-22 05:49:54 +00:00
Timothy Guan-tin Chien b4eeedcbf1 Bug 1497940 - Part IV, Move pluginProblem resources from chrome://mozapps to chrome://global r=mossop
This is needed because UA Widget cannot load resources from chrome://mozapps.

Depends on D11701

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

--HG--
rename : toolkit/themes/osx/mozapps/plugins/pluginHelp-16.png => toolkit/themes/osx/global/plugins/pluginHelp-16.png
rename : toolkit/themes/osx/mozapps/plugins/pluginHelp-16.png => toolkit/themes/windows/global/plugins/pluginHelp-16.png
extra : moz-landing-system : lando
2018-11-22 05:49:22 +00:00
Mike Conley a6ae6c592f Bug 1506026 - Don't accidentally hide the navigator-toolbox if fullscreen has been exited. r=jaws
Differential Revision: https://phabricator.services.mozilla.com/D12594

--HG--
extra : moz-landing-system : lando
2018-11-21 23:28:45 +00:00
Dorel Luca 30a79bc822 Backed out 3 changesets (bug 1497940) for Browser-chrome in toolkit/mozapps/extensions/test/browser/browser_CTP_plugins.js
Backed out changeset 493083d55865 (bug 1497940)
Backed out changeset b503b1a1552c (bug 1497940)
Backed out changeset 6918f8e2f38c (bug 1497940)

--HG--
rename : toolkit/themes/windows/global/plugins/pluginHelp-16.png => toolkit/themes/osx/mozapps/plugins/pluginHelp-16.png
2018-11-22 05:04:55 +02:00
Timothy Guan-tin Chien c705998442 Bug 1497940 - Part V, Convert pluginProblem to UA Widget r=smaug
This patch creates a pluginProblem UA Widget and constructs it (instead of the XBL pluginProblem binding) when UA Widget is enabled.

Tests in browser/base/content/test/plugins/ are duplicated so that we could test both versions.

Depends on D11702

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

--HG--
rename : browser/base/content/test/plugins/.eslintrc.js => browser/base/content/test/plugins/xbl/.eslintrc.js
rename : browser/base/content/test/plugins/blockNoPlugins.xml => browser/base/content/test/plugins/xbl/blockNoPlugins.xml
rename : browser/base/content/test/plugins/blockPluginHard.xml => browser/base/content/test/plugins/xbl/blockPluginHard.xml
rename : browser/base/content/test/plugins/blockPluginInfoURL.xml => browser/base/content/test/plugins/xbl/blockPluginInfoURL.xml
rename : browser/base/content/test/plugins/blockPluginVulnerableNoUpdate.xml => browser/base/content/test/plugins/xbl/blockPluginVulnerableNoUpdate.xml
rename : browser/base/content/test/plugins/blockPluginVulnerableUpdatable.xml => browser/base/content/test/plugins/xbl/blockPluginVulnerableUpdatable.xml
rename : browser/base/content/test/plugins/blocklist_proxy.js => browser/base/content/test/plugins/xbl/blocklist_proxy.js
rename : browser/base/content/test/plugins/browser.ini => browser/base/content/test/plugins/xbl/browser.ini
rename : browser/base/content/test/plugins/browser_CTP_context_menu.js => browser/base/content/test/plugins/xbl/browser_CTP_context_menu.js
rename : browser/base/content/test/plugins/browser_CTP_crashreporting.js => browser/base/content/test/plugins/xbl/browser_CTP_crashreporting.js
rename : browser/base/content/test/plugins/browser_CTP_drag_drop.js => browser/base/content/test/plugins/xbl/browser_CTP_drag_drop.js
rename : browser/base/content/test/plugins/browser_CTP_favorfallback.js => browser/base/content/test/plugins/xbl/browser_CTP_favorfallback.js
rename : browser/base/content/test/plugins/browser_CTP_hide_overlay.js => browser/base/content/test/plugins/xbl/browser_CTP_hide_overlay.js
rename : browser/base/content/test/plugins/browser_CTP_iframe.js => browser/base/content/test/plugins/xbl/browser_CTP_iframe.js
rename : browser/base/content/test/plugins/browser_CTP_nonplugins.js => browser/base/content/test/plugins/xbl/browser_CTP_nonplugins.js
rename : browser/base/content/test/plugins/browser_CTP_outsideScrollArea.js => browser/base/content/test/plugins/xbl/browser_CTP_outsideScrollArea.js
rename : browser/base/content/test/plugins/browser_CTP_overlay_styles.js => browser/base/content/test/plugins/xbl/browser_CTP_overlay_styles.js
rename : browser/base/content/test/plugins/browser_CTP_resize.js => browser/base/content/test/plugins/xbl/browser_CTP_resize.js
rename : browser/base/content/test/plugins/browser_CTP_shouldShowOverlay.js => browser/base/content/test/plugins/xbl/browser_CTP_shouldShowOverlay.js
rename : browser/base/content/test/plugins/browser_CTP_zoom.js => browser/base/content/test/plugins/xbl/browser_CTP_zoom.js
rename : browser/base/content/test/plugins/browser_blocking.js => browser/base/content/test/plugins/xbl/browser_blocking.js
rename : browser/base/content/test/plugins/browser_blocklist_content.js => browser/base/content/test/plugins/xbl/browser_blocklist_content.js
rename : browser/base/content/test/plugins/browser_bug743421.js => browser/base/content/test/plugins/xbl/browser_bug743421.js
rename : browser/base/content/test/plugins/browser_bug744745.js => browser/base/content/test/plugins/xbl/browser_bug744745.js
rename : browser/base/content/test/plugins/browser_bug787619.js => browser/base/content/test/plugins/xbl/browser_bug787619.js
rename : browser/base/content/test/plugins/browser_bug797677.js => browser/base/content/test/plugins/xbl/browser_bug797677.js
rename : browser/base/content/test/plugins/browser_bug812562.js => browser/base/content/test/plugins/xbl/browser_bug812562.js
rename : browser/base/content/test/plugins/browser_bug818118.js => browser/base/content/test/plugins/xbl/browser_bug818118.js
rename : browser/base/content/test/plugins/browser_bug820497.js => browser/base/content/test/plugins/xbl/browser_bug820497.js
rename : browser/base/content/test/plugins/browser_clearplugindata.html => browser/base/content/test/plugins/xbl/browser_clearplugindata.html
rename : browser/base/content/test/plugins/browser_clearplugindata.js => browser/base/content/test/plugins/xbl/browser_clearplugindata.js
rename : browser/base/content/test/plugins/browser_clearplugindata_noage.html => browser/base/content/test/plugins/xbl/browser_clearplugindata_noage.html
rename : browser/base/content/test/plugins/browser_enable_DRM_prompt.js => browser/base/content/test/plugins/xbl/browser_enable_DRM_prompt.js
rename : browser/base/content/test/plugins/browser_globalplugin_crashinfobar.js => browser/base/content/test/plugins/xbl/browser_globalplugin_crashinfobar.js
rename : browser/base/content/test/plugins/browser_iterate_hidden_plugins.js => browser/base/content/test/plugins/xbl/browser_iterate_hidden_plugins.js
rename : browser/base/content/test/plugins/browser_pluginCrashCommentAndURL.js => browser/base/content/test/plugins/xbl/browser_pluginCrashCommentAndURL.js
rename : browser/base/content/test/plugins/browser_pluginCrashReportNonDeterminism.js => browser/base/content/test/plugins/xbl/browser_pluginCrashReportNonDeterminism.js
rename : browser/base/content/test/plugins/browser_plugin_reloading.js => browser/base/content/test/plugins/xbl/browser_plugin_reloading.js
rename : browser/base/content/test/plugins/browser_pluginnotification.js => browser/base/content/test/plugins/xbl/browser_pluginnotification.js
rename : browser/base/content/test/plugins/browser_private_browsing_eme_persistent_state.js => browser/base/content/test/plugins/xbl/browser_private_browsing_eme_persistent_state.js
rename : browser/base/content/test/plugins/browser_private_clicktoplay.js => browser/base/content/test/plugins/xbl/browser_private_clicktoplay.js
rename : browser/base/content/test/plugins/browser_subframe_access_hidden_plugins.js => browser/base/content/test/plugins/xbl/browser_subframe_access_hidden_plugins.js
rename : browser/base/content/test/plugins/empty_file.html => browser/base/content/test/plugins/xbl/empty_file.html
rename : browser/base/content/test/plugins/plugin_add_dynamically.html => browser/base/content/test/plugins/xbl/plugin_add_dynamically.html
rename : browser/base/content/test/plugins/plugin_alternate_content.html => browser/base/content/test/plugins/xbl/plugin_alternate_content.html
rename : browser/base/content/test/plugins/plugin_big.html => browser/base/content/test/plugins/xbl/plugin_big.html
rename : browser/base/content/test/plugins/plugin_both.html => browser/base/content/test/plugins/xbl/plugin_both.html
rename : browser/base/content/test/plugins/plugin_both2.html => browser/base/content/test/plugins/xbl/plugin_both2.html
rename : browser/base/content/test/plugins/plugin_bug744745.html => browser/base/content/test/plugins/xbl/plugin_bug744745.html
rename : browser/base/content/test/plugins/plugin_bug749455.html => browser/base/content/test/plugins/xbl/plugin_bug749455.html
rename : browser/base/content/test/plugins/plugin_bug787619.html => browser/base/content/test/plugins/xbl/plugin_bug787619.html
rename : browser/base/content/test/plugins/plugin_bug797677.html => browser/base/content/test/plugins/xbl/plugin_bug797677.html
rename : browser/base/content/test/plugins/plugin_bug820497.html => browser/base/content/test/plugins/xbl/plugin_bug820497.html
rename : browser/base/content/test/plugins/plugin_clickToPlayAllow.html => browser/base/content/test/plugins/xbl/plugin_clickToPlayAllow.html
rename : browser/base/content/test/plugins/plugin_clickToPlayDeny.html => browser/base/content/test/plugins/xbl/plugin_clickToPlayDeny.html
rename : browser/base/content/test/plugins/plugin_crashCommentAndURL.html => browser/base/content/test/plugins/xbl/plugin_crashCommentAndURL.html
rename : browser/base/content/test/plugins/plugin_favorfallback.html => browser/base/content/test/plugins/xbl/plugin_favorfallback.html
rename : browser/base/content/test/plugins/plugin_hidden_to_visible.html => browser/base/content/test/plugins/xbl/plugin_hidden_to_visible.html
rename : browser/base/content/test/plugins/plugin_iframe.html => browser/base/content/test/plugins/xbl/plugin_iframe.html
rename : browser/base/content/test/plugins/plugin_outsideScrollArea.html => browser/base/content/test/plugins/xbl/plugin_outsideScrollArea.html
rename : browser/base/content/test/plugins/plugin_overlay_styles.html => browser/base/content/test/plugins/xbl/plugin_overlay_styles.html
rename : browser/base/content/test/plugins/plugin_shouldShowOverlay.html => browser/base/content/test/plugins/xbl/plugin_shouldShowOverlay.html
rename : browser/base/content/test/plugins/plugin_simple_blank.swf => browser/base/content/test/plugins/xbl/plugin_simple_blank.swf
rename : browser/base/content/test/plugins/plugin_small.html => browser/base/content/test/plugins/xbl/plugin_small.html
rename : browser/base/content/test/plugins/plugin_small_2.html => browser/base/content/test/plugins/xbl/plugin_small_2.html
rename : browser/base/content/test/plugins/plugin_syncRemoved.html => browser/base/content/test/plugins/xbl/plugin_syncRemoved.html
rename : browser/base/content/test/plugins/plugin_test.html => browser/base/content/test/plugins/xbl/plugin_test.html
rename : browser/base/content/test/plugins/plugin_test2.html => browser/base/content/test/plugins/xbl/plugin_test2.html
rename : browser/base/content/test/plugins/plugin_test3.html => browser/base/content/test/plugins/xbl/plugin_test3.html
rename : browser/base/content/test/plugins/plugin_two_types.html => browser/base/content/test/plugins/xbl/plugin_two_types.html
rename : browser/base/content/test/plugins/plugin_unknown.html => browser/base/content/test/plugins/xbl/plugin_unknown.html
rename : browser/base/content/test/plugins/plugin_zoom.html => browser/base/content/test/plugins/xbl/plugin_zoom.html
rename : toolkit/pluginproblem/content/pluginProblem.xml => toolkit/content/widgets/pluginProblem.js
extra : moz-landing-system : lando
2018-11-22 02:13:09 +00:00
Timothy Guan-tin Chien 809372b7ab Bug 1497940 - Part IV, Move pluginProblem resources from chrome://mozapps to chrome://global r=mossop
This is needed because UA Widget cannot load resources from chrome://mozapps.

Depends on D11701

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

--HG--
rename : toolkit/themes/osx/mozapps/plugins/pluginHelp-16.png => toolkit/themes/osx/global/plugins/pluginHelp-16.png
rename : toolkit/themes/osx/mozapps/plugins/pluginHelp-16.png => toolkit/themes/windows/global/plugins/pluginHelp-16.png
extra : moz-landing-system : lando
2018-11-22 02:12:12 +00:00
Dorel Luca e501f0a01e Backed out changeset fab7024e7658 (bug 1508446) for reftest failures in reftest/tests/layout/reftests/xul/accesskey.xul 2018-11-22 02:50:01 +02:00
Brian Grinstead 3f17f6b48b Bug 1508446 - Require that [accesskey] gets set on <xul:label> to enable formatting;r=paolo
Previously, if the accesskey attribute was missing then the label would reach up
to binding parent to find it's accesskey. In practice, bindings already do
[xbl:inherits=accesskey] to send it down to the label anyway.

The problem with this is that for controls without accesskeys, the attribute doesn't get set,
so the label will access the control from JS. This is fine for XBL, since typically
the label XBL will construct at the same time as the control, but when migrating
to Custom Elements, the label gets connected even when the control is hidden.

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

--HG--
extra : moz-landing-system : lando
2018-11-21 22:35:44 +00:00
Dorel Luca ace910d684 Backed out 2 changesets (bug 1488442) for browser-chrome failures in browser/components/preferences/in-content/tests/browser_browser_languages_subdialog.js
Backed out changeset d683ee5ff088 (bug 1488442)
Backed out changeset 8d14b467d422 (bug 1488442)
2018-11-22 01:22:10 +02:00
k88hudson 078be8fa0c Bug 1499110 - Make CFR/ASR preferences compatible with roll-outs r=ursula
Differential Revision: https://phabricator.services.mozilla.com/D12475

--HG--
extra : moz-landing-system : lando
2018-11-21 19:57:03 +00:00
Dão Gottwald 8f9711a2ea Bug 1508603 - Introduce a private scope around gBrowser. r=mak
Differential Revision: https://phabricator.services.mozilla.com/D12429

--HG--
extra : moz-landing-system : lando
2018-11-21 18:22:43 +00:00
Mark Striemer f398585595 Bug 1488442 - Part 2: Ensure added langpack is enabled r=aswan
Differential Revision: https://phabricator.services.mozilla.com/D10981

--HG--
extra : moz-landing-system : lando
2018-11-21 22:09:14 +00:00
Mark Striemer 4f65e55040 Bug 1488442 - Part 1: Only list available locales in the requested set r=zbraniecki
Generally, this switches Services.locale.requestedLocales calls to use
Services.locale.appLocalesAsBCP47.

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

--HG--
extra : moz-landing-system : lando
2018-11-21 22:09:07 +00:00
Mark Striemer 28551ead0f Bug 1505751 - Wait for menulist close for browser language handlers r=Gijs
The search handler was being called when focusing the menuitem with the keyboard on Windows. This didn't provide a good experience and left the popup open once the search started. Ensure the popup is always shown when using the keyboard and don't trigger the search until the popup is closed.

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

--HG--
extra : moz-landing-system : lando
2018-11-21 15:36:52 +00:00
Coroiu Cristina 71a5f7b873 Merge mozilla-central to autoland a=merge on a CLOSED TREE 2018-11-21 23:48:40 +02:00
Coroiu Cristina b27585482c Merge inbound to mozilla-central a=merge 2018-11-21 23:43:13 +02:00
Dão Gottwald 12feb645b8 Bug 1508963 - Load browser-siteIdentity.js lazily. r=johannh
Differential Revision: https://phabricator.services.mozilla.com/D12521

--HG--
extra : moz-landing-system : lando
2018-11-21 17:09:23 +00:00
Paolo Amadini d5f00e3975 Bug 1451387 - Remove display="xul:hbox" on tabbrowser-tab. r=bgrins
Differential Revision: https://phabricator.services.mozilla.com/D12542

--HG--
extra : rebase_source : 3b94f1f80b8787b5c46960e2e5870755e1ac67bf
2018-11-21 14:15:55 +00:00
Sam Foster 44f245f69d Bug 1481481 - Create separate forms for shipping, payer and billing address r=MattN
* New AddressForm instances for each address type
* Move selected-state-key out of state for the address forms, and into an attribute
* Remove passing form title via state, just use data-title-edit and data-title-add on the element
* Remove shippingOption form title logic from address picker, just set the right attribute values from PaymentDialog
* Move setting the extraRequiredFields data attribute the payer form needs out to the payment-dialog's render.
* Amend onboarding logic to direct to billing address form when necessary
* Fix-up tests

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

--HG--
extra : moz-landing-system : lando
2018-11-21 19:23:27 +00:00
Michael Kohler a4ce56f2b6 Bug 1500218 - Set 'Move to Start' and 'Move to End' disabled state according to contextTab and contextTab position r=dao,jaws
Differential Revision: https://phabricator.services.mozilla.com/D9598

--HG--
extra : moz-landing-system : lando
2018-11-21 11:30:33 +00:00
Masayuki Nakano 0acd37ec1d Bug 1504911 - part 4: Make all script for web content dispatch "input" event with proper event interface r=smaug
Currently, some "input" event dispatchers in our script dispatch "input" event
with UIEvent.  This is completely wrong.  For conforming to HTML spec, Event
is proper event.  Additionally, for conforming to Input Events, InputEvent
is proper event only on <textarea> or <input> element which has a single line
editor.

For making us to maintain easier, this patch adds new API, "isInputEventTarget"
to MozEditableElement which returns true when "input" event dispatcher should
use InputEvent for the input element.

Finally, this makes some dispatchers use setUserInput() instead of
setting value and dispatching event by themselves.  This also makes
us to maintain them easier.

Note that this does not touch "input" event dispatchers which dispatch events
only for chrome (such as URL bar, some pages in about: scheme) for making
this change safer as far as possible.

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

--HG--
extra : moz-landing-system : lando
2018-11-20 14:35:38 +00:00
Masayuki Nakano abe138f771 Bug 1504911 - part 1: Make all "input" event dispatcher in C++ use new utility method r=smaug
Currently, a lot of code dispatch "input" event and some of them dispatch
"input" event with wrong interface and/or values.  Therefore this patch
creates nsContentUtils::DispatchInputEvent() to make all of them dispatch
correct event.

Unfortunately, due to bug 1506439, we cannot set pointer to refcountable
classes of MOZ_CAN_RUN_SCRIPT method to nullptr.  Therefore, this patch
creates temporary RefPtr<TextEditor> a lot even though it makes damage to
the performance if it's in a hot path.

This patch makes eEditorInput event dispatched with
InternalEditorInputEvent when "input" event should be dispatched with
dom::InputEvent.  However, this patch uses WidgetEvent whose message is
eUnidentifiedEvent and setting WidgetEvent::mSpecifiedEventType to
nsGkAtoms::oninput when "input" event should be dispatched with
dom::Event because we need to keep that eEditorInput and
InternalEditorInputEvent are mapped each other.

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

--HG--
extra : moz-landing-system : lando
2018-11-21 03:59:02 +00:00
Masayuki Nakano 388e64d857 Bug 1504911 - part 0: Add "input" event tests into existing tests r=smaug
It's difficult to create new test which checks "input" events caused by
all edit operations especially when text is inserted from our UI.  Therefore,
this adds "input" event type checks into existing tests.

Additionally, this adds new test for MozEditableElement.setUserInput() whose
behavior needs to be fixed in this bug.

Currently, InputEvent interface should be used only on text controls or
contenteditable editor when dispatching "input" event.
https://w3c.github.io/input-events/#events-inputevents

You may feel odd to use different event interface for same "input" events.
However, other browsers also use InputEvent interface only in the cases. So,
we should follow them for now.

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

--HG--
extra : moz-landing-system : lando
2018-11-20 14:24:06 +00:00
Bogdan Tara 8f89901f2d Merge inbound to mozilla-central. a=merge 2018-11-21 11:40:19 +02:00
Aaron Klotz 5aab222ecc Bug 1508848: Remove operator bool from WindowsError and replace with IsSuccess and IsFailure methods; r=mhowell
Differential Revision: https://phabricator.services.mozilla.com/D12485

--HG--
extra : moz-landing-system : lando
2018-11-20 22:59:51 +00:00
Dão Gottwald 1b9bb473b9 Bug 1508590 - Load searchbar.js from browser.xul rather than global-scripts.inc. r=adw
Differential Revision: https://phabricator.services.mozilla.com/D12406

--HG--
extra : moz-landing-system : lando
2018-11-21 02:18:32 +00:00
Gijs Kruitbosch 1dfbc61056 Bug 1494014 - fix icon on the lightweight theme button to be correct when changing it from the menu, r=jaws
Differential Revision: https://phabricator.services.mozilla.com/D12546

--HG--
extra : moz-landing-system : lando
2018-11-21 17:23:05 +00:00
Matthew Noorenberghe 8cc7e92622 Bug 1505141 - Test that address fields hidden from edit forms aren't blanked unnecessarily. r=jaws
Depends on D12190

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

--HG--
rename : browser/components/payments/test/browser/browser_address_edit.js => browser/components/payments/test/browser/browser_address_edit_hidden_fields.js
extra : moz-landing-system : lando
2018-11-21 00:43:46 +00:00
Matthew Noorenberghe 4d0cbeac7f Bug 1505141 - Always preserveOldProperties for payment request but blank mailing address fields by default. r=jaws
Differential Revision: https://phabricator.services.mozilla.com/D12190

--HG--
extra : moz-landing-system : lando
2018-11-21 00:46:23 +00:00
Tim D. Smith f036261bf0 Bug 1364957 - Fix about: scheme check for FX_PAGE_LOAD_MS_2 r=Gijs
We should be ignoring about: URIs for the page load time metric, since they load very quickly
and aren't representative of Web page load times.

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

--HG--
extra : moz-landing-system : lando
2018-11-21 08:52:10 +00:00
shindli cbbdd02331 Merge inbound to mozilla-central. a=merge 2018-11-21 05:59:34 +02:00
Nathan Froyd c29e255af2 Bug 1503366 - part 4 - add mozconfigs for aarch64 windows builds; r=chmanchester 2018-11-20 20:32:47 -04:00
Nathan Froyd 86d968df3b Bug 1503366 - part 3 - tooltool manifest for aarch64 windows builds; r=chmanchester 2018-11-20 20:32:47 -04:00
Aaron Klotz c084ff85e4 Bug 1508468: Convert launcher process to use mozilla::Result for error propagation; r=mhowell
This patch does a couple of things:

* I added a new class, |WindowsError| to WinHeaderOnlyUtils. The idea here is
  to encapsulate as much of the Windows error gamut as possible into one class.
  Since Win32 errors and NTSTATUS codes may both be encoded as HRESULTs, I
  used the latter type to store the error. It also contains functions for
  converting between the various error code formats, as well as stringification
  via FormatMessage.

* I added |LauncherError| which also includes file and line number information,
  which I believe will be important for launcher process failure diagnostics.
  (Instantiation of LauncherErrors obviously must be done via macros to capture
  __FILE__ and __LINE__).

* I then converted all of the launcher process code (and its few depenencies) to
  utilize this new functionality via the new |LauncherResult| type.

* If we detect an error in one of the top-level launcher process functions, we
  pass it to |HandleLauncherError| for processing. This function currently just
  throws up a |MessageBox| like the previous code did, with the intention of
  enhancing that further in the future.

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

--HG--
extra : moz-landing-system : lando
2018-11-20 23:49:36 +00:00
Narcis Beleuzu b18d13eb15 Backed out changeset be8383028bc0 (bug 1508468) for windows build bustage
--HG--
extra : rebase_source : b86532be5abaafa05a3b96a99bff5eccecbb3b20
2018-11-21 01:30:52 +02:00
Aaron Klotz 6be5837934 Bug 1508468: Convert launcher process to use mozilla::Result for error propagation; r=mhowell
This patch does a couple of things:

* I added a new class, |WindowsError| to WinHeaderOnlyUtils. The idea here is
  to encapsulate as much of the Windows error gamut as possible into one class.
  Since Win32 errors and NTSTATUS codes may both be encoded as HRESULTs, I
  used the latter type to store the error. It also contains functions for
  converting between the various error code formats, as well as stringification
  via FormatMessage.

* I added |LauncherError| which also includes file and line number information,
  which I believe will be important for launcher process failure diagnostics.
  (Instantiation of LauncherErrors obviously must be done via macros to capture
  __FILE__ and __LINE__).

* I then converted all of the launcher process code (and its few depenencies) to
  utilize this new functionality via the new |LauncherResult| type.

* If we detect an error in one of the top-level launcher process functions, we
  pass it to |HandleLauncherError| for processing. This function currently just
  throws up a |MessageBox| like the previous code did, with the intention of
  enhancing that further in the future.

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

--HG--
extra : moz-landing-system : lando
2018-11-20 22:12:53 +00:00
shindli 95b9b72836 Merge mozilla-central to inbound. a=merge CLOSED TREE 2018-11-20 23:50:05 +02:00
Brindusan Cristian 26aca84b41 Backed out changeset 0ff2e89a1819 (bug 1508468) for windows build bustages on ntstatus.h. CLOSED TREE 2018-11-20 23:08:11 +02:00
Aaron Klotz 5bc6718181 Bug 1508468: Convert launcher process to use mozilla::Result for error propagation; r=mhowell
This patch does a couple of things:

* I added a new class, |WindowsError| to WinHeaderOnlyUtils. The idea here is
  to encapsulate as much of the Windows error gamut as possible into one class.
  Since Win32 errors and NTSTATUS codes may both be encoded as HRESULTs, I
  used the latter type to store the error. It also contains functions for
  converting between the various error code formats, as well as stringification
  via FormatMessage.

* I added |LauncherError| which also includes file and line number information,
  which I believe will be important for launcher process failure diagnostics.
  (Instantiation of LauncherErrors obviously must be done via macros to capture
  __FILE__ and __LINE__).

* I then converted all of the launcher process code (and its few depenencies) to
  utilize this new functionality via the new |LauncherResult| type.

* If we detect an error in one of the top-level launcher process functions, we
  pass it to |HandleLauncherError| for processing. This function currently just
  throws up a |MessageBox| like the previous code did, with the intention of
  enhancing that further in the future.

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

--HG--
extra : moz-landing-system : lando
2018-11-20 20:27:06 +00:00
Dão Gottwald 0b29cb4320 Bug 1508585 - Load search-one-offs.js lazily. r=bgrins
Differential Revision: https://phabricator.services.mozilla.com/D12405

--HG--
extra : moz-landing-system : lando
2018-11-20 17:04:43 +00:00
Tom Schuster 5a9d2a428c Bug 1493292 - Remove aDataLen parameters from nsITransferable.getTransferData. r=smaug
Depends on D11200

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

--HG--
extra : moz-landing-system : lando
2018-11-20 16:59:56 +00:00
Brian Grinstead 9a1ef58567 Bug 1507875 - Remove the customizable ui toolbarpaletteitem binding;r=Gijs
This removes the wrapping box inside the anonymous content, and replaces
the anonymous label with an ::after CSS rule that sets text based on
the [title] attribute.

Because it doesn't replicate the anonymous wrapping box with light DOM:
- Calling JS don't need to be updated (the child added via appendChild
  is still a direct descendant of the element).
- Many CSS selectors don't need to be updated (if they were targeting the
  slotted children as direct descendants. However, CSS selectors that were
  targeting the anonymous content directly do need to be updated, since those
  nodes are removed.

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

--HG--
extra : moz-landing-system : lando
2018-11-20 17:01:48 +00:00
Paolo Amadini 5d354ce421 Bug 1429940 - Part 2 - Use HTML headings inside the "label" element for labeling "groupbox" elements in Preferences, instead of the "caption" element. r=MarcoZ,dao,jaws,flod
This makes it possible to navigate by headings when using accessibility technology.

Information labels displayed when removing the master password are also restored.

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

--HG--
extra : rebase_source : 42f156dbccf074445cf7e08d8de246058437c91b
2018-11-20 15:14:18 +00:00
Drew Willcoxon 322498474a Bug 1507568 - Clicking a @shortcut in the urlbar popup should fill it in the input instead of visiting the site. r=mak
Differential Revision: https://phabricator.services.mozilla.com/D12203

--HG--
rename : browser/base/content/test/urlbar/browser_urlbarHighlightSearchAlias.js => browser/base/content/test/urlbar/browser_urlbarTokenAlias.js
extra : moz-landing-system : lando
2018-11-20 10:36:29 +00:00
Robert Strong de6960336a Bug 1508637 - Update comments in removed-files.in. r=mhowell
Removed comment about Firefox 27 and below since it is no longer relevant after the LZMA watershed
Changed a couple of comments for clarity

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

--HG--
extra : moz-landing-system : lando
2018-11-20 16:04:42 +00:00
Ehsan Akhgari b7c63fa061 Bug 1507353 - Convert the accesses to security.insecure_connection_*.* prefs into lazy getters r=johannh
Differential Revision: https://phabricator.services.mozilla.com/D11968

--HG--
extra : moz-landing-system : lando
2018-11-20 20:04:14 +00:00
Narcis Beleuzu 6d1ee7c9fd Backed out changeset 5660a1cd0e25 (bug 1508468) for Windows MinGW bustages. CLOSED TREE 2018-11-20 21:39:10 +02:00
Aaron Klotz 4ea282427e Bug 1508468: Convert launcher process to use mozilla::Result for error propagation; r=mhowell
This patch does a couple of things:

* I added a new class, |WindowsError| to WinHeaderOnlyUtils. The idea here is
  to encapsulate as much of the Windows error gamut as possible into one class.
  Since Win32 errors and NTSTATUS codes may both be encoded as HRESULTs, I
  used the latter type to store the error. It also contains functions for
  converting between the various error code formats, as well as stringification
  via FormatMessage.

* I added |LauncherError| which also includes file and line number information,
  which I believe will be important for launcher process failure diagnostics.
  (Instantiation of LauncherErrors obviously must be done via macros to capture
  __FILE__ and __LINE__).

* I then converted all of the launcher process code (and its few depenencies) to
  utilize this new functionality via the new |LauncherResult| type.

* If we detect an error in one of the top-level launcher process functions, we
  pass it to |HandleLauncherError| for processing. This function currently just
  throws up a |MessageBox| like the previous code did, with the intention of
  enhancing that further in the future.

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

--HG--
extra : moz-landing-system : lando
2018-11-20 18:06:23 +00:00
Csoregi Natalia df7483024d Backed out 6 changesets (bug 1493292) for bustage on /nsTransferable.cpp. CLOSED TREE
Backed out changeset f198bf91320b (bug 1493292)
Backed out changeset 6487aa307123 (bug 1493292)
Backed out changeset f2cabd69c568 (bug 1493292)
Backed out changeset 71430fceb4a3 (bug 1493292)
Backed out changeset 3a9b6d65d8c7 (bug 1493292)
Backed out changeset 55769869037c (bug 1493292)
2018-11-20 17:13:18 +02:00
Tom Schuster b292ec7c2c Bug 1493292 - Remove aDataLen parameters from nsITransferable.getTransferData. r=smaug
Depends on D11200

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

--HG--
extra : moz-landing-system : lando
2018-11-20 14:47:02 +00:00
Ehsan Akhgari 5a990aab93 Bug 1504728 - Part 1: Add a content blocking notification for indicating when a top-level page is using cookies or site data r=baku,valentin,johannh
Differential Revision: https://phabricator.services.mozilla.com/D11122

--HG--
extra : moz-landing-system : lando
2018-11-20 14:34:49 +00:00
Gijs Kruitbosch a7b487d613 Bug 1506608 - default to remote for e10s windows, r=mconley,nika
Differential Revision: https://phabricator.services.mozilla.com/D11913

--HG--
extra : moz-landing-system : lando
2018-11-19 18:56:18 +00:00
Mark Banner 4eabeccb20 Bug 1502954 - Remove livemarks code from toolkit. r=mak
Differential Revision: https://phabricator.services.mozilla.com/D12118

--HG--
extra : moz-landing-system : lando
2018-11-20 13:29:54 +00:00
Dão Gottwald 9914989a7a Bug 1510412 - Set RTL_UI based on Services.locale.isAppLocaleRTL. r=florian
Differential Revision: https://phabricator.services.mozilla.com/D13121

--HG--
extra : moz-landing-system : lando
2018-11-28 15:59:28 +00:00
Dão Gottwald 859de3e25b Bug 1510579 - Load scripts in global-scripts.inc the same way browser.xul does. r=Standard8
Differential Revision: https://phabricator.services.mozilla.com/D13237

--HG--
extra : moz-landing-system : lando
2018-11-28 16:13:16 +00:00
Siddhant085 87b814fa1e Bug 1453264 - Dropping nsIBrowserSearchService::currentEngine in favour of defaultEngine. r=Standard8
All instances of nsIBrowserSearchService::currentEngine have been replaced by nsIBrowserSearchService::defaultEngine. Dropping this variable now.

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

--HG--
extra : moz-landing-system : lando
2018-11-28 15:21:11 +00:00
Rob Wu 66c7ebb828 Bug 1508144 - Ignore clicks on non-clickable menu items r=mixedpuppy
Bug 1469148 added support for detecting which mouse button was used,
by synthetizing "command" events when a "click" event was captured.
The implementation did not account for unclickable menu items, such
as items that act as the parent of a submenu (see bug report),
separators and disabled menu items.

This patch adds the necessary checks and regression tests for these
scenarios to make sure that such clicks are ignored, as expected.

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

--HG--
extra : moz-landing-system : lando
2018-11-28 15:09:26 +00:00
Gijs Kruitbosch ebea9ca979 Bug 1509906 - use the window's initial url to determine what remoteType the initial browser should have, r=dao,mconley
Differential Revision: https://phabricator.services.mozilla.com/D13016

--HG--
extra : moz-landing-system : lando
2018-11-27 15:56:26 +00:00
Mike de Boer 1c9d33675e Bug 1496764 - extend search event telemetry to never expire and change the probe owners. r=chutten,Standard8
Differential Revision: https://phabricator.services.mozilla.com/D9229

--HG--
extra : moz-landing-system : lando
2018-11-27 15:15:35 +00:00
Paolo Amadini 9004df8f9b Bug 1499947 - Part 2 - Remove the "progressmeter" element and related tests. r=bgrins,bzbarsky
Differential Revision: https://phabricator.services.mozilla.com/D12145

--HG--
extra : rebase_source : a322611933b371e726b25dd4223456a8f761e886
2018-11-20 14:12:33 +00:00
Marco Bonardo b27ac6b7e1 Bug 1502879 - Wrap UnifiedComplete in a Provider. r=adw
Differential Revision: https://phabricator.services.mozilla.com/D12321

--HG--
extra : moz-landing-system : lando
2018-11-21 15:29:44 +00:00
Cosmin Sabou 931548d569 Backed out changeset 6ce32daf8079 (bug 1494014) for browser chrome failures on browser_1007336_lwthemes_in_customize_mode. CLOSED TREE 2018-11-21 18:12:24 +02:00
Marco Bonardo 884faebe39 Bug 1506461 - Enable inline suggestions for bookmark tags autocomplete. r=Standard8
Differential Revision: https://phabricator.services.mozilla.com/D11773

--HG--
extra : moz-landing-system : lando
2018-11-21 15:10:53 +00:00
Francesco Lodolo (:flod) 479866fe91 Bug 1508941 - [it] Update search URL for Hoepli searchplugin r=mkaply
Differential Revision: https://phabricator.services.mozilla.com/D12518

--HG--
extra : moz-landing-system : lando
2018-11-21 15:15:08 +00:00
Mike Conley 619e4b963b Bug 1507382 - Show titlebar items when menubar enabled. r=dao
Differential Revision: https://phabricator.services.mozilla.com/D12236

--HG--
extra : moz-landing-system : lando
2018-11-21 15:09:31 +00:00
Gijs Kruitbosch fb77da7472 Bug 1494014 - fix icon on the lightweight theme button to be correct when changing it from the menu, r=jaws
Differential Revision: https://phabricator.services.mozilla.com/D12546

--HG--
extra : moz-landing-system : lando
2018-11-21 15:08:03 +00:00
matthias c543b5295f Bug 1505066 - Update in-content table styles to use Photon colors and introduce striping on Windows r=ntim,dao
Differential Revision: https://phabricator.services.mozilla.com/D11384

--HG--
extra : moz-landing-system : lando
2018-11-20 11:15:37 +00:00
Tim Huang cf769d5a6d Bug 1492766 - Part 3: Update the test_pointer_event.html for test of pointer id spoofing r=masayuki,arthuredelstein
This test add a check for pointer id to make sure it always reply the
spoofed pointer id when resistfingerpritning is enabled. It also extend
the original test of pointer capture events into a test which tests
mouse and touch interfaces to make sure pointer capture events is
correctly filed even with the spoofed interface id. In addition, it also
adds test for that set/releasePointerCapture only accepts spoofed
pointer id when fingerprinting resistance is enabled.

Depends on D9532

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

--HG--
extra : moz-landing-system : lando
2018-11-14 07:17:51 +00:00
arthur.iakab 55895c49f5 Merge autoland to mozilla-central. a=merge 2018-11-20 11:34:11 +02:00
Sebastian Hengst 30252fd68c Bug 1508577 - disable browser/components/payments/test/browser/browser_tab_modal.js on Linux opt-ish for permafails (reason unknown). a=test-disabling 2018-11-20 11:05:40 +02:00
Razvan Maries 208d16134b Merge mozilla-inbound to mozilla-central a=merge 2018-11-20 07:03:17 +02:00
Qinghao_Jack_Song 79d49a6b70 Bug 1507301 - Migrate about:sessionrestore and about:welcomeback to use Fluent for localization r=Gijs,flod,zbraniecki
Differential Revision: https://phabricator.services.mozilla.com/D11994

--HG--
extra : moz-landing-system : lando
2018-11-19 22:01:58 +00:00
Francesco Lodolo (:flod) 2106dfb1d2 Bug 1507469 - [trs] Search engine setup for Firefox for Triqui r=delphine
Differential Revision: https://phabricator.services.mozilla.com/D12207

--HG--
extra : moz-landing-system : lando
2018-11-20 00:53:39 +00:00
Ed Lee 52414287aa Bug 1508407 - Add Return-to-AMO firstrun, Pocket-personalization attachment and bug fixes to Activity Stream r=ursula
Differential Revision: https://phabricator.services.mozilla.com/D12343

--HG--
rename : browser/components/newtab/content-src/components/StartupOverlay/StartupOverlay.jsx => browser/components/newtab/content-src/asrouter/templates/StartupOverlay/StartupOverlay.jsx
rename : browser/components/newtab/content-src/components/StartupOverlay/_StartupOverlay.scss => browser/components/newtab/content-src/asrouter/templates/StartupOverlay/_StartupOverlay.scss
extra : moz-landing-system : lando
2018-11-19 22:05:29 +00:00
Andreea Pavel d8849bad00 Merge mozilla-central to autoland. a=merge on a CLOSED TREE 2018-11-20 07:12:30 +02:00
Ehsan Akhgari 29136a2209 Bug 1492549 - Enable blocking access to storage from tracking resources by default on all desktop platforms r=baku
Differential Revision: https://phabricator.services.mozilla.com/D12043

--HG--
extra : moz-landing-system : lando
2018-11-19 23:28:44 +00:00
Andreea Pavel d6d00510a1 Backed out changeset 94efd169438e (bug 1504728) for mochitest AddressSanitizer failures on a CLOSED TREE 2018-11-20 02:12:47 +02:00
Timothy Guan-tin Chien 9ac2863a64 Bug 1504268 - Show proper OS login dialog labels when filling/editing credit cards r=MattN
Differential Revision: https://phabricator.services.mozilla.com/D11095

--HG--
extra : moz-landing-system : lando
2018-11-19 21:00:02 +00:00
Michael Kaply f9feeeb63b Bug 1507614 - Identify ESR with MOZ_APP_VERSION_DISPLAY. r=glandium
Differential Revision: https://phabricator.services.mozilla.com/D12067

--HG--
extra : moz-landing-system : lando
2018-11-19 23:14:05 +00:00
Ehsan Akhgari 2517eb0fd0 Bug 1504728 - Part 1: Add a content blocking notification for indicating when a top-level page is using cookies or site data r=baku,valentin,johannh
Differential Revision: https://phabricator.services.mozilla.com/D11122

--HG--
extra : moz-landing-system : lando
2018-11-19 20:31:16 +00:00
Sebastian Hengst 4caf52d15b Backed out 3 changesets (bug 1503393) for failing xpcshell's test_proxy-failover_canceled.js and mochitest browser-chrome's browser_firstPartyIsolation.js
Backed out changeset 02892fb6feab (bug 1503393)
Backed out changeset 7b1514667292 (bug 1503393)
Backed out changeset 606cfe2ddd36 (bug 1503393)
2018-11-19 23:14:13 +02:00
Erica Wright 87adf060e5 Bug 1501985 - Update Content Blocking section UI r=flod,johannh
This adds a card-like UI to the content blocking section in preferences.

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

--HG--
extra : moz-landing-system : lando
2018-11-19 17:40:28 +00:00
Andrew Swan abeab24083 Bug 1451532 Clean up bootstrapped extensions in addon manager mochitests r=kmag
This is a quick pass to weed out some obsolete tests and update others.
browser_doorhanger_installs.js still needs a more comprehensive pass to
get rid of obsolete test cases.

--HG--
rename : toolkit/mozapps/extensions/test/browser/browser_bug596336.js => toolkit/mozapps/extensions/test/browser/browser_reinstall.js
extra : rebase_source : f8af8991e98424f151c6dd8822599e20c870be08
extra : source : 36ba8ad1c6000fb3810cf0fdd1542e49e50d0963
extra : histedit_source : abdb813afb162f3dff58906def889ce50a7b512b
2018-11-19 13:56:00 -08:00
Gijs Kruitbosch 01eac8a616 Bug 1503393, r=jaws
--HG--
extra : rebase_source : 04a1ac846d362d184cdfa89c625c27a0051888a7
2018-11-14 11:37:06 +00:00
Daniel Varga 1c97afe7cd Merge mozilla-central to autoland. a=merge on a CLOSED TREE
--HG--
extra : rebase_source : 2a24106f8c3136d60a1a08aa839ec4c20d3f1a84
2018-11-19 19:06:29 +02:00
Dorel Luca 3a97449464 Backed out changeset dfc775a144ad (bug 1504728) for Brwoser-chrome failure in browser/base/content/test/trackingUI/browser_trackingUI_trackers_subview.js. CLOSED TREE 2018-11-19 18:34:50 +02:00
Valentin Gosu c54ae4d096 Bug 1507157 - Set network.disable.ipc.security to true r=kershaw
This pref is left over from B2G days. It is currently disabled for firefox
desktop, but not for Android. This didn't affect us until now because we
always ran Android tests in non-e10s mode.

The pref ought to be removed in bug 1306801.

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

--HG--
extra : moz-landing-system : lando
2018-11-19 15:41:57 +00:00
Ehsan Akhgari abc8be6d57 Bug 1504728 - Part 1: Add a content blocking notification for indicating when a top-level page is using cookies or site data r=baku,valentin,johannh
Differential Revision: https://phabricator.services.mozilla.com/D11122

--HG--
extra : moz-landing-system : lando
2018-11-19 15:25:33 +00:00
Ehsan Akhgari 9c03122818 Bug 1508114 - Ignore the initial about:blank in browser_alltabslistener.js r=johannh
Differential Revision: https://phabricator.services.mozilla.com/D12220

--HG--
extra : moz-landing-system : lando
2018-11-19 15:22:09 +00:00
Luke Schwalfenberg 2589f25a3d Bug 1497725 - Add a search field to the new "about:config" page. r=paolo
Differential Revision: https://phabricator.services.mozilla.com/D11843

--HG--
extra : rebase_source : eaeed808b1b1ecfbd01b4c06f91ece8ade0275c7
extra : amend_source : 94c7fc57bd9cde0f57af1e6037947acb9b9c90e3
2018-11-19 13:52:08 +00:00
Mike Hommey c8cb111f94 Bug 1502457 - Move MOZ_APP_VERSION{,_DISPLAY} to python configure. r=nalexander
Depends on D11983

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

--HG--
extra : source : 1cf7694c8aa247c169c93d279bd16201103b75a8
2018-11-16 01:15:35 +00:00
Mike Hommey d8065af7e8 Bug 1502457 - Use MOZ_APP_VERSION instead of FIREFOX_VERSION. r=nalexander
Differential Revision: https://phabricator.services.mozilla.com/D11982

--HG--
extra : source : 2c2b09264a82bb21a56620189020e146d80259d3
2018-11-16 01:14:07 +00:00
Jared Wein 06af8abbe3 Bug 1504277 - Open new tabs at the end of a multiselection of tabs if the New Tab button is ctrl-clicked. r=dao
Differential Revision: https://phabricator.services.mozilla.com/D11376

--HG--
extra : moz-landing-system : lando
2018-11-18 22:26:52 +00:00
Tim Nguyen f3c3251f9d Bug 1468517 - Make toolbar_bottom_separator color apply to findbar top border. r=dao
Differential Revision: https://phabricator.services.mozilla.com/D11577

--HG--
extra : moz-landing-system : lando
2018-11-18 18:16:52 +00:00
shindli 4756350be2 Backed out 6 changesets (bug 1502457) for causing Mn mozprocess automation failures in '/Users/cltbld/tasks/task_1542517470/build/venv/bin/python
Backed out changeset 9174dadf38b0 (bug 1502457)
Backed out changeset 2bc4c0bfa299 (bug 1502457)
Backed out changeset 1442604ea266 (bug 1502457)
Backed out changeset 1cf7694c8aa2 (bug 1502457)
Backed out changeset a73cfbabdd47 (bug 1502457)
Backed out changeset 2c2b09264a82 (bug 1502457)
2018-11-18 10:24:11 +02:00
Coroiu Cristina 5117a4c4e2 Merge inbound to mozilla-central a=merge 2018-11-17 23:37:07 +02:00
Coroiu Cristina 5b64a0873e Merge autoland to mozilla-central a=merge 2018-11-17 23:34:16 +02:00
L10n Bumper Bot 9532ca053e no bug - Bumping Firefox l10n changesets r=release a=l10n-bump DONTBUILD
trs -> default
2018-11-17 04:00:35 -08:00
Andreea Pavel 72b0594cb8 Merge mozilla-inbound to mozilla-central. a=merge 2018-11-17 13:27:24 +02:00
Francesco Lodolo (:flod) ed67dfcee5 Bug 1507468 - Add 'trs' to Firefox Nightly build r=Pike
Differential Revision: https://phabricator.services.mozilla.com/D12208

--HG--
extra : moz-landing-system : lando
2018-11-17 07:15:57 +00:00
Nika Layzell fe2f2478f7 Bug 1477432 - Part 2: Avoid using nsIJSID in GenerateQI, and produce better diagnostics, r=kmag
This is the first part of hiding the implementation of nsIJSID behind the
interface added in Part 1, such that we can substitute that implementation out.

I had to make a couple of changes to fix the errors caused by the new behaviour
in GenerateQI.

Differential Revision: https://phabricator.services.mozilla.com/D2279
2018-11-16 17:27:31 -05:00
Andreea Pavel b81f4955bb Merge mozilla-central to autoland. a=merge on a CLOSED TREE 2018-11-17 13:30:31 +02:00
Dão Gottwald 5b9912f43e Bug 1506261 - Convert search-one-offs from a custom element to a plain JS class and initialize it lazily. r=bgrins
Differential Revision: https://phabricator.services.mozilla.com/D11889

--HG--
extra : moz-landing-system : lando
2018-11-17 08:46:35 +00:00
Cosmin Sabou d1b2c17c02 Backed out changeset eb21007e7da0 (bug 1501991) for geckoview failures on several tests. 2018-11-17 02:18:03 +02:00
Felipe Gomes 35cce4b363 Bug 1507885 - Screenshots policy test should check for the correct PageAction. r=_6a68
Differential Revision: https://phabricator.services.mozilla.com/D12160

--HG--
extra : moz-landing-system : lando
2018-11-16 23:41:41 +00:00
James Teh 382c02eef0 Bug 1506503: PanelMultiView: Automatically focus the first item if a panel is opened via the keyboard. r=johannh,paolo
Previously, we had specific code to do this for the "View site information" button (#identity-box) when activated via the keyboard.
To work well for keyboard and screen reader users, all such popups (e.g. Firefox menu, Page Actions, etc.) should do this.
These are all based on panelMultiView.
The arguments passed to PanelMultiView.openPopup can include the event which triggered the popup.
We now use this to detect keypress events and focus the first item in the panel in that case.

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

--HG--
extra : moz-landing-system : lando
2018-11-16 22:51:59 +00:00
Johann Hofmann 624a3d5172 Bug 1501991 - Add a sub-panel for Trackers in the control center. r=Jamie,Ehsan
Differential Revision: https://phabricator.services.mozilla.com/D11611

--HG--
extra : moz-landing-system : lando
2018-11-16 22:34:07 +00:00
Cosmin Sabou 39020f11e3 Backed out changeset 988fd6689153 (bug 1504277) for browser chrome failures on browser_multiselect_tabs_open_related. 2018-11-16 23:45:20 +02:00
Jared Wein 5cfbd1f6d9 Bug 1506878 - Use the same accesskey for Unmute Tabs and Mute Tabs as we do for Unmute Tab and Mute Tab. r=dao
Differential Revision: https://phabricator.services.mozilla.com/D12173

--HG--
extra : moz-landing-system : lando
2018-11-16 21:26:53 +00:00
Cosmin Sabou 4df488e5fa Backed out changeset 962527f12004 (bug 1504751) for browser chrome failures on content/aboutNetworking.js 2018-11-16 23:25:55 +02:00
Drew Willcoxon b8258389b8 Bug 1499193 - Follow-up 2: Update SEARCH_COUNTS key r=mkaply
Change the `<engine>.<alias>.urlbar` `SEARCH_COUNTS` keys to `<engine>.alias` as described in bug 1499193 comment 23 and later.

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

--HG--
extra : moz-landing-system : lando
2018-11-16 21:15:54 +00:00
Kris Maglione d79b3fbaf4 Bug 1505522: Part 2 - Migrate MemoryTelemetry.jsm to C++. r=erahm,chutten
This has benefits both in terms of performance and memory usage. Aside from
the obvious savings of not loading additional JS scripts in every process,
this also allows us to move more of our expensive data collection work to a
background thread, where it doesn't risk janking both parent and content
processes.

MozReview-Commit-ID: 2A593R7bIKB

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

--HG--
extra : rebase_source : ec634ee3a3b975809f542aa8077ad32236781452
2018-12-05 15:44:53 -05:00
Mike Conley 87e56a69cb Bug 1506457 - Only show titlebar indicators in the titlebar-secondary-buttonbox on macOS. r=dao
Differential Revision: https://phabricator.services.mozilla.com/D12153

--HG--
extra : moz-landing-system : lando
2018-11-16 20:45:36 +00:00
Jared Wein d3582333ea Bug 1504277 - Open new tabs at the end of a multiselection of tabs if the New Tab button is ctrl-clicked. r=dao
Differential Revision: https://phabricator.services.mozilla.com/D11376

--HG--
extra : moz-landing-system : lando
2018-11-16 20:41:57 +00:00
alwu 1313230fb1 Bug 1493766 - part4 : add test. r=johannh
Add a test to ensure the temporary autoplay permission is sync correctly between JS and C++ side.

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

--HG--
extra : moz-landing-system : lando
2018-11-14 01:36:26 +00:00
alwu 4515d99b29 Bug 1493766 - part1 : notify when temporary permission changed. r=johannh
Since temporary permissions are only stored in the front-end side, we can't know whether we have
allowed page to autoplay or not without sending a request. Therefore, we want to notify the back-end
side when the temporary permissions changed.

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

--HG--
extra : moz-landing-system : lando
2018-11-15 19:51:26 +00:00
Collin Wing 26d02f4f16 Bug 1504751 Migrate about:networking to Fluent r=jaws,flod
Differential Revision: https://phabricator.services.mozilla.com/D10977

--HG--
extra : moz-landing-system : lando
2018-11-16 18:01:08 +00:00
Brian Grinstead de723eccb2 Bug 1500424 - Remove customizable ui toolbar-drag binding;r=Gijs
It was almost identical to the toolkit version, only missing a [customizing=true]
check to prevent drag. Since Customization only happens in browser/ we are able
to replace the toolkit version with the CUI version, and then remove the CUI version.

The `#toolbar-menubar:not([autohide="true"])` selector will fall back to the
`toolbar[type="menubar"]` selector in global.css to apply the toolkit one, so
that is removed from browser.css.

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

--HG--
extra : moz-landing-system : lando
2018-11-16 17:50:04 +00:00