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

53592 Коммитов

Автор SHA1 Сообщение Дата
Mike Hommey 19f8d4666d Bug 1520677 - Remove unnecessary --help dependencies in python configure. r=dmajor
Differential Revision: https://phabricator.services.mozilla.com/D16777

--HG--
extra : moz-landing-system : lando
2019-01-17 03:34:54 +00:00
Andrea Marchesini 2f54dc921b Bug 1520519 - Cleanup nsUrlClassifierDBService::Lookup method, r=dimi 2019-01-16 22:49:26 +01:00
Robert Strong fa80d81a6d Bug 599233 - add about dialog app update tests. r=mhowell
Adds disabledForTesting checks to the about dialog app update code
Makes a copy of update.sjs for browser-chrome tests so the changes don't break chrome tests
Prepares for the removal of the chrome tests and the old app update UI
Adds 14 tests for app update in the about dialog

--HG--
rename : toolkit/mozapps/update/tests/data/update.sjs => toolkit/mozapps/update/tests/browser/app_update.sjs
rename : toolkit/mozapps/update/tests/data/update.sjs => toolkit/mozapps/update/tests/chrome/update.sjs
2019-01-16 13:21:55 -08:00
Robert Strong 55bdeb26e6 Bug 1515075 - Build failure: Error in script maintenanceservice_installer.nsi on line 184 -- aborting creation process. r=mshal
Prevents the build failure by copying files for maintenanceservice_installer.nsi just as is done for other installers
2019-01-16 10:16:30 -08:00
Dragana Damjanovic 08382f397b Bug 1515390 - Make memory reporter tests work with the socket process. r=erahm
Differential Revision: https://phabricator.services.mozilla.com/D15022

--HG--
extra : moz-landing-system : lando
2019-01-16 22:24:57 +00:00
Dragana Damjanovic fc155bc720 Bug 1513059 - Use the minimal XPCOM for the socket process.r=froydnj
Differential Revision: https://phabricator.services.mozilla.com/D15024

--HG--
extra : moz-landing-system : lando
2019-01-16 23:05:11 +00:00
Gabriele Svelto bb6e8482fb Bug 1315935 - Remove the NumberOfProcessors crash annotation because it is redundant r=ted
Differential Revision: https://phabricator.services.mozilla.com/D16688

--HG--
extra : moz-landing-system : lando
2019-01-16 17:01:43 +00:00
Aaron Klotz 30c3846994 Bug 1520617: LauncherRegistryInfo - when the image timestamp changes, only avoid clearing start timestamps when force disabled; r=mhowell
Differential Revision: https://phabricator.services.mozilla.com/D16752

--HG--
extra : moz-landing-system : lando
2019-01-16 22:05:54 +00:00
Aaron Klotz 651a455c89 Bug 1520537: Always export LauncherResult.h in Windows builds; r=mhowell
Differential Revision: https://phabricator.services.mozilla.com/D16731

--HG--
extra : moz-landing-system : lando
2019-01-16 21:00:12 +00:00
Dragana Damjanovic 81b7d74f4a Bug 1520260 - Collect *_KBREAD_PER_CONN on release as well. r=valentin
Differential Revision: https://phabricator.services.mozilla.com/D16616

--HG--
extra : moz-landing-system : lando
2019-01-16 09:21:53 +00:00
Alastor Wu ea15b9bab4 Bug 1520088 - part4 : modify test. r=cpearce
Differential Revision: https://phabricator.services.mozilla.com/D16581

--HG--
extra : moz-landing-system : lando
2019-01-16 02:17:56 +00:00
ui.manish 37bbffd19c Bug 1346298 Update or Remove Telemetry Probe: SSL_OBSERVED_END_ENTITY_CERTIFICATE_LIFETIME r=jcj
Differential Revision: https://phabricator.services.mozilla.com/D16631

--HG--
extra : moz-landing-system : lando
2019-01-16 19:35:05 +00:00
Mark Striemer d3c8bbc9bc Bug 1516768 - Put a border on add-on cards in high contrast mode r=dao
Differential Revision: https://phabricator.services.mozilla.com/D16520

--HG--
extra : moz-landing-system : lando
2019-01-16 12:38:42 +00:00
Tom Tung 8b3ce8ef6b Bug 1432133 - P1 - Returning an error when FileInfo is missing as a short-term fix; r=asuth, data-review=chutten
Differential Revision: https://phabricator.services.mozilla.com/D16045

--HG--
extra : moz-landing-system : lando
2019-01-16 10:24:56 +00:00
ui.manish 19e7ad0b3b Bug 1514300 - Remove unused defines in toolkit/themes/osx/global/shared.inc r=dao
Differential Revision: https://phabricator.services.mozilla.com/D16627

--HG--
extra : moz-landing-system : lando
2019-01-16 09:36:54 +00:00
Tim Nguyen 60d968c434 Bug 1491607 - Get rid of --in-content-category-text variable. r=jaws
Differential Revision: https://phabricator.services.mozilla.com/D5967

--HG--
extra : moz-landing-system : lando
2019-01-15 21:56:04 +00:00
Sylvestre Ledru 47a5dd1fb8 Bug 1519636 - Reformat everything to the Google coding style r=Ehsan
# ignore-this-changeset

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

--HG--
extra : moz-landing-system : lando
2019-01-16 08:50:07 +00:00
Luca Greco f873276519 Bug 1480943 - Fix browser_webapi_theme.js TV failure. r=robwu
This patch contains a small change needed to fix the browser_webapi_theme.js
failures when it runs more then once in a row (e.g. when running in TV mode).

The reason for the failure is that, when running the test more then once,
by installing a new webextension theme we first receive a
"lightweight-theme-styling-update" observer notification message related
to the unloading on the previous theme, from the ext-theme's static unload
method:

- https://searchfox.org/mozilla-central/rev/b29663c6c9c61b0bf29e8add490cbd6bad293a67/toolkit/components/extensions/parent/ext-theme.js#354-356,368-370

And then another "lightweight-theme-styling-update" message related
to the loading on the new theme, from the ext-theme's load
method:

- https://searchfox.org/mozilla-central/rev/b29663c6c9c61b0bf29e8add490cbd6bad293a67/toolkit/components/extensions/parent/ext-theme.js#101-103,119-121

To fix the failure on TV, this patch ensures that the webextension theme is
uninstalled before exiting the test.

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

--HG--
extra : moz-landing-system : lando
2019-01-15 12:03:48 +00:00
Jan-Erik Rediger fcac6b1172 Bug 1510566 - Document that use counters are enabled on release r=chutten
Differential Revision: https://phabricator.services.mozilla.com/D16715

--HG--
extra : moz-landing-system : lando
2019-01-16 16:59:40 +00:00
Timothy Guan-tin Chien 23f97d18fe Bug 1519917 - Consider <menulist> with sizetopopup unset equal to sizetopopup="pref" r=NeilDeakin
sizetopopup is set to "pref" by default by the menulist XBL binding, however
when converting the binding to custom element, it did not set the attribute value
at a time that is early enough.

This patch updates nsMenuPopupFrame and nsMenuFrame so that it considers
<menulist> with unset sizetopopup attribute as equal to "pref" to avoid
the problem above.

This reftest
layout/reftests/xul/menulist-shrinkwrap-2.xul
can detect this failure.

The sizetopopup attribute is never meant to be set dynamically;
the fix here does not allow us to do so.

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

--HG--
extra : moz-landing-system : lando
2019-01-16 16:30:45 +00:00
Gijs Kruitbosch 0f0796c9c5 Bug 1458046 - avoid remote updates when the browser is not active and fix editcontrols_update test, r=NeilDeakin
Differential Revision: https://phabricator.services.mozilla.com/D16626

--HG--
extra : moz-landing-system : lando
2019-01-16 16:20:43 +00:00
Michael Kaply 8e0dcc0e08 Bug 1518326 - Sanity check US region against timezone. r=adw
Differential Revision: https://phabricator.services.mozilla.com/D16073

--HG--
extra : moz-landing-system : lando
2019-01-15 22:16:52 +00:00
Carl Corcoran 19fbaf478f Bug 1518798: Treat SysWOW64 the same as the system directory in the untrusted modules ping r=aklotz
Under WOW64, the SysWOW64 directory is the effective system directory. A flag
has been added (ModuleTrustFlags::SysWOW64Directory) representing this
directory, and we now grant this the same trustworthiness as
ModuleTrustFlags::SystemDirectory.

Depends on D16013

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

--HG--
extra : moz-landing-system : lando
2019-01-14 23:53:13 +00:00
Carl Corcoran 46cb3715b2 Bug 1518490 Part 3/3: Send XUL load duration and module load duration via untrusted modules ping r=aklotz
This patch:
- Adds two new fields to the untrusted modules ping
- Updates documentation for the untrusted modules ping:
  - Documents these 2 new fields
  - Documents the new XUL ModuleTrustFlags bitfield value
  - Adds a "version history" section
  - Corrects documentation for ModuleTrustFlags (JIT, keyboard layouts)

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

--HG--
extra : moz-landing-system : lando
2019-01-15 22:30:54 +00:00
Carl Corcoran 9315656cb2 Bug 1518490 Part 2/3: Measure xul.dll load duration r=aklotz
In order to help unify DLL timings across machines with different performance
characteristics, this change collects the load duration of xul.dll.

Because xul.dll is always loaded, it can serve as a control value for DLL load
times.

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

--HG--
extra : moz-landing-system : lando
2019-01-15 22:29:28 +00:00
Carl Corcoran 63ba2c68d7 Bug 1518490 Part 1/3: Measure DLL load timings and pass into UntrustedModulesManager r=aklotz
This patch measures the duration of module loads and passes it up to
UntrustedModulesManager where, in later patches, it will be consumed by
telemetry.

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

--HG--
extra : moz-landing-system : lando
2019-01-15 10:49:36 +00:00
Victor Porof 86d7401fa8 Bug 1507704 - Migrate the columnpicker binding into a custom element, r=bgrins 2019-01-14 09:38:24 +01:00
Ted Mielczarek 3ca4c1c35e bug 1459991 - embed Rust's natvis files into xul.pdb on Windows. r=froydnj
Rust ships with some natvis files that enable nicer display of Rust standard
library types in Microsoft's debuggers. rustc will add the right linker
options to include them when it invokes the linker but since we don't link
libxul with rustc we need to explicitly pass them to the linker ourselves.

This change locates all natvis files in the Rust sysroot and adds them
to the libxul link line.

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

--HG--
extra : moz-landing-system : lando
2019-01-15 13:56:07 +00:00
Chris Manchester 3d131be6a9 Bug 1507631 - Remove mentions of MOZ_SIGN_CMD from the build system. r=nalexander
Differential Revision: https://phabricator.services.mozilla.com/D16754

--HG--
extra : moz-landing-system : lando
2019-01-16 22:46:38 +00:00
Andrew Swan 4c984ce62c Bug 1519762 Fix a regression with browser.downloads.search() r=kmag
The fixes in bug 1503760 inadvertently broke searches of downloads that
have not yet started receiving data (which have a value of -1 for the
totalBytes property).  That regression is fixed here.

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

--HG--
extra : moz-landing-system : lando
2019-01-17 19:20:58 +00:00
Daniel Varga c4bdfad8bd Merge mozilla-central to autoland. a=merge on a CLOSED TREE 2019-01-16 06:56:15 +02:00
Daniel Varga 55006aaaec Merge mozilla-inbound to mozilla-central. a=merge 2019-01-16 06:49:11 +02:00
Cameron McCormack cc5d047c75 Bug 1519737 - Move pluginProblemBinding.css to the UA style sheet cache. r=emilio,timdream
Differential Revision: https://phabricator.services.mozilla.com/D16430

--HG--
rename : toolkit/pluginproblem/content/pluginProblemBinding.css => layout/style/res/pluginproblem.css
extra : moz-landing-system : lando
2019-01-16 03:37:43 +00:00
Dorel Luca de46e66fcd Backed out changeset a85699150a8b (bug 1519737) for browser chrome failure in browser/base/content/test/static/browser_parsable_css.js
--HG--
rename : layout/style/res/pluginproblem.css => toolkit/pluginproblem/content/pluginProblemBinding.css
2019-01-16 03:25:22 +02:00
Junior Hsu c54c918b66 Bug 1510979 - add a telemetry xpcshell-test for socket process r=janerik
We need a test-only IPC message to socket process to trigger the Telemetry::Scalar set since no js engine in the socket process.
And hook the IPC call to AddPendingEvent |CallOrWaitSocketProcess| introduced by bug 1496257.

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

--HG--
extra : moz-landing-system : lando
2019-01-15 23:15:38 +00:00
Aaron Klotz 59d279f51f Bug 1517636: Follow-up - fix eslint error; r=bustage 2019-01-15 17:39:18 -07:00
Aaron Klotz 15a43729b0 Bug 1517636: Add launcher process state to about:support; r=Felipe,flod
Differential Revision: https://phabricator.services.mozilla.com/D15759

--HG--
extra : moz-landing-system : lando
2019-01-16 00:22:19 +00:00
Aaron Klotz d94ad01215 Bug 1511080: Add launcher process pref and enable reflection to/from the registry; r=mhowell
Differential Revision: https://phabricator.services.mozilla.com/D15757

--HG--
extra : moz-landing-system : lando
2019-01-15 23:14:49 +00:00
Aaron Klotz 99ef8003dd Bug 1511078: Add LauncherRegistryInfo as a temporary mechanism for runtime disabling of launcher process; r=mhowell
Differential Revision: https://phabricator.services.mozilla.com/D15756

--HG--
rename : browser/app/winlauncher/NativeNt.h => mozglue/misc/NativeNt.h
rename : browser/app/winlauncher/test/TestNativeNt.cpp => mozglue/tests/TestNativeNt.cpp
rename : browser/app/winlauncher/LauncherResult.h => toolkit/xre/LauncherResult.h
extra : moz-landing-system : lando
2019-01-15 23:10:00 +00:00
Aaron Klotz d56e504ec2 Bug 1517642: Make the installer and updater disable the launcher process by default on beta and release; r=mhowell
Differential Revision: https://phabricator.services.mozilla.com/D15758

--HG--
extra : moz-landing-system : lando
2019-01-16 00:06:39 +00:00
Mike Hommey 5215f57b1d Bug 1520108 - Move MOZ_CONFIGURE_OPTIONS to toolkit/moz.configure. r=froydnj
It is only used to fill about:buildconfig.

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

--HG--
extra : moz-landing-system : lando
2019-01-15 15:28:00 +00:00
Jeff Muizelaar 83096ed533 Bug 1520330. Split out NoVsync into two different scenarios. r=mattwoodrow
Currently there are two conditions where CONTENT_FRAME_TIME_REASON can
be NoVsync. Since, were getting an appreciable amount of these with
WebRender it makes sense to split out the telemetry so that we can
confirm which scenario we're hitting.

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

