Commit Graph

1473 Commits

Author SHA1 Message Date
Emily McMinn
47d4b9ac59 Bug 1846342 - Add supplemental info_text to shopping sidebar template r=desktop-theme-reviewers,pdahiya,aminomancer,dao
Differential Revision: https://phabricator.services.mozilla.com/D185074
2023-08-08 15:07:44 +00:00
Mark Banner
1b17042606 Bug 1846758 - Change ESLint env inclusions from mozilla/chrome-worker to worker where ctypes is not used. r=Gijs,devtools-reviewers
Depends on D185321

Differential Revision: https://phabricator.services.mozilla.com/D185322
2023-08-04 09:51:15 +00:00
Shane Hughes
314cb7abca Bug 1846803 - Final adjustments to feature callout surveys. r=jprickett
1. Allow messages to set `browser.newtab.feature-tour`
2. Prevent individual element transitions in feature callouts
3. Change how multi-select item actions are processed so that, when
   clicking the primary button, its action is performed _as well as_ the
   action of the selected item.
4. Remove some built-in styles that can be set by experiment recipe
5. Allow messages to override the tour pref for newtab and pdfjs

Differential Revision: https://phabricator.services.mozilla.com/D185201
2023-08-02 22:40:58 +00:00
scottdowne
dc1aa95c58 Bug 1845624 - Pocket newtab adding back read time to Pocket stories from new api. r=gvn
Differential Revision: https://phabricator.services.mozilla.com/D184642
2023-07-28 22:53:51 +00:00
Shane Hughes
0f4e587520 Bug 1845862 - Support primary buttons in Feature Callout. r=jprickett
Differential Revision: https://phabricator.services.mozilla.com/D184788
2023-07-28 20:51:17 +00:00
Iulian Moraru
8b8e8689ac Backed out changeset 11a1c6570247 (bug 1845624) for causing newtab failures. CLOSED TREE 2023-07-27 23:17:45 +03:00
scottdowne
1da42bee29 Bug 1845624 - Pocket newtab adding back read time to Pocket stories from new api. r=gvn
Differential Revision: https://phabricator.services.mozilla.com/D184642
2023-07-27 19:22:26 +00:00
Shane Hughes
b6556b9453 Bug 1845419 - Allow Feature Callout page_event_listeners to set timers and hook callout lifecycle events. r=jprickett
Differential Revision: https://phabricator.services.mozilla.com/D184536
2023-07-27 16:26:26 +00:00
hanna alemu
98f0134365 Bug 1840867 - CFR icon_and_message layout broken after addon_recommendation CFR is shown r=omc-reviewers,aminomancer
Differential Revision: https://phabricator.services.mozilla.com/D182423
2023-07-26 02:58:20 +00:00
Shane Hughes
6d43ecc7fa Bug 1842864 - Change featureCallout Nimbus Feature into a messaging feature. r=jprickett,omc-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D184247
2023-07-25 23:02:41 +00:00
Shane Hughes
0e39523d2a Bug 1838295 - Feature Callout fallback anchor system. r=jprickett
Differential Revision: https://phabricator.services.mozilla.com/D184067
2023-07-23 02:57:02 +00:00
Cristian Tuns
f0bbf8faa6 Backed out changeset 6f0a2e1e42f5 (bug 1838295) for causing bc failures in browser_feature_callout_in_chrome.js CLOSED TREE 2023-07-22 01:40:06 -04:00
Shane Hughes
6ca5aa7977 Bug 1833193 - Avoid anchoring CFRs to widgets in customize mode. r=omc-reviewers,jprickett
Differential Revision: https://phabricator.services.mozilla.com/D184069
2023-07-22 04:17:51 +00:00
Shane Hughes
ab73a1849d Bug 1838295 - Feature Callout fallback anchor system. r=jprickett
Differential Revision: https://phabricator.services.mozilla.com/D184067
2023-07-22 03:47:34 +00:00
Shane Hughes
8007f4aced Bug 1836211 - Make idle trigger treat tabs in the process of closing as silent. r=omc-reviewers,jprickett
Differential Revision: https://phabricator.services.mozilla.com/D179980
2023-07-21 01:27:03 +00:00
Shane Hughes
ad2acd9929 Bug 1835175 - Fix idle trigger idle time calculation. r=omc-reviewers,jprickett
Differential Revision: https://phabricator.services.mozilla.com/D179166
2023-07-20 20:03:09 +00:00
Shane Hughes
40fabcfcf3 Bug 1833193 - Allow CFRs to use alt_anchor_id in more situations where anchor_id is not available. r=omc-reviewers,hanna_a
Differential Revision: https://phabricator.services.mozilla.com/D178099
2023-07-19 20:25:15 +00:00
scottdowne
4e4c3bac42 Bug 1843130 - Pocket newtab move new markets with English browser in nightly to the new recs api. r=gvn
Differential Revision: https://phabricator.services.mozilla.com/D183419
2023-07-19 19:33:26 +00:00
Emily McMinn
673dd71c11 Bug 1843658 - Use optional chaining to keep addImpression from throwing an error r=aminomancer,omc-reviewers
This prevents an error from throwing if the optional "groups" property is missing from a message. Older messages will still render with the error, but it was causing the FeatureCallout messages to fail.

