⚠ Archived content — this site is no longer maintained.   Current WebKit documentation is at docs.webkit.org.

Changeset 173520 in webkit


Ignore:
Timestamp:
Sep 11, 2014, 11:24:17 AM (12 years ago)
Author:
jer.noble@apple.com
Message:

[EME] REGRESSION(??): test media/encrypted-media/encrypted-media-v2-syntax.html is failing
​https://bugs.webkit.org/show_bug.cgi?id=136723

Source/WebCore:

Reviewed by Eric Carlson.

Update a comment to point to the implemented Working Draft 18 Feburary 2014 version of the spec.

  • Modules/encryptedmedia/MediaKeys.cpp:

(WebCore::MediaKeys::createSession):

LayoutTests:

Update the test to match the implemented Working Draft 18 Feburary 2014 version of the spec.

Reviewed by Eric Carlson.

  • media/encrypted-media/encrypted-media-v2-syntax-expected.txt:
  • media/encrypted-media/encrypted-media-v2-syntax.html:
Location:
trunk
Files:
5 edited

Legend:

Unmodified
Added
Removed
  • trunk/LayoutTests/ChangeLog

    r173519 r173520  
     12014-09-11  Jer Noble  <jer.noble@apple.com>
     2
     3        [EME] REGRESSION(??): test media/encrypted-media/encrypted-media-v2-syntax.html is failing
     4        https://bugs.webkit.org/show_bug.cgi?id=136723
     5
     6        Update the test to match the implemented Working Draft 18 Feburary 2014 version of the spec.
     7
     8        Reviewed by Eric Carlson.
     9
     10        * media/encrypted-media/encrypted-media-v2-syntax-expected.txt:
     11        * media/encrypted-media/encrypted-media-v2-syntax.html:
     12
    1132014-09-11  Jer Noble  <jer.noble@apple.com>
    214
  • trunk/LayoutTests/media/encrypted-media/encrypted-media-v2-syntax-expected.txt

    r153867 r173520  
    99EXPECTED (typeof mediaKeys.createSession == 'function') OK
    1010TEST(mediaKeys.createSession("", new Uint8Array(1))) THROWS(DOMException.INVALID_ACCESS_ERR) OK
    11 TEST(mediaKeys.createSession("unsupported/type")) THROWS(DOMException.NOT_SUPPORTED_ERR) OK
     11TEST(mediaKeys.createSession("unsupported/type")) THROWS(DOMException.INVALID_ACCESS_ERR) OK
     12TEST(mediaKeys.createSession("unsupported/type", new Uint8Array(1))) THROWS(DOMException.NOT_SUPPORTED_ERR) OK
    1213
    1314Test WebKitMediaKeySession.
  • trunk/LayoutTests/media/encrypted-media/encrypted-media-v2-syntax.html

    r153867 r173520  
    3333                testExpected('typeof mediaKeys.createSession', 'function');
    3434                testDOMException('mediaKeys.createSession("", new Uint8Array(1))', "DOMException.INVALID_ACCESS_ERR");
    35                 testDOMException('mediaKeys.createSession("unsupported/type")', "DOMException.NOT_SUPPORTED_ERR");
     35                testDOMException('mediaKeys.createSession("unsupported/type")', "DOMException.INVALID_ACCESS_ERR");
     36                testDOMException('mediaKeys.createSession("unsupported/type", new Uint8Array(1))', "DOMException.NOT_SUPPORTED_ERR");
    3637                consoleWrite("");
    3738
  • trunk/Source/WebCore/ChangeLog

    r173516 r173520  
     12014-09-11  Jer Noble  <jer.noble@apple.com>
     2
     3        [EME] REGRESSION(??): test media/encrypted-media/encrypted-media-v2-syntax.html is failing
     4        https://bugs.webkit.org/show_bug.cgi?id=136723
     5
     6        Reviewed by Eric Carlson.
     7
     8        Update a comment to point to the implemented Working Draft 18 Feburary 2014 version of the spec.
     9
     10        * Modules/encryptedmedia/MediaKeys.cpp:
     11        (WebCore::MediaKeys::createSession):
     12
    1132014-09-11  Youenn Fablet  <youenn.fablet@crf.canon.fr>
    214
  • trunk/Source/WebCore/Modules/encryptedmedia/MediaKeys.cpp

    r173197 r173520  
    8686PassRefPtr<MediaKeySession> MediaKeys::createSession(ScriptExecutionContext* context, const String& type, Uint8Array* initData, ExceptionCode& ec)
    8787{
    88     // From <http://dvcs.w3.org/hg/html-media/raw-file/tip/encrypted-media/encrypted-media.html#dom-createsession>:
     88    // From <http://www.w3.org/TR/2014/WD-encrypted-media-20140218/#dom-createsession>:
    8989    // The createSession(type, initData) method must run the following steps:
    9090    // Note: The contents of initData are container-specific Initialization Data.
Note: See TracChangeset for help on using the changeset viewer.