Commit Graph

54705 Commits

Author SHA1 Message Date
Chris Peterson
3f655a7340 Bug 1534878 - xpcom: Rename NS_InitXPCOM2() to NS_InitXPCOM(). r=froydnj
--HG--
extra : rebase_source : 6e7a46cf49f78e46e12d1e7fc76aba6f0c377be0
2019-03-14 23:38:09 -07:00
Noemi Erli
f02b516553 Backed out changeset e1c9790cd3be (bug 1527704) for failures in test_refresh_firefox.py 2019-03-15 19:32:35 +02:00
Oana Pop Rus
dd77c51ff5 Merge mozilla-central to inbound. a=merge CLOSED TREE 2019-03-15 18:45:20 +02:00
Noemi Erli
8ff375e831 Backed out changeset a75c0f1d25e5 (bug 1532203) for xpcshell failures in test_clear_forgetAboutSite.js CLOSED TREE 2019-03-15 13:50:39 +02:00
Johann Hofmann
b300111709 Bug 1532203 - Implement deleteByHost for NetworkCacheCleaner and ImageCacheCleaner. r=baku
Differential Revision: https://phabricator.services.mozilla.com/D23491

--HG--
extra : moz-landing-system : lando
2019-03-15 11:12:48 +00:00
monmanuela
1d874536ba Bug 1528108 - Drop support for PageThumbUtils.createCanvas with null window r=Standard8
Differential Revision: https://phabricator.services.mozilla.com/D22892

--HG--
extra : moz-landing-system : lando
2019-03-15 09:26:29 +00:00
prathiksha
8b09227fd0 Bug 1535222 - Disable test_one_doorhanger_per_un_pw.html on android until the internmittent failures are fixed. r=MattN
Differential Revision: https://phabricator.services.mozilla.com/D23630

--HG--
extra : moz-landing-system : lando
2019-03-15 06:43:30 +00:00
Rob Wu
f55e72505d Bug 1525729 - Stop blocking extension startup on searchInitialized r=aswan
Depends on D23311

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

--HG--
extra : moz-landing-system : lando
2019-03-13 18:48:57 +00:00
Rob Wu
8fd0fcc7e8 Bug 1534969 - Ensure that extension.id/uuid is set in browser tests r=aswan
Differential Revision: https://phabricator.services.mozilla.com/D23311

--HG--
extra : moz-landing-system : lando
2019-03-13 18:48:53 +00:00
Lina Cambridge
256003368d Bug 1524655 - Remove dom.push.alwaysConnect and connect unconditionally. r=jrconlin,pjenvey
This commit also fixes a race in `test_error_reporting.html`, where the
push service would initialize and attach its listeners after
`sessionstore-windows-restored`. Even though the test replaces the real
service with a mock, the former keeps listening for pref changes.
When the test calls `setupPrefs` to enable the push connection, the
real service tries to connect to the push server, which asserts in
automation because non-local connections aren't allowed.

We work around this by ensuring that `replacePushService` and
`restorePushService` always wait for the service to shut down before
replacing it with a mock, or restoring the real implementation.

Finally, this commit removes a test that's no longer relevant, since
we don't need to fetch all subscriptions at startup.

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

--HG--
extra : moz-landing-system : lando
2019-03-14 22:37:51 +00:00
Mike Conley
fc71adb962 Bug 1535444 - Update MozTogglePictureInPicture actor definition. r=Felipe
Differential Revision: https://phabricator.services.mozilla.com/D23579

--HG--
extra : moz-landing-system : lando
2019-03-14 20:51:02 +00:00
Mike Conley
a5cf853818 Bug 1532328 - Extend FX_TAB_CLOSE_ probes for another 6 months. data-review=liuche, r=nhnt11
Differential Revision: https://phabricator.services.mozilla.com/D23493

--HG--
extra : moz-landing-system : lando
2019-03-14 21:01:19 +00:00
Dave Townsend
6c329e613c Bug 1535021: Check if there is an existing instance of Firefox using the default selected profile before showing the profile manager. r=froydnj
If configured to show the profile manager on startup we want to defer doing that
until after attempting to remote to an existing Firefox. So in the default
startup case (not first run, not when a profile is selected on the command line
and not when the profile manager is requested on the command line) let default
profile selection complete, check for an existing Firefox and only then check
that we're configure to show the profile manager on startup and show it then.

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

