author | Serge Gautherie <sgautherie.bz@free.fr> |
Thu, 22 Dec 2011 14:45:16 +0100 | |
changeset 10274 | aeefba3ebe64a7f51053c069673b0868349725be |
parent 10273 | 84ba7b2c99f6f34a6925388f61f9b8d18c8f16cd |
child 10275 | 323b7de4b3999795e68cdfed66f9a1ea3789c81b |
push id | 402 |
push user | bugzilla@standard8.plus.com |
push date | Tue, 13 Mar 2012 21:17:18 +0000 |
treeherder | comm-beta@d080a8ebf16a [default view] [failures only] |
perfherder | [talos] [build metrics] [platform microbench] (compared to previous push) |
reviewers | neil |
bugs | 712871, 697124 |
suite/browser/test/mochitest/subtst_contextmenu.html | file | annotate | diff | comparison | revisions | |
suite/browser/test/mochitest/test_contextmenu.html | file | annotate | diff | comparison | revisions |
--- a/suite/browser/test/mochitest/subtst_contextmenu.html +++ b/suite/browser/test/mochitest/subtst_contextmenu.html @@ -9,19 +9,19 @@ Browser context menu subtest. <div id="test-text">Lorem ipsum dolor sit amet, consectetuer adipiscing elit.</div> <a id="test-link" href="http://mozilla.com">Click the monkey!</a> <a id="test-mailto" href="mailto:codemonkey@mozilla.com">Mail the monkey!</a><br> <input id="test-input"><br> <img id="test-image" src="ctxmenu-image.png"> <a href="http://mozilla.com"><img id="test-image-link" alt="Click the monkey!" src="ctxmenu-image.png"></a> <a href="mailto:codemonkey@mozilla.com"><img id="test-image-mailto" alt="Mail the monkey!" src="ctxmenu-image.png"></a><br> <canvas id="test-canvas" width="100" height="100" style="background-color: blue"></canvas> -<video id="test-video-ok" src="video.ogg" width="100" height="100" style="background-color: green"></video> -<video id="test-video-bad" src="bogus.duh" width="100" height="100" style="background-color: orange"></video> -<video id="test-video-bad2" width="100" height="100" style="background-color: yellow"> +<video controls id="test-video-ok" src="video.ogg" width="100" height="100" style="background-color: green"></video> +<video controls id="test-video-bad" src="bogus.duh" width="100" height="100" style="background-color: orange"></video> +<video controls id="test-video-bad2" width="100" height="100" style="background-color: yellow"> <source src="bogus.duh" type="video/durrrr;"> </video> <iframe id="test-iframe" width="98" height="98" style="border: 1px solid black"></iframe> <textarea id="test-textarea">chssseesbbbie</textarea> <!-- a weird word which generates only one suggestion --> <div id="test-contenteditable" contenteditable="true">chssseefsbbbie</div> <!-- a more weird word which generates no suggestions --> <input id="test-input-spellcheck" type="text" spellcheck="true" autofocus value="prodkjfgigrty"> <!-- this one also generates one suggestion --> </body>
--- a/suite/browser/test/mochitest/test_contextmenu.html +++ b/suite/browser/test/mochitest/test_contextmenu.html @@ -343,17 +343,18 @@ function runTest(testNum) { break; case 10: // Context menu for a video (with a VALID media source) checkContextMenu(["popupwindow-reject", true, "---", null, "context-media-play", true, "context-media-mute", true, - "context-media-showcontrols", true, + "context-media-hidecontrols", true, + "context-video-showstats", true, "context-video-fullscreen", true, "---", null, "context-viewvideo", true, "context-copyvideourl", true, "---", null, "context-savevideo", true, "context-sendvideo", true, "context-video-saveimage", true]); @@ -362,17 +363,18 @@ function runTest(testNum) { break; case 11: // Context menu for a video (with an INVALID media source) checkContextMenu(["popupwindow-reject", true, "---", null, "context-media-play", false, "context-media-mute", false, - "context-media-showcontrols", false, + "context-media-hidecontrols", false, + "context-video-showstats", false, "context-video-fullscreen", false, "---", null, "context-viewvideo", true, "context-copyvideourl", true, "---", null, "context-savevideo", true, "context-sendvideo", true, "context-video-saveimage", false]); @@ -381,17 +383,18 @@ function runTest(testNum) { break; case 12: // Context menu for a video (with an INVALID media source) checkContextMenu(["popupwindow-reject", true, "---", null, "context-media-play", false, "context-media-mute", false, - "context-media-showcontrols", false, + "context-media-hidecontrols", false, + "context-video-showstats", false, "context-video-fullscreen", false, "---", null, "context-viewvideo", false, "context-copyvideourl", false, "---", null, "context-savevideo", false, "context-sendvideo", false, "context-video-saveimage", false]);