Граф коммитов

735 Коммитов

Автор SHA1 Сообщение Дата
Kartikaya Gupta ad05a74a39 Bug 1335202 - Enable crashtests on QR builds in automation. r=rhunt
MozReview-Commit-ID: K72o3BRp4Ti
2017-01-31 12:20:25 -05:00
Jay Harris c1706f8fa9 Bug 1335543 - Calls the bail function r=jwwang
MozReview-Commit-ID: KzUJRCi7tsW

--HG--
extra : rebase_source : a47ec4486a9f90a56fa79c2a8f4ea1bae3b927ad
2017-02-01 10:30:03 +13:00
Cameron McCormack 9c4ea5685f Bug 1334768 - stylo: Back out 800030115d2e and 404506488cfb for being completely wrong due to bug 1334938.
MozReview-Commit-ID: 8CGTqmtlguT
2017-01-30 16:49:54 +08:00
Florian Quèze bdc1ffa608 Bug 1334831 - script-generated patch to use .remove() instead of .parentNode.removeChild, r=jaws. 2017-01-30 08:10:22 +01:00
Cameron McCormack 7805d4716e Bug 1334768 - stylo: Test expectation adjustments for 2017-01-29 merge.
MozReview-Commit-ID: FFmvs6SHIwW
2017-01-29 15:31:56 +08:00
Jay Harris c2ed7a7dfc Bug 1318792 - Adds a simple test for keys specified in the sgpd r=jya
MozReview-Commit-ID: 8TrZcTVcbzD

--HG--
extra : rebase_source : 93fb734a5960b68039b1acfb9fb9238dae483e76
2017-02-02 09:03:31 +13:00
Carsten "Tomcat" Book dca07ffc3a merge mozilla-central to mozilla-inbound 2017-01-27 11:16:17 +01:00
Florian Quèze f187782ccf Bug 1334250 - script-generated patch to avoid removeEventListener calls when a variable is used for the event name, r=jaws. 2017-01-27 10:48:00 +01:00
Carsten "Tomcat" Book ff34e66ec7 Merge mozilla-central to autoland 2017-01-25 13:52:18 +01:00
Florian Quèze 0e0865f4fc Bug 1331599 - script-generated patch to replace removeEventListener calls with the once option when possible, r=jaws. 2017-01-25 07:01:52 +01:00
Andreas Pehrson e7d6233c55 Bug 1331839 - Harden test_mediarecorder_bitrate.html. r=jwwang
MozReview-Commit-ID: BFNAhS7B7C6

--HG--
extra : rebase_source : a6934456b3511f9c3b32539e41db4804b30f9ff5
2017-01-24 15:07:43 +01:00
Chris Pearce f234632cce Bug 1333259 - Remove test_gmp_playback.html. r=gerald
We have removed unencrypted decoding via GMP, so we can remove its test.

MozReview-Commit-ID: 5VRbcbDFrhu

--HG--
extra : rebase_source : 33eb8fb084c48ecd2dcf28ba3caf5da37fa5de26
2017-01-24 13:58:43 +13:00
JW Wang dd7df728a7 Bug 1295923 - remove the workaround since bug 1329403 is fixed and 'onload' won't be fired prematurely before the media element finishes loading. r=gerald
MozReview-Commit-ID: beXOjulT1E

--HG--
extra : rebase_source : 3f4206fc271c528d86e677441fb7eb0d06ee65d5
2017-01-20 11:52:52 +08:00
Chris Pearce 09aa660a9c Bug 1332954 - Correct spelling of HTMLMediaElement.error.message in test_decode_error.html. r=jwwang
MozReview-Commit-ID: 9DzLWTO8RP4

--HG--
extra : rebase_source : 9f85fb6d515c24d1377e376358ed0f113f4ef429
2017-01-23 11:07:27 +13:00
Bryce Van Dyk 12719cdacb Bug 1331271 - Drive by to fix styling in youtube puppeteer. r=maja_zf
MozReview-Commit-ID: 8lAxM2MLjjv

--HG--
extra : rebase_source : b8cda169b64e9f823cb8ade95e7a1aeb224fbcd4
2017-01-12 11:20:04 +13:00
Bryce Van Dyk 236e558e64 Bug 1331271 - Add twitch puppeteer and tests. r=maja_zf
Add a puppeteer to manipulate twitch streams, particularly live streams. This
puppeteer overrides and extends upon video puppeteer to do this, and in
particular must handle streams that do not have a set length.

Two tests have been added to test that playback starts, and that playback
doesn't stall during a minute of playback. These tests currently don't
differentiate between advertising context and normal stream content, as both are
taken to represent successful playback. However, there is functionality to
detect advertisement playback using the data-screen attribute on the player HTML
element. Aside from it providing data useful in future tests, the data-screen
element code provides an example of interaction with twitch specific HTML
attributes.

The tests currently use the /food twitch channel, which is run by twitch and has
a ~24 hour uptime. Twitch have indicated they are working on a dedicated test
stream which these tests may use in future.

MozReview-Commit-ID: 6dNIm6noEqc

--HG--
extra : rebase_source : 6f3923e11ef62933b0d1263f58c7357e3b677c6f
2017-01-12 12:00:21 +13:00
Chris Pearce 660295a933 Bug 1329543 - Remove use of gmp-eme-adobe* prefs from external media tests. r=maja_zf
MozReview-Commit-ID: 3LHciqXJK2r

--HG--
extra : rebase_source : d1e4587b7ad8c04335e114a8178ad14763aaac0c
2017-01-09 22:00:26 +08:00
Florian Quèze 85611a7b6d Bug 1331081 - script generated patch to omit addEventListener/removeEventListener's third parameter when it's false, r=jaws.
--HG--
extra : rebase_source : a22344ee1569f58f1f0a01017bfe0d46a6a14602
2017-01-17 11:50:25 +01:00
Phil Ringnalda e3c15e2b7e Backed out changeset f69ae549623a (bug 1321198) for being a totally unacceptable thing to have landed on an integration branch
--HG--
extra : rebase_source : 010e42975a95d521188f61abff9227569d98995c
2017-01-11 21:41:57 -08:00
JW Wang ffe2db6667 Bug 1321198 - this is a debugging patch which crashes when test_seek* time out to get the stack trace about what's stuck. r=jya
MozReview-Commit-ID: L7Q3Fyapkzf

--HG--
extra : rebase_source : 7738d13e5ab6e72b89f18423ae056dcccb485f6c
2017-01-11 11:15:24 +08:00
JW Wang bc485dd0e2 Bug 1330238 - remove the calls to requestLongerTimeout() and expectAssertions(). r=jya
1. requestLongerTimeout() is not needed because we don't have slow machines as B2G anymore.
2. Bug 634747 and 846769 are already fixed.

MozReview-Commit-ID: JbKtxHLdr8I

--HG--
extra : rebase_source : 7603c61637b8b142c8013bb8f431a49a93fac0c1
2017-01-11 11:01:28 +08:00
Sebastian Hengst 0e93a37b4f Bug 1329547 - Remove media test checks for Vista: Follow-up: Add back check for Windows to fix bustage. r=RyanVM 2017-01-09 21:15:15 +01:00
Chris Peterson 7a353f99e3 Bug 1329547 - Remove media test checks for Vista. r=cpearce
MozReview-Commit-ID: BkIARSntDud

--HG--
extra : rebase_source : 9c0a6ad4f72ef56d3ad84da9d752c387afe99e99
2017-01-08 12:15:33 -08:00
Cameron McCormack 6a2cfc71a3 Bug 1323890 - Remove comment from already re-enabled test.
MozReview-Commit-ID: AiOouXVyo1u
2017-01-05 11:21:19 +08:00
Andreas Pehrson 4e5007c1c2 Bug 1314886 - Call mozCaptureStream() after "loadedmetadata" in test_streams_element_capture_reset. r=jwwang
MozReview-Commit-ID: 1i5VIfCWWRy

--HG--
extra : rebase_source : 00e78dc0214557bd53b773e918a56de8a56e9682
2016-12-30 10:56:49 +01:00
ctai 6db62e5479 Bug 1325053 - Remove test_source_media.html. r=jwwang
The media attribute in source element is no longer needed in media element case. Remove related test case.

MozReview-Commit-ID: 7ckvEAl6HL4

--HG--
extra : rebase_source : d5346029fb115a0445733c90d43af00fe4919aa8
2016-12-21 23:30:23 +08:00
Cameron McCormack d4d8ba1d5f Bug 1324624 - stylo: Mark currently failing crashtests with asserts-if(stylo,...). r=xidorn
MozReview-Commit-ID: 7iiwRwiQ8s4
2016-12-21 15:42:36 +08:00
Jean-Yves Avenard ff544c1387 Bug 1309865: Don't expect that an event will be fired within a given time. r=gerald
We only care that we will enter suspended mode after a minimal time. On slow machines (like the linux try box) there are so many things at play that could delay a particular event.

So we remove the upper time test.

MozReview-Commit-ID: IAZVyuetYVp

--HG--
extra : rebase_source : 467d6a32dff88791d1238c0654d81b6d4afafc31
2016-12-20 12:53:09 +11:00
Henrik Skupin 622ecac8bf Bug 1316984 - Update external media tests to get/set preferences via Marionette. r=SingingTree
MozReview-Commit-ID: 8ObRLtE4ULb

--HG--
extra : rebase_source : b451809c6c7b5a4ba8c5d43f4fe6b82519cf75b4
2016-12-14 15:40:20 +01:00
Cameron McCormack 366f6eb24d Bug 1323892 - Disable currently crashing stylo crashtests. r=xidorn
MozReview-Commit-ID: 2BNjdBWdT5V
2016-12-16 18:54:41 +08:00
Jean-Yves Avenard 3a04c5d513 Bug 1322606: Don't hide MediaError::message behind a pref. r=Ehsan
MozReview-Commit-ID: y2Wbf7amvQ

--HG--
extra : rebase_source : ba2283adc0cce64fc3facec43d1bd15a3ca2fd14
2016-12-08 16:31:51 -10:00
Henrik Skupin dc7e4cae78 Bug 1320073 - Rename marionette-client to marionette-harness and release version 4.0.0. r=gps,maja_zf,mtseng,SingingTree
MozReview-Commit-ID: L6V3b5h8RWm

