Open main menu

CDOT Wiki β

Changes

Contribute to Private Browsing Tests

5,482 bytes added, 14:47, 8 December 2008
m
Milestone 0.3 (Audio / Video HTML5 Unit Tests)
= Private Browsing Tests (and Video/Audio HTML5) =
* Project assigned to [[User:AaronMT|AaronMT]]
== An Introduction ==
=== What to expect for 0.3 release? ===
* I plan to have a unit test complete for the testing area involved with session storage. This will be submitted to Ehsan as well.
** I hope to have around 5-6 tests written for audio/video
*** test_readonly.html
*** test_mimetypes.html
*** test_continueplay.html
*** test_reload.html
*** test_tableembed.html
*** test_multipleplayback.html
 
** http://matrix.senecac.on.ca/~amtrain/BSD/DPS909/Mozilla/AV/mochitest/
 
* I will be working on <audio> and <video> tag testing
[http://ehsanakhgari.org/blog/2008-10-19/first-bits-private-browsing-patch-landed Private Browsing Patch has Landed!]
=== Milestone 0.3 (Audio / Video HTML5 Unit Tests) ===
<font color="green">'''My HTML5 Audio / Video Unit Test(s) - Complete'''</font>
{| border="1"
!Video/Audio Testing Area
!Video/Audio Unit Test (My Work)
|-
| [https://wiki.mozilla.org/QA/Firefox3.1/Video_And_Audio_TestPlan Video and Audio Test Plan]
| [http://matrix.senecac.on.ca/~amtrain/BSD/DPS909/Mozilla/AV/mochitest/test_readonly.html test_readonly.html] & [http://matrix.senecac.on.ca/~amtrain/BSD/DPS909/Mozilla/AV/mochitest/test_continuePlay.html test_continueplay.html] & [http://matrix.senecac.on.ca/~amtrain/BSD/DPS909/Mozilla/AV/mochitest/test_multipleplayback.html test_multipleplayback] & [http://matrix.senecac.on.ca/~amtrain/BSD/DPS909/Mozilla/AV/mochitest/test_reload.html test_reload.html] [http://matrix.senecac.on.ca/~amtrain/BSD/DPS909/Mozilla/AV/mochitest/file.html file.html] & [http://matrix.senecac.on.ca/~amtrain/BSD/DPS909/Mozilla/AV/mochitest/test_mimetype.html test_mimetype.html] & [http://matrix.senecac.on.ca/~amtrain/BSD/DPS909/Mozilla/AV/mochitest/test_tableembed.html test_tableembed.html] & [http://matrix.senecac.on.ca/~amtrain/BSD/DPS909/Mozilla/AV/mochitest/seek.ogg seek.ogg]& [http://matrix.senecac.on.ca/~amtrain/BSD/DPS909/Mozilla/AV/mochitest/320x240.ogg 320x240.ogg] [http://matrix.senecac.on.ca/~amtrain/BSD/DPS909/Mozilla/AV/mochitest/r11025_s16_c1.wav r11025_s16_c1.wav] & [http://matrix.senecac.on.ca/~amtrain/BSD/DPS909/Mozilla/AV/mochitest/r11025_u8_c1.wav r11025_u8_c1.wav]
|-
|}
<br/>
 
'''These are mochitests, which must be ran using 'python runtests.py' in obj/_tests/testing/content/media/video/test''' - you will see nothing if you just click on them (otherwise you can hit Ctrl-U to view source on them)
 
Package Archive: [http://matrix.senecac.on.ca/~amtrain/BSD/DPS909/Mozilla/AV/mochitest/HTML5_Firefox_AV_Tests.zip click here]
 
*'''My Video/Audio Tests''':
** test_readonly - '''tests that attributes pertaining to video/audio can not be changed or altered'''
** test_reload / file - '''tests that both a reload of a window and video work correctly, i.e., playback restarts'''
** test_multipleplayback - '''tests that six or more videos work properly when played simultaneously, playback works'''
** test_tableembed - '''tests that the new video element functions correctly when embedded in a table'''
** test_mimetype - '''a future test that will test canPlayType() [upon implementation] testing obscure codecs and media MIMETYPES'''
** test_continuePlay - '''tests that playback on a video will continue to play regardless if focus is in a newly opened tab'''
 
'''E-Mail convesations with Clint Talbert(Example)'''
http://matrix.senecac.on.ca/~amtrain/other/email3.jpg
 
==== What I learned? ====
* October / November
** Audio / Video HTML5 WHATWG Elements
** Mochitests - What/Why/How
** Chrome Elevation Techniques for Mochitests
** Observers/EventListeners
 
With the completion of milestone 0.3, I have learned so much from one course over the course of four months that I am tremendously appreciative of. Coming into Mozilla, I had only touched on Unit Tests once in my programming diploma program. Now I feel comfortable in writing any test.
 
==== Community Interaction ====
 
Unlike in Milestone 0.3, this time around I primarily interacted through #qa and through conversation in email.
 
*'''(1) Primarily''': Tremendous aid, assistance and conversations with [http://cmtalbert.wordpress.com/ Clint Talbert]
*'''(2) Secondary''': IRC #qa
*'''(3) Thirdly''': http://developer.mozilla.org/En
 
 
==== Challenges ====
 
Major challenges:
 
*'''(1)''' Halting focus on Private Browsing and leaping into Audio Visual / HTML5 provided was for me challenging as I had felt comfortable in the area I was originally focusing on.
*'''(2)''' Seeking assistance from those working on Audio Visual / HTML5 aspects rather than those working on Private Browsing
*'''(3)''' <u>Much</u> quieter bug on Bugzilla - a challenge seeing what's new/what's happening.
*'''(4)''' Mochitest Chrome Privilege Elevation -> Netscape thing!
*'''(5)''' Picking unit tests that I felt comfortable in persuing.
== Quick Project Notes ==
*[[User:jtarka|Jason Tarka]]
**''Testing the video website n Minefield 3.1b2pre on Windows XP, I've noticed one main oddity: When opening multiple tabs worth of videos, occasionally when you move the mouse cursor over the video, or click the Play button, the tab will suddenly pop into its own new window, fully loaded. The video, however, still has to be clicked again to play. The tab no longer exists in the old window.''
*** Linux 2.6.27.5 Fedora Core 10& Firefox 3.1b2pre*[[User:Crulshorukh|Sid Kalra]]**''Testing the video website on Firefox 3.1b1pre on Ubuntu. I've noticed that if I have many tabs open at once and if videos are running at the same time the pop up play tab (in grey) that appears when you mouse over the bottom of the video area comes to a crawl. I ran this on a virtual machine and thus I'm not giving the OS a lot of resources which means it is simulating a slow machine. The Grey area lagged a lot onMouseOver, almost every time it took forever to show up.*** Linux Ubuntu & Firefox 3.1b1pre*[[User:Nadavers|Nino D'Aversa]]**''I tried this out, only thing I could get to act funny was text selecting the time stamp (since its just text in html). I got an assert when I tired that, otherwise things seemed to work fine''***''Testing with OSX & Firefox 3.1b2pre
== Project Details ==
|-
|
* [[User:AaronMT|AaronMT]] 03:47, 6 December 2008 (UTC)
** 0.3 Complete
* Week of the 23rd
** <strike>Continue work on first cases of the <audio> and <video> tags ['''readonly'''] attributes and <source> element unit tests. </strike>
* Weekend 15th-16th
** <strike>Select a scope of an area to which I can focus on <audio> and <video> tags for Firefox 3.1</strike>
|-
|
* [[User:AaronMT|AaronMT]] 03:48, 6 December 2008 (UTC)
** 0.3 Complete!
* [[User:AaronMT|AaronMT]] 17:25, 2 December 2008 (UTC)
** Initial work on small tests whose functionality is not yet implemented
1
edit