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

54933 Коммитов

Автор SHA1 Сообщение Дата
Chris H-C bfeaa78b80 Bug 1538276 - Test 'prio' ping. r=janerik
Differential Revision: https://phabricator.services.mozilla.com/D24782

--HG--
extra : moz-landing-system : lando
2019-03-27 19:29:56 +00:00
Chris H-C a773e93e99 Bug 1538276 - Implement the "prio" ping. r=janerik
The "prio" ping contains Origin Telemetry and not much else.

It is enabled only on Firefox Nightly for now.

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

--HG--
extra : moz-landing-system : lando
2019-03-27 19:29:48 +00:00
Shane Caraveo cf125c2eb0 Bug 1536459 add messages for different private permission conditions r=flod,aswan
Differential Revision: https://phabricator.services.mozilla.com/D24990

--HG--
extra : moz-landing-system : lando
2019-03-27 19:03:41 +00:00
Botond Ballo 2b2dd7dac6 Bug 1538511 - Get rid of nsIPresShell::ScrollMode (use mozilla::ScrollMode instead). r=kats
Differential Revision: https://phabricator.services.mozilla.com/D24797

--HG--
extra : moz-landing-system : lando
2019-03-26 00:51:57 +00:00
Christoph Kerschbaumer 64005a8818 Bug 1524970: Update more frontend code to explicitly pass a csp. r=Gijs,jdescottes
Differential Revision: https://phabricator.services.mozilla.com/D24959

--HG--
extra : moz-landing-system : lando
2019-03-27 16:38:01 +00:00
Luca Greco f427f53ee6 Bug 1538546 - Check AddonManager PERM_CAN_CHANGE_PRIVATEBROWSING_ACCESS permission instead of the incognito manifest property. r=kmag,mixedpuppy
Depends on D24719

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

--HG--
extra : moz-landing-system : lando
2019-03-26 19:04:01 +00:00
Luca Greco 6ae82211f6 Bug 1538546 - Hide incognito checkbox in addon-installed notification for not_allowed extensions. r=mixedpuppy,kmag
Differential Revision: https://phabricator.services.mozilla.com/D24719

--HG--
extra : moz-landing-system : lando
2019-03-26 18:31:57 +00:00
Nan Jiang 719f34cee5 Bug 1522638 - Add bulk insert to kvstore r=myk,mossop,nika
This adds the bulk insert to kvstore as discussed in Bug 1522638

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

--HG--
extra : moz-landing-system : lando
2019-03-27 14:16:59 +00:00
Felipe Gomes d96900349d Bug 1539311 - Fix incorrect parameter in the Windows Taskbar Previews code. r=Standard8
Differential Revision: https://phabricator.services.mozilla.com/D25013

--HG--
extra : moz-landing-system : lando
2019-03-27 10:26:53 +00:00
Marco Bonardo 20e5ae9990 Bug 1538050 - Split restriction characters only if they are at the beginning or end of the search string. r=adw
The new tokenizer, to make more natural typing restrictions like "?search terms", "search terms?" or "%my tab",
splits out restriction characters if they appear at the beginning or end of the search string. This means
keywords and aliases can't in general begin or end with a restriction character, but we don't have an input
check to prevent those.
For now the tokenizer can't recognize keywords or aliases, because it can't be made asynchronous until the
Quantum Bar is the default implementation, and anyway the complexity must be considered at that point.

The best we can do is to stop splitting out restriction character in the middle of the search string.
This will allow a part of the old interaction like searching for "keyword? something".

This patch also prevents us from splitting a %encoded string, fixing bug 1538715.

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

--HG--
extra : moz-landing-system : lando
2019-03-27 10:40:54 +00:00
berkay.barlas 6ad3d5bf36 Bug 1536620 return default size in reader mode r=Gijs
Call Reader:ResetZoom only in readermode and make resetFontSize async
***
make resetFontSize async
***
call Reader:ResetZoom only in readermode
***

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

--HG--
extra : moz-landing-system : lando
2019-03-27 10:56:03 +00:00
Andreea Pavel f95a48fa8d Backed out changeset 3ca83116916b (bug 1325778) for failing /test_insecure_form_field_autocomplete.html on a CLOSED TREE 2019-03-27 08:47:24 +02:00
Matthew Noorenberghe edd6809d0c Bug 1533925 - Allow about: pages to be forced into the extension process. r=kmag
Some extensions want to implement about: pages and we want those pages to be loaded in the extension process, not in the web content process, so that:
1) a compromised web process won't get access to the about: page content
2) the extension page can use all the APIs that extension pages normally get, instead of only content script APIs.