--HG--
rename : testing/marionette/harness/marionette/chrome/test.xul => testing/marionette/chrome/test.xul
rename : testing/marionette/harness/marionette/chrome/test2.xul => testing/marionette/chrome/test2.xul
rename : testing/marionette/harness/marionette/chrome/test_anonymous_content.xul => testing/marionette/chrome/test_anonymous_content.xul
rename : testing/marionette/harness/marionette/chrome/test_dialog.xul => testing/marionette/chrome/test_dialog.xul
rename : testing/marionette/harness/marionette/chrome/test_nested_iframe.xul => testing/marionette/chrome/test_nested_iframe.xul
rename : testing/marionette/harness/marionette/__init__.py => testing/marionette/harness/marionette_harness/__init__.py
rename : testing/marionette/harness/marionette/marionette_test/__init__.py => testing/marionette/harness/marionette_harness/marionette_test/__init__.py
rename : testing/marionette/harness/marionette/marionette_test/decorators.py => testing/marionette/harness/marionette_harness/marionette_test/decorators.py
rename : testing/marionette/harness/marionette/marionette_test/errors.py => testing/marionette/harness/marionette_harness/marionette_test/errors.py
rename : testing/marionette/harness/marionette/marionette_test/testcases.py => testing/marionette/harness/marionette_harness/marionette_test/testcases.py
rename : testing/marionette/harness/marionette/runner/__init__.py => testing/marionette/harness/marionette_harness/runner/__init__.py
rename : testing/marionette/harness/marionette/runner/base.py => testing/marionette/harness/marionette_harness/runner/base.py
rename : testing/marionette/harness/marionette/runner/httpd.py => testing/marionette/harness/marionette_harness/runner/httpd.py
rename : testing/marionette/harness/marionette/runner/mixins/__init__.py => testing/marionette/harness/marionette_harness/runner/mixins/__init__.py
rename : testing/marionette/harness/marionette/runner/mixins/browsermob-proxy-py/History.md => testing/marionette/harness/marionette_harness/runner/mixins/browsermob-proxy-py/History.md
rename : testing/marionette/harness/marionette/runner/mixins/browsermob-proxy-py/browsermobproxy/__init__.py => testing/marionette/harness/marionette_harness/runner/mixins/browsermob-proxy-py/browsermobproxy/__init__.py
rename : testing/marionette/harness/marionette/runner/mixins/browsermob-proxy-py/browsermobproxy/client.py => testing/marionette/harness/marionette_harness/runner/mixins/browsermob-proxy-py/browsermobproxy/client.py
rename : testing/marionette/harness/marionette/runner/mixins/browsermob-proxy-py/browsermobproxy/server.py => testing/marionette/harness/marionette_harness/runner/mixins/browsermob-proxy-py/browsermobproxy/server.py
rename : testing/marionette/harness/marionette/runner/mixins/browsermob-proxy-py/browsermobproxy/webdriver_event_listener.py => testing/marionette/harness/marionette_harness/runner/mixins/browsermob-proxy-py/browsermobproxy/webdriver_event_listener.py
rename : testing/marionette/harness/marionette/runner/mixins/browsermob-proxy-py/docs/Makefile => testing/marionette/harness/marionette_harness/runner/mixins/browsermob-proxy-py/docs/Makefile
rename : testing/marionette/harness/marionette/runner/mixins/browsermob-proxy-py/docs/_build/html/.buildinfo => testing/marionette/harness/marionette_harness/runner/mixins/browsermob-proxy-py/docs/_build/html/.buildinfo
rename : testing/marionette/harness/marionette/runner/mixins/browsermob-proxy-py/docs/_build/html/_modules/browsermobproxy.html => testing/marionette/harness/marionette_harness/runner/mixins/browsermob-proxy-py/docs/_build/html/_modules/browsermobproxy.html
rename : testing/marionette/harness/marionette/runner/mixins/browsermob-proxy-py/docs/_build/html/_modules/index.html => testing/marionette/harness/marionette_harness/runner/mixins/browsermob-proxy-py/docs/_build/html/_modules/index.html
rename : testing/marionette/harness/marionette/runner/mixins/browsermob-proxy-py/docs/_build/html/_sources/client.txt => testing/marionette/harness/marionette_harness/runner/mixins/browsermob-proxy-py/docs/_build/html/_sources/client.txt
rename : testing/marionette/harness/marionette/runner/mixins/browsermob-proxy-py/docs/_build/html/_sources/index.txt => testing/marionette/harness/marionette_harness/runner/mixins/browsermob-proxy-py/docs/_build/html/_sources/index.txt
rename : testing/marionette/harness/marionette/runner/mixins/browsermob-proxy-py/docs/_build/html/_sources/server.txt => testing/marionette/harness/marionette_harness/runner/mixins/browsermob-proxy-py/docs/_build/html/_sources/server.txt
rename : testing/marionette/harness/marionette/runner/mixins/browsermob-proxy-py/docs/_build/html/_static/basic.css => testing/marionette/harness/marionette_harness/runner/mixins/browsermob-proxy-py/docs/_build/html/_static/basic.css
rename : testing/marionette/harness/marionette/runner/mixins/browsermob-proxy-py/docs/_build/html/_static/default.css => testing/marionette/harness/marionette_harness/runner/mixins/browsermob-proxy-py/docs/_build/html/_static/default.css
rename : testing/marionette/harness/marionette/runner/mixins/browsermob-proxy-py/docs/_build/html/_static/doctools.js => testing/marionette/harness/marionette_harness/runner/mixins/browsermob-proxy-py/docs/_build/html/_static/doctools.js
rename : testing/marionette/harness/marionette/runner/mixins/browsermob-proxy-py/docs/_build/html/_static/jquery.js => testing/marionette/harness/marionette_harness/runner/mixins/browsermob-proxy-py/docs/_build/html/_static/jquery.js
rename : testing/marionette/harness/marionette/runner/mixins/browsermob-proxy-py/docs/_build/html/_static/pygments.css => testing/marionette/harness/marionette_harness/runner/mixins/browsermob-proxy-py/docs/_build/html/_static/pygments.css
rename : testing/marionette/harness/marionette/runner/mixins/browsermob-proxy-py/docs/_build/html/_static/searchtools.js => testing/marionette/harness/marionette_harness/runner/mixins/browsermob-proxy-py/docs/_build/html/_static/searchtools.js
rename : testing/marionette/harness/marionette/runner/mixins/browsermob-proxy-py/docs/_build/html/_static/sidebar.js => testing/marionette/harness/marionette_harness/runner/mixins/browsermob-proxy-py/docs/_build/html/_static/sidebar.js
rename : testing/marionette/harness/marionette/runner/mixins/browsermob-proxy-py/docs/_build/html/_static/underscore.js => testing/marionette/harness/marionette_harness/runner/mixins/browsermob-proxy-py/docs/_build/html/_static/underscore.js
rename : testing/marionette/harness/marionette/runner/mixins/browsermob-proxy-py/docs/_build/html/_static/websupport.js => testing/marionette/harness/marionette_harness/runner/mixins/browsermob-proxy-py/docs/_build/html/_static/websupport.js
rename : testing/marionette/harness/marionette/runner/mixins/browsermob-proxy-py/docs/_build/html/client.html => testing/marionette/harness/marionette_harness/runner/mixins/browsermob-proxy-py/docs/_build/html/client.html
rename : testing/marionette/harness/marionette/runner/mixins/browsermob-proxy-py/docs/_build/html/genindex.html => testing/marionette/harness/marionette_harness/runner/mixins/browsermob-proxy-py/docs/_build/html/genindex.html
rename : testing/marionette/harness/marionette/runner/mixins/browsermob-proxy-py/docs/_build/html/index.html => testing/marionette/harness/marionette_harness/runner/mixins/browsermob-proxy-py/docs/_build/html/index.html
rename : testing/marionette/harness/marionette/runner/mixins/browsermob-proxy-py/docs/_build/html/objects.inv => testing/marionette/harness/marionette_harness/runner/mixins/browsermob-proxy-py/docs/_build/html/objects.inv
rename : testing/marionette/harness/marionette/runner/mixins/browsermob-proxy-py/docs/_build/html/py-modindex.html => testing/marionette/harness/marionette_harness/runner/mixins/browsermob-proxy-py/docs/_build/html/py-modindex.html
rename : testing/marionette/harness/marionette/runner/mixins/browsermob-proxy-py/docs/_build/html/search.html => testing/marionette/harness/marionette_harness/runner/mixins/browsermob-proxy-py/docs/_build/html/search.html
rename : testing/marionette/harness/marionette/runner/mixins/browsermob-proxy-py/docs/_build/html/searchindex.js => testing/marionette/harness/marionette_harness/runner/mixins/browsermob-proxy-py/docs/_build/html/searchindex.js
rename : testing/marionette/harness/marionette/runner/mixins/browsermob-proxy-py/docs/_build/html/server.html => testing/marionette/harness/marionette_harness/runner/mixins/browsermob-proxy-py/docs/_build/html/server.html
rename : testing/marionette/harness/marionette/runner/mixins/browsermob-proxy-py/docs/client.rst => testing/marionette/harness/marionette_harness/runner/mixins/browsermob-proxy-py/docs/client.rst
rename : testing/marionette/harness/marionette/runner/mixins/browsermob-proxy-py/docs/conf.py => testing/marionette/harness/marionette_harness/runner/mixins/browsermob-proxy-py/docs/conf.py
rename : testing/marionette/harness/marionette/runner/mixins/browsermob-proxy-py/docs/index.rst => testing/marionette/harness/marionette_harness/runner/mixins/browsermob-proxy-py/docs/index.rst
rename : testing/marionette/harness/marionette/runner/mixins/browsermob-proxy-py/docs/make.bat => testing/marionette/harness/marionette_harness/runner/mixins/browsermob-proxy-py/docs/make.bat
rename : testing/marionette/harness/marionette/runner/mixins/browsermob-proxy-py/docs/server.rst => testing/marionette/harness/marionette_harness/runner/mixins/browsermob-proxy-py/docs/server.rst
rename : testing/marionette/harness/marionette/runner/mixins/browsermob-proxy-py/readme.md => testing/marionette/harness/marionette_harness/runner/mixins/browsermob-proxy-py/readme.md
rename : testing/marionette/harness/marionette/runner/mixins/browsermob-proxy-py/setup.py => testing/marionette/harness/marionette_harness/runner/mixins/browsermob-proxy-py/setup.py
rename : testing/marionette/harness/marionette/runner/mixins/browsermob-proxy-py/test/test_client.py => testing/marionette/harness/marionette_harness/runner/mixins/browsermob-proxy-py/test/test_client.py
rename : testing/marionette/harness/marionette/runner/mixins/browsermob-proxy-py/test/test_remote.py => testing/marionette/harness/marionette_harness/runner/mixins/browsermob-proxy-py/test/test_remote.py
rename : testing/marionette/harness/marionette/runner/mixins/browsermob-proxy-py/test/test_webdriver.py => testing/marionette/harness/marionette_harness/runner/mixins/browsermob-proxy-py/test/test_webdriver.py
rename : testing/marionette/harness/marionette/runner/mixins/browsermob.py => testing/marionette/harness/marionette_harness/runner/mixins/browsermob.py
rename : testing/marionette/harness/marionette/runner/mixins/window_manager.py => testing/marionette/harness/marionette_harness/runner/mixins/window_manager.py
rename : testing/marionette/harness/marionette/runner/serve.py => testing/marionette/harness/marionette_harness/runner/serve.py
rename : testing/marionette/harness/marionette/runner/test.cert => testing/marionette/harness/marionette_harness/runner/test.cert
rename : testing/marionette/harness/marionette/runner/test.key => testing/marionette/harness/marionette_harness/runner/test.key
rename : testing/marionette/harness/marionette/runtests.py => testing/marionette/harness/marionette_harness/runtests.py
rename : testing/marionette/harness/marionette/tests/harness_unit/conftest.py => testing/marionette/harness/marionette_harness/tests/harness_unit/conftest.py
rename : testing/marionette/harness/marionette/tests/harness_unit/test_httpd.py => testing/marionette/harness/marionette_harness/tests/harness_unit/test_httpd.py
rename : testing/marionette/harness/marionette/tests/harness_unit/test_marionette_arguments.py => testing/marionette/harness/marionette_harness/tests/harness_unit/test_marionette_arguments.py
rename : testing/marionette/harness/marionette/tests/harness_unit/test_marionette_harness.py => testing/marionette/harness/marionette_harness/tests/harness_unit/test_marionette_harness.py
rename : testing/marionette/harness/marionette/tests/harness_unit/test_marionette_runner.py => testing/marionette/harness/marionette_harness/tests/harness_unit/test_marionette_runner.py
rename : testing/marionette/harness/marionette/tests/harness_unit/test_marionette_test_result.py => testing/marionette/harness/marionette_harness/tests/harness_unit/test_marionette_test_result.py
rename : testing/marionette/harness/marionette/tests/harness_unit/test_serve.py => testing/marionette/harness/marionette_harness/tests/harness_unit/test_serve.py
rename : testing/marionette/harness/marionette/tests/unit-tests.ini => testing/marionette/harness/marionette_harness/tests/unit-tests.ini
rename : testing/marionette/harness/marionette/tests/unit/importanotherscript.js => testing/marionette/harness/marionette_harness/tests/unit/importanotherscript.js
rename : testing/marionette/harness/marionette/tests/unit/importscript.js => testing/marionette/harness/marionette_harness/tests/unit/importscript.js
rename : testing/marionette/harness/marionette/tests/unit/mn-restartless-unsigned.xpi => testing/marionette/harness/marionette_harness/tests/unit/mn-restartless-unsigned.xpi
rename : testing/marionette/harness/marionette/tests/unit/single_finger_functions.py => testing/marionette/harness/marionette_harness/tests/unit/single_finger_functions.py
rename : testing/marionette/harness/marionette/tests/unit/test_about_pages.py => testing/marionette/harness/marionette_harness/tests/unit/test_about_pages.py
rename : testing/marionette/harness/marionette/tests/unit/test_accessibility.py => testing/marionette/harness/marionette_harness/tests/unit/test_accessibility.py
rename : testing/marionette/harness/marionette/tests/unit/test_addons.py => testing/marionette/harness/marionette_harness/tests/unit/test_addons.py
rename : testing/marionette/harness/marionette/tests/unit/test_anonymous_content.py => testing/marionette/harness/marionette_harness/tests/unit/test_anonymous_content.py
rename : testing/marionette/harness/marionette/tests/unit/test_browsermobproxy.py => testing/marionette/harness/marionette_harness/tests/unit/test_browsermobproxy.py
rename : testing/marionette/harness/marionette/tests/unit/test_capabilities.py => testing/marionette/harness/marionette_harness/tests/unit/test_capabilities.py
rename : testing/marionette/harness/marionette/tests/unit/test_certificates.py => testing/marionette/harness/marionette_harness/tests/unit/test_certificates.py
rename : testing/marionette/harness/marionette/tests/unit/test_checkbox.py => testing/marionette/harness/marionette_harness/tests/unit/test_checkbox.py
rename : testing/marionette/harness/marionette/tests/unit/test_checkbox_chrome.py => testing/marionette/harness/marionette_harness/tests/unit/test_checkbox_chrome.py
rename : testing/marionette/harness/marionette/tests/unit/test_chrome.py => testing/marionette/harness/marionette_harness/tests/unit/test_chrome.py
rename : testing/marionette/harness/marionette/tests/unit/test_chrome_async_finish.js => testing/marionette/harness/marionette_harness/tests/unit/test_chrome_async_finish.js
rename : testing/marionette/harness/marionette/tests/unit/test_chrome_element_css.py => testing/marionette/harness/marionette_harness/tests/unit/test_chrome_element_css.py
rename : testing/marionette/harness/marionette/tests/unit/test_clearing.py => testing/marionette/harness/marionette_harness/tests/unit/test_clearing.py
rename : testing/marionette/harness/marionette/tests/unit/test_click.py => testing/marionette/harness/marionette_harness/tests/unit/test_click.py
rename : testing/marionette/harness/marionette/tests/unit/test_click_chrome.py => testing/marionette/harness/marionette_harness/tests/unit/test_click_chrome.py
rename : testing/marionette/harness/marionette/tests/unit/test_click_scrolling.py => testing/marionette/harness/marionette_harness/tests/unit/test_click_scrolling.py
rename : testing/marionette/harness/marionette/tests/unit/test_cookies.py => testing/marionette/harness/marionette_harness/tests/unit/test_cookies.py
rename : testing/marionette/harness/marionette/tests/unit/test_crash.py => testing/marionette/harness/marionette_harness/tests/unit/test_crash.py
rename : testing/marionette/harness/marionette/tests/unit/test_data_driven.py => testing/marionette/harness/marionette_harness/tests/unit/test_data_driven.py
rename : testing/marionette/harness/marionette/tests/unit/test_date_time_value.py => testing/marionette/harness/marionette_harness/tests/unit/test_date_time_value.py
rename : testing/marionette/harness/marionette/tests/unit/test_element_retrieval.py => testing/marionette/harness/marionette_harness/tests/unit/test_element_retrieval.py
rename : testing/marionette/harness/marionette/tests/unit/test_element_state.py => testing/marionette/harness/marionette_harness/tests/unit/test_element_state.py
rename : testing/marionette/harness/marionette/tests/unit/test_element_state_chrome.py => testing/marionette/harness/marionette_harness/tests/unit/test_element_state_chrome.py
rename : testing/marionette/harness/marionette/tests/unit/test_elementsize.py => testing/marionette/harness/marionette_harness/tests/unit/test_elementsize.py
rename : testing/marionette/harness/marionette/tests/unit/test_elementsize_chrome.py => testing/marionette/harness/marionette_harness/tests/unit/test_elementsize_chrome.py
rename : testing/marionette/harness/marionette/tests/unit/test_errors.py => testing/marionette/harness/marionette_harness/tests/unit/test_errors.py
rename : testing/marionette/harness/marionette/tests/unit/test_execute_async_script.py => testing/marionette/harness/marionette_harness/tests/unit/test_execute_async_script.py
rename : testing/marionette/harness/marionette/tests/unit/test_execute_isolate.py => testing/marionette/harness/marionette_harness/tests/unit/test_execute_isolate.py
rename : testing/marionette/harness/marionette/tests/unit/test_execute_sandboxes.py => testing/marionette/harness/marionette_harness/tests/unit/test_execute_sandboxes.py
rename : testing/marionette/harness/marionette/tests/unit/test_execute_script.py => testing/marionette/harness/marionette_harness/tests/unit/test_execute_script.py
rename : testing/marionette/harness/marionette/tests/unit/test_expected.py => testing/marionette/harness/marionette_harness/tests/unit/test_expected.py
rename : testing/marionette/harness/marionette/tests/unit/test_expectedfail.py => testing/marionette/harness/marionette_harness/tests/unit/test_expectedfail.py
rename : testing/marionette/harness/marionette/tests/unit/test_file_upload.py => testing/marionette/harness/marionette_harness/tests/unit/test_file_upload.py
rename : testing/marionette/harness/marionette/tests/unit/test_findelement_chrome.py => testing/marionette/harness/marionette_harness/tests/unit/test_findelement_chrome.py
rename : testing/marionette/harness/marionette/tests/unit/test_geckoinstance.py => testing/marionette/harness/marionette_harness/tests/unit/test_geckoinstance.py
rename : testing/marionette/harness/marionette/tests/unit/test_getactiveframe_oop.py => testing/marionette/harness/marionette_harness/tests/unit/test_getactiveframe_oop.py
rename : testing/marionette/harness/marionette/tests/unit/test_implicit_waits.py => testing/marionette/harness/marionette_harness/tests/unit/test_implicit_waits.py
rename : testing/marionette/harness/marionette/tests/unit/test_import_script.py => testing/marionette/harness/marionette_harness/tests/unit/test_import_script.py
rename : testing/marionette/harness/marionette/tests/unit/test_key_actions.py => testing/marionette/harness/marionette_harness/tests/unit/test_key_actions.py
rename : testing/marionette/harness/marionette/tests/unit/test_localization.py => testing/marionette/harness/marionette_harness/tests/unit/test_localization.py
rename : testing/marionette/harness/marionette/tests/unit/test_log.py => testing/marionette/harness/marionette_harness/tests/unit/test_log.py
rename : testing/marionette/harness/marionette/tests/unit/test_marionette.py => testing/marionette/harness/marionette_harness/tests/unit/test_marionette.py
rename : testing/marionette/harness/marionette/tests/unit/test_modal_dialogs.py => testing/marionette/harness/marionette_harness/tests/unit/test_modal_dialogs.py
rename : testing/marionette/harness/marionette/tests/unit/test_mouse_action.py => testing/marionette/harness/marionette_harness/tests/unit/test_mouse_action.py
rename : testing/marionette/harness/marionette/tests/unit/test_navigation.py => testing/marionette/harness/marionette_harness/tests/unit/test_navigation.py
rename : testing/marionette/harness/marionette/tests/unit/test_pagesource.py => testing/marionette/harness/marionette_harness/tests/unit/test_pagesource.py
rename : testing/marionette/harness/marionette/tests/unit/test_pagesource_chrome.py => testing/marionette/harness/marionette_harness/tests/unit/test_pagesource_chrome.py
rename : testing/marionette/harness/marionette/tests/unit/test_position.py => testing/marionette/harness/marionette_harness/tests/unit/test_position.py
rename : testing/marionette/harness/marionette/tests/unit/test_prefs.py => testing/marionette/harness/marionette_harness/tests/unit/test_prefs.py
rename : testing/marionette/harness/marionette/tests/unit/test_profile_management.py => testing/marionette/harness/marionette_harness/tests/unit/test_profile_management.py
rename : testing/marionette/harness/marionette/tests/unit/test_proxy.py => testing/marionette/harness/marionette_harness/tests/unit/test_proxy.py
rename : testing/marionette/harness/marionette/tests/unit/test_quit_restart.py => testing/marionette/harness/marionette_harness/tests/unit/test_quit_restart.py
rename : testing/marionette/harness/marionette/tests/unit/test_rendered_element.py => testing/marionette/harness/marionette_harness/tests/unit/test_rendered_element.py
rename : testing/marionette/harness/marionette/tests/unit/test_report.py => testing/marionette/harness/marionette_harness/tests/unit/test_report.py
rename : testing/marionette/harness/marionette/tests/unit/test_run_js_test.py => testing/marionette/harness/marionette_harness/tests/unit/test_run_js_test.py
rename : testing/marionette/harness/marionette/tests/unit/test_screen_orientation.py => testing/marionette/harness/marionette_harness/tests/unit/test_screen_orientation.py
rename : testing/marionette/harness/marionette/tests/unit/test_screenshot.py => testing/marionette/harness/marionette_harness/tests/unit/test_screenshot.py
rename : testing/marionette/harness/marionette/tests/unit/test_select.py => testing/marionette/harness/marionette_harness/tests/unit/test_select.py
rename : testing/marionette/harness/marionette/tests/unit/test_session.py => testing/marionette/harness/marionette_harness/tests/unit/test_session.py
rename : testing/marionette/harness/marionette/tests/unit/test_set_window_size.py => testing/marionette/harness/marionette_harness/tests/unit/test_set_window_size.py
rename : testing/marionette/harness/marionette/tests/unit/test_shadow_dom.py => testing/marionette/harness/marionette_harness/tests/unit/test_shadow_dom.py
rename : testing/marionette/harness/marionette/tests/unit/test_simpletest_chrome.js => testing/marionette/harness/marionette_harness/tests/unit/test_simpletest_chrome.js
rename : testing/marionette/harness/marionette/tests/unit/test_simpletest_fail.js => testing/marionette/harness/marionette_harness/tests/unit/test_simpletest_fail.js
rename : testing/marionette/harness/marionette/tests/unit/test_simpletest_pass.js => testing/marionette/harness/marionette_harness/tests/unit/test_simpletest_pass.js
rename : testing/marionette/harness/marionette/tests/unit/test_simpletest_sanity.py => testing/marionette/harness/marionette_harness/tests/unit/test_simpletest_sanity.py
rename : testing/marionette/harness/marionette/tests/unit/test_simpletest_timeout.js => testing/marionette/harness/marionette_harness/tests/unit/test_simpletest_timeout.js
rename : testing/marionette/harness/marionette/tests/unit/test_single_finger_desktop.py => testing/marionette/harness/marionette_harness/tests/unit/test_single_finger_desktop.py
rename : testing/marionette/harness/marionette/tests/unit/test_skip_setup.py => testing/marionette/harness/marionette_harness/tests/unit/test_skip_setup.py
rename : testing/marionette/harness/marionette/tests/unit/test_switch_frame.py => testing/marionette/harness/marionette_harness/tests/unit/test_switch_frame.py
rename : testing/marionette/harness/marionette/tests/unit/test_switch_frame_chrome.py => testing/marionette/harness/marionette_harness/tests/unit/test_switch_frame_chrome.py
rename : testing/marionette/harness/marionette/tests/unit/test_switch_remote_frame.py => testing/marionette/harness/marionette_harness/tests/unit/test_switch_remote_frame.py
rename : testing/marionette/harness/marionette/tests/unit/test_teardown_context_preserved.py => testing/marionette/harness/marionette_harness/tests/unit/test_teardown_context_preserved.py
rename : testing/marionette/harness/marionette/tests/unit/test_text.py => testing/marionette/harness/marionette_harness/tests/unit/test_text.py
rename : testing/marionette/harness/marionette/tests/unit/test_text_chrome.py => testing/marionette/harness/marionette_harness/tests/unit/test_text_chrome.py
rename : testing/marionette/harness/marionette/tests/unit/test_timeouts.py => testing/marionette/harness/marionette_harness/tests/unit/test_timeouts.py
rename : testing/marionette/harness/marionette/tests/unit/test_transport.py => testing/marionette/harness/marionette_harness/tests/unit/test_transport.py
rename : testing/marionette/harness/marionette/tests/unit/test_typing.py => testing/marionette/harness/marionette_harness/tests/unit/test_typing.py
rename : testing/marionette/harness/marionette/tests/unit/test_using_permissions.py => testing/marionette/harness/marionette_harness/tests/unit/test_using_permissions.py
rename : testing/marionette/harness/marionette/tests/unit/test_visibility.py => testing/marionette/harness/marionette_harness/tests/unit/test_visibility.py
rename : testing/marionette/harness/marionette/tests/unit/test_wait.py => testing/marionette/harness/marionette_harness/tests/unit/test_wait.py
rename : testing/marionette/harness/marionette/tests/unit/test_window_handles.py => testing/marionette/harness/marionette_harness/tests/unit/test_window_handles.py
rename : testing/marionette/harness/marionette/tests/unit/test_window_management.py => testing/marionette/harness/marionette_harness/tests/unit/test_window_management.py
rename : testing/marionette/harness/marionette/tests/unit/test_window_position.py => testing/marionette/harness/marionette_harness/tests/unit/test_window_position.py
rename : testing/marionette/harness/marionette/tests/unit/test_window_switching.py => testing/marionette/harness/marionette_harness/tests/unit/test_window_switching.py
rename : testing/marionette/harness/marionette/tests/unit/test_window_title.py => testing/marionette/harness/marionette_harness/tests/unit/test_window_title.py
rename : testing/marionette/harness/marionette/tests/unit/test_window_title_chrome.py => testing/marionette/harness/marionette_harness/tests/unit/test_window_title_chrome.py
rename : testing/marionette/harness/marionette/tests/unit/test_window_type.py => testing/marionette/harness/marionette_harness/tests/unit/test_window_type.py
rename : testing/marionette/harness/marionette/tests/unit/test_with_using_context.py => testing/marionette/harness/marionette_harness/tests/unit/test_with_using_context.py
rename : testing/marionette/harness/marionette/tests/unit/unit-tests.ini => testing/marionette/harness/marionette_harness/tests/unit/unit-tests.ini
rename : testing/marionette/harness/marionette/tests/webapi-tests.ini => testing/marionette/harness/marionette_harness/tests/webapi-tests.ini
rename : testing/marionette/harness/marionette/www/bug814037.html => testing/marionette/harness/marionette_harness/www/bug814037.html
rename : testing/marionette/harness/marionette/www/click_out_of_bounds_overflow.html => testing/marionette/harness/marionette_harness/www/click_out_of_bounds_overflow.html
rename : testing/marionette/harness/marionette/www/clicks.html => testing/marionette/harness/marionette_harness/www/clicks.html
rename : testing/marionette/harness/marionette/www/cssTransform.html => testing/marionette/harness/marionette_harness/www/cssTransform.html
rename : testing/marionette/harness/marionette/www/cssTransform2.html => testing/marionette/harness/marionette_harness/www/cssTransform2.html
rename : testing/marionette/harness/marionette/www/datetimePage.html => testing/marionette/harness/marionette_harness/www/datetimePage.html
rename : testing/marionette/harness/marionette/www/deletingFrame.html => testing/marionette/harness/marionette_harness/www/deletingFrame.html
rename : testing/marionette/harness/marionette/www/double_click.html => testing/marionette/harness/marionette_harness/www/double_click.html
rename : testing/marionette/harness/marionette/www/element_bottom.html => testing/marionette/harness/marionette_harness/www/element_bottom.html
rename : testing/marionette/harness/marionette/www/element_left.html => testing/marionette/harness/marionette_harness/www/element_left.html
rename : testing/marionette/harness/marionette/www/element_outside_viewport.html => testing/marionette/harness/marionette_harness/www/element_outside_viewport.html
rename : testing/marionette/harness/marionette/www/element_right.html => testing/marionette/harness/marionette_harness/www/element_right.html
rename : testing/marionette/harness/marionette/www/element_top.html => testing/marionette/harness/marionette_harness/www/element_top.html
rename : testing/marionette/harness/marionette/www/empty.html => testing/marionette/harness/marionette_harness/www/empty.html
rename : testing/marionette/harness/marionette/www/formPage.html => testing/marionette/harness/marionette_harness/www/formPage.html
rename : testing/marionette/harness/marionette/www/frameset.html => testing/marionette/harness/marionette_harness/www/frameset.html
rename : testing/marionette/harness/marionette/www/framesetPage2.html => testing/marionette/harness/marionette_harness/www/framesetPage2.html
rename : testing/marionette/harness/marionette/www/hidden.html => testing/marionette/harness/marionette_harness/www/hidden.html
rename : testing/marionette/harness/marionette/www/html5/blue.jpg => testing/marionette/harness/marionette_harness/www/html5/blue.jpg
rename : testing/marionette/harness/marionette/www/html5/boolean_attributes.html => testing/marionette/harness/marionette_harness/www/html5/boolean_attributes.html
rename : testing/marionette/harness/marionette/www/html5/geolocation.js => testing/marionette/harness/marionette_harness/www/html5/geolocation.js
rename : testing/marionette/harness/marionette/www/html5/green.jpg => testing/marionette/harness/marionette_harness/www/html5/green.jpg
rename : testing/marionette/harness/marionette/www/html5/offline.html => testing/marionette/harness/marionette_harness/www/html5/offline.html
rename : testing/marionette/harness/marionette/www/html5/red.jpg => testing/marionette/harness/marionette_harness/www/html5/red.jpg
rename : testing/marionette/harness/marionette/www/html5/status.html => testing/marionette/harness/marionette_harness/www/html5/status.html
rename : testing/marionette/harness/marionette/www/html5/test.appcache => testing/marionette/harness/marionette_harness/www/html5/test.appcache
rename : testing/marionette/harness/marionette/www/html5/test_html_inputs.html => testing/marionette/harness/marionette_harness/www/html5/test_html_inputs.html
rename : testing/marionette/harness/marionette/www/html5/yellow.jpg => testing/marionette/harness/marionette_harness/www/html5/yellow.jpg
rename : testing/marionette/harness/marionette/www/html5Page.html => testing/marionette/harness/marionette_harness/www/html5Page.html
rename : testing/marionette/harness/marionette/www/javascriptPage.html => testing/marionette/harness/marionette_harness/www/javascriptPage.html
rename : testing/marionette/harness/marionette/www/macbeth.html => testing/marionette/harness/marionette_harness/www/macbeth.html
rename : testing/marionette/harness/marionette/www/modal_dialogs.html => testing/marionette/harness/marionette_harness/www/modal_dialogs.html
rename : testing/marionette/harness/marionette/www/nestedElements.html => testing/marionette/harness/marionette_harness/www/nestedElements.html
rename : testing/marionette/harness/marionette/www/rectangles.html => testing/marionette/harness/marionette_harness/www/rectangles.html
rename : testing/marionette/harness/marionette/www/resultPage.html => testing/marionette/harness/marionette_harness/www/resultPage.html
rename : testing/marionette/harness/marionette/www/scroll.html => testing/marionette/harness/marionette_harness/www/scroll.html
rename : testing/marionette/harness/marionette/www/scroll2.html => testing/marionette/harness/marionette_harness/www/scroll2.html
rename : testing/marionette/harness/marionette/www/scroll3.html => testing/marionette/harness/marionette_harness/www/scroll3.html
rename : testing/marionette/harness/marionette/www/scroll4.html => testing/marionette/harness/marionette_harness/www/scroll4.html
rename : testing/marionette/harness/marionette/www/scroll5.html => testing/marionette/harness/marionette_harness/www/scroll5.html
rename : testing/marionette/harness/marionette/www/shim.js => testing/marionette/harness/marionette_harness/www/shim.js
rename : testing/marionette/harness/marionette/www/test.html => testing/marionette/harness/marionette_harness/www/test.html
rename : testing/marionette/harness/marionette/www/testAction.html => testing/marionette/harness/marionette_harness/www/testAction.html
rename : testing/marionette/harness/marionette/www/testPageSource.html => testing/marionette/harness/marionette_harness/www/testPageSource.html
rename : testing/marionette/harness/marionette/www/testPageSource.xml => testing/marionette/harness/marionette_harness/www/testPageSource.xml
rename : testing/marionette/harness/marionette/www/testPageSourceWithUnicodeChars.html => testing/marionette/harness/marionette_harness/www/testPageSourceWithUnicodeChars.html
rename : testing/marionette/harness/marionette/www/testSize.html => testing/marionette/harness/marionette_harness/www/testSize.html
rename : testing/marionette/harness/marionette/www/test_accessibility.html => testing/marionette/harness/marionette_harness/www/test_accessibility.html
rename : testing/marionette/harness/marionette/www/test_carets_columns.html => testing/marionette/harness/marionette_harness/www/test_carets_columns.html
rename : testing/marionette/harness/marionette/www/test_carets_cursor.html => testing/marionette/harness/marionette_harness/www/test_carets_cursor.html
rename : testing/marionette/harness/marionette/www/test_carets_display_none.html => testing/marionette/harness/marionette_harness/www/test_carets_display_none.html
rename : testing/marionette/harness/marionette/www/test_carets_iframe.html => testing/marionette/harness/marionette_harness/www/test_carets_iframe.html
rename : testing/marionette/harness/marionette/www/test_carets_longtext.html => testing/marionette/harness/marionette_harness/www/test_carets_longtext.html
rename : testing/marionette/harness/marionette/www/test_carets_multipleline.html => testing/marionette/harness/marionette_harness/www/test_carets_multipleline.html
rename : testing/marionette/harness/marionette/www/test_carets_multiplerange.html => testing/marionette/harness/marionette_harness/www/test_carets_multiplerange.html
rename : testing/marionette/harness/marionette/www/test_carets_selection.html => testing/marionette/harness/marionette_harness/www/test_carets_selection.html
rename : testing/marionette/harness/marionette/www/test_clearing.html => testing/marionette/harness/marionette_harness/www/test_clearing.html
rename : testing/marionette/harness/marionette/www/test_dynamic.html => testing/marionette/harness/marionette_harness/www/test_dynamic.html
rename : testing/marionette/harness/marionette/www/test_iframe.html => testing/marionette/harness/marionette_harness/www/test_iframe.html
rename : testing/marionette/harness/marionette/www/test_inner_iframe.html => testing/marionette/harness/marionette_harness/www/test_inner_iframe.html
rename : testing/marionette/harness/marionette/www/test_nested_iframe.html => testing/marionette/harness/marionette_harness/www/test_nested_iframe.html
rename : testing/marionette/harness/marionette/www/test_oop_1.html => testing/marionette/harness/marionette_harness/www/test_oop_1.html
rename : testing/marionette/harness/marionette/www/test_oop_2.html => testing/marionette/harness/marionette_harness/www/test_oop_2.html
rename : testing/marionette/harness/marionette/www/test_shadow_dom.html => testing/marionette/harness/marionette_harness/www/test_shadow_dom.html
rename : testing/marionette/harness/marionette/www/test_windows.html => testing/marionette/harness/marionette_harness/www/test_windows.html
rename : testing/marionette/harness/marionette/www/windowHandles.html => testing/marionette/harness/marionette_harness/www/windowHandles.html
rename : testing/marionette/harness/marionette/www/xhtmlTest.html => testing/marionette/harness/marionette_harness/www/xhtmlTest.html
extra : rebase_source : 67058d4aaa858732563fda6790c3176071c6bd60
2016-12-12 13:05:34 +01:00
Kaku Kuo 8d4eb1286a Bug 1301426 part 19 - test case 18; r=jwwang
MozReview-Commit-ID: JWDEG7gTPwP