--HG--
extra : moz-landing-system : lando
2019-03-14 19:55:31 +00:00
Dave Townsend
8f11ae1903 Bug 1535367: Remove temporary migration code added in bug 1525119. r=froydnj
Differential Revision: https://phabricator.services.mozilla.com/D23555

--HG--
extra : moz-landing-system : lando
2019-03-14 19:03:56 +00:00
Nika Layzell
eaf6c2306e Bug 1529684 - Part 2: Create BrowsingContext for remote browsers in parent, r=farre
Depends on D21095

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

--HG--
extra : moz-landing-system : lando
2019-03-14 18:50:45 +00:00
Luca Greco
484a8ed0c2 Bug 1516862 - Fix test_ext_webrequest_basic intermittency while testing onError events fired on hostname resolving error. r=mixedpuppy
When the dns resolution for an url's hostname fails, the webRequest API seems to be
receiving (from time to time but more often on macos and windows) more then one call
to the HttpObserverManager.observeActivity method for the activityType

  nsISocketTransport.STATUS_RESOLVING and nsISocketTransport.STATUS_RESOLVED

while channel wrapper errorString property is still null.

The observeActvity method goal seems to fire fallback WebRequest errors for error conditions
that are not fired as ChannelWrapper error events, but the "NS_ERROR_UNKNOWN_HOST" error
is also being fired right after the fallback webRequest error event fired as
"NS_ERROR_NET_ON_RESOLVED" (or "NS_ERROR_NET_ON_RESOLVING").

This behavior consistently triggers the two intermittent failures on the test
test_ext_webrequest_basic.html while executing the test_webRequest_frames
task

"expected error message received in onErrorOccurred - Expected: NS_ERROR_UNKNOWN_HOST, Actual: NS_ERROR_NET_ON_RESOLVED"

(when the fallback NS_ERROR_NET_ON_RESOLVED is fired first)

and then

"received onErrorOccurred"

(because the "NS_ERROR_UNKNOWN_HOST" error is also being fired
right after the fallback error message).

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

--HG--
extra : moz-landing-system : lando
2019-03-14 18:06:33 +00:00
Andrea Marchesini
61d20299f1 Bug 1533074 - Implement Fingerprinting and Cryptomining annotation features - Part 4 - tests, r=dimi
Differential Revision: https://phabricator.services.mozilla.com/D22471

--HG--
extra : moz-landing-system : lando
2019-03-14 17:48:50 +00:00
Andrea Marchesini
43f63d46a3 Bug 1533074 - Implement Fingerprinting and Cryptomining annotation features - Part 3 - Cryptomining-annotation, r=dimi
Differential Revision: https://phabricator.services.mozilla.com/D22344

--HG--
extra : moz-landing-system : lando
2019-03-14 17:48:33 +00:00
Rob Wu
2838b7e631 Bug 1525729 - Avoid memory leak via AddonTestUtils.initMochiTest r=aswan
When I added AddonTestUtils.initMochiTest to an existing test at
browser/components/preferences/in-content/tests/browser_extension_controlled.js
, the test started to fail often on debug builds, with errors like
"leaked 2 window(s) until shutdown".
Fix this by clearing the global that was saved by initMochiTest.

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

--HG--
extra : moz-landing-system : lando
2019-03-14 16:28:20 +00:00
Dorel Luca
bc871ba7f1 Merge mozilla-central to autoland. CLOSED TREE
--HG--
extra : amend_source : 1a86c239e49011cf1a857de6e020b91ca0b6bd67
2019-03-14 18:27:51 +02:00
Victor Porof
fb9f443610 Bug 1532863 - Contextmenu of keyword search field background-color is transparent, r=mossop
Differential Revision: https://phabricator.services.mozilla.com/D23466

