Changeset 173520 in webkit
- Timestamp:
- Sep 11, 2014, 11:24:17 AM (12 years ago)
- Location:
- trunk
- Files:
-
- 5 edited
-
LayoutTests/ChangeLog (modified) (1 diff)
-
LayoutTests/media/encrypted-media/encrypted-media-v2-syntax-expected.txt (modified) (1 diff)
-
LayoutTests/media/encrypted-media/encrypted-media-v2-syntax.html (modified) (1 diff)
-
Source/WebCore/ChangeLog (modified) (1 diff)
-
Source/WebCore/Modules/encryptedmedia/MediaKeys.cpp (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/LayoutTests/ChangeLog
r173519 r173520 1 2014-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 1 13 2014-09-11 Jer Noble <jer.noble@apple.com> 2 14 -
trunk/LayoutTests/media/encrypted-media/encrypted-media-v2-syntax-expected.txt
r153867 r173520 9 9 EXPECTED (typeof mediaKeys.createSession == 'function') OK 10 10 TEST(mediaKeys.createSession("", new Uint8Array(1))) THROWS(DOMException.INVALID_ACCESS_ERR) OK 11 TEST(mediaKeys.createSession("unsupported/type")) THROWS(DOMException.NOT_SUPPORTED_ERR) OK 11 TEST(mediaKeys.createSession("unsupported/type")) THROWS(DOMException.INVALID_ACCESS_ERR) OK 12 TEST(mediaKeys.createSession("unsupported/type", new Uint8Array(1))) THROWS(DOMException.NOT_SUPPORTED_ERR) OK 12 13 13 14 Test WebKitMediaKeySession. -
trunk/LayoutTests/media/encrypted-media/encrypted-media-v2-syntax.html
r153867 r173520 33 33 testExpected('typeof mediaKeys.createSession', 'function'); 34 34 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"); 36 37 consoleWrite(""); 37 38 -
trunk/Source/WebCore/ChangeLog
r173516 r173520 1 2014-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 1 13 2014-09-11 Youenn Fablet <youenn.fablet@crf.canon.fr> 2 14 -
trunk/Source/WebCore/Modules/encryptedmedia/MediaKeys.cpp
r173197 r173520 86 86 PassRefPtr<MediaKeySession> MediaKeys::createSession(ScriptExecutionContext* context, const String& type, Uint8Array* initData, ExceptionCode& ec) 87 87 { 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>: 89 89 // The createSession(type, initData) method must run the following steps: 90 90 // Note: The contents of initData are container-specific Initialization Data.
Note:
See TracChangeset
for help on using the changeset viewer.