Post-Fission we will need to know which extension process to choose.

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

--HG--
extra : moz-landing-system : lando
2019-03-27 04:07:15 +00:00
Jared Wein 9744745c60 Bug 1325778 - Check that the contents of the autocomplete popup match the tests expectations. r=MattN
Differential Revision: https://phabricator.services.mozilla.com/D24958

--HG--
extra : moz-landing-system : lando
2019-03-27 04:31:45 +00:00
Yoshi Cheng-Hao Huang edbc333422 Bug 1521732 - Part 3: Use RootedValueVector instead. r=sfink,jonco
s/AutoValueVector/RootedValueVector/g

Depends on D23183

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

--HG--
extra : moz-landing-system : lando
2019-03-26 13:58:20 +00:00
Cosmin Sabou 3a5289bd45 Backed out 2 changesets (bug 1529774) for android mochitest failures on test_profile_worker.html.
Backed out changeset 334d8f9c9995 (bug 1529774)
Backed out changeset d3f27592a382 (bug 1529774)
2019-03-27 04:00:50 +02:00
Cosmin Sabou 3c71fa6b4d Backed out changeset 084974858a7b (bug 1527704) for xpcshell failures on test_remove.js.
--HG--
extra : rebase_source : e6067e8aef9c5ffb7438e33ac75963a76a3d4d21
2019-03-27 02:11:22 +02:00
Mike Hommey b5706992db Bug 1537641 - Make MIDL use clang-cl as a preprocessor. r=dmajor
Using clang-cl as a preprocessor fails with:
```
In file included from z:\build\build\src\accessible\ipc\win\handler\HandlerData.idl:8:
z:\build\build\src\accessible\ipc\win\handler/AccessibleHandler.h(27,8): error: pasting formed 'Accessible2_3.', an invalid preprocessing token [-Winvalid-token-paste]
import NEWEST_IA2_IDL;
       ^
z:\build\build\src\accessible\ipc\win\handler/AccessibleHandler.h(15,24): note: expanded from macro 'NEWEST_IA2_IDL'
                       ^
z:\build\build\src\accessible\ipc\win\handler/AccessibleHandler.h(14,22): note: expanded from macro 'IDLFOR'
                     ^
z:\build\build\src\accessible\ipc\win\handler/AccessibleHandler.h(13,36): note: expanded from macro '__GENIDL'
                                   ^
1 error generated.
midl : command line error MIDL1003 : error returned by the C preprocessor (1)
```

There's only one place using the NEWEST_IA2_IDL and accompanying
macros, we can just avoid the issue altogether by expanding it manually
(and it's not like the macro buys much, the other arm of the __midl ifdef
has a #include "Accessible2_3.h" that doesn't use the macro either,
presumably for the same reason).

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

--HG--
extra : moz-landing-system : lando
2019-03-26 16:29:17 +00:00
Andrew Swan 745c949fa8 Bug 1535182 Remove BaseElementMixin and MozElementMixin from window global r=bgrins
Differential Revision: https://phabricator.services.mozilla.com/D24828

--HG--
extra : moz-landing-system : lando
2019-03-26 21:43:13 +00:00
Mike Hommey edf28c4d07 Bug 1529774 - Upgrade builders to rust 1.33. r=froydnj
Differential Revision: https://phabricator.services.mozilla.com/D24830

--HG--
extra : moz-landing-system : lando
2019-03-26 13:22:07 +00:00
Dave Townsend 72aea9cb20 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 : moz-landing-system : lando
2019-03-26 21:29:47 +00:00
Shane Caraveo ab4bac388f Bug 1494033 test event order with onAuthRequired r=zombie
Adds testing webrequest events related to async handling in httpChannel
that was added in bug 1407384.

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

--HG--
extra : moz-landing-system : lando
2019-03-26 21:14:33 +00:00
Jan-Erik Rediger ffd99e653e Bug 1539240 - Slim down os data in environment of ping r=chutten
Differential Revision: https://phabricator.services.mozilla.com/D24957

