QA/Shutdown Decoders: Difference between revisions

no edit summary
No edit summary
No edit summary
Line 10: Line 10:
|-
|-
| 03/29/2017|| 1.1 || Adrian Florinescu ||  Updates
| 03/29/2017|| 1.1 || Adrian Florinescu ||  Updates
|-
| 04/24/2017|| 1.1 || Adrian Florinescu ||  Updates
|}
|}


Line 50: Line 52:
• QA  
• QA  
* [mailto:adrian.florinescu@softvision.ro Adrian Florinescu]
* [mailto:adrian.florinescu@softvision.ro Adrian Florinescu]
* [mailto:ovidiu.boca@softvision.ro Ovidiu Boca]
* [mailto:hani.yacoub@softvision.ro Hani Yacoub]


== Feature short description ==
== Feature short description ==
The main purpose of the Shutdown Decoders feature is to reduce CPU/GPU & memory usage, and it does so by suspending the video element's video decoder when the video element is in background tabs or is invisible even in the foreground tab. The mechanism is that, when a video element is invisible, the original video decoder is replaced with a blank video decoder which only produces white frames that have the right resolution and time information. The original video decoder is released and the black video decoder is light so that the CPU/GPU & memory usage is reduced.
The main purpose of the Shutdown Decoders feature is to reduce CPU/GPU & memory usage, and it does so by suspending the video element's video decoder when the video element is in background tabs or is invisible even in the foreground tab. The mechanism is that, when a video element is invisible, the original video decoder is replaced with a blank video decoder which only produces white frames that have the right resolution and time information. The original video decoder is released and the the CPU/GPU & memory usage is reduced.


= Testing summary =  
= Testing summary =  
Line 61: Line 63:
Testing is concentrated around the 2 scheduled development phases as follows:
Testing is concentrated around the 2 scheduled development phases as follows:
* Phase 1: verify that a a blank decoder is used to replace the video decoder. In this phase, the mechanism is applied to:
* Phase 1: verify that a a blank decoder is used to replace the video decoder. In this phase, the mechanism is applied to:
# Videos with both audio and video tracks but with low resolution (480P for now)
# Videos with both audio and video tracks  
# Videos without audio track
# Videos without audio track
* Phase 2: enhance the mechanism and make sure it can apply to all video files.
* Phase 2: enhance the mechanism and make sure it can apply to all video files, including tainted videos.


=== Out of Scope ===
=== Out of Scope ===
Line 71: Line 73:
== Environments ==
== Environments ==
  Full testing will be performed on the following OSes:
  Full testing will be performed on the following OSes:
* Windows, probably Windows 7 and Windows 10
* Windows 10
* Mac OS X
* Mac OS X
* Ubuntu
* Ubuntu
Line 118: Line 120:
| RAC-6 || Sounds only "videos" are not correctly managed when talking about suspend decoder  || TO-6 || 1-Unlikely || ''2-Possible'' || ''2-Medium'' || 4
| RAC-6 || Sounds only "videos" are not correctly managed when talking about suspend decoder  || TO-6 || 1-Unlikely || ''2-Possible'' || ''2-Medium'' || 4
|-
|-
| RAC-7 || Videos from multiple fames are not handled corectly (visibility concern)  || TO-8 || '''3-High'''  || ''2-Possible'' || '''3-High''' || 12
| RAC-7 || Videos from multiple frames are not handled correctly (visibility concern)  || TO-8 || '''3-High'''  || ''2-Possible'' || '''3-High''' || 12
|-
|-
| RAC-8 || Possible Performance issues with multiple tabs or multiple videos - also behaviour on High loaded GPU/CPU || TO-8 || '''3-High'''  || '''3-Almost Certain''' || '''3-High''' || 27
| RAC-8 || Possible Performance issues with multiple tabs or multiple videos - also behavior on High loaded GPU/CPU || TO-8 || '''3-High'''  || '''3-Almost Certain''' || '''3-High''' || 27
|-
|-
| RAC-9 || Transition effect might not always be user friendly  || TO-2 || '''3-High'''  || '''3-Almost Certain''' || '''3-High''' || 27
| RAC-9 || Transition effect might not always be user friendly  || TO-2 || '''3-High'''  || '''3-Almost Certain''' || '''3-High''' || 27
Line 184: Line 186:
| Test plan creation || Mozilla wiki
| Test plan creation || Mozilla wiki
|-
|-
| Test case creation || [https://testrail.stage.mozaws.net/index.php TestRail]/ Google docs
| Test case creation || [https://testrail.stage.mozaws.net/index.php TestRail]
|-
|-
| Test case execution || [https://testrail.stage.mozaws.net/index.php TestRail]
| Test case execution || [https://testrail.stage.mozaws.net/index.php TestRail]
Line 212: Line 214:


= Testcases =  
= Testcases =  
Full testsuites can be found on TestRail at [https://testrail.stage.mozaws.net/index.php?/suites/view/250&group_by=cases:section_id&group_order=asc link] or in the PDF doc (to be added)
Full testsuites can be found on TestRail at [https://testrail.stage.mozaws.net/index.php?/suites/view/250&group_by=cases:section_id&group_order=asc link]


== Test Areas ==
== Test Areas ==
Line 371: Line 373:
|}
|}


== Test suite ==
Full Test suite - Link with the gdoc, follow the format from [https://docs.google.com/spreadsheets/d/1N8dGK_uenhfcM9cEPC3HPHmi0jFN98FWtL2DuszrfLY/edit#gid=0 link]
Smoke Test suite - Link with the gdoc, follow the format from [https://docs.google.com/spreadsheets/d/1N8dGK_uenhfcM9cEPC3HPHmi0jFN98FWtL2DuszrfLY/edit#gid=0 link]
Regression Test suite - Link with the gdoc - if available/needed.


= Bug Work =
= Bug Work =
584

edits