--HG--
extra : moz-landing-system : lando
2019-01-15 22:33:25 +00:00
Mike Conley d845c30b3b Bug 1519893 - Test the alwaysOnTop feature for Windows. r=aklotz
These tests make sure that passing alwaysOnTop as a window feature
results in a window with WS_EX_TOPMOST, and also ensures that web
content cannot request alwaysOnTop windows.

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

--HG--
extra : moz-landing-system : lando
2019-01-15 22:29:21 +00:00
Mike Conley 7e920fe573 Bug 1519893 - Add alwaysOnTop chrome-only window feature for Windows. r=aklotz
Differential Revision: https://phabricator.services.mozilla.com/D16486

--HG--
extra : moz-landing-system : lando
2019-01-15 22:29:59 +00:00
Dave Townsend 2a868a112b Bug 1520151: Fix ASAN builds. r=froydnj
Differential Revision: https://phabricator.services.mozilla.com/D16606

--HG--
extra : moz-landing-system : lando
2019-01-15 22:09:33 +00:00
Mark Striemer 7bf0bdbeab Bug 1519616 - Clear theme preview for themes that don't have previews r=aswan
Differential Revision: https://phabricator.services.mozilla.com/D16594

--HG--
extra : moz-landing-system : lando
2019-01-15 21:39:04 +00:00
Coroiu Cristina d263400b1c Backed out 2 changesets (bug 1511078) for build bustages at Unified_cpp_toolkit_xre0.obj
Backed out changeset 61a47d6d5e26 (bug 1511078)
Backed out changeset 006df494925a (bug 1511078)

--HG--
rename : toolkit/xre/LauncherResult.h => browser/app/winlauncher/LauncherResult.h
rename : mozglue/misc/NativeNt.h => browser/app/winlauncher/NativeNt.h
rename : mozglue/tests/TestNativeNt.cpp => browser/app/winlauncher/test/TestNativeNt.cpp
2019-01-15 23:15:50 +02:00
Coroiu Cristina 4ace3317ba Backed out changeset 4ebefe9136b5 (bug 1511080) for build bustage 2019-01-15 23:13:01 +02:00
Mark Striemer 6cdf797983 Bug 1519616 - Explicitly clear theme preview on details for non-themes r=aswan
Differential Revision: https://phabricator.services.mozilla.com/D16589

--HG--
extra : moz-landing-system : lando
2019-01-15 19:55:21 +00:00
Cameron McCormack f11cf08512 Bug 1519737 - Move pluginProblemBinding.css to the UA style sheet cache. r=emilio,timdream
Differential Revision: https://phabricator.services.mozilla.com/D16430

--HG--
rename : toolkit/pluginproblem/content/pluginProblemBinding.css => layout/style/res/pluginproblem.css
extra : moz-landing-system : lando
2019-01-14 21:51:59 +00:00
Aaron Klotz 8c0ca384fa Bug 1517637: Add launcher process state to crash report annotations; r=mhowell
Depends on D15759

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

--HG--
extra : moz-landing-system : lando
2019-01-09 23:36:38 +00:00
Arjun Krishna Babu fd697b042d Bug 1519933 - Remove :not([alone]) from .popup-notification-primary-button selector; r=dao
Differential Revision: https://phabricator.services.mozilla.com/D17381

--HG--
extra : moz-landing-system : lando
2019-01-23 17:28:12 +00:00
Ciure Andrei cd0990c959 Merge mozilla-central to autoland. a=merge CLOSED TREE 2019-01-23 20:53:05 +02:00
Jared Wein b12a0d294c Bug 1521170 - Add a rule that prevents calling some Array and String accessor methods without using the return value. r=Standard8,Gijs
Differential Revision: https://phabricator.services.mozilla.com/D17020

--HG--
extra : moz-landing-system : lando
2019-01-23 17:03:32 +00:00
Ehsan Akhgari 9efcce8bbb Bug 1509112 - Consider the content frame sitting directly beneath a moz-extension frame that has a host permission granting access to that frame as a top-level frame; r=kmag,baku
Differential Revision: https://phabricator.services.mozilla.com/D14832

--HG--
extra : moz-landing-system : lando
2019-01-23 14:55:49 +00:00
Aaron Klotz 76125849c6 Bug 1511080: Add launcher process pref and enable reflection to/from the registry; r=mhowell
Depends on D15756

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

--HG--
extra : moz-landing-system : lando
2019-01-09 23:35:25 +00:00
Aaron Klotz 64310051e7 Bug 1511078: Add LauncherRegistryInfo as a temporary mechanism for runtime disabling of launcher process; r=mhowell
Differential Revision: https://phabricator.services.mozilla.com/D15756

--HG--
rename : browser/app/winlauncher/NativeNt.h => mozglue/misc/NativeNt.h
rename : browser/app/winlauncher/test/TestNativeNt.cpp => mozglue/tests/TestNativeNt.cpp
rename : browser/app/winlauncher/LauncherResult.h => toolkit/xre/LauncherResult.h
extra : moz-landing-system : lando
2019-01-15 20:19:46 +00:00
Andreas Tolfsen c34e8d40b6 bug 1520228: toolkit: improve error description when ActorChild is missing EventTarget; r=Felipe
When an ActorChild is predefined to listen for DOM events and it
does not implement EventTarget.handleEvent(), a standard JS error is
thrown in toolkit/modules/ActorManagerChild.jsm that the handleEvent
property is missing.

If you have more than one ActorChild this error message is cryptic as
it does not refer to _which_ of the children that is missing handleEvent.

This patch introduces a type check for handleEvent that throws an
error (as before) when it is not implemented.

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

--HG--
extra : moz-landing-system : lando
2019-01-15 18:10:33 +00:00
dlee cb7ce369ed Bug 1513490 - Support update cryptomining and fingerprinting list in SafeBrowsing. r=gcp
Add the fingerprinting and cryptomining tables to the SafeBrowsing
update list.
Leave the preference of blacklist/whitelist tables empty until the
shavar server is ready.

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

--HG--
extra : moz-landing-system : lando
2019-01-15 19:29:49 +00:00
Dimi Lee 008ab261fd Bug 1513490 - Refactor SafeBrowsing.jsm with feature list. r=gcp
When we add a table to SafeBrowsing.jsm we need to add related code in
various places. This patch simplify the work by providing a FEATURE
table which defines the data required.

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

--HG--
extra : moz-landing-system : lando
2019-01-15 20:04:40 +00:00
Dave Townsend af79c239e7 Bug 1520139: Make sure nsXREDirProvider can find commonupdatedir.h regardless of whether the updater is enabled. r=froydnj
When the updater is disabled toolkit/mozapps/update/common is not traversed as
part of the build. But toolkit/mozapps/update/common/commonupdatedir.cpp is
included in the toolkit/xre build regardless and GetInstallHash is used. This
makes nsXREDirProvider.cpp able to find the header that defines it.

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

--HG--
extra : moz-landing-system : lando
2019-01-15 18:29:22 +00:00
Mark Striemer 19fb7b37fe Bug 1520164 - Include a fallback icon for extension shortcuts r=aswan
Differential Revision: https://phabricator.services.mozilla.com/D16579

--HG--
extra : moz-landing-system : lando
2019-01-15 18:01:46 +00:00
Michael Kelly 28e4764f00 Bug 1509888: Remove Browser Error Collection. r=Gijs,flod
Differential Revision: https://phabricator.services.mozilla.com/D15879

--HG--
extra : moz-landing-system : lando
2019-01-15 18:04:28 +00:00
Cosmin Sabou 1558607307 Backed out 6 changesets (bug 1514806) for causing windows 2012 opt repack bustages.
Backed out changeset 63debb1d02d3 (bug 1514806)
Backed out changeset 803d20ba3f80 (bug 1514806)
Backed out changeset 3b95c5d8466d (bug 1514806)
Backed out changeset eb09e108a439 (bug 1514806)
Backed out changeset 6a738993de29 (bug 1514806)
Backed out changeset 303b19a8b923 (bug 1514806)

--HG--
rename : other-licenses/7zstub/firefox/7zSD.win32.manifest => other-licenses/7zstub/firefox/7zSD.manifest
rename : other-licenses/7zstub/firefox/7zSD.Win32.sfx => other-licenses/7zstub/firefox/7zSD.sfx
2019-01-15 19:17:09 +02:00
Bogdan Tara 7b951cf2bc Merge mozilla-central to autoland. a=merge CLOSED TREE 2019-01-15 18:12:37 +02:00
Bogdan Tara e94442500f Merge inbound to mozilla-central. a=merge 2019-01-15 18:09:48 +02:00
Tarek Ziadé 5b8e30faac Bug 1519038 - Fixing Assertion failure: IsIdle(oldState) r=baku
Differential Revision: https://phabricator.services.mozilla.com/D16529

--HG--
extra : moz-landing-system : lando
2019-01-15 13:20:17 +00:00
Matt Howell f8a790571f Bug 1514806 Part 6 - Disable running UPX in the installer package for targets it doesn't support. r=firefox-build-system-reviewers,mshal#firefox-build-system-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D15984

--HG--
extra : moz-landing-system : lando
2019-01-14 21:59:06 +00:00
Oana Pop Rus c42c2ac75f Merge mozilla-central to autoland. a=merge CLOSED TREE 2019-01-15 11:39:31 +02:00
Alastor Wu c3c5cb9cdf Bug 1506290 - part2 : add test. r=cpearce
Differential Revision: https://phabricator.services.mozilla.com/D15451

--HG--
extra : moz-landing-system : lando
2019-01-14 23:47:35 +00:00
Mark Banner 34b072b8e1 Bug 1519812 - toolkit/content/tests/browser/browser_autoplay* tests should be marked as the 'Audio/Video: Playback' component. r=alwu
Differential Revision: https://phabricator.services.mozilla.com/D16451

--HG--
extra : moz-landing-system : lando
2019-01-14 19:00:38 +00:00
Brian Grinstead cdd4391679 Bug 1519461 - Don't return values from docShellIsActive, renderLayers, and userTypedValue setters;r=mconley
This is more consistent with other setters, and lets us handle the null frameLoader
case a bit more simply.

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

--HG--
extra : moz-landing-system : lando
2019-01-14 20:36:25 +00:00
Brian Grinstead cdd04b8d1b Bug 1519461 - Unify the hasLayers getter to use the same frameLoader check as renderLayers and docShellIsActive;r=mconley
Differential Revision: https://phabricator.services.mozilla.com/D16369

--HG--
extra : moz-landing-system : lando
2019-01-14 20:36:23 +00:00
Brian Grinstead 7fb9763db0 Bug 1519461 - Check for frameLoader existence before accessing it in docShellIsActive;r=mconley
Alternatively, we could check for mInitialized in `AsyncTabSwitcher.logState` before accessing
the getter. But this matches an existing pattern for other browser getters that rely on the
frameLoader existing, and will support other callers that hit this case.

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

--HG--
extra : moz-landing-system : lando
2019-01-14 20:36:16 +00:00
Kaio Augusto de Camargo 18f2aa68a5 Bug 1513496 - Stop logging failure warnings if the scalar is expired. r=chutten
Currently, when operating with scalars, if a call to internal_GetScalarByEnum (or its keyed variant) return an error, then a warning will be logged. If one of the requested scalars is expired, this could lead to an unwated flood of logs. With this change, the return of the function is checked, and if it is NS_ERROR_NOT_AVAILABLE (i.e. expired scalar), then no warning is issued.

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

--HG--
extra : moz-landing-system : lando
2019-01-14 18:33:13 +00:00
Dave Townsend 961eb5b518 Bug 1518591: Make the profile service responsible for protecting against downgrading to builds before dev-edition had a separate profile. r=froydnj
Because older versions of Firefox auto-select a profile if there is only one in
the database when running dev-edition which uses its own profile we create a
default for normal channels to use. Currently the browser code is responsible
for doing this but it uses a bad heuristic for deciding when to do that. It's
much easier to do it from the profile manager when the dev-edition profile is
created.

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

--HG--
extra : moz-landing-system : lando
2019-01-10 21:15:53 +00:00
Dave Townsend 55dc7cb4db Bug 1518587: Move startup profile selection to nsToolkitProfileService. r=froydnj
Currently nsAppRunner is responsible for choosing or creating a profile to use
at startup. It then has to create a reset profile if necessary and lock the
selected profile directories. But these latter things are done in different
places of the selection code and done in different ways, sometimes we delay
while trying to get the lock, sometimes we don't.

This patch moves the profile selection part of the code to its own function so
that then we only have to have one place that does the profile reset and
locking logic.

It makes a lot of sense to have the selection code live in the profile service.
It can use information from the database load to help make the choices and it
also means that we can expose the profile selection code through xpcom allowing
it to be easily automatically tested. It will also be more important for future
patches for the dedicated profiles feature.

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

--HG--
extra : moz-landing-system : lando
2019-01-14 17:27:34 +00:00
Csoregi Natalia 4a86022f41 Merge mozilla-central to autoland. CLOSED TREE 2019-01-14 19:19:46 +02:00
John Lin 4784690b43 Bug 1516089 - Remove inset and outset class from global.css r=dao
Differential Revision: https://phabricator.services.mozilla.com/D16439

--HG--
extra : moz-landing-system : lando
2019-01-14 16:19:00 +00:00
Csoregi Natalia 438136eb9e Merge mozilla-central to mozilla-inbound. CLOSED TREE 2019-01-14 12:46:01 +02:00
James Teh 5dc4d81ca1 Bug 1514687 - Allow accessibility code to focus XUL radio buttons without selecting them. r=bgrins,smaug,MarcoZ,paolo
1. This requires exposing radiogroup's focusedItem property to C++.
Unfortunately, there's no existing equivalent in nsIDOMXULSelectControlItemElement.
radiogroup is the only element that needs this, so a new interface has been created for it.

2. Accessibility uses focusedItem instead of selectedItem when setting focus.

3. When an item is focused, accessibility needs to be notified.
This is done using a DOMMenuItemActive event.

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

--HG--
extra : moz-landing-system : lando
2019-01-11 04:52:50 +00:00
Coroiu Cristina 9624fd7043 Backed out changeset a3bbf490ea41 (bug 1419109) for browser-chrome failures at browser/test-oop-extensions/browser_ext_browserAction_pageAction_icon_permissions.js 2019-01-13 18:51:03 +02:00
Dimi Lee dcc7462a9b Bug 1519660 - Remove flash info bar from SafeBrowsing list. r=gcp
Differential Revision: https://phabricator.services.mozilla.com/D16397

--HG--
extra : moz-landing-system : lando
2019-01-14 15:47:23 +00:00
Mark Striemer 890829b813 Bug 1303384 - Part 3: Manage extension shortcuts page r=aswan,Gijs,flod
MozReview-Commit-ID: KeZsoB6qj88

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