--HG--
extra : rebase_source : 8a5c2e30ce0399add620b5288a546cfacb25c518
2016-11-24 16:38:52 +08:00
Kaku Kuo c764d1ce21 Bug 1301426 part 18 - test case 17; r=jwwang
Case: invoke load() on an element should reject pending promises in order.
Expected result: the pending promises are rejected in order.

MozReview-Commit-ID: AJMX7uLTEN0

--HG--
extra : rebase_source : cd5e704f28db634d3700c9995097577a30a47549
extra : source : 9e41353b32c2c4674ac609b202efca8dabbbb1b5
2016-10-11 15:28:14 +08:00
Kaku Kuo 5434a7a514 Bug 1301426 part 17 - test case 16; r=jwwang
Case: invoke load() on an element should resolve pending promises in order.
Expected result: the pending promises are resolved in order.

MozReview-Commit-ID: 1FSdBd3zwrB

--HG--
extra : rebase_source : fddd8742d80b68fced9ac9c09f8d918af4e6bba7
extra : source : 9c0a4abd7ff8ebffc1fc4369a335be299b8ba3dd
2016-10-11 15:28:06 +08:00
Kaku Kuo 89d189d9eb Bug 1301426 part 16 - test case 15; r=jwwang
Case: step1: create an element with its paused member to be fause and networkState to be NETWORK_NO_SOURCE.
      stpe2: invoke load() on the element and the load() rejects the pending promise.