--HG--
extra : moz-landing-system : lando
2019-03-14 15:42:22 +00:00
Sylvestre Ledru
4aa92e3091 Bug 1519636 - Reformat recent changes to the Google coding style r=Ehsan
# ignore-this-changeset

Differential Revision: https://phabricator.services.mozilla.com/D22514
2019-03-13 10:19:06 +01:00
Dorel Luca
f1c7ba91fa Backed out changeset 88ea72c345ab (bug 1524655) for mochitest failures in dom/push/test/test_error_reporting.html 2019-03-14 08:45:37 +02:00
Masayuki Nakano
9c5858d0a5 Bug 1514940 - part 2: Add telemetry probe to decide when we can remove the hack for Confluence data-review=liuche, r=smaug,janerik
We need to collect how many Confluence instances are loaded and how percentage
of that is old versions which require split keypress event model.

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

--HG--
extra : moz-landing-system : lando
2019-03-14 05:39:38 +00:00
Matthew Noorenberghe
28bde55af4 Bug 1529729 - Change Saved Logins menu items to open a pref-controlled URI, if set. r=jaws
If `signon.management.overrideURI` is set, open that URI in a new tab instead of opening passwordManager.xul in a window.

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

--HG--
extra : moz-landing-system : lando
2019-03-14 04:53:47 +00:00
Lina Cambridge
84764d6a93 Bug 1524655 - Remove dom.push.alwaysConnect and connect unconditionally. r=jrconlin,pjenvey
Also, remove a test that's no longer relevant, since we don't need to
fetch all subscriptions at startup.

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

--HG--
extra : moz-landing-system : lando
2019-03-14 04:22:18 +00:00
Kyle Machulis
f1f0e15fa3 Bug 1522713 - Don't change node binding to tree when updating remoteness; r=nika
Since we now have a method on nsFrameLoaderOwner/MozFrameLoaderOwner
that can update remoteness, we should no longer need to unbind and
rebind browser elements to the tree to change their remoteness
attributes. We can just call the method and have the Frameloaders
rebuilt in the backend.

We're still getting some test breakage in Marionette and browser
chrome with this patch. Putting this behind a pref so the fission
team can still work with it while the tests are being fixed.

Depends on D22790

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

--HG--
extra : moz-landing-system : lando
2019-03-14 00:52:02 +00:00
Dave Townsend
637c782e3a Bug 1535144: Make -new-instance only stop searching for existing instances on startup. r=jmathies
Differential Revision: https://phabricator.services.mozilla.com/D23411

--HG--
extra : moz-landing-system : lando
2019-03-14 13:28:16 +00:00
Dorel Luca
3ef1df6038 Backed out 5 changesets (bug 1533074) for eslint failure
Backed out changeset 36c6a7178a5c (bug 1533074)
Backed out changeset 7e6a8fadff5b (bug 1533074)
Backed out changeset 2a0494fed543 (bug 1533074)
Backed out changeset 38470d2dd98c (bug 1533074)
Backed out changeset af4e03d1f5c8 (bug 1533074)
2019-03-14 09:14:15 +02:00
Andrea Marchesini
587086626b Bug 1533074 - Implement Fingerprinting and Cryptomining annotation features - Part 4 - tests, r=dimi
Differential Revision: https://phabricator.services.mozilla.com/D22471

--HG--
extra : moz-landing-system : lando
2019-03-14 06:32:40 +00:00
Andrea Marchesini
5423d1a772 Bug 1533074 - Implement Fingerprinting and Cryptomining annotation features - Part 3 - Cryptomining-annotation, r=dimi
Differential Revision: https://phabricator.services.mozilla.com/D22344

--HG--
extra : moz-landing-system : lando
2019-03-14 06:32:38 +00:00
Kyle Machulis
b1414002ac Bug 1524709 - Remove aShouldBeRemote from updateBrowserRemoteness; r=nika
Just set the RemoteType in the options object argument, instead of
doubling up the information.

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

--HG--
extra : moz-landing-system : lando
2019-03-14 00:51:30 +00:00
Dave Townsend
39c34b3474 Bug 1534508: Move ProcessUpdates to after we have attempted to remote arguments to an existing instance. r=rstrong
Differential Revision: https://phabricator.services.mozilla.com/D23158