--HG--
extra : moz-landing-system : lando
2019-01-12 06:45:17 +00:00
Mark Striemer 50cfffaeaa Bug 1303384 - Part 2: Move some extension shortcut utils to ShortcutUtils r=aswan
Differential Revision: https://phabricator.services.mozilla.com/D4506

--HG--
extra : moz-landing-system : lando
2019-01-11 22:32:39 +00:00
Mark Striemer 0fc4897c74 Bug 1303384 - Part 1: Extract extension commands management to a module r=aswan
MozReview-Commit-ID: E1RTINVtrbQ

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

--HG--
extra : moz-landing-system : lando
2019-01-11 22:32:28 +00:00
David Major 9ed87684ba Bug 1484835 - Extend the Windows JIT unwind handler to ARM64 r=luke
Because the .xdata format on ARM64 can only encode sizes up to 1M (much too small for our JIT code regions), we register a function table callback to provide RUNTIME_FUNCTIONs at runtime. Windows doesn't seem to care about the size fields on RUNTIME_FUNCTIONs that are created in this way, so the same RUNTIME_FUNCTION can work for any address in the region. We'll set up a generic one in RegisterExecutableMemory and the callback can just return a pointer to it.

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

--HG--
extra : moz-landing-system : lando
2019-01-14 14:06:24 +00:00
Tarek Ziadé c9ddafea1f Bug 1406872 - Remove perf monitoring code - r=jandem,Gijs
This patch removes the StopWatch code that was used in the first version of
about:performance, and not being used anymore.

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

--HG--
extra : moz-landing-system : lando
2019-01-14 14:09:09 +00:00
Ehsan Akhgari 9324c0a183 Bug 1519205 - Reduce the amount of UTF encodings we do when checking content blocking rules; r=baku
Differential Revision: https://phabricator.services.mozilla.com/D16233

--HG--
extra : moz-landing-system : lando
2019-01-14 08:24:41 +00:00
Varun Dey f1106e6ffc Fix Bug 1419109 - Empty default icon shows blank icon in toolbar r=mixedpuppy
If the extension had either default_icon or one of it's property as an empty string, it would show a black icon in the toolbar. With this patch, it checks if any of default_icon property is empty and throws an error on extension load.

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

--HG--
extra : moz-landing-system : lando
2019-01-10 18:05:12 +00:00
Julien Wajsberg 22f0b04ab9 Bug 1433754 - Fix username filling on Fortuneo website r=MattN
Differential Revision: https://phabricator.services.mozilla.com/D16389

--HG--
extra : moz-landing-system : lando
2019-01-12 17:18:34 +00:00
Narcis Beleuzu 7d7aca6a93 Merge inbound to mozilla-central. a=merge 2019-01-12 11:40:44 +02:00
Kris Maglione 125c4e077a Bug 1509968: Disable subprocess performance task in ccov builds. r=aswan 2019-01-11 20:46:57 -08:00
Gijs Kruitbosch f460180422 Bug 1516767 - adjust button border, outline and box-shadow to be compatible with High-Contrast Mode and less glitchy, r=jaws
Differential Revision: https://phabricator.services.mozilla.com/D16328

--HG--
extra : moz-landing-system : lando
2019-01-11 23:24:43 +00:00
Rob Wu f8d91f5c26 Bug 1504018 - Support unrestricted schemes in permission warnings r=aswan
If an extension with the "mozillaAddons" permission is updated, the
permission diffing logic should support restricted schemes.
Otherwise the MatchPattern will throw and prevent the update from being
installed.

`Extension.comparePermissions` is called with the result of
`.userPermissions`, which in turn is equivalent to the result of the
`manifestPermissions` getter. This already filters out restricted
schemes if needed. Therefore we can unconditionally use
`restrictSchemes:false` in `comparePermissions`.

And update the regexp in formatPermissionStrings to support permissions
that start with "about:", since the "MatchPatternUnestricted" type in
toolkit/components/extensions/schemas/manifest.json supports this,
and the lack of "//" in about:-URLs prevents the scheme from being
matched by the existing pattern.

Depends on D14963

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

--HG--
extra : moz-landing-system : lando
2019-01-11 19:19:06 +00:00
Rob Wu 0074eaeaf7 Bug 1504018 - Skip host permissions for which a warning has been shown before r=aswan
Permission warnings only include the host name (ignoring any scheme),
so the comparison of old and new permissions should ignore schemes too.

Any origin permission has to match the definition of "MatchPattern"
as defined in toolkit/components/schemas/manifest.json.
For normal (non-privileged extensions), this is either <all_urls>, or a
pattern consisting of the "http", "https", "ws", "wss", "file", "ftp"
schemes.

Depends on D5527

Depends on D5527

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

--HG--
extra : moz-landing-system : lando
2019-01-11 19:16:59 +00:00
Rob Wu e60742dbc8 Bug 1484263 - Clean up manifest permission parser and add tests r=aswan
The "permissions" array of the raw manifest is not (and should not) be
used for permission checking, so it is not necessary to strip the
"mozillaAddons" permission from it.

This commit moves the validation of the "mozillaAddons" permission to
classifyPermission, so that the "manifestPermissions" getter (that uses
this method too) accurately reflects the supported permissions of an
extension.

New tests has been added to verify the permission warnings for some
combinations of permissions. This also includes tests that verify
that only privileged extensions can use "mozillaAddons" to unlock
unrestricted schemes.

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

--HG--
extra : moz-landing-system : lando
2019-01-11 18:56:18 +00:00
Mike Hommey 7c72587da6 Bug 1519047 - Move FFVPX_ASFLAGS and related variables to python configure. r=nalexander
This also moves the corresponding ASFLAGS from moz.build to python
configure.

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

--HG--
extra : moz-landing-system : lando
2019-01-11 18:17:36 +00:00
Mike Hommey 70f1ad55e1 Bug 1519307 - Add a new project to build useful parts of breakpad independently. r=froydnj
With `ac_add_options --enable-project=tools/crashreporter` in a
mozconfig, `./mach build` builds minidump_stackwalk, dump_syms
and fileid.

One caveat is that due to limitation in how the build system works
currently, it's cumbersome to keep dump_syms as a host program for
Gecko, and to make it a target program for this project. For now,
keep it as a host program. We're not going to use it on automation,
but it's still convenient to have for quick local builds (I've had
to resort to awful hacks downstream).

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

--HG--
extra : moz-landing-system : lando
2019-01-11 16:01:15 +00:00
Mike Hommey 94ff361bf4 Bug 1519325 - Move D3D compiler DLL detection to python configure. r=froydnj
MOZ_D3D_CPU_SUFFIX and MOZ_HAS_WINSDK_WITH_D3D are not used in the
build, and nothing includes d3d10.h except some angle code in a
preprocessed branch that is only taken for a macro we never define,
so we don't move the code corresponding to those. We also simplify the
detection code, which is convoluted now that it doesn't search for
multiple different DLLs.

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

--HG--
extra : moz-landing-system : lando
2019-01-11 22:21:24 +00:00
Noemi Erli 7cd3732360 Merge mozilla-central to autoland. a=merge CLOSED TREE 2019-01-11 23:59:12 +02:00
Noemi Erli d9c49c81c5 Merge inbound to mozilla-central. a=merge 2019-01-11 23:54:33 +02:00
Jan Henning 70dd21256f Bug 1498812 - Part 9: Switch session store/session history to use visual viewport for scroll position tracking. r=mikedeboer,snorp
For simplicity's sake, for now we keep storing only one scroll position per
history entry (bug 1499210), so if we have to choose between the layout and the
visual viewport, the latter is a vastly better choice, as it more accurately
represents the scroll position as perceived by the user, especially when the
page has been pinch-zoomed.

This also means that instead of the normal scroll events, the session store now
has to listen for the corresponding events specific to the visual viewport.

We also extend the scroll position test to check that the scroll position isn't
just properly saved, but also actually properly restored in practice as well.
We only add this test now instead of already adding it beforehand like we did
with the rest of the test
- to avoid having to temporarily extend the checkScroll() helper function to
  deal with todo()/todo_is etc.
- because getting that part of the test to complete without timing out (which
  would be one of its natural failure modes, because the expected events would
  be missing) would require faking even more scroll events
- because we already have the todo() tests that are telling us the we didn't
  *store* any scroll position in the first place, so there's no point in trying
  to actually restore anything

For the GeckoView saveAndRestoreState test, we now spin the event loop once
before setting the scroll position in order to give APZ opportunity to settle
down after the initial page load.

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

--HG--
extra : moz-landing-system : lando
2019-01-11 19:50:09 +00:00
Jan Henning ea0543a948 Bug 1498812 - Part 5: Allow registering System event listeners through nsSessionStoreUtils. r=nika
Our internal Visual Viewport scroll events are dispatched system group-only, so
this is the only way to catch them.

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

--HG--
extra : moz-landing-system : lando
2019-01-11 19:49:28 +00:00
Kershaw Chang 74f3ba17c3 Bug 1513057 - P8: Report telemetry from socket process to parent process r=dragana,mayhemer,janerik
Differential Revision: https://phabricator.services.mozilla.com/D14362

--HG--
extra : moz-landing-system : lando
2019-01-11 20:59:35 +00:00
Kershaw Chang 8241bd3c41 Bug 1513057 - P2: Setup crash reporter on socket process r=dragana,mayhemer
This patch is quite straightforward. Just add socket process support.

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

--HG--
extra : moz-landing-system : lando
2019-01-11 18:48:25 +00:00
Kershaw Chang 9973068a10 Bug 1513057 - P1.1: Create a reusable class to pass prefs to child processes r=dragana
Differential Revision: https://phabricator.services.mozilla.com/D14970

--HG--
extra : moz-landing-system : lando
2019-01-11 18:39:22 +00:00
Kershaw Chang 0b336d5545 Bug 1513057 - P1: Start the new socket process basics (prefs, full xpcom init, logging, no sandboxing) r=mayhemer,dragana
Differential Revision: https://phabricator.services.mozilla.com/D14148

--HG--
extra : moz-landing-system : lando
2019-01-11 18:57:23 +00:00
Andrew Swan 0f97ca35a4 Bug 1517988 Insert a placeholder name for addons if necessary in about:support r=Standard8
Differential Revision: https://phabricator.services.mozilla.com/D16133

--HG--
extra : moz-landing-system : lando
2019-01-11 11:39:04 +00:00
Gijs Kruitbosch 22c319893b Bug 1518996 - fix double border/outline for textbox[multiline] by not setting one on the inner textarea, r=jaws
Differential Revision: https://phabricator.services.mozilla.com/D16334

--HG--
extra : moz-landing-system : lando
2019-01-11 20:01:39 +00:00
Razvan Maries 642dd2cc11 Merge mozilla-central to autoland. a=merge on a CLOSED TREE 2019-01-11 17:33:16 +02:00
Christoph Kerschbaumer 6756032512 Bug 1513241: Update frontend consumers of loadURI and pass loadURIOptions dictionary. r=gijs 2019-01-11 12:44:20 +01:00
Christoph Kerschbaumer fbb4bafd5c Bug 1513241: Update loadURI interface and pass a loadURIOptions dictionary from frontend to docshell loads. r=bz 2019-01-11 12:43:39 +01:00
Ryan Hunt 6b10b1a1df Bug 1518669 - Move some OMTP performance probes to never expire. r=me, data-review=chutten
These performance probes are important to monitor regressions to our current
painting code's performance. I'd like to make them never expire as we don't
forsee not wanting to know this information.

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

--HG--
extra : rebase_source : 509c2dbf6961c2901c79d0ee7dc5455ccca0843d
extra : histedit_source : de4383b439d9c284de3b063cd8f0a4c25e3bebd1
2019-01-10 12:56:51 -06:00
Andreea Pavel 21ad33d612 Backed out 10 changesets (bug 1513057) for build bustages on a CLOSED TREE
Backed out changeset 56329b5f1844 (bug 1513057)
Backed out changeset 46411c5de3da (bug 1513057)
Backed out changeset de65c456aad6 (bug 1513057)
Backed out changeset f648b5f1a7c2 (bug 1513057)
Backed out changeset 460bbf0849e1 (bug 1513057)
Backed out changeset 86032a14d26f (bug 1513057)
Backed out changeset a81f83df08d5 (bug 1513057)
Backed out changeset edbda5ee5fd5 (bug 1513057)
Backed out changeset c900ac2519f5 (bug 1513057)
Backed out changeset 4e94bbb90315 (bug 1513057)
2019-01-11 17:02:44 +02:00
Kershaw Chang 562055d29e Bug 1513057 - P8: Report telemetry from socket process to parent process r=dragana,mayhemer,janerik
Differential Revision: https://phabricator.services.mozilla.com/D14362

--HG--
extra : moz-landing-system : lando
2019-01-11 14:23:19 +00:00
Kershaw Chang 99fe2d101a Bug 1513057 - P2: Setup crash reporter on socket process r=dragana,mayhemer
This patch is quite straightforward. Just add socket process support.

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

--HG--
extra : moz-landing-system : lando
2019-01-11 13:26:56 +00:00
Kershaw Chang d0f8c9de61 Bug 1513057 - P1.1: Create a reusable class to pass prefs to child processes r=dragana
Differential Revision: https://phabricator.services.mozilla.com/D14970

--HG--
extra : moz-landing-system : lando
2019-01-11 14:12:53 +00:00
Kershaw Chang 0c2943008a Bug 1513057 - P1: Start the new socket process basics (prefs, full xpcom init, logging, no sandboxing) r=mayhemer,dragana
Differential Revision: https://phabricator.services.mozilla.com/D14148

--HG--
extra : moz-landing-system : lando
2019-01-11 14:07:47 +00:00
Marco Bonardo 08e5888d07 Bug 1519060 - Places maintenance doesn't properly replace malformed databases. r=Standard8
Differential Revision: https://phabricator.services.mozilla.com/D16199

--HG--
extra : moz-landing-system : lando
2019-01-11 11:58:24 +00:00
Johann Hofmann 7f7c2d0fe1 Bug 1371741 - Don't test gUM + autoplay on about:blank. r=padenot
about:blank has a null principal and can't run gUM via our new policy.

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

--HG--
extra : moz-landing-system : lando
2019-01-11 12:26:46 +00:00
Gabriele Svelto a735a5580b Bug 1510574 - Remove shared memory segments from generated minidumps to cut down on the number of modules r=ted
Differential Revision: https://phabricator.services.mozilla.com/D16188