Expected result: reject the pending promise.

MozReview-Commit-ID: 34Hj9Xyuq8H

--HG--
extra : rebase_source : a7d3c8710e2c01071750f0ea1d783f7f2c9588db
extra : source : d9ea68265f212eba8a4f1f8797eecddcb23ab07d
2016-10-11 15:27:57 +08:00
Kaku Kuo 14ab71f7b5 Bug 1301426 part 15 - test case 14; r=jwwang
Case: step1: create an element with its paused member to be fause and networkState to be NETWORK_EMPTY.
      stpe2: invoke load() on the element and the load() leaves the promise pending.
Expected result: the pending promise should finally be resolved.

MozReview-Commit-ID: CbUs1barMSP

--HG--
extra : rebase_source : c0626618d0bf50433dabb072d4221f5fbcfdbd35
extra : source : 7fa1839898a1042e83bd277d6bd819da7790e7ac
2016-10-11 15:27:49 +08:00
Kaku Kuo 567497b76e Bug 1301426 part 14 - test case 13; r=jwwang
Case: re-invoke the load() on an element which had dispatched a task to resolve a promise.
Expected result: the already dispatched promise should still be resolved.

MozReview-Commit-ID: CGthPmPeaif

--HG--
extra : rebase_source : 3c377a62ecf6f84c382f49d856be8c07871c59b0
extra : source : cebac214f77710b911f56674ed92989aa1fa5957
2016-10-11 15:27:40 +08:00
Kaku Kuo 5ffa9dad61 Bug 1301426 part 13 - test case 12; r=jwwang
Case:: invoke pause() and then play() on an element that is already playing.
Expected result: resolve the promise.

