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

550 Коммитов

Автор SHA1 Сообщение Дата
Vlad Filippov fda2fee4d0 Bug 1642556 - Write a sync log after sending a tab. r=markh
Differential Revision: https://phabricator.services.mozilla.com/D81191
2020-06-30 14:29:11 +00:00
Csoregi Natalia c0c732c1f7 Backed out changeset 0f3b01e74838 (bug 1642556) for failures on test_errorhandler_filelog.js. CLOSED TREE 2020-06-30 07:16:34 +03:00
Ryan Kelly d0b51a1c68 Bug 1642855 - remove flowID from plaintext send-tab payload. r=markh
Differential Revision: https://phabricator.services.mozilla.com/D80793
2020-06-24 16:37:31 +00:00
Vlad Filippov da096351d9 Bug 1642556 - Write a sync log after sending a tab. r=markh
Differential Revision: https://phabricator.services.mozilla.com/D81191
2020-06-30 01:55:09 +00:00
Mark Hammond fdf9770703 Bug 1639781 - record a new 'streamID' guid in sync-tab telemetry. r=rfkelly
Differential Revision: https://phabricator.services.mozilla.com/D80148
2020-06-19 02:23:58 +00:00
Mark Hammond 1bb6fb83cf Bug 1644598 - record/extend telemetry about the push state of FxA devices. r=rfkelly
Differential Revision: https://phabricator.services.mozilla.com/D79784
2020-06-18 08:29:09 +00:00
Vlad Filippov 9aacb4c755 Bug 1645834 - Don't keep trying to send tabs if the server has rate-limited us. r=rfkelly
Differential Revision: https://phabricator.services.mozilla.com/D79774
2020-06-16 14:35:15 +00:00
Mark Hammond a04a30cd9c Bug 1645742 - ensure FxA has a push subscription as well as whether it has expired. r=rfkelly
Differential Revision: https://phabricator.services.mozilla.com/D79783
2020-06-16 05:53:45 +00:00
Vlad Filippov ee97e91066 Bug 1637163 - Redact details in WebChannel errors. r=rfkelly
Differential Revision: https://phabricator.services.mozilla.com/D79563
2020-06-15 15:03:59 +00:00
Rob Wu 206ca19c33 Bug 1645598 - Vendor application-services for fix in webext-storage r=lina
To get this fix: https://github.com/mozilla/application-services/pull/3235

Updated as follows:

```
sed -i 's/e8d7530319fa6c20d9de78d031c9398630eca3cd/61dcc364ac0d6d0816ab88a494bbf20d824b009b/g' services/fxaccounts/rust-bridge/firefox-accounts-bridge/Cargo.toml services/sync/golden_gate/Cargo.toml toolkit/components/extensions/storage/webext_storage_bridge/Cargo.toml toolkit/components/glean/Cargo.toml toolkit/library/rust/shared/Cargo.toml
./mach vendor rust
```

Verified by running the new regression test that I added in the bug:

```
./mach test toolkit/components/extensions/test/xpcshell/test_ext_storage_{local,sync,sync_kinto}.js
```