--HG--
extra : moz-landing-system : lando
2019-01-11 08:56:07 +00:00
Daniel Varga 5dc5a82752 Merge mozilla-central to autoland. a=merge on a CLOSED TREE
--HG--
extra : rebase_source : 40b25d678b690be8bfe028129337a9b578caade6
2019-01-11 06:19:53 +02:00
Daniel Varga f0a9c979bb Merge mozilla-inbound to mozillia-central. a=merge 2019-01-11 06:14:14 +02:00
Masayuki Nakano f8844f0d9b Bug 181137 - part 7: Get rid of nsIContentIterator interface r=smaug
Now, nobody requires nsIContentIterator interface.  So, we can get rid of it.

Unfortunately, there is no macro to keep the inherited class,
ContentSubtreeIterator, in the cycle collection to make it keep managing
ContentSubtreeIterator::mRange without nsISupports interface.  Therefore, this
patch moves it into ContentIteratorBase temporarily.  Anyway, the following
patch makes those classes not refcountable.  At that time, this issue will be
fixed.

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

--HG--
extra : moz-landing-system : lando
2019-01-11 01:51:42 +00:00
Mike Hommey 9a0967dc5d Bug 1515579 - Use absolute paths for compilers, etc. r=ted
In bug 1259382, some workarounds were added to make the build system
alter PATH and not use absolute paths for toolchain programs, because
autoconf and the build system doesn't deal with spaces in those very
well. But later in bug 1290040, we made find_program return Windows
short paths (without spaces), which alleviates the need for those
workarounds.

We still, however, and unfortunately, need to alter PATH to account for
the fact that MSVC DLLs are not necessarily alongside the compiler
executables...

Depends on D15181

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

--HG--
extra : moz-landing-system : lando
2019-01-10 23:37:46 +00:00
Robert Strong e2c81d08b4 Bug 1517044 - Don't allow nsIWritablePropertyBag calls to overwrite nsIUpdate and nsIUpdatePatch attributes. r=mhowell 2019-01-10 15:18:14 -08:00
Nathan Froyd d983955203 Bug 1518922 - part 2 - remove GetChildProcessTmpDir; r=gsvelto
After part 1, this function and the code associated with it is no longer
used.
2019-01-10 16:13:37 -05:00
Nathan Froyd fcefa80c7c Bug 1518922 - part 1 - remove dead code for extra crashreporting directory; r=Alex_Gaynor
The command-line parameter used by nsEmbedFunctions.cpp is turned into
an nsIFile, and then said nsIFile is never used.  Its last use was
deleted in bug 1407693, where we reworked how extra annotations were
done.
2019-01-10 16:13:37 -05:00
Hector Zhao b73c2c6e9b Bug 1513162 - Use guid with known prefix for bookmarks from distribution.ini. r=mak,mkaply
Also stop setting keyword with distribution.ini.

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

--HG--
extra : moz-landing-system : lando
2019-01-10 20:54:53 +00:00
Zibi Braniecki abcd557c95 Bug 1509583 - Migrate region/language names resources to Fluent. r=flod,mossop
Differential Revision: https://phabricator.services.mozilla.com/D12807

--HG--
extra : moz-landing-system : lando
2019-01-11 00:23:50 +00:00
Zibi Braniecki ffeb7038f9 Bug 1509583 - Move InlineSpellChecker to sync over locale codes rather than indexes. r=Felipe
Differential Revision: https://phabricator.services.mozilla.com/D15762

--HG--
extra : moz-landing-system : lando
2019-01-11 00:23:48 +00:00
Zibi Braniecki 9436ebe59a Bug 1509583 - Refactor mozIntl.getRegions to mozIntl.getAvailableLocaleDisplayNames. r=jfkthame,MattN
Differential Revision: https://phabricator.services.mozilla.com/D13188

--HG--
extra : moz-landing-system : lando
2019-01-11 00:25:52 +00:00
Mike Hommey b8548a1071 Bug 1515528 - Disable accessibility on aarch64-windows. r=dmajor,chmanchester
Depends on D15265

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

--HG--
extra : moz-landing-system : lando
2019-01-11 00:20:35 +00:00
Andrea Marchesini f3c496f926 Bug 1515277 - Separate ClearData flag for Reporting data, r=jkt, r=smaug 2019-01-11 09:43:58 +01:00
Mike Hommey d5fbdc4b28 Bug 1519030 - Move libav-fft configuration to python configure. r=mshal
Differential Revision: https://phabricator.services.mozilla.com/D16157

--HG--
extra : moz-landing-system : lando
2019-01-10 22:00:41 +00:00
Coroiu Cristina 1468575650 Merge mozilla-central to autoland a=merge on a CLOSED TREE 2019-01-10 23:45:07 +02:00
Dave Townsend 91b4da5027 Bug 1519184: Fix cache purging on windows. r=Gijs
When Firefox runs we cache a number of things, JS, XUL, XBL, CSS etc. Whenever
a new build of Firefox runs against a profile we clear the cache to rebuild with
the new information.

On the first run of a profile where compatibility.ini doesn't exist (presumably
to cover the case of upgrading from a very old versions of Firefox, but also
affects new profiles) we attempt to clear the cache as well.

If any attempt to clear the cache fails we set a flag in compatibility.ini
telling us to clear the cache on next startup.

Unfortunately nsIFile.remove returns different error codes on different
platforms when the file in question already doesn't exist. So an attempt to
remove a cache that does't exist is counted as a failure on Windows and so the
cache will be cleared again on second run.

This change counts the file not found return code as counting as a success when
clearing the cache.

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

--HG--
extra : moz-landing-system : lando
2019-01-10 20:10:04 +00:00
Matthew Noorenberghe 8ac0a7753f Bug 1386283 - Enable eslint 'brace-style' and 'curly' rules on passwordmgr with --fix. r=mconley
ignore-this-changeset for blame

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

--HG--
extra : moz-landing-system : lando
2019-01-10 19:26:48 +00:00
Matthew Noorenberghe 3f7baf5de6 Bug 1386283 - Enable eslint 'indent' rule on passwordmgr with --fix. r=mconley
ignore-this-changeset for blame

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

--HG--
extra : moz-landing-system : lando
2019-01-10 19:26:17 +00:00
Matthew Noorenberghe d9469a1400 Bug 1386283 - Test: Only consider connected <input>s for username/password fields. r=mconley
Differential Revision: https://phabricator.services.mozilla.com/D15997

--HG--
extra : moz-landing-system : lando
2019-01-10 19:25:37 +00:00
Matthew Noorenberghe 8d0849c371 Bug 1386283 - Only consider connected <input>s for username/password fields. r=mconley
Differential Revision: https://phabricator.services.mozilla.com/D15887

--HG--
extra : moz-landing-system : lando
2019-01-10 19:25:01 +00:00
Xidorn Quan 12de3945a4 Bug 1514498 - Hide rather than collapse scrollbar thumb when scrollbar is disabled. r=NeilDeakin
Collapsing thumb causes frame of scrollbar to cache an incorrect pref
size, which makes it not able to appear in certain cases.

This patch changes it to use "visibility: hidden" instead so that the
thumb is hidden but still contributes to the width of scrollbar.

An alternative would be also change the code in nsScrollbarFrame to set
something other than collapsed attribute instead, but I'm not sure
whether doing that is any better than just adding a rule. We need the
rule anyway regardless of what we set on the element.

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

--HG--
extra : moz-landing-system : lando
2019-01-10 14:15:30 +00:00
Tim D. Smith a95f1a031b Bug 1519170 - Re-renew GEOLOCATION_REQUEST_GRANTED probe r=chutten
The `GEOLOCATION_REQUEST_GRANTED` probe was renewed in Bug #1494496 to support targeting for a survey project that I originally expected to launch in November. Thanks to the usual vagaries of IRBs, holidays, and other priorities, we haven't launched yet, and the probe expiry is configured to stop collecting in 65. To mitigate the risk of failing to deploy the survey before the targeting probe expires, I'd like to bump the probe expiration out another couple of releases and uplift to beta.

I think we're actually ready to launch now so I'm confident another 12 weeks will be more than enough time and we won't have to repeat this exercise again.

I expect the data review in Bug #1494496 provides coverage for this change.

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

--HG--
extra : moz-landing-system : lando
2019-01-10 19:20:02 +00:00
Matthew Noorenberghe fdacc288b7 Bug 1477798 - Treat sensitive @autocomplete field names like 'off' in FormData.jsm. r=Felipe
Differential Revision: https://phabricator.services.mozilla.com/D15780

--HG--
extra : moz-landing-system : lando
2019-01-10 18:49:46 +00:00
Matthew Noorenberghe 37427a1506 Bug 1477798 - Treat sensitive @autocomplete field names like 'off' in satchel. r=Felipe
This also has the side-effect of fixing autocomplete parsing for 'off' to ignore whitespace:
https://html.spec.whatwg.org/multipage/form-control-infrastructure.html#autofill-processing-model

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

--HG--
extra : moz-landing-system : lando
2019-01-10 18:49:10 +00:00
Tom Ritter ba7c4014b7 Bug 1509829 - Spoof OS in HTTP User-Agent header for desktop platforms r=timhuang,baku
In 1404608, the OS was revealed in both the HTTP User-Agent
header and to JavaScript code via navigator.userAgent. To avoid
leaking the OS inside each HTTP request (which many web servers
log), always use the Windows 7 OS value in the desktop User-Agent
header. We continue to allow access to the actual OS via JavaScript,
since doing so improves compatibility with web applications such
as GitHub and Google Docs.

This is an uplift of Tor's 26146
2019-01-09 12:53:30 -06:00
Michal Novotny c21d6620d3 Bug 1495336 - High limit of NETWORK_CACHE_METADATA_SIZE and NETWORK_CACHE_METADATA_FIRST_READ_SIZE probes is too low. r=chutten
Maximum size of elements in metadata is 64kB, the rest (URL, hashes and few uint32_t members) should normally fit into 1kB, so I set new high value of NETWORK_CACHE_METADATA_SIZE_2 to 65kB. With 66 buckets each bucket should be exactly 1kB wide.
NETWORK_CACHE_METADATA_FIRST_READ_SIZE doesn't provide any useful information and this patch removes the probe.
2019-01-09 10:27:00 +02:00
Brindusan Cristian 338aeb2777 Merge mozilla-central to inbound. a=merge CLOSED TREE 2019-01-15 06:41:22 +02:00
Ryan Hunt c71371cf2a Bug 1518624 - Add telemetry for amount and length in pixels of scroll anchor adjustments. r=dholbert
This commit adds two new telemetry probes to collect:
 1. The amount of scroll anchoring adjustments applied
 2. The total absolute length in CSS pixels of scroll anchoring adjustments

Both of these metrics are collected on a per top-level-document basis, and
reported with other use-counters.

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

--HG--
extra : source : 43081bb8f4eac598a3103753965d5b60dfd1c3fa
extra : amend_source : 3d53dc56616f9e48799b7d8b8c11e96007d3c6eb
extra : intermediate-source : 6da6a7ff2d794c25b61858d16fe97e5f309e0f1f
2019-01-08 15:18:12 -06:00
Robert Strong 92807bd564 Bug 599233 - followup to disable staging tests when running --verify on linux due to this likely causing a crash in TV1 runs. r=me 2019-01-16 20:43:05 -08:00
arthur.iakab d7d29c4252 Merge mozilla-central to inbound
--HG--
rename : toolkit/mozapps/update/tests/data/update.sjs => toolkit/mozapps/update/tests/browser/app_update.sjs
rename : toolkit/mozapps/update/tests/data/update.sjs => toolkit/mozapps/update/tests/chrome/update.sjs
2019-01-17 06:23:08 +02:00
Robert Strong 9116c369bd Bug 599233 - add about dialog app update tests. r=mhowell
Adds disabledForTesting checks to the about dialog app update code
Makes a copy of update.sjs for browser-chrome tests so the changes don't break chrome tests
Prepares for the removal of the chrome tests and the old app update UI
Adds 14 tests for app update in the about dialog

--HG--
rename : toolkit/mozapps/update/tests/data/update.sjs => toolkit/mozapps/update/tests/browser/app_update.sjs
rename : toolkit/mozapps/update/tests/data/update.sjs => toolkit/mozapps/update/tests/chrome/update.sjs
2019-01-16 19:27:48 -08:00
Victor Porof fb37ef1dea Bug 1503826 - Remove the treerows binding, r=bgrins 2019-01-17 10:53:53 +01:00
Akash Srivastava a88640e66d Bug 1516536 - Replace toolkit/themes/osx/global/arrow/arrow-dn{,-dis}.png with arrow-dropdown-12.svg. r=dao 2019-01-18 13:53:46 +01:00
Stephen A Pohl a9dede5baf Revert 76786e51becf (bug 493503) since this functionality is already in tree. r=me 2019-01-18 07:44:35 -05:00
Stephen A Pohl d96bd14346 Bug 493503: Ensure that icons are refreshed in the macOS Dock and Finder after updates. r=mstange,rstrong 2019-01-18 05:48:45 -05:00
Margareta Eliza Balazs 9dda825205 Merge mozilla-central to inbound. a=merge CLOSED TREE 2019-01-18 12:31:59 +02:00
Ehsan Akhgari e5e885ae31 Bug 1521000 - Part 2: Adjust our clang-format rules to include spaces after the hash for nested preprocessor directives r=sylvestre
# ignore-this-changeset

--HG--
extra : amend_source : 7221c8d15a765df71171099468e7c7faa648f37c
extra : histedit_source : a0cce6015636202bff09e35a13f72e03257a7695
2019-01-18 10:16:18 +01:00
Ehsan Akhgari 06c3d29113 Bug 1521000 - Part 1: Reformat the tree to ensure everything is formatted correctly with clang-format r=sylvestre
Summary: # ignore-this-changeset

Reviewers: sylvestre

Reviewed By: sylvestre

Subscribers: reviewbot, emilio, jandem, bbouvier, karlt, jya

Bug #: 1521000

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

--HG--
extra : histedit_source : 4add583bfa729ccc1aef934629ed45ff095189b0
2019-01-18 10:12:56 +01:00
Dorel Luca bb4780fb18 Merge mozilla-central to mozilla-inbound. CLOSED TREE 2019-01-16 00:25:16 +02:00
Jorg K 55bd92ed93 Bug 1519653 - move initialisation of richlist properties to constructor. r=paolo 2019-01-15 08:39:00 +02:00
Jorg K d627656050 Bug 1520944 - add missing include of WindowProxyHolder.h to SessionStoreUtils.cpp. r=mccr8 a=RyanVM 2019-01-18 00:58:19 +01:00
Andrew Swan bde8f820fb Bug 1519762 Fix a regression with browser.downloads.search() r=kmag
The fixes in bug 1503760 inadvertently broke searches of downloads that
have not yet started receiving data (which have a value of -1 for the
totalBytes property).  That regression is fixed here.

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