MozReview-Commit-ID: DaYzxTgEWwL

--HG--
extra : rebase_source : da599574a03a71d486168a2e11a36e2bc4e91237
extra : source : 46699200222d0884017176d6df429224e6b1b3ce
2016-10-11 15:27:30 +08:00
Kaku Kuo 9abce2cf19 Bug 1301426 part 12 - test case 11; r=jwwang
Case: change src of an element with pending promises.
Expected result: reject all the pending promises.

MozReview-Commit-ID: 6iPl5iLOgKX

--HG--
extra : rebase_source : 0e662da2fd0e4db2364af2083d606599a98c4c60
extra : source : f12056fd4bc303ece7ba8ea7a4c305a03877e9cb
2016-10-11 15:27:19 +08:00
Kaku Kuo 3773d23913 Bug 1301426 part 11 - test case 10; r=jwwang
Case: invoke load() on an element with pending promises.
Expected result: reject all the pending promises.

MozReview-Commit-ID: Kg5FHAmhF4L

--HG--
extra : rebase_source : db6dc8b32e4c67963694e295a3a7ae536bb0a912
extra : source : 2576d87906f71cf44f00bb7e447af2393587a4f6
2016-10-11 15:27:08 +08:00
Kaku Kuo b8f70247ab Bug 1301426 part 10 - test case 9; r=jwwang
Case: invlke play() and the pause() on an element that deoen't have enough data to play.
Expected result: reject the promise.

MozReview-Commit-ID: 8x5dFhhbTVJ

--HG--
extra : rebase_source : 281b16f0cfd208ee6caf06cbc5f6e8dceaa4303b
extra : source : 34b7647611521957a069735b839822c13ec81296
2016-10-11 15:25:59 +08:00
Kaku Kuo 586ebec477 Bug 1301426 part 9 - test case 8; r=jwwang
Case: invlke play() and the pause() on an element that already has enough data to play.
Expected result: resolve the promise.

MozReview-Commit-ID: BdbYHf7moyH

--HG--
extra : rebase_source : c0fa86c888c936f9a19622c74e135e5aafdbc754
extra : source : de021cfd2633cb7c0bc307ce67fe80b54010bd93
2016-10-11 15:25:41 +08:00
Kaku Kuo ae6593c7e6 Bug 1301426 part 8 - test case 7; r=jwwang
Case: invoke play() on an element which had its source changed (to a invalid source) after suffering from an error.
Expected result: reject the promise.

MozReview-Commit-ID: 3EDf0TpTwYb

--HG--
extra : rebase_source : 51077022d99bbb53c6eb401c4f9492cf62cc34bd
extra : source : 5d6a3ff4c554448e5f60700a876598c70273a952
2016-10-11 15:25:30 +08:00
Kaku Kuo e714da8ce0 Bug 1301426 part 7 - test case 6; r=jwwang
Case: invoke play() on an element which had its source changed (to a valid source) after suffering from an error.
Expected result: resolve the promise.

MozReview-Commit-ID: 9ZxT7TRVR6v

--HG--
extra : rebase_source : 763203d44ce6322fc4123a980e97d90339ce0d49
extra : source : 747b49e8a4be3150383270cc01bb8c0e241f67b9
2016-10-11 15:25:18 +08:00
Kaku Kuo 30e3a090f9 Bug 1301426 part 6 - test case 5; r=jwwang
Case: invoke play() on an element with MEDIA_ERR_SRC_NOT_SUPPORTED has been set.
Expected result: reject the promise.

MozReview-Commit-ID: Bp4Ng6gKUa1

--HG--
extra : rebase_source : 8b9dc3480c021beef91922ef3d00f8f5465bb1dc
extra : source : b4a7b91df34da2fe8fe9eda5e3860f9dcd103733
2016-10-11 15:25:05 +08:00
Kaku Kuo 684c2d69ce Bug 1301426 part 5 - test case 4; r=jwwang
Case: invoke play() on an element with an unsupported content.
Expected result: reject the promis.e

MozReview-Commit-ID: 1zZc0PhBmAD

--HG--
extra : rebase_source : ece4f5f385b6eb0900a5f32c73921f61dfb4fa06
extra : source : 85f306eeec51c4b3505d6f9a94c2c5380a916cd3
2016-10-11 15:24:50 +08:00
Kaku Kuo 56c58bcbb6 Bug 1301426 part 4 - test case 3; r=jwwang
Case: invoke play() on an element that is already playing.
Expected result: resolve the promise.

MozReview-Commit-ID: 83IbJNF7Rzd

--HG--
extra : rebase_source : b94f474de5c85f79e4cd7661fd578a8e2580cd2c
extra : source : e95c39a6abe4e59e64270716669584eda6081cbb
2016-10-11 15:24:36 +08:00
Kaku Kuo ed83d02508 Bug 1301426 part 3 - test case 2; r=jwwang
Case: invoke play() on an element that has enough data
Expected result: resolve the promise

MozReview-Commit-ID: JAloJxN933Z

--HG--
extra : rebase_source : 26c85effe88faecaf95bef6254db2afeede76c30
extra : source : 0170fac6a144c1878a775366fe3e7cc59f09de61
2016-09-09 02:01:46 +08:00
Kaku Kuo 58664d3167 Bug 1301426 part 2 - test case 1; r=jwwang
Case: invoke play() on an element that doesn't have enough data
Expected result: resolve the promise

MozReview-Commit-ID: 7bUs8cy5Fkv

--HG--
extra : rebase_source : 02b18756f2c70f02ea4bb3c204b58cc6ede71a20
extra : source : dddcd63380f0f5c0cac5fe22e0af0ffcdef07a09
2016-09-09 02:00:41 +08:00
Kaku Kuo 8d9b83ffee Bug 1301426 part 1 - implement helper functions; r=jwwang
MozReview-Commit-ID: DL16hNeT8r2

--HG--
extra : rebase_source : 06d9980a4043101d30b12ed7e1af6aa457b0c35c
extra : source : d42e43716fa4bb7f5326e5e377bd0366b75c262f
2016-10-11 15:21:19 +08:00
bechen a10ef666dd Bug 1319486 - Add crashtest. r=jwwang
MozReview-Commit-ID: 92zBFHoL4g4
2016-12-01 14:01:20 +08:00
Kaku Kuo 786ed1db98 Bug 1319725 - disable the test_reactivate.html; r=jwwang
The test case itself does not really do what it claims.
Disable it now (for landing bug 1244768) and will rework it later.

MozReview-Commit-ID: H2sCX58eypr

--HG--
extra : rebase_source : 0a5165df23cd79e4a3605fa2c2dbfb27055468cf
2016-11-23 19:04:56 +08:00
JW Wang b89b9e675b Bug 1319357 - clean up media elements when media tests are done. r=jya
MozReview-Commit-ID: GHJAwxR50AG

--HG--
extra : rebase_source : bdb6d045fddf65d18779b056baa496dc1c71e756
extra : source : 691ffaaf98a3796c92bab0e58eb56d0212601acc
2016-11-22 17:02:08 +08:00
JW Wang 6ee4345dd8 Bug 1319356 - clean up media elements when tests are done. r=cpearce
MozReview-Commit-ID: CYJDwPJ5E2P

--HG--
extra : rebase_source : 47263f67046cdf6fd1194611c88fe6cda2332d6b
extra : intermediate-source : 957bad997b3b0fc292b66222226ada4ecdc43aef
extra : source : 216105eb9044ef77606b1577f815e354276ee651
2016-11-21 13:54:40 +08:00
Andrea Marchesini 2f974ccbce Bug 1318273 - Improve the use of SpecialPowers.pushPrefEnv() - part 1, r=qdot 2016-11-18 09:33:33 +01:00
Sebastian Hengst 7110a88674 Backed out changeset d43b778d95c6 (bug 1318273) for failing mochitest fetch/test_formdataparsing.html. r=backout on a CLOSED TREE 2016-11-17 20:58:38 +01:00
Andrea Marchesini cf2ad8072f Bug 1318273 - Improve the use of SpecialPowers.pushPrefEnv() - part 1, r=qdot 2016-11-17 19:36:01 +01:00
JW Wang 3f28193e81 Bug 1317570 - Add a mochitest to test 'ended' fires only once when seeking to the end. r=cpearce
MozReview-Commit-ID: KRm1shND6lL

--HG--
rename : dom/media/test/test_seek-13.html => dom/media/test/test_seek-14.html
extra : rebase_source : cba1fa17bf5e422e2b3b7466776c3af4bea66fbb
extra : intermediate-source : a210bbe13f32486bef8074f18f3a736156eb07b0
extra : source : 35579f0aaa8cab2f86bdb13ca1c5166afa577317
2016-11-15 10:41:42 +08:00
Henrik Skupin 9ac27955ff Bug 1313312 - Separate out Puppeteer code into a core and mix-in class. r=maja_zf
MozReview-Commit-ID: IERAJWGQc3e

--HG--
rename : testing/puppeteer/firefox/firefox_puppeteer/testcases/base.py => testing/puppeteer/firefox/firefox_puppeteer/mixins.py
extra : rebase_source : f73d13fee2e8f45320e1905aaadf14da7b4e6892
2016-11-07 20:41:11 +01:00
Gerald Squelart 94d7cd75dd Bug 1301226 - Handle odd WAV chunk lengths - r=cpearce
'fmt ' and 'LIST' chunks could theoretically (but unlikely) have an odd length,
in which case the following chunk will start at the next even offset.

Added test case.

MozReview-Commit-ID: DkpBTaUqnf8

--HG--
extra : rebase_source : 0d8cfbc0d2d0da1f3317f901ef44c4fb67968dae
2016-11-07 16:31:39 +11:00
Gerald Squelart 0b3dd92437 Bug 1301226 - Test 0xFFFFFFFF WAV data chunk length - r=cpearce
Test that a WAV file with 0xFFFFFFFF data chunk length does not overflow, by
playing it; If it did overflow, its duration would be 0, and therefore would
not play.

MozReview-Commit-ID: EiWLb5otSnh

--HG--
extra : rebase_source : 2a3fb908f69b7b2032dfbc9df88e5390c66133f0
2016-11-07 16:09:22 +11:00
Jean-Yves Avenard 058c390bec Bug 1315567: P4. Add mochitest. r=gerald
MozReview-Commit-ID: JtDJhQasdu7

--HG--
extra : rebase_source : 9ba6ac21ec06bc045311531c5f97e2040d322281
2016-11-07 11:43:47 +11:00
Sebastian Hengst 8ee9323cd0 Bug 1310297 - Remove test annotations using b2g, mulet or gonk: dom/media. r=RyanVM
MozReview-Commit-ID: JVsnpnBDeCC

--HG--
extra : rebase_source : 5a7ccee10b094808e3ee73de7a226306a9fd55fd
2016-11-05 11:29:16 +01:00
JW Wang 17b67ee7f4 Bug 1311872. Part 2 - remove the dormant test that doesn't work anymore. We will write new dormant tests in next bugs. r=cpearce,jya
MozReview-Commit-ID: 5w0rh2LcE5L

