Bug 1332954 - Correct spelling of HTMLMediaElement.error.message in test_decode_error.html. r=jwwang
authorChris Pearce <cpearce@mozilla.com>
Mon, 23 Jan 2017 11:07:27 +1300
changeset 377867 ad8896084074234320bd2656ab782410a0f8120d
parent 377866 3856294790fe59d870d518a63643cdd4f92dd878
child 377868 de759b957d75c0c681c0d02c388e9b7b1f4da63e
push id1419
push userjlund@mozilla.com
push dateMon, 10 Apr 2017 20:44:07 +0000
treeherdermozilla-release@5e6801b73ef6 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersjwwang
bugs1332954
milestone53.0a1
first release with
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
Bug 1332954 - Correct spelling of HTMLMediaElement.error.message in test_decode_error.html. r=jwwang MozReview-Commit-ID: 9DzLWTO8RP4
dom/media/test/test_decode_error.html
--- a/dom/media/test/test_decode_error.html
+++ b/dom/media/test/test_decode_error.html
@@ -26,17 +26,17 @@ function startTest(test, token) {
     is(event.type, "error", "Expected event of type 'error'");
     ok(el.error, "Element 'error' attr expected to have a value");
     ok(el.error instanceof MediaError, "Element 'error' attr expected to be MediaError");
     if (v.readyState == v.HAVE_NOTHING) {
       is(el.error.code, MediaError.MEDIA_ERR_SRC_NOT_SUPPORTED, "Expected media not supported error");
     } else {
       is(el.error.code, MediaError.MEDIA_ERR_DECODE, "Expected a decode error");
     }
-    ok(typeof el.error.message === 'string' || el.error.essage instanceof String, "Element 'message' attr expected to be a string");
+    ok(typeof el.error.message === 'string' || el.error.message instanceof String, "Element 'message' attr expected to be a string");
     ok(el.error.message.length > 0, "Element 'message' attr has content");
     el._sawError = true;
     manager.finished(token);
   });
 
   v.addEventListener("loadeddata", function () {
     ok(false, "Unexpected loadeddata event");
     manager.finished(token);