--HG--
extra : rebase_source : d6abf7e5bdc2ae10e690df56c060b30166fc75f7
extra : amend_source : 6580b889860d4d28f216fd92522ecd539a8f7d1d
2019-01-17 11:12:46 -08:00
Nathan Froyd 9cd04a84de Bug 1514044 - part 3 - update nsICrashService process constants and add checks for them; r=gsvelto 2019-01-10 10:52:51 -05:00
Nathan Froyd a6f22e88be Bug 1514044 - part 2 - change CrashReporterHost to use GeckoProcessTypes.h; r=gsvelto 2019-01-10 10:52:51 -05:00
Nathan Froyd e7964cca4f Bug 1514044 - part 1 - macro-ify process enums, strings, and XRE functions; r=mccr8
Having this information all defined in a single header will make life
easier if we ever add new process types.
2019-01-10 10:52:51 -05:00
3dindian 0e75a6fb7c Bug 1022039 - Replace columnpicker.gif with columnpicker.svg. r=dao
--HG--
extra : amend_source : e409257751fcde77f1b87dff2cca387f03876fd2
2018-12-29 14:58:16 -05:00
Brian Hackett 6d36cab00c Bug 1516578 Part 6 - IDL and binding changes for coordinating child processes from JS, r=lsmyth.
--HG--
extra : rebase_source : 8de273af9fb5eb043bf67714d384e664efa8e25e
extra : source : 91d5c6ff3ee769f779668b19f09b76cba00b8142
2018-12-27 13:37:22 -10:00
Brian Hackett 07f8a6f076 Bug 1516578 Part 5 - Remove logic for coordinating child processes from C++, r=mccr8.
--HG--
extra : rebase_source : f2a5715b1d4f27de4d3598fe73d99da276915892
extra : source : 1701613c165d52565cc8dcf48b5e8a8bfebf7a23
2018-12-27 13:32:36 -10:00
Brian Hackett e245026227 Bug 1516578 Part 4 - Improve handling when encoding/decoding execution points with no position, r=lsmyth.
--HG--
extra : rebase_source : 7de1af8761422eab9343d4807918aad5f5d615b6
extra : source : 9ddc5bc1e961af52dbd772f66559f3fe4199e572
2018-12-27 13:30:56 -10:00
Brian Hackett 9a98dc9db3 Bug 1516578 Part 3 - Use UniquePtr more for web replay messages, r=mccr8.
--HG--
extra : rebase_source : 8e05bb9038e48835c1c7e5d987e9cee9a8867a92
extra : source : fb64ff37f6345cfa2e8efc7d692bc3dc3a1cd6f5
2018-12-27 13:28:49 -10:00
Brian Hackett d3d0015ff0 Bug 1516578 Part 2 - Add ToString methods for breakpoint positions and execution points, r=lsmyth.
--HG--
extra : rebase_source : 4f0d872e618da7fc109074e25ad665f21848b5ba
extra : source : 0426a61d27a9c9c047b4d489e4a2586b4c7a6491
2018-12-27 13:27:58 -10:00
Brian Hackett 5f10ff1d4c Bug 1516578 Part 1 - Merge HitCheckpoint and HitBreakpoint messages, r=mccr8.
--HG--
extra : rebase_source : 4af6ea61f960053b28870552bb3e827d147fffb0
extra : source : cf0578ce6aa3b10e00b877c50e0c2ab517b07c2c
2018-12-27 13:24:55 -10:00
Henri Sivonen cf396b408d Bug 1469904 - Disable test_temporary.js on Windows, because it fails with increased run-time stack size. r=aswan. 2019-01-11 09:44:09 +02:00
Bogdan Tara a22613d930 Merge mozilla-central to inbound. a=merge CLOSED TREE 2019-01-15 18:14:20 +02:00
Mark Striemer 815739f24a Bug 1303384 - Part 5: Fix TODO and string in .ftl r=flod
--HG--
extra : rebase_source : 3b39c63185633a44653b1c63497e71c78329bf2e
2019-01-15 08:52:42 -06:00
Bob Owen 6c8f34c9ac Bug 1489796: On Windows resolve junction points and symlinks in the sys user extensions directories. r=jimm
This is needed because they are currently used in sandbox rules.
2018-12-13 09:08:40 +00:00
Andrea Marchesini ce3978a4df Bug 1517466 - Clear-Site-Data header should be processed only for 2xx response status, r=farre 2019-01-10 10:54:47 +01:00
Timothy Guan-tin Chien 005832324b Bug 1454357 - Remove the scrollbox binding r=NeilDeakin
With all the previous efforts, the scrollbox binding now does nothing but to create an inner box element holding the scrolling content.

It turned out that inner box can be easily removed. The padding set by the document sheets can be moved to the srollbox element directly.

The only gotcha is XULScrollElement::ScrollByIndex() -- it can now reach the child item frames directly from the scrolled frame.

Depends on D15169

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

--HG--
extra : moz-landing-system : lando
2019-01-09 20:12:26 +00:00
shindli e980a1693d Merge mozilla-central to autoland. a=merge CLOSED TREE 2019-01-10 06:05:38 +02:00
shindli 9e30b4d75a Merge inbound to mozilla-central. a=merge 2019-01-10 06:03:36 +02:00
edward.i.wu 06030d9eb9 Bug 1370077 - Avoid deprecation message when background.persistent is true r=robwu,aswan
Add support for enumerations to boolean types, and use it to only show
a deprecation message when background.persistent is false.

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

--HG--
extra : moz-landing-system : lando
2019-01-10 01:11:44 +00:00
Brian Grinstead 31787227c8 Bug 1441935 - Remove browser XBL binding r=mconley
Differential Revision: https://phabricator.services.mozilla.com/D15594

--HG--
extra : moz-landing-system : lando
2019-01-10 01:45:45 +00:00
Brian Grinstead f6c12a437b Bug 1441935 - Modifications on top of the generated MozBrowser Custom Element r=mconley
In order to make the history easier to navigate, this changeset includes the
modifications required to make <xul:browser> actually work as a Custom Element,
and switches the app to use it instead of the XBL browser.

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

--HG--
extra : moz-landing-system : lando
2019-01-10 01:45:43 +00:00
Brian Grinstead 5b6fac1c1c Bug 1441935 - Copy browser.xml and import the generated MozBrowser Custom Element r=mconley
Differential Revision: https://phabricator.services.mozilla.com/D14910

--HG--
rename : toolkit/content/widgets/browser.xml => toolkit/content/widgets/browser-custom-element.js
extra : moz-landing-system : lando
2019-01-10 01:45:41 +00:00
Jed Davis 47e47c7561 Bug 1487287 - Fix thread-safety of crash reporter pid map. r=gsvelto
Depends on D8945

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

--HG--
extra : moz-landing-system : lando
2019-01-08 23:53:37 +00:00
Dave Townsend 07e80de57e Bug 1518575: Remove unused nsIToolkitProfileService.lockProfilePath. r=froydnj
Differential Revision: https://phabricator.services.mozilla.com/D15965

--HG--
extra : moz-landing-system : lando
2019-01-09 15:17:13 +00:00
Dave Townsend e1283ad6c2 Bug 1518846: Fix missing includes in nsUpdateDriver.cpp. r=rstrong
Adds some includes that are needed for functions used in nsUpdateDriver.cpp.

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

--HG--
extra : moz-landing-system : lando
2019-01-09 17:27:21 +00:00
Gabriele Svelto 8a2aee6162 Bug 1517730 - Enable the crash reporter by default on Windows/AArch64 builds r=ted
Differential Revision: https://phabricator.services.mozilla.com/D15763

--HG--
extra : moz-landing-system : lando
2019-01-09 22:39:22 +00:00
shindli eae80bd903 Merge mozilla-central to autoland. a=merge CLOSED TREE 2019-01-09 23:45:39 +02:00
shindli e196689816 Merge inbound to mozilla-central. a=merge 2019-01-09 23:42:10 +02:00
shindli 20a70f9169 Merge autoland to mozilla-central. a=merge 2019-01-09 23:40:48 +02:00
Mike Cooper 59081613bd Bug 1479127 - Add featuregate library r=mossop,firefox-build-system-reviewers,mshal
Differential Revision: https://phabricator.services.mozilla.com/D5175

--HG--
extra : moz-landing-system : lando
2019-01-09 20:01:52 +00:00
Adam Gashlin 6b988936da Bug 1514898 - Disable user impersonation on release r=rstrong
This introduces a DISABLE_USER_IMPERSONATION define when EARLY_BETA_OR_EARLIER is set, if that is present the maintenance service will not attempt to get an impersonation token for the user's updater process, and the updater will not attempt to use any token it is given. The bulk of the changes are restoring the old failure status codes and the tests that expect them, sorry for the noise that causes.

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

--HG--
extra : moz-landing-system : lando
2019-01-09 19:57:31 +00:00
Brindusan Cristian 52ff39744a Backed out changeset 7e107869b00d (bug 1479127) for bc failures on browser_all_files_referenced.js. 2019-01-09 21:20:01 +02:00
Cosmin Sabou ad04ab5446 Merge mozilla-inbound to mozilla-central. a=merge 2019-01-09 18:05:44 +02:00
Mike Cooper a719a1c3f2 Bug 1479127 - Add featuregate library r=mossop,firefox-build-system-reviewers,mshal
Differential Revision: https://phabricator.services.mozilla.com/D5175

--HG--
extra : moz-landing-system : lando
2019-01-09 16:15:59 +00:00
Tim Nguyen eafd30566c Bug 1437641 - Stop packaging arrow-{dn,up}.gif on Linux to fix browser_all_files_referenced.js failures. r=bustage-fix
--HG--
extra : rebase_source : 2a5f19b566212f4e9aed19f35ad3f414c7aac9a2
2019-01-09 13:18:43 +01:00
Dão Gottwald eda54e25bf Bug 1512493 - Make switching tabs by scrolling pref-controlled and off by default. r=stransky
Differential Revision: https://phabricator.services.mozilla.com/D16021

--HG--
extra : moz-landing-system : lando
2019-01-09 14:38:42 +00:00
Mark Banner ff1a583b08 Bug 1515081 - Reimplement autocomplete result timing telemetry for the new quantumbar. r=mak
Differential Revision: https://phabricator.services.mozilla.com/D15818

--HG--
extra : moz-landing-system : lando
2019-01-09 15:11:49 +00:00
Tom Ritter d1481c6b1d Bug 1460620 - Have MinGW look for d3dcompiler_47.dll (so it will be packaged) r=froydnj
--HG--
extra : amend_source : b9979cc3b72aa5f962342b150c525867eba82654
2019-01-08 15:16:39 -06:00
Robert Strong 3a1ebd26f0 Bug 1517575 - Change nsIUpdate and nsIUpdatePatch attributes that can be read only to read only. r=mhowell 2019-01-09 08:24:35 -08:00
Cosmin Sabou 1e50aa1d21 Merge mozilla-central to mozilla-inbound.
--HG--
rename : devtools/client/shared/multi-e10s-helper.js => devtools/shared/multi-e10s-helper.js
rename : toolkit/themes/shared/numberbox.css => toolkit/themes/shared/numberinput.css
extra : rebase_source : 3aa7c3b9f560aaa47259594ce1e52f1bfbbad169
2019-01-09 18:16:13 +02:00
Tim Nguyen 34cebfc0b6 Bug 1437641 - Remove numberbox binding and convert usages to input[type=number]. r=bgrins,dao
Differential Revision: https://phabricator.services.mozilla.com/D15882

--HG--
rename : toolkit/themes/shared/numberbox.css => toolkit/themes/shared/numberinput.css
extra : moz-landing-system : lando
2019-01-09 08:51:32 +00:00
Dão Gottwald 7c3d27bb52 Bug 1518745 - Remove inner padding from all panel footer buttons. r=ntim
Differential Revision: https://phabricator.services.mozilla.com/D16018

--HG--
extra : moz-landing-system : lando
2019-01-09 10:50:46 +00:00
Dão Gottwald 4f2961f7d4 Bug 1518452 - Remove macOS .popup-notification-button focusring. r=ntim
Differential Revision: https://phabricator.services.mozilla.com/D16019

--HG--
extra : moz-landing-system : lando
2019-01-09 10:41:57 +00:00
Mark Banner 537292585c Bug 1518152 - Create a TelemetryTestUtils.jsm and start using it in browser/modules/test. r=Dexter
Differential Revision: https://phabricator.services.mozilla.com/D15839

--HG--
extra : moz-landing-system : lando
2019-01-09 09:08:42 +00:00
Razvan Maries 665c57df8d Merge mozilla-central to autoland. a=merge on a CLOSED TREE 2019-01-09 05:55:28 +02:00
Razvan Maries bc86cecc3c Merge mozilla-inbound to mozilla-central a=merge 2019-01-09 05:49:28 +02:00
Ethan Glasser-Camp 549ac75f78 Bug 1518292: use env instead of environment in JEXL context r=Gijs
Differential Revision: https://phabricator.services.mozilla.com/D15951

--HG--
extra : moz-landing-system : lando
2019-01-08 23:52:35 +00:00
Luca Greco b003d66246 Bug 1468460 - Support context menu in WebExtensions options pages embedded inside an about:addons tab. r=mixedpuppy,robwu
Differential Revision: https://phabricator.services.mozilla.com/D9920

--HG--
extra : moz-landing-system : lando
2019-01-07 20:53:13 +00:00
Paul Bone eca8e2da04 Bug 1518713 - Make it easier to update the GC telemetry unit test r=florian
By refactoring this test code we can more easily adjust the number of fields
there are supposed to be in these objects.

--HG--
extra : source : 270b892f2c93aaed926c4ec70600f1c74b6325af
extra : histedit_source : 1e0d7ca3033dfb5aff8bd0e90b63d6ad23aea994
2019-01-07 22:19:13 +11:00
Paul Bone b826850e7a Bug 1518713 - Slices have no end_timestamp r=florian
Do not try to process the end_timestamp propertly since slices have no such
property.

--HG--
extra : source : 8bdef341236aa171d3c1f74ec51fefad8ae0ba73
extra : histedit_source : fbe1d2db6291806e3c51e672b73a0ad681c89405
2019-01-09 15:18:01 +11:00
shindli 10e6aab606 Merge mozilla-central to inbound. a=merge CLOSED TREE 2019-01-09 23:47:58 +02:00
Andrea Marchesini cae3186b64 Bug 1517308 - Add a search field in about:url-classifier - part 3 - ftl updated, r=flod 2019-01-09 19:12:07 +01:00
Paolo Amadini cf8dd0e68b Bug 1454363 - Unify the "popup" and "popup-scrollbars" bindings. r=bgrins
Differential Revision: https://phabricator.services.mozilla.com/D15277