--HG--
extra : rebase_source : ddf085e16bdf93539fc82bc58948d6494b2d060b
extra : intermediate-source : b878ed8f33f09d24672234c7d094ec0af1f73229
extra : source : 84a3625e91347e54c70f584b715b171b5db61a50
2016-10-20 15:51:39 +08:00
Chris Pearce 50f2864875 Bug 1314445 - Fix test_eme_request_notifications to not fail on WinXP. r=bustage
MozReview-Commit-ID: 5zbySCZtI1b
2016-11-03 14:43:04 +13:00
Chris Pearce 824ce92dc8 Bug 1314445 - Update tests for CDM request notifications to reflect new behaviour. r=gerald
MozReview-Commit-ID: JgKMFHW2al3

--HG--
extra : rebase_source : 62c6da570c7f0b0216157f133137d0ae647ec0f7
2016-11-02 16:14:16 +13:00
Chris Pearce 41c0c8d360 Bug 1314445 - Remove tests for CDM versions specified in keysystem string. r=gerald
MozReview-Commit-ID: F12I1cmfvke

--HG--
extra : rebase_source : 11b2c67353b3fb9affbcd4de53aa5e9cdc9910a6
2016-11-02 16:13:45 +13:00
JW Wang f682200758 Bug 1198168 - add debugging logs. r=kaku
MozReview-Commit-ID: D35N9bNNOeK

--HG--
extra : rebase_source : 4da554e41c48e52f9f90e3c9d222d4a85130da87
2016-11-01 14:41:09 +08:00
Chris Pearce b691c3f403 Bug 1310879 - Remove EME persistent-license sessions. r=gerald
This removes the ability for ClearKey to instantiate persistent-license
sessions using the EME APIs.

MozReview-Commit-ID: FXj5YORxpas

--HG--
extra : source : b69b2435f1059a5c7b1dd26947ea500b381ec7f0
2016-10-18 15:42:02 +13:00
Chris Pearce 08bdd39606 Bug 1310879 - Check that only supported session types are instantiated. r=gerald
MozReview-Commit-ID: 6XkToIXzZL8

--HG--
extra : source : d1c0a7a2ff25005de82033081bee5eb10adea0c8
2016-10-28 11:43:26 +13:00
Chris Pearce 812726afd0 Bug 1308821 - Ensure ClearKey doesn't parse a keyids initdata format session type parameter. r=kikuo
The specification doesn't require there to be a 'type' member of
the keyids init data format.

MozReview-Commit-ID: 7mOm7KwyyuC

--HG--
extra : source : c9fb674f3cb8dff4fe8734e0426e67825878015d
2016-10-09 20:42:01 -07:00
Chia-hung Tai 489763535c Bug 1311231 - Fix test_mixed_principals.html in XP. r=jwwang
Can not play mp4 on XP. So add the canPlayType checking for the test failure.

MozReview-Commit-ID: KH70XsQkYYF

--HG--
extra : rebase_source : fc08ea1aad6094757dcc7f72662d0d214b4bdeb7
2016-10-19 17:55:18 +08:00
Gerald Squelart 116cef615e Bug 1311877 - VideoPlaybackQuality.totalVideoFrameCount is presented+dropped - r=jya
totalVideoFrameCount was previously incorrectly set to the number of demuxed
frames.
According to the current W3C specs [1], it should instead be the total number of
frames that have been presented, plus frames that have been discarded.

Also added a check that discarded<=total in mochitest.

[1] https://wicg.github.io/media-playback-quality/#concepts

MozReview-Commit-ID: Gnv1roM5n0A

--HG--
extra : rebase_source : 1f018612fbaf43867f5c92e59d62d718a3b08535
2016-10-21 12:01:59 +11:00
Carsten "Tomcat" Book 921f2dc51d Merge mozilla-central to mozilla-inbound
--HG--
extra : amend_source : 754a1f5236bea4ec4fcaac985945aa89f6c29769
2016-10-20 16:50:23 +02:00
Carsten "Tomcat" Book 2e7511ed5a merge mozilla-inbound to mozilla-central a=merge 2016-10-20 16:47:39 +02:00
Chia-hung Tai 6cbbd57bb8 Bug 567954 - Use onloadeddata to contorl the suspend and resume of MediaResource. r=jwwang.
MozReview-Commit-ID: CSHDXuEf5pD

--HG--
extra : rebase_source : 0fa06adf8dcf25e8403f4d82413684a7eb3332e1
2016-10-03 17:48:03 +08:00
Sebastian Hengst 52b641f9be Backed out changeset 2d160c261384 (bug 1310879) for failing browser-chrome test browser/components/contextualidentity/test/browser/browser_eme.js. r=backout 2016-10-19 11:26:08 +02:00
Chris Pearce 3e93e729a6 Bug 1310879 - Remove EME persistent-license sessions. r=kikuo
This removes the ability for ClearKey to instantiate persistent-license
sessions using the EME APIs.

MozReview-Commit-ID: KXyuRNMJKIZ

--HG--
extra : rebase_source : fd5c66f8929dfdb28ceb5cb82a75181a9168ca81
2016-10-18 15:42:02 +13:00
Paul Adenot 29d95603bc Bug 1291702 - Another crashtest. r=karlt
MozReview-Commit-ID: 80f2NGWRZ3V
2016-09-09 13:41:01 +02:00
Paul Adenot 9dafc913f5 Bug 1291702 - Crashtest. r=karlt
MozReview-Commit-ID: GJSulmayocn
2016-09-09 13:41:01 +02:00
JW Wang 2459912478 Bug 1302613 - add elements to the document so we can print debugging info when the test case times out. r=bechen
MozReview-Commit-ID: HQCfodjm99i

--HG--
extra : rebase_source : b2329ee5787ab09eeabde0722e6372c691180157
2016-10-17 18:01:00 +08:00
Ehsan Akhgari d5d66e16c9 Bug 1311214 - Remove b2g OMX encoder/decoder; r=cpearce 2016-10-19 17:44:31 -04:00
Sebastian Hengst 3c1524e5e0 Bug 1306137 - remove b2g camera code: Remove dom/camera/ and code which depends on it. r=aosmond,bkelly
MozReview-Commit-ID: 7gvZrDtmcZP

--HG--
extra : rebase_source : 31f06357fdc36566465668f55bf3fcc5402fe9e0
2016-10-04 20:16:28 +02:00
Carsten "Tomcat" Book b474cb6353 merge mozilla-inbound to mozilla-central a=merge 2016-10-14 11:59:12 +02:00
Ehsan Akhgari 9de6bbbaec Bug 1261019 - Part 3: Remove Navigator.mozApps and code depending on it; r=myk,jryans,fabrice,mcmanus,peterv 2016-10-13 13:18:41 -04:00
Carsten "Tomcat" Book 124ddbc375 Backed out changeset fe84473a739c (bug 567954) for failing mda tests due to own test
--HG--
extra : rebase_source : 2dff4cc1499b5016edb11f208262e57927ecfab7
2016-10-13 11:32:45 +02:00
Andreas Pehrson adb5ba763c Bug 1304950 - Reduce timeslice to avoid races with the source ending. r=jwwang
Media element capture pushes data to MSG ahead of currentTime which together
with the direct listeners that we use in MediaRecorder we end up finishing
the recording in less than the 250ms that this test uses as the recording
timeslice.

Lowering the timeslice here seems to fix this. I'm using 1 here since it's the
minimum valid number.

MozReview-Commit-ID: KAlRoHWHPSV

--HG--
extra : rebase_source : cc2af7829dca734b0411383a6b92dd0691533411
2016-10-12 16:02:56 +02:00
Andreas Pehrson 05686d2182 Bug 1304950 - Defer mozCaptureStream() until after "loadedmetadata". r=jwwang
Starting capture after tracks are known ensures that we can start getting data
immediately as we play() the element. Before there was a risk of missing some
initial data, which caused this intermittent.

MozReview-Commit-ID: FxaiiVtKaKD

--HG--
extra : rebase_source : 15eac09da8757fba81d52c66c22a4439ee956e84
2016-10-11 16:08:37 +02:00
Chia-hung Tai 2da209c936 Bug 567954 - Use onloadeddata to contorl the suspend and resume of MediaResource. r=jwwang.
MozReview-Commit-ID: CSHDXuEf5pD

--HG--
extra : rebase_source : e292d0bffd3ac1b107f5372e7526c59cfecd8220
2016-10-03 17:48:03 +08:00
Bryce Van Dyk 0b2ecfd134 Bug 1309035 - Addresses insufficient fix from Bug 1307016 by converting to unicode before ascii. r=maja_zf
Bug 1307016 attempted to address issues with output not being ascii and thus
being incompatible with terminals on test machines. However my changes in that
bug introduced two issues:
- They introduced a bug where field names were being read from an incorrect
  source.
- They attempted to construct a string internally then converted that string to
  ascii replacing non-ascii chars. This is an issue as in python 2 strings are
  implicitly ascii, so the initial conversion to a string would fail if the
  underlying object couldn't be represented as ascii.

Both of these issues are addressed here. The first by fixing the bad source in
the code, the second by converting to unicode for the intermediate
representation.

MozReview-Commit-ID: HC6Fd9TLRe2

--HG--
extra : rebase_source : bb7493b9074baa0273fb4110465f8bd13477f1d6
2016-10-11 10:02:16 +13:00
Jesse Ruderman 8fceb4880e crashtest for bug 1223670 r=karlt
--HG--
extra : transplant_source : %B3%E7%87%DE%A5%E3%94%20%C9K%10%B9%CA%2B%00%A9%60%28.%CF
2015-12-04 12:42:20 +13:00
Bryce Van Dyk 1d5b357b30 Bug 1307016 - Have puppeteer __str__ encode fields to ascii. r=maja_zf
At least some of the environments the tests are running in do not appear to play
nice with non-ascii characters. Some of the jenkins runs are currently unhappy
due to this. This patch sees that all fields are encoded as ascii with
non-compatible characters replaced.

MozReview-Commit-ID: 6qSCyUujMLE

--HG--
extra : rebase_source : bb19b261b10aeb9bb9a47a2d47fefc7604000430
2016-10-03 11:56:50 +13:00
JW Wang bb286ff881 Bug 1307055. Part 2 - remove unnecessary pref settings and unused functions. r=cpearce
MozReview-Commit-ID: IQHrWAwrMMZ

--HG--
extra : rebase_source : 04e5c65b386270e1231e6720f1635f19c0a58e24
2016-10-03 15:20:31 +08:00
bechen 8d4c4d713c Bug 1304948 - Part 3: Add testcase. r=rillian
MozReview-Commit-ID: DHT8B5ULA1i

--HG--
extra : rebase_source : e880209682d8d16d8f10c5c85f6fe2ca1e503999
2016-09-29 17:46:52 +08:00
Chris Pearce c5076e76b0 Bug 1307019 - Testcase for encrypted MP4 without PSSH and MDSM waiting-for-CDM. r=jya
Tests that a fragmented MP4 file without a PSSH, but with encrypted valid
tracks with valid TENC boxes, is able to load with EME. This is a test for
the code path added in bug 1300069.

We setup MSE before starting up EME, so that we exercise the "waiting for
cdm" step in the MediaDecoderStateMachine, which was regressed in bug 1300069.

MozReview-Commit-ID: BXgdzAikWoH

--HG--
extra : rebase_source : b03910c96c8f61622ce7bc9fb7b53adc209526a4
2016-10-03 16:35:27 +13:00
JW Wang 7f82f1a27f Bug 1307059 - add elements to the DOM tree so we can dump debugging info when the test times out. r=bechen
MozReview-Commit-ID: Dgv3vCeMEBX

--HG--
extra : rebase_source : 2dbe467d78452cadc882a00df46f830e6c477190
2016-10-03 16:01:27 +08:00
Carsten "Tomcat" Book 572e74ee99 merge mozilla-inbound to mozilla-central a=merge 2016-09-28 15:56:33 +02:00
Andrea Marchesini 7505d76cd1 Bug 1304910 - Adding a test about nsTemporaryFileInputStream and PSendStream, r=jdm
--HG--
rename : dom/media/test/test_mediarecorder_record_canvas_captureStream.html => dom/media/test/test_temporary_file_blob_video_plays.html
2016-09-27 16:39:47 +02:00
Henrik Skupin c19bea65a7 Bug 1305370 - Bump firefox-puppeteer 52.0.0. r=maja_zf
MozReview-Commit-ID: IdVUoenRYMh