--HG--
extra : moz-landing-system : lando
2019-03-26 20:03:13 +00:00
Jonas Allmann 1db9db7604 Bug 1529231, Remove all occurences of ondialogaccept and ondialogcancel, r=Gijs
Removed all occurences of ondialogaccept.
Removed all occurences of ondialogcancel.
Replaced all removed attributes with event handlers.

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

--HG--
extra : moz-landing-system : lando
2019-03-26 18:34:02 +00:00
Jason Orendorff 1e6f599a87 Bug 1495072 - Part 3: Implement new, faster proposed await semantics. r=arai
This patch implements the change in this pull request:
<https://github.com/tc39/ecma262/pull/1250>

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

--HG--
extra : moz-landing-system : lando
2019-03-26 18:17:15 +00:00
Adam Gashlin 65f317120d Bug 1538416 - Allow Queued in start_monitor_and_complete test. r=bytesized
Differential Revision: https://phabricator.services.mozilla.com/D24931

--HG--
extra : moz-landing-system : lando
2019-03-26 17:40:41 +00:00
Cosmin Sabou 78fc71e3c3 Backed out changeset 7fa7d6e6dedc (bug 1442778) for devtools failures on browser_webconsole_check_stubs_console_api.js CLOSED TREE 2019-03-26 20:27:55 +02:00
Mihir 8d00f43a57 Bug 1509464 - Remove PlacesUtils.setAnnotationsForItem. r=Standard8
Differential Revision: https://phabricator.services.mozilla.com/D24576

--HG--
extra : moz-landing-system : lando
2019-03-26 17:12:40 +00:00
Eden Chuang 5e4df764d9 Bug 1442778 - Add "chromeContext" parameter to console API and console service messages. r=smaug
1. Adding a new attribute chromeContext in ConsoleEvent
2. Adding a new boolean attribute isFromChromeContext in nsIConsoleMessage
3. Sending IsFromChromeContext to the parent process

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

--HG--
extra : moz-landing-system : lando
2019-03-26 15:18:20 +00:00
Shane Caraveo 237485f661 Bug 1538975 read the raw extension manifest if we need to localize it r=rpl
Differential Revision: https://phabricator.services.mozilla.com/D24803

--HG--
extra : moz-landing-system : lando
2019-03-26 15:35:53 +00:00
monmanuela 7a0cbca8ca Bug 1497842 - Remove INSTALL_LOCALE from APP_CONSTANTS r=Standard8
Differential Revision: https://phabricator.services.mozilla.com/D24662

--HG--
extra : moz-landing-system : lando
2019-03-26 13:03:56 +00:00
Luca Greco 002d4a5b48 Bug 1537542 - Hide addon preferences if the addon cannot access the current window. r=aswan
Differential Revision: https://phabricator.services.mozilla.com/D24534

--HG--
extra : moz-landing-system : lando
2019-03-26 12:30:39 +00:00
Johann Hofmann b559cdd7d3 Bug 1529128 - Automatically update cryptomining and fingerprinting lists when the features are enabled. r=baku
Differential Revision: https://phabricator.services.mozilla.com/D23300

--HG--
extra : moz-landing-system : lando
2019-03-26 11:29:20 +00:00
monikamaheshwari ad3cfbdd0f Bug 1450924 Remove use of innerHTML in reader mode's Narrate code entirely r=Gijs
Differential Revision: https://phabricator.services.mozilla.com/D24694

--HG--
extra : moz-landing-system : lando
2019-03-26 10:36:07 +00:00
Jonas Allmann e2c5b2c559 Bug 1535080, Fix file picker not opening on Windows, r=Gijs
Move addEventhandler to top of appPickerLoad() to avoid not reaching it when errors occur later in the function.

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

--HG--
extra : moz-landing-system : lando
2019-03-26 10:30:39 +00:00
Masayuki Nakano e35cfd926c Bug 1536353 - part 3: Make nsIDOMWindowUtils.dispatchDOMEventViaPresShell() dispatch only trusted event r=smaug
In normal cases, `PresShell::EventHandler` won't receive untrusted event.
However, only `nsIDOMWindowUtils.dispatchDOMEventViaPresShell()` may send
untrusted event if its `aTrusted` is false.  Currently, this is not used by
chrome so that we don't need to keep supporting it for dispatching untrusted
events.