--HG--
extra : rebase_source : b64fca78317181526b47918b3b2bb21476f6755b
2018-12-29 15:37:05 +00:00
Paolo Amadini ffa6503244 Bug 983187 - Test that downloads fail when an RST packet is received. r=mayhemer
This adds a way to simulate failed network connections, allowing the addition of test coverage that would otherwise not be available. This is used in the Downloads tests to ensure that failures at the network level are handled correctly.

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

--HG--
extra : rebase_source : 2597b27de5213b0322520cefafe10a197d0d3b83
2019-01-09 11:48:23 +00:00
Noemi Erli d3e491db1d Backed out changeset 86cbcf2195f9 (bug 1356036) for browser-chrome failures in browser_all_files_referenced.js CLOSED TREE 2019-01-09 16:59:28 +02:00
Noemi Erli e79ee45812 Backed out 3 changesets (bug 1482389) for build bustages in nsDOMAttributeMap.h CLOSED TREE
Backed out changeset c1cfc595892f (bug 1482389)
Backed out changeset bd20e420f257 (bug 1482389)
Backed out changeset af06731b5203 (bug 1482389)

--HG--
rename : dom/chrome-webidl/XULTreeElement.webidl => dom/webidl/TreeBoxObject.webidl
rename : dom/xul/XULTreeElement.cpp => layout/xul/tree/TreeBoxObject.cpp
rename : dom/xul/XULTreeElement.h => layout/xul/tree/TreeBoxObject.h
2019-01-09 16:00:19 +02:00
Razvan Maries 83db861464 Merge mozilla-central to mozilla-inbound. a=merge on a CLOSED TREE 2019-01-09 00:11:59 +02:00
Razvan Maries f4c5025ab9 Merge mozilla-inbound to mozilla-central a=merge 2019-01-09 00:01:24 +02:00
Robert Strong cb9a6612b2 Bug 1499004 - fix for the crash in AsyncShutdownTimeout | profile-before-change | UpdateManager: writing update xml data. r=mhowell
Adds a promises.all return value to _saveUpdates so finalize will work properly with the profileBeforeChange blocker
Keeps the update xml saver deferred task through the lifetime of the application instead of nulling it out.
Changes the tracking of the update phase for write failure reporting to a global object
Adds new temporary download code for update file write failures to handle the case when the update phase isn't known
Only updates the patch's state and save the update in downloadUpdate when state has changed
Only updates the patch's finalURL and save the update in onStartRequest when finalURL has changed
Only save the update in onStopRequest when the update's attributes have changed
Stops current update checks (if any) during quit-application
Adds a skip-files to the UpdateManager's observe method for tests and updates the tests to use it. This helps to prevent file writes when a test ends.
Cleaned up the tests to accommodate the above
2019-01-08 12:54:25 -08:00
Daniel Varga 599bfc410a Merge mozilla-central to mozilla-inbound. a=merge on a CLOSED TREE
--HG--
rename : browser/components/pocket/locale/en-US/pocket.properties => browser/locales/en-US/chrome/browser/pocket.properties
rename : devtools/client/aboutdebugging-new/test/browser/head-addons-script.js => devtools/client/aboutdebugging-new/test/browser/helper-addons.js
rename : devtools/client/aboutdebugging-new/test/browser/debug-target-pane_collapsibilities_head.js => devtools/client/aboutdebugging-new/test/browser/helper-collapsibilities.js
rename : devtools/client/aboutdebugging-new/test/browser/head-mocks.js => devtools/client/aboutdebugging-new/test/browser/helper-mocks.js
rename : devtools/client/aboutdebugging-new/test/browser/head-serviceworker.js => devtools/client/aboutdebugging-new/test/browser/helper-serviceworker.js
rename : devtools/client/aboutdebugging-new/test/browser/mocks/head-client-wrapper-mock.js => devtools/client/aboutdebugging-new/test/browser/mocks/helper-client-wrapper-mock.js
rename : devtools/client/aboutdebugging-new/test/browser/mocks/head-runtime-client-factory-mock.js => devtools/client/aboutdebugging-new/test/browser/mocks/helper-runtime-client-factory-mock.js
rename : devtools/client/aboutdebugging-new/test/browser/mocks/head-usb-runtimes-mock.js => devtools/client/aboutdebugging-new/test/browser/mocks/helper-usb-runtimes-mock.js
rename : dom/base/nsIdentifierMapEntry.h => dom/base/IdentifierMapEntry.h
extra : rebase_source : 0d517ceff0f11aadfa88634e773b3436ad48a8e6
2019-01-08 18:35:10 +02:00
Daniel Varga 0d21c9eedd Merge mozilla-inbound to mozilla-central. a=merge 2019-01-08 18:23:16 +02:00
Mike Shal 514145c3fb Bug 1518170 - Always upload profile run output; r=firefox-build-system-reviewers,chmanchester#firefox-build-system-reviewers
In bug 1514288 we started to save the output from running Firefox during
PGO builds into log files, but they aren't correctly uploaded if the run
fails. This presents a problem for categorizing failed PGO builds if the
profileserver returns an error code (eg: bug 1517939), since the error
messages could be hidden away in log files that aren't uploaded.

Instead, we can generate them directly into the artifacts directory so
that they are always uploaded. Additionally, the log files are displayed
if the run fails so that the error messages are displayed in the log for
easier bug categorization.

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

--HG--
extra : moz-landing-system : lando
2019-01-08 17:28:36 +00:00
Gijs Kruitbosch 32dd1fe10f Bug 1515103 - add low end machine information to graphics section of telemetry environment, r=chutten
Depends on D15844

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

--HG--
extra : moz-landing-system : lando
2019-01-08 16:12:25 +00:00
Gijs Kruitbosch 38b9379998 Bug 1515103 - show frame rate and whether we're on a low end device in about:support, r=kats,jaws,flod
Differential Revision: https://phabricator.services.mozilla.com/D15844

--HG--
extra : moz-landing-system : lando
2019-01-08 15:48:24 +00:00
Daniel Varga 8306d673ed Merge mozilla-central to autoland. a=merge on a CLOSED TREE 2019-01-08 18:31:08 +02:00
Paolo Amadini 38ec686b2e Bug 1517507 - Part 1 - Add in-content styling for input[type="number"]. r=bgrins
Differential Revision: https://phabricator.services.mozilla.com/D15662

--HG--
extra : rebase_source : 9531e45f894a9b110a651a0ae965bfdd9565fdaf
extra : amend_source : c13510a9179a1206bb095f92b8a0218eb5325407
2019-01-08 11:48:08 +00:00
Oana Pop Rus aec8de62bb Merge mozilla-central to inbound. a=merge CLOSED TREE 2019-01-08 12:37:02 +02:00
Oana Pop Rus 3adbeba770 Merge mozilla-inbound to mozilla-central. a=merge 2019-01-08 12:13:02 +02:00
Aaron Klotz 1914ecea36 Bug 1509929: Part 2 - Modify MakeCommandLine to accept an array of extra args that will be appended to the final result; r=mhowell
Differential Revision: https://phabricator.services.mozilla.com/D15447

--HG--
extra : moz-landing-system : lando
2019-01-08 00:09:52 +00:00
Jeff Walden 718bf761d4 Bug 1518263 - Use Intl.NumberFormat objects to format numbers in about:memory rather than hand-rolling formatting code or using toLocaleString that will create a fresh formatter object every time it's called. r=heycam 2019-01-07 12:05:55 -08:00
Bogdan Tara 96769dfd83 Backed out 3 changesets (bug 1509929) for mingw failures on TestSameBinary.cpp CLOSED TREE
Backed out changeset 8d432633f8fb (bug 1509929)
Backed out changeset 5ec50f23671e (bug 1509929)
Backed out changeset 8bdba9ec4d5b (bug 1509929)
2019-01-08 01:33:43 +02:00
Aaron Klotz ee8d23b14e Bug 1509929: Part 2 - Modify MakeCommandLine to accept an array of extra args that will be appended to the final result; r=mhowell
Differential Revision: https://phabricator.services.mozilla.com/D15447

--HG--
extra : moz-landing-system : lando
2019-01-07 22:36:33 +00:00
alwu b19b9b34f5 Bug 1513039 - part11 : remove pref 'media.autoplay.ask-permission'. r=cpearce
Depends on D14335

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

--HG--
extra : moz-landing-system : lando
2019-01-07 18:41:58 +00:00
alwu edbf43dd41 Bug 1513039 - part10 : remove nsIAutoplay.PROMPT r=daleharvey,cpearce
Depends on D14334

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

--HG--
extra : moz-landing-system : lando
2019-01-07 18:41:03 +00:00
alwu 1f7a52686c Bug 1513039 - part7 : modify web audio autoplay test for removal of doorhanger r=karlt
Check whether web audio starts when calling calling resume() or
AudioScheduledNode.start() after granting user activation.

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

--HG--
extra : moz-landing-system : lando
2019-01-07 18:36:11 +00:00
alwu c3d58cfb32 Bug 1513039 - part2 : remove temporary autoplay permission tests. r=florian
These tests were added in bug 1493766 for testing caching temporary autoplay permission.

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

--HG--
extra : moz-landing-system : lando
2019-01-07 18:32:35 +00:00
alwu 242554622e Bug 1513039 - part1 : remove caching temporary autoplay permission. r=smaug,florian
We're going to remove all autoplay temporary permission related codes, so we don't need to cache it anymore.

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

--HG--
extra : moz-landing-system : lando
2019-01-07 18:29:10 +00:00
Nick Alexander e9a9a7afd8 Bug 1496190 - Pre: Fail automation builds that check out l10n repos. r=Pike,Callek
Differential Revision: https://phabricator.services.mozilla.com/D15777

--HG--
extra : moz-landing-system : lando
2019-01-07 19:22:39 +00:00
Nick Alexander 2027f25d2b Bug 1496190 - Pre: Default L10NBASEDIR to correct value in automation. r=Callek
At some point we made L10NBASEDIR required.  That means that

env L10NBASEDIR=... make chrome-AB_CD

takes the value set by configure.  That is different than

make chrome-AB_CD L10NBASEDIR=...

which uses the value passed on the command line.  Rather than making
the latter style work with `mach build`, we instead set the "correct"
value for L10NBASEDIR in automation.

We could remove the --with-l10n-base stanzas from many automation
mozconfigs, but there's some small advantage to keeping them explicit.
Perhaps eventually we will remove them -- hopefully after
standardizing l10n vs l10n-central!

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

--HG--
extra : moz-landing-system : lando
2019-01-07 19:21:21 +00:00
Miko Mynttinen 44cebb6890 Bug 1518134 - Extend paint phase histogram lifetime r=chutten
Differential Revision: https://phabricator.services.mozilla.com/D15835

--HG--
extra : moz-landing-system : lando
2019-01-07 20:43:23 +00:00
Bogdan Tara 9600ad4953 Backed out changeset b776171d854c (bug 1515103) for browser_Troubleshoot.js failures CLOSED TREE 2019-01-07 22:28:59 +02:00
Dimi Lee d620535216 Bug 1517704 - Add cpi to the list of executable extensions in download protection. r=gcp
Differential Revision: https://phabricator.services.mozilla.com/D15804

--HG--
extra : moz-landing-system : lando
2019-01-07 15:22:21 +00:00
Gijs Kruitbosch fca05d0c79 Bug 1515103 - show frame rate and whether we're on a low end device in about:support, r=kats,jaws,flod
Differential Revision: https://phabricator.services.mozilla.com/D15844

--HG--
extra : moz-landing-system : lando
2019-01-07 18:48:11 +00:00
Ehsan Akhgari 4ea67edf08 Bug 1517014 - Part 4: Remove a useless QueryInterface from AntiTrackingCommon::IsOnContentBlockingAllowList(); r=baku
The only implementation of nsIURI which has a GetHostPort() method which can
succeed is nsStandardURL, which implements nsIURL.  Other implementations
either do not implement nsIURL (so in the old version, they would bail out
early) or they do, but their GetHostPort() method returns an error code
unconditionally (so in the old version, they would bail out later).  Hence,
this patch doesn't change the semantics of the code.

Depends on D15545

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

--HG--
extra : moz-landing-system : lando
2019-01-07 18:45:32 +00:00
Ehsan Akhgari 7c77372689 Bug 1517014 - Part 3: Avoid a hashtable lookup in AntiTrackingCommon::IsOnContentBlockingAllowList(); r=baku
Depends on D15544

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

--HG--
extra : moz-landing-system : lando
2019-01-07 18:45:30 +00:00
Ehsan Akhgari 8edc422166 Bug 1517014 - Part 2: Avoid the overhead of parsing our origin string into a URI in AntiTrackingCommon::IsOnContentBlockingAllowList(); r=baku
Depends on D15543

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

--HG--
extra : moz-landing-system : lando
2019-01-07 18:45:28 +00:00
Jan de Mooij a0640935f5 Bug 1518077 part 2 - Add MEMORY_JS_REALMS_{USER,SYSTEM} similar to the MEMORY_JS_COMPARTMENTS_{USER,SYSTEM} counts. r=njn,chutten
Differential Revision: https://phabricator.services.mozilla.com/D15809

--HG--
extra : moz-landing-system : lando
2019-01-08 15:11:36 +00:00
Dão Gottwald 7babdea7bb Bug 1518462 - Consolidate panel footer button dimensions. r=ntim
Differential Revision: https://phabricator.services.mozilla.com/D15935

--HG--
extra : moz-landing-system : lando
2019-01-08 13:54:41 +00:00
Csoregi Natalia 4eda4d34c0 Merge mozilla-central to mozilla-inbound. CLOSED TREE 2019-01-07 23:51:06 +02:00
Jeff Walden a128f0c35c Bug 1517624 - Move JSPropertySpec and JSFunctionSpec definitions into a new js/public/PropertySpec.h header. r=arai
--HG--
extra : rebase_source : b80911e01f984ee9f99fbbc6c4552ef3d2178587
2019-01-03 15:37:01 -06:00
Paolo Amadini 2a67f25fbd Bug 1454360 - Use "arrowscrollbox" in the "popup-scrollbars" binding. r=NeilDeakin
This prepares this binding for the unification with the "popup" binding, and removes the last consumer of the scrollByIndex method of XULScrollElement.

Because some code paths in "arrowscrollbox" are optimized using requestAnimationFrame, the related scrolling tests are now asynchronous.

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

--HG--
extra : rebase_source : f5d26df106785f2c0d158b8a23a648a71ab06b2d
2019-01-04 15:07:12 +00:00
Dão Gottwald cd67fe9462 Bug 1518431 - Implement panel footer top border in global.inc.css. r=ntim
Differential Revision: https://phabricator.services.mozilla.com/D15916

--HG--
extra : moz-landing-system : lando
2019-01-08 12:10:17 +00:00
Dão Gottwald 2f87c412d5 Bug 1518422 - Implement focus ring for panel footer buttons across platforms. r=ntim
Differential Revision: https://phabricator.services.mozilla.com/D15913