Differential Revision: https://phabricator.services.mozilla.com/D183792
2023-07-18 14:00:51 +00:00
Nick Alexander
bd3b0949b0 Bug 1805514 - Part 1: Support launch_action in Windows native toast notifications. r=barret
`launch_action` is both top-level (when the toast is clicked) and
per-action (when a button is clicked).

Differential Revision: https://phabricator.services.mozilla.com/D182312
2023-07-15 02:34:05 +00:00
Tif Tran
6390bd1185 Bug 1843175 - Handle when cache header is null r=nanj
Differential Revision: https://phabricator.services.mozilla.com/D183441
2023-07-13 23:59:44 +00:00
Jason Prickett
dcf79e6ec3 Bug 1826588 - add newtab feature callout trigger and prefs r=aminomancer
Differential Revision: https://phabricator.services.mozilla.com/D182405
2023-07-13 06:38:52 +00:00
Norisz Fay
59da20dd58 Bug 1842869 - Fix lint failure on MultiSelect.jsx, FeatureCalloutBroker.sys.mjs CLOSED TREE 2023-07-11 23:54:53 +03:00
Shane Hughes
99e82b0f08 Bug 1821826 - Refactor FeatureCallout to support generic triggers. r=omc-reviewers,fxview-reviewers,tabbrowser-reviewers,dao,jprickett,sclements
Also disable the Firefox View feature tour to avoid any risk of
regressions. The feature tour code will be removed in a later patch.
It's still present for now for testing purposes.

Differential Revision: https://phabricator.services.mozilla.com/D180927
2023-07-11 16:00:40 +00:00
Nick Alexander
1d2b238012 Bug 1838039 - Make ToastNotification wait for alertshow. r=nrishel
This was simply oversight when implemented.  This should avoid
situations where the background task exits before any notification is
shown, which might happen when fetching images is slower than
expected.

Differential Revision: https://phabricator.services.mozilla.com/D182308
2023-06-29 18:01:25 +00:00
Nan Jiang
446a55a336 Bug 1841056 - Fix a dismissal regression for SOV r=ttran
Differential Revision: https://phabricator.services.mozilla.com/D182473
2023-06-29 16:49:15 +00:00
Tif Tran
44e44e642f Bug 1840311 - Record SOV (Share of Voice) partner assignment r=nanj
Differential Revision: https://phabricator.services.mozilla.com/D181954
2023-06-28 07:34:30 +00:00
Chris H-C
eca601ffd9 Bug 1836283 - Reinstrument contextual services PingCentre pings in parallel with Glean r=perry.mcmanis,nanj,wstuckey
Covers topsites and quicksuggest impressions, clicks, and blocks.

Removes unused and not-to-be-used topsites-in-urlbar pingcentre instrumentation
rather than reinstrumenting it.

Differential Revision: https://phabricator.services.mozilla.com/D179856
2023-06-26 19:02:46 +00:00
Mathieu Leplatre
ece0401cb6 Bug 1838440 - Migrate kinto-http-client to ES module r=Standard8,robwu
Differential Revision: https://phabricator.services.mozilla.com/D181066
2023-06-26 09:03:01 +00:00
negin
b882e48890 Bug 1837051 - Add Embedded Migration Wizard support for spotlight dialog r=omc-reviewers,pdahiya,mconley
Differential Revision: https://phabricator.services.mozilla.com/D180713
2023-06-23 19:23:51 +00:00
Mike Conley
e8864ee16f Bug 1838926 - Add ASRouter targeting for whether or not the user has ever used the migration wizard to import passwords from a CSV file. r=emcminn
Differential Revision: https://phabricator.services.mozilla.com/D181287
2023-06-23 14:14:26 +00:00
Shane Hughes
402390df82 Bug 1833913 - Add default private newtab content. r=pdahiya,omc-reviewers,desktop-theme-reviewers,sfoster
Synchronously render default info content on about:privatebrowsing while
waiting for ASRouter to handle messages. Update the script and
stylesheet to account for rendering happening twice now. Add a browser
test to verify the content is rendered while ASRouter is hanging.

Differential Revision: https://phabricator.services.mozilla.com/D178987
2023-06-21 04:37:23 +00:00
Katherine Patenio
ce9d8a5dad Bug 1834831 - update imports of browser/modules JSMs r=webdriver-reviewers,perftest-reviewers,zeid,extension-reviewers,settings-reviewers,pip-reviewers,credential-management-reviewers,devtools-reviewers,fxview-reviewers,sessionstore-reviewers,tabbrowser-reviewers,whimboo,mhowell,sgalich,robwu,sparky,Standard8,mconley,dao,sclements
Differential Revision: https://phabricator.services.mozilla.com/D179169
2023-06-19 18:44:48 +00:00
Cristian Tuns
f826f1b621 Backed out 2 changesets (bug 1834831) for causing node failures with checkBundles CLOSED TREE
Backed out changeset 58b351a155c8 (bug 1834831)
Backed out changeset 1acbb5231d14 (bug 1834831)
2023-06-19 13:22:35 -04:00
Katherine Patenio
333197cd22 Bug 1834831 - update imports of browser/modules JSMs r=webdriver-reviewers,perftest-reviewers,zeid,extension-reviewers,settings-reviewers,pip-reviewers,credential-management-reviewers,devtools-reviewers,fxview-reviewers,sessionstore-reviewers,tabbrowser-reviewers,whimboo,mhowell,sgalich,robwu,sparky,Standard8,mconley,dao,sclements
Differential Revision: https://phabricator.services.mozilla.com/D179169
2023-06-19 16:46:18 +00:00
Shane Hughes
a00244509e Bug 1835742 - Fix ASRouter initialization with network disabled and devtools enabled. r=omc-reviewers,emcminn
Change the needsUpdate targeting attribute so it no longer throws if an
update check failed, e.g. due to being offline. Also change how the
targeting environment is evaluated for generating devtools state, so
that encountering an exception in a targeting attribute does not cause
ASRouter initialization to fail.

Differential Revision: https://phabricator.services.mozilla.com/D179482
2023-06-19 16:44:17 +00:00
Sandor Molnar
36ef388687 Backed out changeset 0ce9449255f9 (bug 1833913) for causing mochitest failures. CLOSED TREE 2023-06-15 22:53:08 +03:00
Shane Hughes
a90a3a4187 Bug 1833913 - Add default private newtab content. r=pdahiya,omc-reviewers,desktop-theme-reviewers,sfoster
Synchronously render default info content on about:privatebrowsing while
waiting for ASRouter to handle messages. Update the script and
stylesheet to account for rendering happening twice now. Add a browser
test to verify the content is rendered while ASRouter is hanging.

Differential Revision: https://phabricator.services.mozilla.com/D178987
2023-06-15 18:32:32 +00:00
Mark Banner
0677cff70b Bug 1838155 - Clean up some console.error calls that had been migrated from Cu.reportError. r=jdescottes,perftest-reviewers,geckoview-reviewers,credential-management-reviewers,search-reviewers,sgalich,owlish,jteow,sparky
This goes through the previous changes in the dependencies of bug 877389, and does two things:
1) Remove instances of \n
2) Change reporting of exceptions so that they are passed as separate arguments. This should result
   in an improved display of the exception in the browser console, should it occur.