--HG--
extra : moz-landing-system : lando
2019-03-13 23:26:16 +00:00
Johann Hofmann
6b5b6ed403 Bug 1529643 - Implement MitM priming on certificate error pages. r=keeler,mconley
Differential Revision: https://phabricator.services.mozilla.com/D22406

--HG--
extra : moz-landing-system : lando
2019-03-13 23:36:54 +00:00
Botond Ballo
2ceeec6ea5 Bug 1517895 - Scroll the visual viewport in SessionStoreUtils::RestoreScrollPosition(). r=JanH
Differential Revision: https://phabricator.services.mozilla.com/D19876

--HG--
extra : moz-landing-system : lando
2019-03-13 23:07:24 +00:00
Gurzau Raul
c747f02899 Backed out 2 changesets (bug 1529643) for eslint failure at NetErrorChild.jsm on a CLOSED TREE.
Backed out changeset 000dfd4caca0 (bug 1529643)
Backed out changeset e4718a35d70b (bug 1529643)
2019-03-14 01:09:43 +02:00
Mike Conley
cc591ef4ab Bug 1534991 - Make the pictureinpicture.svg reference Nightly-only for now in videocontrols.css. r=jaws
Differential Revision: https://phabricator.services.mozilla.com/D23406

--HG--
extra : moz-landing-system : lando
2019-03-13 22:50:39 +00:00
Edwin Gao
a5bef7a7c7 Bug 1531590, 1531598, 1534811, 1336075, 1531571, 1531572, 1531572, 1531574, 1534855, 1534857, 1535082 - skip tests in mochitest-dev-tools and mochitest-browser-chrome suites for windows10-aarch64 r=jmaher
Bug 1531598 - disable browser_markup_copy_image_data.js
Bug 1531598 - disable browser_markup_links_04.js
Bug 1531598 - disable browser_inspector_menu-01-sensitivity.js
Bug 1534811 - disable accessible/tests/browser/general
Bug 1336075 - disable browser_largeAllocation_non_win32.js
Bug 1531571 - disable browser_jsterm_context_menu_labels.js
Bug 1531572 - disable browser_jsterm_helper_dollar_x.js
Bug 1531573 - disable browser_jsterm_no_input_and_tab_key_pressed.js
Bug 1531574 - disable browser_jsterm_syntax_highlight_output.js
Bug 1534855 - disable accessible/tests/browser/
Bug 1534857 - disable browser_ext_slow_script.js
Bug 1535082 - disable browser_jsterm_helper_dollar_dollar.js

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

--HG--
extra : moz-landing-system : lando
2019-03-13 19:47:25 +00:00
Dave Townsend
51fba1a33b Bug 1527704: Store install information in profiles.ini and use installs.ini as a backup in case an earlier Firefox throws it away. r=froydnj
Originally we stored the new information about installation defaults in
installs.ini since older versions of Firefox would throw away any new data in
profiles.ini any time they made changes to the profiles. That does however mean
we have to load two files on startup.

This changes things so that we save all the data in profiles.ini as well as a
version tag and still save the install data into installs.ini. An older version
will throw away the install data and version tag from profiles.ini but leave
installs.ini alone. On startup if the version tag is gone from profiles.ini then
we reload the install data from installs.ini and put it back into profiles.ini.

At some point in the future where we don't care about supporting older versions
of Firefox we can just drop installs.ini entirely.

A lot of the changes here involve moving to loading profiles.ini into an
in-memory ini, keeping it up to date and flushing it to disk. This means that we
no longer throw away any information in the ini file that this version does not
understand allowing the possibility of adding new data to this file in the
future.

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

--HG--
extra : rebase_source : 9264bfebc7b0781ee903ef2772686d4cf920d1c9
extra : source : d4feb17faf013134f5eac8b5e19b714c56410973
2019-03-06 12:07:55 -08:00
Noemi Erli
7cc924ed4b Backed out changeset d4feb17faf01 (bug 1527704) for linting failure in test_missing_profilesini.js 2019-03-15 18:16:18 +02:00
Dave Townsend
f2f6b9894f Bug 1527704: Store install information in profiles.ini and use installs.ini as a backup in case an earlier Firefox throws it away. r=froydnj
Originally we stored the new information about installation defaults in
installs.ini since older versions of Firefox would throw away any new data in
profiles.ini any time they made changes to the profiles. That does however mean
we have to load two files on startup.