--HG--
extra : moz-landing-system : lando
2019-01-08 10:26:20 +00:00
Oana Pop Rus 4c7d3d1ae5 Merge mozilla-central to autoland. a=merge CLOSED TREE 2019-01-08 12:27:21 +02:00
Sylvestre Ledru 89eb6c86fd Bug 1459851 - Remove the reference to bz2 from about:license r=glandium
Differential Revision: https://phabricator.services.mozilla.com/D15565

--HG--
extra : moz-landing-system : lando
2019-01-08 08:44:14 +00:00
Dão Gottwald 229f5ffbf2 Bug 1516770 - Drop custom styling for "Find replacement" button for legacy addons. r=aswan
Differential Revision: https://phabricator.services.mozilla.com/D15805

--HG--
extra : moz-landing-system : lando
2019-01-08 01:07:52 +00:00
Jorg K 88602869fa Bug 1519626 - Use application specific string bundle in test_ext_permission_warnings.js. r=robwu,aswan
--HG--
extra : amend_source : 4fe42edf6cd2fbb39306e5e136ed1e106c3c485a
2019-01-15 10:45:10 +02:00
Shane Caraveo 91c0fb097f Bug 1467523 xpcshell tests for host header setting, r=aswan
Depends on D7750

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

--HG--
extra : moz-landing-system : lando
2018-12-05 09:02:34 +00:00
Nick Alexander 5e1f5eaca7 Bug 1518557 - Enable MOZ_GECKO_PROFILER on Android x86_64. r=mstange
Differential Revision: https://phabricator.services.mozilla.com/D15962

--HG--
extra : moz-landing-system : lando
2019-01-08 21:43:48 +00:00
Razvan Maries 7192c6023a Merge mozilla-central to autoland. a=merge on a CLOSED TREE 2019-01-09 00:09:23 +02:00
alwu 15cbe4a2c3 Bug 1512277 - Add Telemetry to know AudioContext blocking status if we enable blocking autoplay for web audio. r=karlt,Dexter
Differential Revision: https://phabricator.services.mozilla.com/D14118

--HG--
extra : moz-landing-system : lando
2019-01-08 21:52:31 +00:00
Matthew Noorenberghe d58cd55dfc Bug 1322673 - Test that password changes are saved when both http: and https: for the same username exist. r=johannh
Differential Revision: https://phabricator.services.mozilla.com/D15885

--HG--
extra : moz-landing-system : lando
2019-01-08 20:51:43 +00:00
Matthew Noorenberghe 4fb5cbefc0 Bug 1322673 - Dedupe logins to update upon password change. r=johannh
If we have both http: and https: then we need to dedupe them to decide which one to update.

This uses the same logic as for HTTP auth https://searchfox.org/mozilla-central/rev/76fe4bb385348d3f45bbebcf69ba8c7283dfcec7/toolkit/components/passwordmgr/nsLoginManagerPrompter.js#554-558

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

--HG--
extra : moz-landing-system : lando
2019-01-08 20:53:29 +00:00
Julian Descottes 0baa80215b Bug 1497264 - Remove references to AddonTargetActor setAddonOptions;r=ochameau,yulia
Depends on D15383

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

--HG--
extra : moz-landing-system : lando
2019-01-08 18:42:44 +00:00
Neil Deakin cb10352f4b Bug 1482389, replace TreeBoxObject with XULTreeElement inherited from XULElement, r=peterv,paolo
--HG--
rename : dom/webidl/TreeBoxObject.webidl => dom/chrome-webidl/XULTreeElement.webidl
rename : layout/xul/tree/TreeBoxObject.cpp => dom/xul/XULTreeElement.cpp
rename : layout/xul/tree/TreeBoxObject.h => dom/xul/XULTreeElement.h
2018-12-04 11:25:30 -05:00
Bas Schouten bcd2741591 Bug 1506537 - Part 2: Add telemetry probe for keypress presentation latency. r=smaug
--HG--
extra : rebase_source : a2b95bb0dc8d10527dbb9569a7c02b163351aa1a
2018-12-13 03:33:56 +01:00
Mark Striemer b5de939bac Bug 1486507 - Record telemetry for browser language changes r=rpl,flod,chutten
Differential Revision: https://phabricator.services.mozilla.com/D11795

--HG--
extra : rebase_source : 0f41affb5790bc14f467c7956ca7eb179ab3f9e5
extra : amend_source : efb27b06212185e373c5711243a79ea793b32291
2018-11-10 10:45:23 -06:00
Dão Gottwald a2154b8923 Bug 1518103 - Apply :hover:active inset box shadow to all panel footer buttons. r=ntim
Differential Revision: https://phabricator.services.mozilla.com/D15815

--HG--
extra : moz-landing-system : lando
2019-01-07 12:30:05 +00:00
Masayuki Nakano ed2040ac16 Bug 1447239 - Implement InputEvent.inputType r=smaug
This patch implements InputType.inputType which is declared by Input Events.
The attribute has already been implemented by Chrome and Safari.  Chrome
implements Input Events Level 1, but Safari implements Input Events Level 2.
 Difference between them is only whether it supports "insertFromComposition",
"deleteByComposition" and "deleteCompositionText".  This patch makes the
level switchable with pref and takes Level 1 by default because Level 2 is
still unstable around event order with composition events.

For reducing string copy cost at dispatching "input" event, this patch
makes EditorInternalInputEvent store valid input-type as enum class,
EditorInputType and resolves it to string value when
dom::InputEvent::GetInputType() is called.  Note that the reason why
this patch names the enum class as EditorInputType is, there is InputType
enum class already for avoiding conflict the name, this appends "Editor"
prefix because "input" and "beforeinput" events are fired only when an
editor has focus.

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

--HG--
extra : moz-landing-system : lando
2019-01-07 10:10:57 +00:00
Cameron McCormack 9635af505d Bug 1517175 - Part 2: Add about:memory filter r=njn
Depends on D15628

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

--HG--
extra : moz-landing-system : lando
2019-01-07 03:04:46 +00:00
Cameron McCormack 81b8379a06 Bug 1517175 - Part 1: Omit "Other Measurements" section when empty r=njn
Differential Revision: https://phabricator.services.mozilla.com/D15628

--HG--
extra : moz-landing-system : lando
2019-01-07 03:04:44 +00:00
Cameron McCormack af0862d439 Bug 1516831 - Add a process index to about:memory r=njn
Differential Revision: https://phabricator.services.mozilla.com/D15495

--HG--
extra : moz-landing-system : lando
2019-01-07 03:06:27 +00:00
Cameron McCormack 3ce3dcbe16 Bug 1517354 - Improve about:memory performance by not using toLocaleString r=njn
Differential Revision: https://phabricator.services.mozilla.com/D15627

--HG--
extra : moz-landing-system : lando
2019-01-07 02:50:05 +00:00
Ciure Andrei f8de618269 Merge inbound to mozilla-central. a=merge 2019-01-06 11:49:41 +02:00
Robert Strong cd17224a07 Bug 1517150 - Don't generate a new QueryInterface method for every iteration in nsUpdateService.js enumerate and other fixes. r=bytesized
Changes enumerate so it doesn't generate a new QueryInterface method for every iteration and uses an nsISupportsInterfacePointer.
Separates the nsIUpdate and nsIUpdatePatch attributes from the nsIPropertyBag properties.
Cleans up the attributes of nsIUpdate and nsIUpdatePatch
Adds test for text nodes in the update xml and fixes the issue that caused bug 1517718 with the first landing
2019-01-05 20:36:31 -08:00
Brian Grinstead cd3d3e7975 Bug 1517981 - Add the ability to extend the richlistbox Custom Element class;r=paolo
Differential Revision: https://phabricator.services.mozilla.com/D15698

--HG--
extra : moz-landing-system : lando
2019-01-05 22:08:58 +00:00
Gurzau Raul 8115a1830e Merge mozilla-central to autoland. a=merge CLOSED TREE 2019-01-05 14:40:39 +02:00
Gurzau Raul 959d44414e Merge inbound to mozilla-central. a=merge 2019-01-05 14:37:09 +02:00
Andrea Marchesini 1aada62615 Bug 1515286 - Get rid of nsIURIClassifier.asyncClassifyLocalWithTables, r=dimi 2019-01-05 09:10:56 +01:00
Andrea Marchesini 7872e64c7c Bug 1515286 - Introduce nsIURIClassifier.getFeatureByName() and nsIURIClassifier.createFeatureWithTables(), r=dimi 2019-01-05 09:10:45 +01:00
shindli ce5a0b424d Merge mozilla-central to inbound. a=merge CLOSED TREE 2019-01-05 06:09:57 +02:00
Gijs Kruitbosch d277cc6519 Bug 1516949 - increase opacity for box border colours so they get a bit more contrast, r=dao
Differential Revision: https://phabricator.services.mozilla.com/D15713

--HG--
extra : moz-landing-system : lando
2019-01-05 10:50:14 +00:00
Jeff Walden d084a5e469 Back out f8a29b8bb211, d1267711aef0, df1b7a886a9d, 0f6a3dd2c2f7, e6628922b7be, 0a374ac233cd, cf00fd0f080c, 6fc24c4e7798, ab2e4a2e5dd2, 2d17e4ef5e71, 4a8940073f8c, ea3ab4b83152, c7577c232591, e58454c68f0f, and 0e39815d1bce for breaking a single Android J10 and nothing else. (That J10 task must not like deck chairs...) r=bustage
--HG--
extra : rebase_source : f02dabe3ece7955cb223313d3605b825560c62b1
2019-01-04 16:33:01 -06:00
Timothy Guan-tin Chien 28b5c3416c Bug 1514040 - Dispatch events to hidden datetimebox UA Widget r=smaug
The XBL binding implementation relied on nsDateTimeControlFrame to call into
its nsIDateTimeInputArea implementation. This is correct because the XBL binding
is only constructed when the element has a frame. If the value is set while the
element is hidden, the XBL binding will pick up the correct value during construction.

That is not the case for UA Widget. As it is constructed when the DOM is attached,
relying on nsDateTimeControlFrame to send an event when attributes change means
the event won't be sent to the already constructed UA Widget.

This patch fixes that by moving the event dispatching calls originating from
HTMLInputElement out of nsDateTimeControlFrame, so they will behave correctly in
the absence of the frame.

I've also moved the gut of nsDateTimeControlFrame::HasBadInput() to
DateTimeInputTypeBase::HasBadInput(). Content script should be allowed to validate
the input without the frame.

Sadly this means the XBL implementation and the UA Widget implementation
have further diverged. The complexity should go away when we could finally
remove the XBL implementation.

nsDateTimeControlFrame still dispatches a few events to UA Widget, in
AttributeChanged() and SyncDisabledState(), as they are originated from the layout.

The name of the events in AttributeChanged() are incorrect though -- I am correcting
that in this patch too.

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

--HG--
extra : moz-landing-system : lando
2019-01-04 21:53:51 +00:00
bitnotri 542ea80ecd Bug 1461737 - Move nsstring-rs to a better location, r=nika
Differential Revision: https://phabricator.services.mozilla.com/D15743

--HG--
rename : servo/support/gecko/nsstring/Cargo.toml => xpcom/rust/nsstring/Cargo.toml
rename : servo/support/gecko/nsstring/src/conversions.rs => xpcom/rust/nsstring/src/conversions.rs
rename : servo/support/gecko/nsstring/src/lib.rs => xpcom/rust/nsstring/src/lib.rs
extra : moz-landing-system : lando
2019-01-04 22:03:56 +00:00
Timothy Guan-tin Chien bd38b39f8a Bug 1512048 - Convert tabmodalprompt binding to JSM module r=Gijs
This converts the tabmodalprompt binding to a class, to be constructed along side with the element
by TabModalPromptBox.

TabModalPromptBox will keep the instances in a map and pass it to the callers, instead of the element.
The tests and callers can access the class instance by passing the element reference to the map.

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

--HG--
rename : toolkit/components/prompts/content/tabprompts.xml => toolkit/components/prompts/content/tabprompts.jsm
extra : moz-landing-system : lando
2019-01-04 19:29:34 +00:00
shindli f63d10362d Merge mozilla-central to autoland. a=merge CLOSED TREE 2019-01-05 06:13:47 +02:00
shindli a0841a254f Merge inbound to mozilla-central. a=merge 2019-01-05 06:00:21 +02:00
Alastor Wu c64bb9ac90 Bug 1513681 - part5 : remove event 'AudibleAutoplayMediaOccurred'. r=jaws
This event is used for shield-study which has finished, so we could remove it.

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

--HG--
extra : moz-landing-system : lando
2019-01-04 19:04:39 +00:00
Alastor Wu d861885915 Bug 1513681 - part3 : rename 'AudibleAutoplayChild' actor r=jaws
Use more proper name for actor which will handle all autoplay related events.

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

--HG--
rename : toolkit/actors/AudibleAutoplayChild.jsm => toolkit/actors/AutoplayChild.jsm
extra : moz-landing-system : lando
2019-01-04 18:35:09 +00:00
Alastor Wu f3c146dcd4 Bug 1513681 - part2 : handle 'GloballyAutoplayBlocked' event r=jaws,daleharvey
Handle the process from receiving event to showing the block icon.

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

--HG--
extra : moz-landing-system : lando
2019-01-04 18:33:53 +00:00
Cosmin Sabou 3de3011707 Backed out changeset dbea03a5c55e (bug 1497146) for bmsvc bustages on SessionStoreUtils.
SessionStoreUtils

--HG--
rename : dom/chrome-webidl/SessionStoreUtils.webidl => toolkit/components/sessionstore/nsISessionStoreUtils.idl
rename : toolkit/components/sessionstore/SessionStoreUtils.cpp => toolkit/components/sessionstore/nsSessionStoreUtils.cpp
2019-01-04 19:37:37 +02:00
Alphan Chen 15328d9c7b Bug 1497146 part 1 - Add SessionStoreUtils.webidl r=nika
Let SessionStoreUtils be a WebIDL namespace, rather than a XPCOM service

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