Differential Revision: https://phabricator.services.mozilla.com/D79628
2020-06-15 12:56:58 +00:00
Thom Chiovoloni b3cbb2b28e Bug 1629127 - Add sync telemetry for storage.sync migration r=lina,extension-reviewers,mixedpuppy
Differential Revision: https://phabricator.services.mozilla.com/D78573
2020-06-10 22:29:02 +00:00
Mark Hammond 6abadd577b Bug 1639449 - Vendor new application-services to expose kinto migration and sync change notifications. r=lina
Differential Revision: https://phabricator.services.mozilla.com/D76092
2020-05-30 02:44:07 +00:00
Ryan Kelly bc3600def8 Bug 1640765 - only build the rust fxa-client crate on Nightly. r=lina
Differential Revision: https://phabricator.services.mozilla.com/D76771
2020-05-27 05:51:39 +00:00
Bogdan Tara 15858ad28e Backed out changeset 0d3f76ede294 (bug 1640765) for rust related bustage CLOSED TREE 2020-05-27 07:06:35 +03:00
Ryan Kelly 58ccfb0fe7 Bug 1640765 - only build the rust fxa-client crate on Nightly. r=lina
Differential Revision: https://phabricator.services.mozilla.com/D76771
2020-05-27 03:22:15 +00:00
Sid Stamm 56c4be9954 Bug 1002724 - use resolvable URL in fxaccounts browser chrome tests. r=rfkelly
Differential Revision: https://phabricator.services.mozilla.com/D75086
2020-05-21 17:33:32 +00:00
Vlad Filippov de6e0f725b Bug 1632557 - Add pref and logic for direct use of session tokens to provision OAuth tokens r=rfkelly
Differential Revision: https://phabricator.services.mozilla.com/D75204
2020-05-20 22:06:35 +00:00
Lina Cambridge faf2fd15e4 Bug 1639018 - Change `TaskRunnable::dispatch` to take owned runnables. r=froydnj
This matches how the `Dispatch(already_AddRefed<nsIRunnable>)`
overloads work in C++: `Dispatch` takes ownership of the runnable, and
leaks it if dispatch fails—because the thread manager is shutting down,
for instance. This avoids a race where a runnable can be released on
either the owning or target thread.

Rust doesn't allow arbitrary `Self` types yet (see
rust-lang/rust#44874), so we need to change `dispatch` and
`dispatch_with_options` to be associated methods.

Differential Revision: https://phabricator.services.mozilla.com/D75858
2020-05-20 20:54:49 +00:00
Vlad Filippov a3a78de9e9 Bug 1637827 - Handle expired OAuth tokens while provisioning Sync tokens r=rfkelly
Differential Revision: https://phabricator.services.mozilla.com/D75630
2020-05-18 22:46:51 +00:00
Vlad Filippov 5bc4cabe33 Bug 1633641 - Provide a method to fetch an OAuth token and its key in a single operation. r=rfkelly
Differential Revision: https://phabricator.services.mozilla.com/D74534
2020-05-18 01:13:46 +00:00
Noemi Erli c1cca03e21 Backed out 6 changesets (bug 1002724) for failing in browser_fall_back_to_https.js CLOSED TREE
Backed out changeset e487b4cd9223 (bug 1002724)
Backed out changeset 37473a8ba1fd (bug 1002724)
Backed out changeset e868f1e0af0e (bug 1002724)
Backed out changeset 1c57f8717b15 (bug 1002724)
Backed out changeset 782808a05ff8 (bug 1002724)
Backed out changeset c60c48d170e1 (bug 1002724)
2020-05-18 19:22:19 +03:00
Sid Stamm b45bfd711c Bug 1002724 - use resolvable URL in fxaccounts browser chrome tests. r=rfkelly
Differential Revision: https://phabricator.services.mozilla.com/D75086
2020-05-18 15:08:45 +00:00
Csoregi Natalia 179b0c82b2 Backed out 6 changesets (bug 1002724) for bustage on nsDocShell.cpp. CLOSED TREE
Backed out changeset 56ba616e2644 (bug 1002724)
Backed out changeset d481cf074d3b (bug 1002724)
Backed out changeset da26540ecee5 (bug 1002724)
Backed out changeset 01cbf611158a (bug 1002724)
Backed out changeset b60ba645f1f4 (bug 1002724)
Backed out changeset 4ebad0d2ca0a (bug 1002724)
2020-05-18 16:06:55 +03:00
Sid Stamm 7697eda5ae Bug 1002724 - use resolvable URL in fxaccounts browser chrome tests. r=rfkelly
Differential Revision: https://phabricator.services.mozilla.com/D75086
2020-05-15 18:42:15 +00:00
Edouard Oger 30060195fb Bug 1631630 p2 - Implement FxAccounts rust-bridge. r=lina,rfkelly
Differential Revision: https://phabricator.services.mozilla.com/D71852
2020-05-16 01:07:31 +00:00
Noemi Erli cac2780d42 Backed out 2 changesets (bug 1631630) for causing mass braoser chrome failures CLOSED TREE
Backed out changeset 9b8606a93c75 (bug 1631630)
Backed out changeset d57ea5d1921f (bug 1631630)
2020-05-16 02:16:33 +03:00
Edouard Oger 9b739cf68d Bug 1631630 p2 - Implement FxAccounts rust-bridge. r=lina,rfkelly
Differential Revision: https://phabricator.services.mozilla.com/D71852
2020-05-15 20:13:36 +00:00
Cosmin Sabou b51ad59f7d Backed out changeset 8f97a01a0a84 (bug 1543697) for causing bc failures on FxAccountsConfig.jsm. CLOSED TREE 2020-05-11 21:29:49 +03:00
Vijay Budhram 3485e6263e Bug 1543697 - Fix FxAccounts.config manage device promises r=eoger,rfkelly
Differential Revision: https://phabricator.services.mozilla.com/D27279
2020-05-11 17:05:32 +00:00
Ryan Kelly ccc520aafb Bug 1632734 - refactor FxAccounts.device public methods to use `withCurrentAccountState`. r=eoger,markh
Differential Revision: https://phabricator.services.mozilla.com/D73011
2020-05-04 02:48:20 +00:00
Ryan Kelly 7bae4ae386 Bug 1604844 - add identifiers from the sync ping to the deletion-request ping. r=markh,chutten
Differential Revision: https://phabricator.services.mozilla.com/D72286
2020-04-29 07:47:38 +00:00
Vlad Filippov cf50ebbe18 Bug 1631830 - Fetch Sync tokens with OAuth behind a pref r=rfkelly
Differential Revision: https://phabricator.services.mozilla.com/D72092
2020-04-28 04:20:55 +00:00
jayati 4da359df42 Bug 1628729 - Remove nsIFxAccountsUIGlue. r=eoger
Differential Revision: https://phabricator.services.mozilla.com/D70427