Differential Revision: https://phabricator.services.mozilla.com/D180843
2023-06-15 08:33:57 +00:00
Tif Tran
0cc31ffcb7 Bug 1838051 - Add Nimbus variable to use 3 Contile tiles r=nanj
Differential Revision: https://phabricator.services.mozilla.com/D180716
2023-06-14 17:45:10 +00:00
Marco Castelluccio
860f602d4e Bug 1837741 - Remove Preferences.sys.mjs usage from the ToolbarPanelHub module. r=Standard8
Differential Revision: https://phabricator.services.mozilla.com/D180538
2023-06-13 10:20:00 +00:00
Sandor Molnar
a440f9efb6 Backed out changeset b12eb78a0791 (bug 1837741) for causing newtab failures 2023-06-12 20:26:44 +03:00
Marco Castelluccio
00f2d515c7 Bug 1837741 - Remove Preferences.sys.mjs usage from the ToolbarPanelHub module. r=Standard8 DONTBUILD
Differential Revision: https://phabricator.services.mozilla.com/D180538
2023-06-12 11:36:38 +00:00
Rob Wu
bad812f243 Bug 1836482 - Replace AddonManager.jsm imports with AddonManager.sys.mjs r=Standard8,webcompat-reviewers,twisniewski
This patch was generated as follows:

Run:
`./mach esmify --imports . --prefix=toolkit/mozapps/extensions/AddonManager`
In the output there are linter/prettifier errors due to unused
XPCOMUtils or separate importESModule calls. These have been fixed
manually and verified with `./mach lint --outgoing`.

The `esmify` script also inserts many unwanted newlines around imports
that are broken on two lines due to length. Due to the number of these,
I fixed them programatically.

1. Create patch from the changes so far.
2. From the patch, delete all lines that consist of "+" (i.e. added blank line).
3. Reset the working dir and apply the revised patch.
4. Verify that the diff between step 1 and 3 looks reasonable.
5. Verify that this patch as a whole looks reasonable.

Commands:

```
git diff > rename.diff
:%g/^+$/d
git commit -va -m WIP-rename
git revert HEAD
git apply --recount rename.diff
git diff HEAD^  # and verify that the removed lines are ok.
git commit -va  # one last review to verify correctness of whole patch.
git rebase -i HEAD~3  # drop the WIP + reverted commit, pick only the last.
```

`git apply` has the `--recount` option to force it to ignore mismatches
in line counts, which happens because we deleted added lines (^+$)
without fixing up the line counts in the file headers.

Differential Revision: https://phabricator.services.mozilla.com/D179874
2023-06-04 13:44:45 +00:00
Sandor Molnar
944b308fdc Backed out changeset a934ffbfaecf (bug 1831144) for causing mochitest plain failures in test_ext_scripting_contentScripts / test_ext_geolocation. CLOSED TREE 2023-06-01 03:41:44 +03:00
Jason Prickett
652eacf0f7 Bug 1831144 - Added fox doodle set default spotlight to onboarding messages r=omc-reviewers,aminomancer
Differential Revision: https://phabricator.services.mozilla.com/D177388
2023-05-31 22:18:39 +00:00
Cosmin Sabou
240df79868 Backed out changeset 071a531f4b98 (bug 1831144) for causing mochitest plain failures on test_ext_geolocation.htm. 2023-05-31 22:15:54 +03:00
Jason Prickett
94da9b161f Bug 1831144 - Added fox doodle set default spotlight to onboarding messages r=omc-reviewers,aminomancer
Differential Revision: https://phabricator.services.mozilla.com/D177388
2023-05-31 16:15:52 +00:00
Saira Abdulla
d8dc989e1b Bug 1824612 - Convert consumers of toolkit/components/extensions to ES modules. r=robwu,webcompat-reviewers,geckoview-reviewers,settings-reviewers,application-update-reviewers,credential-management-reviewers,devtools-reviewers,cookie-reviewers,twisniewski,sgalich,valentin,nalexander,mconley,m_kato
Depends on D175553

Differential Revision: https://phabricator.services.mozilla.com/D176005
2023-05-31 15:27:03 +00:00
Iulian Moraru
05e26cad32 Backed out 2 changesets (bug 1824612) for causing dt failures on browser_dbg-features-source-tree.js. CLOSED TREE
Backed out changeset c3f38adc818e (bug 1824612)
Backed out changeset 58ba8bb3398a (bug 1824612)
2023-05-31 17:28:16 +03:00