Have the following prefs:
- shieldStudy.logLevel to All;
- extensions.fastblock_shield_mozilla_org.test.variationName to one of the following values: control, block, allow-and-remember or allow-and-notRemember;
- extensions.legacy.enabled to true;
- xpinstall.signatures.required to false.
The Block-autoplay add-on is installed.
[Steps to reproduce]:
Open the browser with the profile from prerequisites.
Navigate to "about:addons>Extensions" and click the "Block-autoplay" add-on.
Click the "Remove" button and observe the behavior.
[Expected result]:
The "Block-autoplay" shield study is uninstalled.
[Actual result]:
The "Undo" button is displayed.
[Notes]:
After the "Undo" button is clicked, the "install" and "enter" pings are sent again.
Our current ping can't know whether doorhanges were ignored by user when (1) user pressESC (2) user directly click the video and video starts playing audibly.
We're planing to add an new attribute in promptResponse to indicate this information.
Have the following prefs:
- shieldStudy.logLevel to All
- extensions.fastblock_shield_mozilla_org.test.variationName to one of the following values: control, block, allow-and-remember or allow-and-notRemember
- extensions.legacy.enabled to true
- xpinstall.signatures.required to false
The Block-autoplay add-on is installed.
[Steps to reproduce]:
Open the browser with the profile from prerequisites.
Navigate to "about:addons>Extensions" and click the "Block-autoplay" add-on.
Click the "Disable" button and observe the behavior.
[Expected result]:
The "Block-autoplay" shield study is removed and there is no "Undo" option.
[Actual result]:
The "Block-autoplay" shield study is disabled.
[Notes]:
After the study is re-enabled, the "install" and "enter" pings are sent again.
26 07 2018 14:47:51.225:ERROR [karma]: TypeError: Cannot read property 'files' of undefined
at toInitialList (/Users/awu/projects/web-extensions/template-shield/node_modules/istanbul-lib-report/lib/summarizer.js:147:17)
at Object.createPackageSummary [as pkg] (/Users/awu/projects/web-extensions/template-shield/node_modules/istanbul-lib-report/lib/summarizer.js:240:21)
at IstanbulReporter.onRunComplete (/Users/awu/projects/web-extensions/template-shield/node_modules/karma-istanbuljs-reporter/index.js:40:38)
at Server. (/Users/awu/projects/web-extensions/template-shield/node_modules/karma/lib/events.js:39:26)
at Server.emit (events.js:187:15)
at emitRunCompleteIfAllBrowsersDone (/Users/awu/projects/web-extensions/template-shield/node_modules/karma/lib/server.js:256:14)
at Server.on (/Users/awu/projects/web-extensions/template-shield/node_modules/karma/lib/server.js:292:9)
at Server.emit (events.js:182:13)
at Object.BaseLauncher._done (/Users/awu/projects/web-extensions/template-shield/node_modules/karma/lib/launchers/base.js:112:15)
at /Users/awu/projects/web-extensions/template-shield/node_modules/karma/lib/launchers/process.js:134:12
at next (/Users/awu/projects/web-extensions/template-shield/node_modules/rimraf/rimraf.js:75:7)
at CB (/Users/awu/projects/web-extensions/template-shield/node_modules/rimraf/rimraf.js:111:9)
at FSReqWrap.oncomplete (fs.js:145:20)
(node:37538) [DEP0079] DeprecationWarning: Custom inspection function on Objects via .inspect() is deprecated
Have the following prefs:
- shieldStudy.logLevel to All;
- extensions.fastblock_shield_mozilla_org.test.variationName to one of the following values: control, block, allow-and-remember or allow-and-notRemember;
- extensions.legacy.enabled to true;
- xpinstall.signatures.required to false.
The Block-autoplay add-on is installed.
[Steps to reproduce]:
Set the system date to 2 weeks after the current date.
Open the browser with the profile from prerequisites and navigate to "about:addons">Extensions section.
Observe the add-ons section.
[Expected result]:
Block-autoplay experiment is uninstalled and no longer displayed in the add-ons section.
[Actual result]:
Block-autoplay experiment remains installed and displayed in the add-ons section.
[Notes]:
The "Exit" and "Expired" telemetry pings are generated and displayed in "about:telemetry" page.
Click on the "Browse" button from the same domain.
Observe the left of the address bar area.
[Expected result]:
The doorhanger is dismissed.
[Actual results]:
The doorhanger is still displayed.
[Notes]:
This issue is reproducible also on allow-and-notRemember branch, and on block and control branches after the "Always ask" option is set for the global autoplay seting.
This issue is reproducible on youtube.com, cnn.com, bbc.com and probably on other website too.