--HG--
extra : moz-landing-system : lando
2020-04-09 19:50:54 +00:00
Vlad Filippov b2e173a799 Bug 1590946 - Remove `service=sync` from account management links. r=rfkelly
Differential Revision: https://phabricator.services.mozilla.com/D63737

--HG--
extra : moz-landing-system : lando
2020-03-13 20:53:12 +00:00
Mark Banner 2c4e35b0a6 Bug 1620218 - Automatic code fixes for Prettier 1.18.2 upgrade. r=mossop,webcompat-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D65509

--HG--
extra : moz-landing-system : lando
2020-03-08 21:45:16 +00:00
Brian Grinstead 3d2d2d0ea7 Bug 1608281 - Automated rewrite away from reading properties on the global `this` in JSM files - round 1 r=mossop
This patch was generated with a script. It doesn't include all files:

- Files that use the preprocessor or fail to parse are skipped
- Files that are loaded as JSMs but don't use the .jsm extension are skipped (those will be renamed in Bug 1609269)

It was generated with the following command using d855222aa2/no-this-property-read.js:

```
hg revert --all &&
cp .gitignore .rgignore &&
rg --files-without-match -g '*.jsm' '^#endif|^#include|^#filter' | jscodeshift --stdin --transform ~/Code/jsm-rewrites/no-this-property-read.js --ignore-pattern ./mobile/android/modules/Sanitizer.jsm --ignore-pattern ./js/xpconnect/tests/unit/syntax_error.jsm &&
./mach eslint `hg st | rg '^M ' | sed 's/^M //'`
```

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

--HG--
extra : moz-landing-system : lando
2020-01-29 21:50:04 +00:00
Punam Dahiya 94027b5678 Bug 1608942 - Add FX_MONITOR_OAUTH_CLIENT_ID as FxA constant r=rfkelly,k88hudson
Differential Revision: https://phabricator.services.mozilla.com/D59930

--HG--
extra : moz-landing-system : lando
2020-01-16 18:01:29 +00:00
Brian Grinstead 06d6426d76 Bug 1608278 - Remove global `this` setter for LOG_LEVEL in Credentials.jsm r=eoger
We need to stop relying on the global `this` in order to support ES Modules.
This instance was harder to fix by a script than others since it's in a try/catch,
so this patch is a manual change.

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