This patch removes `aTrusted` argument from it.

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

--HG--
extra : moz-landing-system : lando
2019-03-26 10:10:22 +00:00
Andrei Oprea 8975211e35 Bug 1505535 - Add tab usage probes for pinned tabs r=janerik
Differential Revision: https://phabricator.services.mozilla.com/D24031

--HG--
extra : moz-landing-system : lando
2019-03-26 09:12:10 +00:00
Mark Banner ce267bd0ae Bug 1538771 - Move trimURL to BrowserUtils.jsm so it can be more easily accessed in non-window contexts. r=adw
Differential Revision: https://phabricator.services.mozilla.com/D24761

--HG--
extra : moz-landing-system : lando
2019-03-26 09:15:50 +00:00
shindli cfc1229145 Backed out changeset 1c16d4ce9107 (bug 1527704) for build bustages in builds/worker/workspace/build/src/toolkit/profile/nsToolkitProfileService.cpp CLOSED TREE 2019-03-26 03:16:51 +02:00
Rob Wu 461cd1ccfe Bug 1532530 - Avoid loss of upload data by webRequest API r=kmag
When an extension requests access to the request body of a request,
`nsConverterInputStream` is used to parse the input streams that make up
a request body. These input streams are later (re)used to upload the
form data to the original destination (server).

`nsConverterInputStream`'s destructor does however close the input
streams, which results in data loss when the object is garbage-collected
before the upload completes.

This patch fixes the issue by explicitly nulling the underlying stream
before returning from the form parser.

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

--HG--
extra : moz-landing-system : lando
2019-03-25 21:16:49 +00:00
Matthew Noorenberghe 14d68ff6e0 Bug 1538026 - Add recipe with username and password selectors for www.benefits.ml.com r=jaws
Differential Revision: https://phabricator.services.mozilla.com/D24457

--HG--
extra : moz-landing-system : lando
2019-03-25 18:20:03 +00:00
Dave Townsend ca3a12dacd 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 : moz-landing-system : lando
2019-03-26 00:16:59 +00:00
Trushita e838288317 Bug 1496193: Remove unused datepicker[type=grid] selector r=bgrins
Removed unused datepicker[type=grid] selector

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

--HG--
extra : moz-landing-system : lando
2019-03-25 16:53:21 +00:00
Jared Wein 65ad16598e Bug 1147563 - Deprecate the 'testuser' login that is created during initialization of the password manager tests. r=MattN
This login should not show up in tests that don't expect it once we allow non-matching formSubmitURLs.

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

--HG--
extra : moz-landing-system : lando
2019-03-25 20:50:37 +00:00
Jared Wein 4df6534411 Bug 1147563 - Provide autocomplete experience when formSubmitURL does not match. r=MattN
Differential Revision: https://phabricator.services.mozilla.com/D23442

--HG--
rename : toolkit/components/passwordmgr/test/mochitest/test_autofill_https_upgrade.html => toolkit/components/passwordmgr/test/mochitest/test_autofill_different_formSubmitURL.html
extra : moz-landing-system : lando
2019-03-25 20:50:35 +00:00
Kirk Steuber a7dfa5cde2 Bug 1535377 - Allow the xpcom_method Rust macro to be used without importing ensure_param r=myk,froydnj
This is done by incorporating the ensure_param macro into the implementation of the xpcom_method macro

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

--HG--
extra : moz-landing-system : lando
2019-03-25 18:56:17 +00:00
Mike Conley 08b72ff59b Bug 1538216 - Remove NIGHTLY_BUILD ifdef around Picture-in-Picture media assets. r=jaws
Differential Revision: https://phabricator.services.mozilla.com/D24519

--HG--
extra : moz-landing-system : lando
2019-03-25 18:17:01 +00:00
arthur.iakab 35c8a01713 Merge mozilla-central to autoland 2019-03-25 17:54:29 +02:00
arthur.iakab ee02cd6515 Merge inbound to mozilla-central a=merge 2019-03-25 17:53:27 +02:00
Miko Mynttinen a77c4a5691 Bug 1530617 - Add pref for disabling BackgroundHangMonitor r=froydnj
Differential Revision: https://phabricator.services.mozilla.com/D21179

--HG--
extra : moz-landing-system : lando
2019-03-25 15:16:23 +00:00