--HG--
extra : rebase_source : f0ef6a7125144d012f2c8631b0ea0239c677f702
2016-09-26 15:35:59 +02:00
Iris Hsiao bea139e001 Merge mozilla-central to autoland 2016-09-26 19:14:57 +08:00
Iris Hsiao 767e1e9b11 merge mozilla-inbound to mozilla-central a=merge 2016-09-26 18:34:20 +08:00
JW Wang 7ed352f6b6 Bug 1305336. Part 5 - use manifestVideo() so pref changes can take effect as expected. r=pehrsons
MozReview-Commit-ID: 2YXn4jSfivh

--HG--
extra : rebase_source : af98c0e8291caaae41e1a4e4dcd7b1b3b3b5654a
2016-09-26 11:59:44 +08:00
JW Wang 7d431b82f1 Bug 1305336. Part 4 - create elements dynamically because pref changes only take effect for those elements that are created later. r=pehrsons
MozReview-Commit-ID: IvzSrnVQV5F

--HG--
extra : rebase_source : 2830517544272f47138ebfaa7595c5f3457c0dfe
2016-09-26 11:18:09 +08:00
JW Wang 2911035748 Bug 1305336. Part 3 - set prefs before running tests. r=pehrsons
MozReview-Commit-ID: 4nJ4xsR0kE2

--HG--
extra : rebase_source : 28e87ba11a471404434000c963515128bc259d5a
2016-09-26 10:58:58 +08:00
JW Wang 3c425238ca Bug 1305336. Part 2 - use 'once' handler to remove onPlayingEventFired. r=pehrsons
MozReview-Commit-ID: 9wosr7kOnJx

--HG--
extra : rebase_source : b7211282084d54a242f190daeae3a6754577f0d2
2016-09-26 10:54:27 +08:00
JW Wang 3870ec0b01 Bug 1305336. Part 1 - extract some code to a function. r=pehrsons
MozReview-Commit-ID: Lr4NeNPXIhc

--HG--
extra : rebase_source : 0618d02624607539ad245f17f7768ec05d05929e
2016-09-26 10:48:07 +08:00
bechen f9c8932bf5 Bug 882674 - Implement "pending text track change notification flag". r=rillian
MozReview-Commit-ID: G1L1ECWvNnD

--HG--
extra : rebase_source : da8c88e6d1e3cb49b2c7c03951d1dcd8bf94e0da
2016-09-21 16:01:22 +08:00
Bryce Van Dyk d76674b2e8 Bug 1304961 - Retrieve buffered ranges in VideoPuppeteer. r=maja_zf
Update VideoPuppeteer and make small changes in YoutubePuppeteer to support
retrieval of buffered ranges for wrapped video element. This will help diagnose
test failures, particularly stalls we're having at the moment. Because the
namedtuple storing state has all its fields logged the __str__ methods of the
puppeteers don't need to be updated, the new field will be logged automatically.

MozReview-Commit-ID: LYwXJfB71RE

--HG--
extra : rebase_source : 5d9100e33b030a56330ccaf7459b6e9206142907
2016-09-23 17:52:57 +12:00
Bryce Van Dyk 3b4bc2a136 Bug 1304961 - Rename variables storing played ranges to be more specific. r=maja_zf
The played ranges being retrieved in VideoPuppeteer and YoutubePuppeteer were
often referenced as some variation of 'time ranges'. This patch makes that more
specific and references the played ranges as variations of 'played ranges'. This
removes ambiguity if other time ranges are retrieved in future, such as the
buffered ranges.

MozReview-Commit-ID: CInjDCCIQkV

--HG--
extra : rebase_source : cdf5572b830ecc11b9319e23400746755fa8149c
2016-09-23 17:24:40 +12:00
Carsten "Tomcat" Book ce8c91d458 Merge mozilla-central to mozilla-inbound 2016-09-22 11:56:22 +02:00
Carsten "Tomcat" Book d25a5baeb8 merge mozilla-inbound to mozilla-central a=merge 2016-09-22 11:55:12 +02:00
JW Wang 504d6fa09c Bug 1304298. Part 4 - remove the call to waitTil(). r=kamidphish
We want to resume video-decoding as soon as possible so playback is less likely to reach the end before finishing all tests.

MozReview-Commit-ID: 4NrbejT8LgI

--HG--
extra : rebase_source : 5c3151a212a1a797cd3d71cfae5510e494af1041
2016-09-21 15:23:54 +08:00
JW Wang fce9ae316e Bug 1304298. Part 3 - reduce suspend-timeout to 100ms so playback is less likely to reach the end before finishing all tests. r=kamidphish
MozReview-Commit-ID: 2hxC8UGZfPe

--HG--
extra : rebase_source : a763d21c2bde5bfe84ce9195b4229339289d97eb
2016-09-21 15:20:14 +08:00
JW Wang 37be2ffa27 Bug 1304298. Part 2 - remove finished elements from the DOM tree. r=kamidphish
When a test case times out, it will dump debugging info for each media element in the tree.
We would like to remove the ones that pass the test to avoid noise.

MozReview-Commit-ID: HgyvUfpyCqA

--HG--
extra : rebase_source : 4a1187db14c13bdd976179ba3d2b25123c9acb78
2016-09-21 15:17:04 +08:00
JW Wang edcfbf1bee Bug 1304298. Part 1 - log |token| in testDelay() so we have a better idea which file fails the test. r=kamidphish
MozReview-Commit-ID: x1izpH93cQ

--HG--
extra : rebase_source : 9ddaba7aabf1018fc1dd60ecc33f0950dcd33be2
2016-09-21 15:13:05 +08:00
Chris Pearce 39789bfc59 Bug 1304250 - Implement MediaKeySession.onmessage. r=smaug
MozReview-Commit-ID: FDpvsoFwy6C

--HG--
extra : rebase_source : d569107d6c473d24800e2e4c97d6408ac81eb09b
2016-09-21 14:56:20 +12:00
Chris Pearce a509ea65bc Bug 1304249 - Implement MediaKeySession.onkeystatuseschange. r=smaug
MozReview-Commit-ID: 1LnDi1MmXi2

--HG--
extra : rebase_source : e12a4085ad2462f1157ab4ea0552a239cd7499dc
2016-09-21 14:31:15 +12:00
Chris Pearce d42821ee80 Bug 1304247 - Implement HTMLMediaElement.onwaitingforkeys. r=smaug
MozReview-Commit-ID: DhNV30BfksS

--HG--
extra : rebase_source : 5fab8f1b3333ff8607c0325907fbe7214234c001
2016-09-21 14:10:26 +12:00
Kilik Kuo cb76db051f Bug 1257116 - Shorten media files to make mochitest faster. r=cpearce
MozReview-Commit-ID: ArMrUBvPMct

--HG--
extra : rebase_source : 5d86c92c8cb3c6c4e3b7632b3d10f578c20fc0fa
2016-09-13 15:20:12 +08:00
Chris Pearce ee9ca0dd5e Bug 1289968 - [Part1] Ensure ClearKey doesn't assume keyIds can only be 16 bytes. r=cpearce
MozReview-Commit-ID: Hf2IQsAHa4r

--HG--
extra : transplant_source : %D1%2C%B2j%1C%F5%A7%A9%D8%0B%EEE%92%B1%DC1%A5A%BC%8B
2016-08-01 16:28:10 +12:00
Bryce Van Dyk dcc44df7e1 Bug 1300653 - Update youtube puppeteer to store snapshots of state to prevent racing. r=maja_zf
This is follow up work to the VideoPuppeteer changes that have it take snapshots
to prevent racing. For this work the motivations are the same: prevent racing by
querying a stable snapshot of video state, rather than making sequential JS
requests to the browser between which video state may change.

Much of the YouTubePuppeteer has been made internal, so the class can
encapsulate its snapshotting. The property methods have been rolled into the
snapshotted data named tuple to make it clear they're derived from snapshotted
data.

A number of broken parts of the code have been removed or reworked:
- Disabling autoplay was not working and has been removed. This is partially
  addressed by using embedded URLs (in another commit) -- embedded videos do not
  play next video automatically. However, there may be merit in reinstating a
  working version of this in future if possible - particularly for videos that
  can't be embedded, which we have some of in our tests.
- Ad skipping was not working. The getOption('ad', 'displaystate') JS call
  appears to always report an ad is not skippable even if it is. Code related to
  skipping ads has been removed for now, and ads are waited out. This may also
  be something worth revisiting if a working implementation is possible.

***
Review feedback: update YT puppeteer to use more concise calling conventions,
compatibility with changes to VideoPuppeteer.

MozReview-Commit-ID: CCxf9ItFYtl

--HG--
extra : rebase_source : 99aac08fd86d41e7fa3df9b00604dd583ca27bf8
2016-09-21 15:38:41 +12:00
Bryce Van Dyk 9746da4a07 Bug 1300653 - Update VideoPuppeteer to store state snapshots to prevent racing. r=maja_zf
The tests that use VideoPuppeteer often expect the state queried by the
puppeteer to be consistent if done closely in the code. However, this has not
been the case, as there can be significant lags in the data returning from
marionette. This means that if one line queries the current time of the
underlying video, and the very next line queries the same thing, there can be
significantly different results.

This causes issues with tests making multiple sequential checks on the
underlying video, and the state changing between checks. On test fails it means
that the information logged my be inconsistent with the state that resulted in
the test failing, as time passes between the fail check and the logging.

This patch attempts to address this by having the VideoPuppeteer store a
snapshot of state and examining that instead. This snap shot should be
internally consistent.

I've removed a large number of public members from the class, and moved a couple
of the testing functions into the class. The thinking here is that the new logic
complicates the internal state of the class, and I want to keep the interface
slim to hide that complexity.

***
Review feedback: Log interval, expected duration, stall wait time, and timeout
times in VideoPuppeteer string.
***
Review feedback: make video var script a class var instead of a staticmethod.
***
Review feedback: move _fetch_state_script to be a property on VideoPuppeteer.
***
Review feedback: simplify calling of _create_video_state_info with a dict.
Fix played docstring.
***
Review feedback: simplify _create_video_state_info using kwargs.

MozReview-Commit-ID: 6mN56bFMge0

--HG--
extra : rebase_source : a25a9a45c8dced9439360b9664b1d768100ed2be
2016-09-21 14:08:34 +12:00
Bryce Van Dyk 1342cbfe94 Bug 1305607 - Correct reading of baseURI from video element. r=maja_zf
Previous changes that I'd made broke the reporting of the baseURI on videos.
This changeset aims to fix those breakages, and also puts the baseURI on the
state snapshot.

MozReview-Commit-ID: 8YgPpHzoX1E

--HG--
extra : rebase_source : 28840d1e47e9f2909eb67bc376a3a85874427149
2016-09-27 15:35:57 +13:00
Ralph Giles ac2fb54670 Bug 1300805 - Remove media.webvtt.enabled pref. r=kinetik,smaug
This API has been deployed to release for some time. There isi
no longer value to being able to quickly disable it.

MozReview-Commit-ID: Jj6CyWzP93g

--HG--
extra : rebase_source : 2dc0547229b53865a4f7cfcf7ca417eb3dec0356
2016-09-15 14:10:17 -07:00
Jean-Yves Avenard 4387906eae Bug 1302632: P5. Update mochitests. r=gerald
The tests expected that the error code would be MEDIA_ERR_DECODE whenever we fail to open a video. However, MEDIA_ERR_DECODE is to be used only when "An error of some description occurred while decoding the media resource, after the resource was established to be usable."

All those files have errors in their metadata. Which makes the resource unusable to start with.

Similarly, networkState would be set to  NETWORK_NO_SOURCE if the metadata couldn't be read.

MozReview-Commit-ID: KXVJmD3ZQlT

--HG--
extra : rebase_source : 1ec3d7e764d832702e662f0b650363498e0b0761
2016-09-16 11:14:07 +10:00
Phil Ringnalda cd6041148f Backed out 5 changesets (bug 1302632) for forthcoming failures
Backed out changeset f2ced742d6aa (bug 1302632)
Backed out changeset 55e7962d4fc0 (bug 1302632)
Backed out changeset b20f7c887e6c (bug 1302632)
Backed out changeset 22772e4a9c72 (bug 1302632)
Backed out changeset 7d7558864a66 (bug 1302632)
2016-09-15 21:39:00 -07:00
Jean-Yves Avenard b3ae2c3e66 Bug 1302632: P5. Update mochitests. r=gerald
The tests expected that the error code would be MEDIA_ERR_DECODE whenever we fail to open a video. However, MEDIA_ERR_DECODE is to be used only when "An error of some description occurred while decoding the media resource, after the resource was established to be usable."