This changes things so that we save all the data in profiles.ini as well as a
version tag and still save the install data into installs.ini. An older version
will throw away the install data and version tag from profiles.ini but leave
installs.ini alone. On startup if the version tag is gone from profiles.ini then
we reload the install data from installs.ini and put it back into profiles.ini.

At some point in the future where we don't care about supporting older versions
of Firefox we can just drop installs.ini entirely.

A lot of the changes here involve moving to loading profiles.ini into an
in-memory ini, keeping it up to date and flushing it to disk. This means that we
no longer throw away any information in the ini file that this version does not
understand allowing the possibility of adding new data to this file in the
future.

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

--HG--
extra : rebase_source : d097342b0c26fb92e5236e83035b87bb7da84321
2019-03-06 12:07:55 -08:00
Mike Hommey
e8b6f15845 Bug 1529194 - Allow to opt-in to widevine on aarch64 Windows. r=firefox-build-system-reviewers,chmanchester
This uses artifacts from a win32 build to get the necessary DLLs.

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

--HG--
extra : moz-landing-system : lando
2019-03-05 08:41:04 +00:00
Johann Hofmann
1235c91131 Bug 1529643 - Implement MitM priming on certificate error pages. r=keeler,mconley
Differential Revision: https://phabricator.services.mozilla.com/D22406

--HG--
extra : moz-landing-system : lando
2019-03-13 21:04:02 +00:00
David Major
e5773183d6 Bug 1528074 - Remove MSVC warning flags that clang-cl doesn't understand r=chmanchester
Per the previous patch, clang-cl only understands five MSVC-style warning flags: 7219c7e9af/clang/include/clang/Driver/CLCompatOptions.td (L188-L197)

This patch removes the flags that clang-cl doesn't understand.

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

--HG--
extra : moz-landing-system : lando
2019-03-13 20:19:08 +00:00
Mauricio Araujo
660d60eb2e Inconsistency between "&" (ampersand) vs "and" in Options (Bug 1530771) r=jaws,flod
Bug 1530771 - Replaced instances where "&" (ampersand) was used instead of "and" to join two words in the preferences menu, and added Oxford comma where appropriate in certain labels to ensure consistency. r?jaws, r?flod

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

--HG--
extra : moz-landing-system : lando
2019-03-13 06:35:24 +00:00
Matthew Noorenberghe
88663da8ae Bug 1529946 - Don't prompt to save the same username and password combination in the same document. r=MattN
Don't prompt to save the same username and password combination in the same document.

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

--HG--
extra : moz-landing-system : lando
2019-03-12 23:44:33 +00:00
Gijs Kruitbosch
801cbb22ac Bug 1534336 - pass fluent IDs directly and pass text nodes in cases where we pass literal strings, r=jaws
Differential Revision: https://phabricator.services.mozilla.com/D23190

--HG--
extra : moz-landing-system : lando
2019-03-13 05:13:58 +00:00
Chris Pearce
de686d23c1 Bug 1530245 - Launch sandbox from new remote sandbox broker process. r=jld,bobowen
Depends on D22051

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

--HG--
extra : moz-landing-system : lando
2019-03-13 09:24:52 +00:00
nidhi
c8995710a9 Bug 1533558 - Delete dead _formFillService code in LoginManager.jsm r=MattN
Differential Revision: https://phabricator.services.mozilla.com/D23212

--HG--
extra : moz-landing-system : lando
2019-03-12 20:29:23 +00:00
Jeff Muizelaar
738abee653 Bug 1524090. Add telemetry for GPU wait time. r=mattwoodrow,chutten
Differential Revision: https://phabricator.services.mozilla.com/D22100

--HG--
extra : moz-landing-system : lando
2019-03-13 02:34:04 +00:00