--HG--
rename : toolkit/components/sessionstore/nsISessionStoreUtils.idl => dom/chrome-webidl/SessionStoreUtils.webidl
rename : toolkit/components/sessionstore/nsSessionStoreUtils.cpp => toolkit/components/sessionstore/SessionStoreUtils.cpp
extra : moz-landing-system : lando
2019-01-04 16:26:13 +00:00
Noemi Erli c32eaed37e Merge inbound to mozilla-central. a=merge 2019-01-04 18:11:50 +02:00
Noemi Erli 1617711833 Merge autoland to mozilla-central. a=merge 2019-01-04 18:11:07 +02:00
Noemi Erli 99533b6e8d Backed out changeset bb2c3ab2874b (bug 1517150) for causing Bug 1517718 a=backout 2019-01-04 15:23:40 +02:00
Ciure Andrei 6b3d0aecf3 Merge inbound to mozilla-central. a=merge 2019-01-04 05:45:10 +02:00
Sebastian Hengst a98eaaf23e Merge mozilla-central to mozilla-inbound. CLOSED TREE 2019-01-04 00:57:21 +02:00
Ciure Andrei a8af06aea2 Merge inbound to mozilla-central. a=merge 2019-01-04 00:04:46 +02:00
Ciure Andrei 7a748ae68f Merge mozilla-central to autoland. a=merge CLOSED TREE 2019-01-04 01:03:06 +02:00
Mike Shal c8ed2cda78 Bug 1514288 - save profile run output to log files rather than stdout; r=chmanchester
The output from running the browser during PGO builds can have innocuous
error messages in them, but show up in treeherder as potential messages
to include when filing bugs. We can just save the output from these runs
as files and upload them as artifacts instead, so they don't show up in
the build log but are available for inspection if necessary.

MozReview-Commit-ID: 3VdVCKVkZNI

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

--HG--
extra : moz-landing-system : lando
2019-01-03 18:18:02 +00:00
Mark Banner 8e9e4602f8 Bug 1517456 - Make Task.jsm a test-only module. r=florian
Differential Revision: https://phabricator.services.mozilla.com/D15647

--HG--
rename : toolkit/modules/Task.jsm => toolkit/modules/tests/modules/Task.jsm
extra : moz-landing-system : lando
2019-01-04 08:41:58 +00:00
Mark Banner d1705a170b Bug 1517456 - Remove remaining production code references to Task.jsm. r=florian
Differential Revision: https://phabricator.services.mozilla.com/D15646

--HG--
extra : moz-landing-system : lando
2019-01-04 08:41:49 +00:00
Mark Banner b616e2a125 Bug 1517456 - Sqlite.jsm's executeTransaction no longer needs to handle generator functions. r=mak
Differential Revision: https://phabricator.services.mozilla.com/D15645

--HG--
extra : moz-landing-system : lando
2019-01-04 08:41:35 +00:00
Ciure Andrei f2aab16784 Merge mozilla-central to mozilla-inbound. a=merge CLOSED TREE 2019-01-04 05:47:49 +02:00
Kris Maglione 9532be32dd Bug 1512985: Await result of bootstrap method before returning. r=aswan 2019-01-04 12:40:30 +09:00
Paolo Amadini a61bfb98fb Bug 1472558 - Convert "richlistbox" to Custom Element. r=bgrins
Differential Revision: https://phabricator.services.mozilla.com/D15502

--HG--
rename : toolkit/content/widgets/richlistbox.xml => toolkit/content/widgets/richlistbox.js
extra : rebase_source : 7517e9d0760589a3df426aef4fa1c9c33f5355aa
2018-12-31 07:54:10 +00:00
Boris Zbarsky 058f83508f Bug 1517434 part 2. Convert existing callers of GetIsSystemPrincipal() to IsSystemPrincipal(). r=mccr8
Differential Revision: https://phabricator.services.mozilla.com/D15673

--HG--
extra : moz-landing-system : lando
2019-01-03 20:55:38 +00:00
Matt Woodrow 54f9f12d39 Bug 1517355 - Add CONTENT_FRAME_TIME variant that records from the vsync time. data-review=rrayborn, r=jrmuizel
Differential Revision: https://phabricator.services.mozilla.com/D15603

--HG--
extra : moz-landing-system : lando
2019-01-03 19:43:04 +00:00
Jeff Walden 87aba62a4a Bug 1517624 - Move JSPropertySpec and JSFunctionSpec definitions into a new js/public/PropertySpec.h header. r=arai 2019-01-03 15:37:01 -06:00
Marco Bonardo 70e0f8f7ee Bug 1504880 - Intermittent failure in browser_autocomplete_enter_race.js. r=Standard8
Differential Revision: https://phabricator.services.mozilla.com/D15237

--HG--
extra : moz-landing-system : lando
2019-01-03 08:35:52 +00:00
Gurzau Raul 8c06630d40 Backed out 3 changesets (bug 1513733) for frequent failures at browser_autoplay_policy_web_audio_mediaElementAudioSourceNode.js on a CLOSED TREE
Backed out changeset 5ce7c992bd81 (bug 1513733)
Backed out changeset 7ab6eb45e6b8 (bug 1513733)
Backed out changeset 6d105dcaa3df (bug 1513733)
2019-01-03 05:19:23 +02:00
Dana Keeler 74e6b5cabe bug 1498909 - dynamically load libsecret at runtime if available r=franziskus,jcj
Enough linux-based systems don't have libsecret that we can't make it a
requirement on linux. For those that do, however, we can dynamically load the
library at runtime. For those that don't, we can fall back to NSS.

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

--HG--
extra : moz-landing-system : lando
2019-01-03 00:39:45 +00:00
Mike Hommey 8123087c92 Bug 1516090 - Explicitly pass the compiler/preprocessor path to midl. r=froydnj
This is a followup to bug 1515579. Interestingly, midl just tries "cl"
in the PATH, and we've been lucky that the one it finds corresponds to the
target compiler and/or that it doesn't matter what architecture the
compiler targets for idl preprocessing..

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

--HG--
extra : moz-landing-system : lando
2018-12-29 14:09:45 +00:00
Mike Hommey f2a83c6ddf Bug 1516128 - Add missing compile flags in jpeg compile tests after bug 1515852. r=froydnj
Differential Revision: https://phabricator.services.mozilla.com/D15267

--HG--
extra : moz-landing-system : lando
2019-01-02 13:54:07 +00:00
alwu 3ffb4e3a11 Bug 1513733 - part3 : add test. r=karlt
Differential Revision: https://phabricator.services.mozilla.com/D14913

--HG--
extra : moz-landing-system : lando
2019-01-02 16:33:51 +00:00
Ethan Glasser-Camp 2bff1b287f Bug 1477255: offer context.environment as well as context.normandy r=leplatrem
Differential Revision: https://phabricator.services.mozilla.com/D15530

--HG--
extra : moz-landing-system : lando
2019-01-02 17:34:35 +00:00
Bogdan Tara c55149a262 Merge mozilla-central to autoland. a=merge CLOSED TREE 2019-01-02 23:39:38 +02:00
Bogdan Tara 6582cc9a1d Merge inbound to mozilla-central. a=merge 2019-01-02 23:36:12 +02:00
Geoff Brown 3830f1cb12 Bug 1517170 - Skip some https tests on Android; r=bc
These tests have always been skipped silently. Now that https tests are
enabled to actually run, we find that some (all?) actually fail on Android:
now explicitly skipped to allow for green runs of tier 1 suites.
2019-01-02 09:50:37 -07:00
Gabriele Svelto cb1e8ac83e Bug 1386760 - Add a crash annotation containing the last executable we launched r=froydnj
Differential Revision: https://phabricator.services.mozilla.com/D12643

--HG--
extra : moz-landing-system : lando
2019-01-02 14:54:58 +00:00
Peter Van der Beken 58c7fc4d20 Bug 1353867 - Change WindowProxyHolder's native type to BrowsingContext. r=bzbarsky
Make the WindowProxyHolder hold a strong reference to a BrowsingContext, as in the future
we might not have a nsPIDOMWindowOuter (if the document is loaded in a different process).

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

--HG--
extra : moz-landing-system : lando
2019-01-02 13:27:05 +00:00
Peter Van der Beken a17049feac Bug 1353867 - Change WindowProxy type. r=bzbarsky
Add a WindowProxyHolder type and generate binding code that takes or returns it whenever
the WebIDL refers to the WindowProxy type. This patch just makes the WindowProxyHolder
hold a strong reference to a nsPIDOMWindowOuter.

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

--HG--
extra : moz-landing-system : lando
2019-01-02 13:26:56 +00:00
Cosmin Sabou 3b1edf526b Merge mozilla-central to mozilla-inbound.
--HG--
rename : toolkit/modules/Task.jsm => toolkit/modules/tests/modules/Task.jsm
extra : rebase_source : 52141f691cc72d4a80c7c5d4d35aad67a51b660d
2019-01-04 18:38:34 +02:00
Andrea Marchesini 647b040b0f Bug Bug 1515272 - Get rid of nsIURIClassifier.classifyLocal(), r=dimi, r=froydnj 2019-01-04 14:46:30 +01:00
Andrea Marchesini e34612e16e Bug 1514202 - Port flash url-classifier to nsIUrlClassifierFeature - part 1 - Flash feature, r=dimi, r=edgar, r=valentin 2019-01-04 14:45:42 +01:00
Ehsan Akhgari 60238893a6 Bug 1517057 - Part 2: Avoid minting a new codebase principal in the channel-based version of AntiTrackingCommon::IsFirstPartyStorageAccessGrantedFor() in the common case to make things faster; r=baku
Depends on D15547

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

--HG--
extra : moz-landing-system : lando
2019-01-02 15:41:59 +00:00
Chris Manchester 0ef0b54bfb Bug 1507344 - Add a configure option for JARLOG_FILE in profile use builds. r=nalexander
Differential Revision: https://phabricator.services.mozilla.com/D13917

--HG--
extra : moz-landing-system : lando
2018-12-21 19:05:44 +00:00
Robert Strong 10e86533d7 Bug 1517070 - Move the update.sjs from the chrome directory to the data directory since it is shared by both mochitest-chrome and mochitest-browser-chrome tests. r=mhowell
--HG--
rename : toolkit/mozapps/update/tests/chrome/update.sjs => toolkit/mozapps/update/tests/data/update.sjs
2019-01-01 11:38:46 -08:00
Paolo Amadini cf8940d9a8 Bug 1516876 - Remove the "autocomplete-richlistbox" binding. r=bgrins
Differential Revision: https://phabricator.services.mozilla.com/D15501

--HG--
extra : rebase_source : 9aac2594266b3fd956fe268d473958635ce6b25d
2018-12-30 15:59:57 +00:00
Paolo Amadini e43964b7eb Bug 1516448 - Remove the "categories-list" binding. r=bgrins
Differential Revision: https://phabricator.services.mozilla.com/D15499

--HG--
extra : rebase_source : 7d7d66d63cff79bbde283e714e4258884b36538f
2018-12-30 11:51:03 +00:00
Emilio Cobos Álvarez 63814207cb Bug 1516853 - Merge nsIDocument and nsDocument. r=smaug
Differential Revision: https://phabricator.services.mozilla.com/D15498

--HG--
extra : moz-landing-system : lando
2018-12-31 14:10:19 +00:00
Robert Strong 336c6a3d77 Bug 1516899 - this.properties is undefined in nsUpdateService,js * enumerate(). r=mhowell
Fixed the enumerator implementation to return nsIProperty. The original enumerator implementation was never correct and the changes in bug 1486249 broke it entirely.
Added tests for nsIUpdate enumerator and nsIUpdatePatch enumerator.
2018-12-31 03:24:21 -08:00
Robert Strong 674b8c1fba Bug 1372834 - browser/browser_updatesBackgroundWindowFailures.js fails when ran with --verify and when it runs without other tests. r=mhowell
Changed checkWhatsNewLink to take a window param so the currently focused window is checked.
Changed PREF_APP_UPDATE_DOWNLOADPROMPTMAXATTEMPTS to PREF_APP_UPDATE_DOWNLOADPROMPT_MAXATTEMPTS so it is properly named.
2018-12-31 03:24:04 -08:00
Paolo Amadini 55e0dac60d Bug 1472557 - Remove the "scrollbox" anonymous element from "richlistbox". r=bgrins
Differential Revision: https://phabricator.services.mozilla.com/D15388

--HG--
extra : source : b46be9dd9fe019870b2e33b26db8204db79aad23
2018-12-30 13:48:45 +00:00
Cosmin Sabou fc229ed2c7 Merge mozilla-inbound to mozilla-central. a=merge 2018-12-30 11:31:03 +02:00
Andreea Pavel 95b755e3c8 Bug 1511256 - disabled test_videocontrols.html on linux r=jmaher
--HG--
extra : rebase_source : 2e78219ed1d980881dd317cb8fa831d8d8be67a8
2018-12-29 14:34:00 +02:00
Emilio Cobos Álvarez f131713362 Bug 1516366 - Move base classes from nsDocument to nsIDocument. r=smaug
This is a big step in order to merge both.

Also allows to remove some very silly casts, though it causes us to add some
ToSupports around to deal with ambiguity of casts from nsIDocument to
nsISupports, and add a dummy nsISupports implementation that will go away later
in the series.

Differential Revision: https://phabricator.services.mozilla.com/D15352
2018-12-29 20:41:28 +01:00
Timothy Guan-tin Chien 543ccba485 Bug 1516763 - Remove the feature to set a direction on the "richlistbox" element. r=NeilDeakin
This reverts the change implemented in bug 490178 in preparation for removing the inner scrollbox of the "richlistbox" binding.

--HG--
rename : toolkit/content/tests/chrome/test_richlist_direction.xul => toolkit/content/tests/chrome/test_richlistbox.xul
extra : rebase_source : 2a769cb8e47432574c47ba6565467c33ad3831bc
2018-12-29 13:05:04 +00:00
Rob Wu 7e3ca361db Bug 1418710 - Use non-resolvable host in test_ext_webrequest_basic r=mixedpuppy
Differential Revision: https://phabricator.services.mozilla.com/D15398

--HG--
extra : moz-landing-system : lando
2018-12-27 13:37:20 +00:00
Razvan Maries 2c3adbfcb0 Merge mozilla-central to autoland. a=merge on a CLOSED TREE 2018-12-29 23:45:10 +02:00
Michael Kaply 17389dd116 Bug 1510296 - Update Google search for new codes. r=daleharvey
Differential Revision: https://phabricator.services.mozilla.com/D13087

--HG--
extra : moz-landing-system : lando
2018-12-29 14:21:27 +00:00
Ciure Andrei 13346881fe Backed out changeset f6790e7386ac (bug 1510296) for causing Android build bustages CLOSED TREE 2018-12-29 15:54:35 +02:00
Michael Kaply b79e575381 Bug 1510296 - Update Google search for new codes. r=daleharvey
Differential Revision: https://phabricator.services.mozilla.com/D13087

--HG--
extra : moz-landing-system : lando
2018-12-29 13:19:42 +00:00
Bogdan Tara ddb8707cbc Backed out changeset 2b4dd7891375 (bug 1510296) for build bustages CLOSED TREE 2018-12-29 07:30:23 +02:00
Michael Kaply 8c84b2b25d Bug 1510296 - Update Google search for new codes. r=daleharvey
Differential Revision: https://phabricator.services.mozilla.com/D13087

--HG--
extra : moz-landing-system : lando
2018-12-28 22:26:06 +00:00