All those files have errors in their metadata. Which makes the resource unusable to start with.

Similarly, networkState would be set to  NETWORK_NO_SOURCE if the metadata couldn't be read.

MozReview-Commit-ID: KXVJmD3ZQlT

--HG--
extra : rebase_source : 0aa759ceff22f0c30e650593190a4d0e85292a07
2016-09-16 11:14:07 +10:00
Carsten "Tomcat" Book c737c8cee6 Merge mozilla-central to autoland 2016-09-13 13:09:21 +02:00
bechen b4b74f3e7d Bug 1294833 - Seperate the three track event handlers for debugging. r=jwwang
MozReview-Commit-ID: By12tozP1eb

--HG--
extra : transplant_source : %17%D9%F2%04%F7%1F%01%DE%23%2B%02c%1DE.1%F1%0E%2B%10
2016-09-12 14:44:22 +08:00
Jean-Yves Avenard 670f93312d Bug 1299072: P16. Add mochitest. r=gerald
MozReview-Commit-ID: FRb74jIAyLN

--HG--
extra : rebase_source : 70004e5ae9da8ac7fc8957a2eb3c6600c60a19d7
2016-09-13 11:15:57 +10:00
Chris Pearce c34ab00fb4 Bug 1274498 - Refuse to play H.264 files which have one or more dimensions less than 48 pixels. r=jya
We've had large numbers of shutdown hangs with the Windows H.264 decoder stuck
calling IMFTransform::ProcessOutput(), blocking shutdown. I can reproduce this
with videos with dimensions less than 32 pixels.

Chrome also encountered this with the WMF decoder:
https://bugs.chromium.org/p/chromium/issues/detail?id=373288

The WMF H.264 Decoder is documented to have a minimum resolution of 48x48 pixels.

So this patch causes us to reject H.264 files with either width or height less
than 48 pixels.

I have been able to play files down to 34x34 pixels on Windows 10, but it seems
safest to just follow the what's documented in MSDN, and reject files that are
smaller than the documented minimum.

MozReview-Commit-ID: 5peP6UGnAaB

--HG--
extra : rebase_source : 6e29812642bc3f8ca0f5b39b36064a6d50e09ea7
2016-09-07 14:16:29 +12:00
Bryce Van Dyk 9340a1c2d5 Bug 1300442 - Housekeeping and QoL changes: code style, extra logging on VP. r=maja_zf
- Use format() instead of old style formatting (%s, etc).
- Remove unneeded positional args on format strings.
- Break some long lines for pep8 conformance.
- Use brackets instead of \ to continue long lines.
- Log interval on video puppeteer.
- Remove an unneeded media source check. We have explicit media source checks
in tests, and the media source prefix has changed, rendering the check broken.

MozReview-Commit-ID: 4FPVoOD0P5B

--HG--
extra : rebase_source : 3bfdc4a5aee5c419e4ccacc923ec539cbaa1d14f
2016-09-05 11:02:07 +12:00
Bryce Van Dyk 5c7d75495a Bug 1299756 - VideoPuppeteer: Use played ranges in determining time remaining. Relax playback done check. r=maja_zf
The VideoPuppeteer now uses played ranges where possible to calculate the
remaining time. It will also use the played ranges to determine the expected
duration where possible. This is more accurate than using the time when the
tests first poll the video. The first poll time was previously self._start_time,
but I've renamed this to self._first_seen_time, to reduce ambiguity -- the video
may have started playing before this time.

The playback_done function has had it's remaining time check relaxed. Previously
it was possible to skip over the window where a video would be considered
complete, that window is now expanded so that if the start threshold is passed
the video is considered played.

A concrete example: the tests could play a 90 second video, but the duration of
the test is set to 60 so only part of the video need be played back before the
test completes. If a 1 second interval was used in the tests there would be a
window between 59 to 61 seconds during which if the video were polled it would
be considered complete. However, due to latency polling may not take place in
this window, leading to racy fails. Now the tests will consider any point beyond
59 seconds to be complete.

MozReview-Commit-ID: J6DpqCbZxUg

--HG--
extra : rebase_source : 7990e4eee0bce30718b875f652c7148110cd4c3f
2016-09-01 14:51:19 +12:00
Bryce Van Dyk f3afe526e9 Bug 1299756 - Update VideoPuppeteer __str__ to output played ranges. r=maja_zf
This is a quality of life change. Since VideoPuppeteer uses, and since I plan on
using the played ranges of a video element more, it is useful to output them as
part of the str representation.

MozReview-Commit-ID: LwVPfVtFF1v

--HG--
extra : rebase_source : 1ebe4b7a7176a15f7e9300dee84103a8f6b86708
2016-09-01 10:50:05 +12:00
Bryce Van Dyk ae1691c635 Bug 1213731 - Remove unused Youtube URLs, use embedded URLs where possible. r=maja_zf
Many of the youtube URLs were not being used in tests. Many were are/also dead.
Furthermore, non-embedded links are causing issues due to the next video auto
play feature defaulting to on in youtube.

This is a quick once over to remove unused links, prune some of the dead, and
rewrite those that can be embedded to embedded URLs. In future I would like to
see the embedded links and non embedded separated into their own files. However,
theses changes are a halfway house that will not break compatibility downstream.

MozReview-Commit-ID: 4aPMNjD3LC4

--HG--
rename : dom/media/test/external/external_media_tests/urls/youtube/long3-crashes-720.ini => dom/media/test/external/external_media_tests/urls/youtube/long2-crashes-720.ini
rename : dom/media/test/external/external_media_tests/urls/youtube/long4-crashes-900.ini => dom/media/test/external/external_media_tests/urls/youtube/long3-crashes-900.ini
rename : dom/media/test/external/external_media_tests/urls/youtube/short0-10.ini => dom/media/test/external/external_media_tests/urls/youtube/short1-10.ini
rename : dom/media/test/external/external_media_tests/urls/youtube/short3-crashes-15.ini => dom/media/test/external/external_media_tests/urls/youtube/short2-crashes-15.ini
extra : rebase_source : a5abcc8d7b1f1f1e3e2b6303f91b6183f4e4d9ee
2016-08-30 18:36:16 +12:00
Bryce Van Dyk ab7cc0932e Bug 1213731 - Rework Youtube puppeteer to work with both youtube and embedded youtube. r=maja_zf
Rework the Youtube puppeteer to look up player and video element based on class
names, instead of ID. This means that the tests can work with embedded players.
This has the benefit that we can use youtube embedded links
(youtube.com/embedded/<videoId>), which do not suffer from auto play related
issues (auto play jumping to another video).

MozReview-Commit-ID: 9UFyL7di6gH

--HG--
extra : rebase_source : 69301bfa2b7ea9fd729742ae670ecb6e8209c4f9
2016-08-30 16:25:01 +12:00
ctai 310fb4ce18 Bug 894922 - Enable test case on windows. r=jwwang.
MozReview-Commit-ID: CaKry95yiPY

--HG--
extra : rebase_source : 8b114be0c54f7d21d7d84c5600cdbfbcfa0fcf54
2016-08-29 14:36:14 +08:00
Dan Glastonbury 0f59ea17ee Bug 1295844 - Add webm testing files to video decode suspend tests. r=gerald
Test files transcoded from gizmo.mp4 using:
ffmpeg -i gizmo.mp4 -vcodec vp9 -acodec opus gizmo.webm
ffmpeg -i gizmo.webm -vcodec copy -an gizmo-noaudio.webm

MozReview-Commit-ID: 4OB8G9NtS7A

--HG--
extra : rebase_source : e43b586371fae927d0e997064169e2e56de6b476
2016-08-17 13:04:35 +10:00
Chia-hung Tai 80a7e0d9a0 Bug 1292335 - Call mozCaptureStreamUntilEnded in loadedmetadata. r=pehrsons.
MozReview-Commit-ID: 5S3jR9V23Yn

--HG--
extra : rebase_source : 65fa7e3f76318d1149a9700fae96a55a9a395d31
2016-08-22 11:01:27 +08:00
Jean-Yves Avenard 551e91fa7d Bug 1195723: [flac] P15. Add metadata mochitest. r=kamidphish
MozReview-Commit-ID: vVAA2Gnls8

--HG--
extra : rebase_source : afea7fc313d6178fd44154202c5fcb94ad4ab1e3
2016-08-18 16:34:56 +10:00
Jean-Yves Avenard 6c04460e8c Bug 1195723: [flac] P13. Add mochitest files. r=kamidphish
MozReview-Commit-ID: 34FlM9HcTDo

--HG--
extra : rebase_source : 67ecb3f56f51be797f68cb1b1799d721854b1271
2016-08-18 15:30:52 +10:00
Dan Glastonbury 7e511c5952 Bug 1294358 - P4: Shrink video size. r=jya
Make the test videos smaller so they are visible in the mochitest
iframe.

--HG--
extra : rebase_source : f3b04136115b9cbd80eee180851ae15f2affe6f6
2016-08-22 15:30:05 +10:00
Dan Glastonbury 7650e88a66 Bug 1294358 - P3: Added test video with no audio. r=jya
--HG--
extra : rebase_source : 13de5edaf71a3ec19a5f5d697cc93683084003a5
2016-08-22 17:16:10 +10:00
dglastonbury@mozilla.com c25529b63f Bug 1294358 - P2: Add test for 'ended' event firing for suspended video. r=jwwang
--HG--
extra : rebase_source : c1d112ddb0c025e246629ab40d3ed0cca490e388
2016-08-11 09:57:52 +00:00
Dan Glastonbury 52d42c9734 Bug 1294358 - P1: Change test files to specify mime type. r=jwwang,jya
Change test files to specify the mime type of the file. This is checked
by media test manager so that changes in mochitest.ini are not needed.

MozReview-Commit-ID: 4hFQmRknBOY

--HG--
extra : rebase_source : b76a8dfe071dec320a7ebef8fc071e671278c1fa
2016-08-22 17:19:57 +10:00
Bryce Van Dyk c3673885ce Bug 1145011 - Add test for waitingforkey. r=jya
MozReview-Commit-ID: LKlDd4wkRSE

--HG--
extra : rebase_source : e7089e48d90739470686868541c9e8bfd6789dc0
2016-08-22 08:52:45 +12:00
Wes Kocher 24cb21d4f6 Backed out 15 changesets (bug 1195723) for various media test failures/unexpected-passes a=backout
Backed out changeset 2a3b10281c9c (bug 1195723)
Backed out changeset c3775a6225d8 (bug 1195723)
Backed out changeset ba0aeb71c672 (bug 1195723)
Backed out changeset 894061e6037e (bug 1195723)
Backed out changeset 4637f8be98bb (bug 1195723)
Backed out changeset c2664064fa55 (bug 1195723)
Backed out changeset 39908ea4c390 (bug 1195723)
Backed out changeset 3fcb5682049a (bug 1195723)
Backed out changeset 867d6507a381 (bug 1195723)
Backed out changeset c938ad9dd11c (bug 1195723)
Backed out changeset 7bdb9540b60f (bug 1195723)
Backed out changeset a4f7a73c04fa (bug 1195723)
Backed out changeset 7f86beff4263 (bug 1195723)
Backed out changeset efb6bcf743e7 (bug 1195723)
Backed out changeset 04eceefa54c7 (bug 1195723)
2016-08-22 10:07:25 -07:00
clui 7af742f74e Bug 1287594 - Allow usage of marionette harness options through mach. r=whimboo
MozReview-Commit-ID: CJwo4RsCnVg

--HG--
extra : rebase_source : bbeb924627625e43878a9af26a1d6e2f7cb6d511
2016-08-19 16:35:19 -07:00
Jean-Yves Avenard 2c74818e1f Bug 1195723: [flac] P15. Add metadata mochitest. r=kamidphish
MozReview-Commit-ID: vVAA2Gnls8

--HG--
extra : rebase_source : 842fa2a1e3f0243e3ee4ffc6631fbde46dc6f164
2016-08-18 16:34:56 +10:00