--HG--
extra : moz-landing-system : lando
2020-01-15 23:52:13 +00:00
Mark Hammond 12bcd1cab8 Bug 1601446 - re-register the FxA device after the user becomes verified. r=eoger
Differential Revision: https://phabricator.services.mozilla.com/D59831

--HG--
extra : moz-landing-system : lando
2020-01-14 21:11:34 +00:00
Mark Hammond 964d300af6 Bug 1601797 - ensure we consistently report auth errors when a session token is missing. r=eoger
Differential Revision: https://phabricator.services.mozilla.com/D56096

--HG--
extra : moz-landing-system : lando
2019-12-06 16:44:55 +00:00
Geoff Brown 9e59579c39 Bug 1601076 - Fix some broken BUG_COMPONENTS in moz.build files; r=jmaher
Some of these were obvious typos. Others probably reflect once-correct components
that have been combined, split, or otherwise obsoleted; for these I've tried to
use the component associated with the bugs for recent changes to the affected files.

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

--HG--
extra : moz-landing-system : lando
2019-12-04 13:55:45 +00:00
Mark Hammond 818e5a5c52 Bug 1598997 - Mock profile fetching function in xpcshell tests. r=eoger
Differential Revision: https://phabricator.services.mozilla.com/D54450

--HG--
extra : moz-landing-system : lando
2019-11-25 21:21:46 +00:00
Mark Hammond 9ff9e9548a Bug 1595954 - record event as the user explicitly connects or disconnects sync or fxa. r=eoger
Differential Revision: https://phabricator.services.mozilla.com/D53907

--HG--
extra : moz-landing-system : lando
2019-11-25 00:12:01 +00:00
Vijay Budhram 0929b414ed Bug 1590231 - Update sync preferences panel to match decouple designs r=fluent-reviewers,markh
Differential Revision: https://phabricator.services.mozilla.com/D50931

--HG--
extra : moz-landing-system : lando
2019-11-14 21:01:23 +00:00
Mark Hammond e57be9d2f3 Bug 1594929 - Remove invalidateCertificate from FxAccountsKeys.jsm. r=rfkelly
Differential Revision: https://phabricator.services.mozilla.com/D52623

--HG--
extra : moz-landing-system : lando
2019-11-12 04:05:28 +00:00
Mark Hammond ab41353fa5 Bug 1548404 - Update UITour to reflect the decoupling of FxA and Sync. r=MattN,andreio,rfkelly
Differential Revision: https://phabricator.services.mozilla.com/D51976

--HG--
extra : moz-landing-system : lando
2019-11-12 23:58:03 +00:00
rfkelly 048a518c75 Bug 1591312 - Revert to using BrowserID to generate OAuth tokens. r=markh
Differential Revision: https://phabricator.services.mozilla.com/D50770

--HG--
extra : moz-landing-system : lando
2019-11-08 06:28:54 +00:00
Oana Pop Rus 6c038766da Backed out changeset dd5c1030d23b (bug 1590231) for bc failures in browser_search_within_preferences_2.js on a CLOSED TREE 2019-11-06 19:44:13 +02:00
Vijay Budhram b9c626a520 Bug 1590231 - Update sync preferences panel to match decouple designs r=fluent-reviewers,markh
Differential Revision: https://phabricator.services.mozilla.com/D50931

--HG--
extra : moz-landing-system : lando
2019-11-06 16:51:03 +00:00
Gijs Kruitbosch 00778dd54e Bug 1591212 - make webchannel work with fission, r=vladikoff,mconley
Differential Revision: https://phabricator.services.mozilla.com/D51214

--HG--
rename : toolkit/modules/WebChannel.jsm => toolkit/actors/WebChannelParent.jsm
rename : browser/base/content/test/general/browser_web_channel.js => toolkit/modules/tests/browser/browser_web_channel.js
rename : browser/base/content/test/general/browser_web_channel.html => toolkit/modules/tests/browser/file_web_channel.html
rename : browser/base/content/test/general/browser_web_channel_iframe.html => toolkit/modules/tests/browser/file_web_channel_iframe.html
extra : moz-landing-system : lando
2019-11-02 00:39:35 +00:00