Closed Bug 1779427 Opened 2 years ago Closed 2 years ago

Turn on Firefox View feature tour by updating default value of browser.firefoxView.featureTour

Categories

(Firefox :: Messaging System, enhancement, P1)

enhancement

Tracking

()

VERIFIED FIXED
106 Branch
Iteration:
106.2 - Sept 5 - Sept 16
Tracking Status
firefox106 --- verified

People

(Reporter: mviar, Assigned: emcminn)

References

(Blocks 1 open bug)

Details

Attachments

(1 file)

Once the Firefox View feature tour is ready for users, set the default value of browser.firefoxView.featureTour to:
{"message":"FIREFOX_VIEW_FEATURE_TOUR","screen":"","complete":false}
which indicates the user has not seen the feature tour and provides the id for the current default message for the Firefox View tour..

Priority: -- → P2
Status: NEW → RESOLVED
Closed: 2 years ago
Resolution: --- → DUPLICATE
Status: RESOLVED → REOPENED
Resolution: DUPLICATE → ---
Summary: Set default value of browser.firefoxView.featureTour to an empty string → Turn on Firefox View feature tour by updating default value of browser.firefoxView.featureTour

I believe the pref value wants to be {"message":"FIREFOX_VIEW_FEATURE_TOUR","screen":"FEATURE_CALLOUT_1","complete":false}

This can happen anytime during 106 nightly as the callout will only be shown when someone gets to firefox view anyway.

Type: task → enhancement
Iteration: --- → 106.1 - Aug 22 - Sept 2
Priority: P2 → P1
Assignee: nobody → emcminn

Make sure that TypeError: window.AWGetFeatureConfig is not a function error doesn't appear in console once the new default pref value is set (this was an issue when loading with the "off" value, but shouldn't be present with the updated value).

Pushed by emcminn@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/44c1ce2f6854
Turn on Firefox View feature tour by default r=mviar

Backed out for causing mochitest failures on browser_setup_state.js

  • Backout link
  • Push with failures
  • Failure Log
  • Failure line: TEST-UNEXPECTED-FAIL | browser/components/firefoxview/tests/browser/browser_setup_state.js | This test exceeded the timeout threshold. It should be rewritten or split up. If that's not possible, use requestLongerTimeout(N), but only as a last resort. -

And also this: https://treeherder.mozilla.org/logviewer?job_id=388603613&repo=autoland

Flags: needinfo?(emcminn)

This failure looks like an existing intermittent; (I found another backout for the same issue here) I wasn't able to reproduce it locally. I'm currently running another try push and if that comes back ok, I'll try landing again.

Flags: needinfo?(emcminn)

I've been unable to duplicate the intermittent & it's being actively worked on in other patches, so I'm going to attempt landing this again.

Pushed by emcminn@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/c739e6f1b109
Turn on Firefox View feature tour by default r=mviar
Pushed by emcminn@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/aa77f15a38d9
Turn on Firefox View feature tour by default r=mviar

@mviar has done some work knocking down intermittents for Firefox view, so I've rebased on top of those fixes and that will hopefully solve this.

Flags: needinfo?(emcminn)

Based on this existing intermittent from 5 months ago, I don't think this failure was caused by the pref flip. Are we ok to land again with that documented?

Flags: needinfo?(emcminn) → needinfo?(nbeleuzu)

It is ok to re-land it but if it will perma fail, we will have to back it out again

Flags: needinfo?(nbeleuzu)
Iteration: 106.1 - Aug 22 - Sept 2 → 106.2 - Sept 5 - Sept 16

(In reply to Narcis Beleuzu [:NarcisB] from comment #15)

Backed out for assertion failure on DOMJSProxyHandler.cpp

Suspiciously similar to bug 1652531 which has an underlying bug 1543537 from using defineLazyPreferenceGetter and worked around with bug 1703083 doing Cu.getWeakReference(document)

mviar is probably fixing this as part of bug 1788231 https://phabricator.services.mozilla.com/D156203#inline-862635

Depends on: 1788231
See Also: → 1543537, 1652531, 1703083

Looks like the workaround from comment 18 is necessary? These two pushes differ only with document vs docWeak.get()

https://treeherder.mozilla.org/jobs?repo=try&fromchange=e41b23ded4d434c93a1aafd608afdb32f9233f52&tochange=3d22c359f6261c507ebb1f70a6ce64e7f6ec99b8

Attachment #9291370 - Attachment description: Bug 1779427 - Turn on Firefox View feature tour by default → Bug 1779427 - Turn on Firefox View feature tour by default r=mviar
Blocks: 1784343
Pushed by elee@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/2527c3dc7c4a
Turn on Firefox View feature tour by default r=mviar
Status: REOPENED → RESOLVED
Closed: 2 years ago2 years ago
Resolution: --- → FIXED
Target Milestone: --- → 106 Branch
Regressions: 1790319

I have verified this enhancement and I can confirm that the "browser.firefox-view.feature-tour" pref has the " {"message":"FIREFOX_VIEW_FEATURE_TOUR","screen":"FEATURE_CALLOUT_1","complete":false}" default value.

  • The Firefox view feature tour is automatically shown when navigating to the Firefox View page.

Verified using the latest Firefox Nightly (106.0a1 Build ID - 20220911214030) installed on Windows 10 x64, macOS 11.6.5, and Linux Mint 20.2 x64.

Status: RESOLVED → VERIFIED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: