Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(55)

Unified Diff: third_party/WebKit/LayoutTests/fast/events/constructors/media-key-event-constructor-expected.txt

Issue 1712903002: Remove prefixed EME. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix isRenewalMessage() in browser tests. Created 4 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: third_party/WebKit/LayoutTests/fast/events/constructors/media-key-event-constructor-expected.txt
diff --git a/third_party/WebKit/LayoutTests/fast/events/constructors/media-key-event-constructor-expected.txt b/third_party/WebKit/LayoutTests/fast/events/constructors/media-key-event-constructor-expected.txt
deleted file mode 100644
index 0dfe7c295f755fc8c50565a7f3b0efc97a0f00a4..0000000000000000000000000000000000000000
--- a/third_party/WebKit/LayoutTests/fast/events/constructors/media-key-event-constructor-expected.txt
+++ /dev/null
@@ -1,102 +0,0 @@
-This tests the constructor for the MediaKeyEvent DOM class.
-
-On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
-
-
-
-*** No initializer passed ***
-PASS new MediaKeyEvent('MediaKeyEvent').bubbles is false
-PASS new MediaKeyEvent('MediaKeyEvent').cancelable is false
-PASS new MediaKeyEvent('MediaKeyEvent').keySystem is ""
-PASS new MediaKeyEvent('MediaKeyEvent').sessionId is ""
-PASS new MediaKeyEvent('MediaKeyEvent').initData is null
-PASS new MediaKeyEvent('MediaKeyEvent').message is null
-PASS new MediaKeyEvent('MediaKeyEvent').defaultURL is ""
-PASS new MediaKeyEvent('MediaKeyEvent').errorCode is null
-PASS new MediaKeyEvent('MediaKeyEvent').systemCode is 0
-
-*** Bubbles and cancelable true, other members are missing ***
-PASS new MediaKeyEvent('MediaKeyEvent', { bubbles: true, cancelable: true }).bubbles is true
-PASS new MediaKeyEvent('MediaKeyEvent', { bubbles: true, cancelable: true }).cancelable is true
-PASS new MediaKeyEvent('MediaKeyEvent', { bubbles: true, cancelable: true }).keySystem is ""
-PASS new MediaKeyEvent('MediaKeyEvent', { bubbles: true, cancelable: true }).sessionId is ""
-PASS new MediaKeyEvent('MediaKeyEvent', { bubbles: true, cancelable: true }).initData is null
-PASS new MediaKeyEvent('MediaKeyEvent', { bubbles: true, cancelable: true }).message is null
-PASS new MediaKeyEvent('MediaKeyEvent', { bubbles: true, cancelable: true }).defaultURL is ""
-PASS new MediaKeyEvent('MediaKeyEvent', { bubbles: true, cancelable: true }).errorCode is null
-PASS new MediaKeyEvent('MediaKeyEvent', { bubbles: true, cancelable: true }).systemCode is 0
-
-*** Bubbles and cancelable true, invalid other members ***
-PASS new MediaKeyEvent('MediaKeyEvent', { bubbles: true, cancelable: true, keySystem: undefined, sessionId: undefined, initData: Uint8Array, message: Uint8Array, defaultURL: undefined, errorCode: MediaKeyError, systemCode: undefined }).bubbles threw exception TypeError: Failed to construct 'MediaKeyEvent': member errorCode is not of type MediaKeyError..
-PASS new MediaKeyEvent('MediaKeyEvent', { bubbles: true, cancelable: true, keySystem: undefined, sessionId: undefined, initData: Uint8Array, message: Uint8Array, defaultURL: undefined, errorCode: MediaKeyError, systemCode: undefined }).cancelable threw exception TypeError: Failed to construct 'MediaKeyEvent': member errorCode is not of type MediaKeyError..
-PASS new MediaKeyEvent('MediaKeyEvent', { bubbles: true, cancelable: true, keySystem: undefined, sessionId: undefined, initData: Uint8Array, message: Uint8Array, defaultURL: undefined, errorCode: MediaKeyError, systemCode: undefined }).keySystem threw exception TypeError: Failed to construct 'MediaKeyEvent': member errorCode is not of type MediaKeyError..
-PASS new MediaKeyEvent('MediaKeyEvent', { bubbles: true, cancelable: true, keySystem: undefined, sessionId: undefined, initData: Uint8Array, message: Uint8Array, defaultURL: undefined, errorCode: MediaKeyError, systemCode: undefined }).sessionId threw exception TypeError: Failed to construct 'MediaKeyEvent': member errorCode is not of type MediaKeyError..
-PASS new MediaKeyEvent('MediaKeyEvent', { bubbles: true, cancelable: true, keySystem: undefined, sessionId: undefined, initData: Uint8Array, message: Uint8Array, defaultURL: undefined, errorCode: MediaKeyError, systemCode: undefined }).initData threw exception TypeError: Failed to construct 'MediaKeyEvent': member errorCode is not of type MediaKeyError..
-PASS new MediaKeyEvent('MediaKeyEvent', { bubbles: true, cancelable: true, keySystem: undefined, sessionId: undefined, initData: Uint8Array, message: Uint8Array, defaultURL: undefined, errorCode: MediaKeyError, systemCode: undefined }).message threw exception TypeError: Failed to construct 'MediaKeyEvent': member errorCode is not of type MediaKeyError..
-PASS new MediaKeyEvent('MediaKeyEvent', { bubbles: true, cancelable: true, keySystem: undefined, sessionId: undefined, initData: Uint8Array, message: Uint8Array, defaultURL: undefined, errorCode: MediaKeyError, systemCode: undefined }).defaultURL threw exception TypeError: Failed to construct 'MediaKeyEvent': member errorCode is not of type MediaKeyError..
-PASS new MediaKeyEvent('MediaKeyEvent', { bubbles: true, cancelable: true, keySystem: undefined, sessionId: undefined, initData: Uint8Array, message: Uint8Array, defaultURL: undefined, errorCode: MediaKeyError, systemCode: undefined }).errorCode threw exception TypeError: Failed to construct 'MediaKeyEvent': member errorCode is not of type MediaKeyError..
-PASS new MediaKeyEvent('MediaKeyEvent', { bubbles: true, cancelable: true, keySystem: undefined, sessionId: undefined, initData: Uint8Array, message: Uint8Array, defaultURL: undefined, errorCode: MediaKeyError, systemCode: undefined }).systemCode threw exception TypeError: Failed to construct 'MediaKeyEvent': member errorCode is not of type MediaKeyError..
-
-*** Initialize 'keySystem' with a invalid values ***
-PASS new MediaKeyEvent('MediaKeyEvent', { keySystem: emptyObject }).keySystem is "[object Object]"
-PASS new MediaKeyEvent('MediaKeyEvent', { keySystem: document }).keySystem is "[object HTMLDocument]"
-
-*** Initialize 'sessionId' with a invalid values ***
-PASS new MediaKeyEvent('MediaKeyEvent', { sessionId: emptyObject }).sessionId is "[object Object]"
-PASS new MediaKeyEvent('MediaKeyEvent', { sessionId: document }).sessionId is "[object HTMLDocument]"
-
-*** Initialize 'initData' with a invalid values ***
-PASS new MediaKeyEvent('MediaKeyEvent', { initData: 10 }).initData threw exception TypeError: Failed to construct 'MediaKeyEvent': member initData is not of type Uint8Array..
-PASS new MediaKeyEvent('MediaKeyEvent', { initData: 'string' }).initData threw exception TypeError: Failed to construct 'MediaKeyEvent': member initData is not of type Uint8Array..
-PASS new MediaKeyEvent('MediaKeyEvent', { initData: emptyObject }).initData threw exception TypeError: Failed to construct 'MediaKeyEvent': member initData is not of type Uint8Array..
-PASS new MediaKeyEvent('MediaKeyEvent', { initData: document }).initData threw exception TypeError: Failed to construct 'MediaKeyEvent': member initData is not of type Uint8Array..
-
-*** Initialize 'message' with a invalid values ***
-PASS new MediaKeyEvent('MediaKeyEvent', { message: 10 }).message threw exception TypeError: Failed to construct 'MediaKeyEvent': member message is not of type Uint8Array..
-PASS new MediaKeyEvent('MediaKeyEvent', { message: 'string' }).message threw exception TypeError: Failed to construct 'MediaKeyEvent': member message is not of type Uint8Array..
-PASS new MediaKeyEvent('MediaKeyEvent', { message: emptyObject }).message threw exception TypeError: Failed to construct 'MediaKeyEvent': member message is not of type Uint8Array..
-PASS new MediaKeyEvent('MediaKeyEvent', { message: document }).message threw exception TypeError: Failed to construct 'MediaKeyEvent': member message is not of type Uint8Array..
-
-*** Initialize 'defaultURL' with a invalid values ***
-PASS new MediaKeyEvent('MediaKeyEvent', { defaultURL: emptyObject }).defaultURL is "[object Object]"
-PASS new MediaKeyEvent('MediaKeyEvent', { defaultURL: document }).defaultURL is "[object HTMLDocument]"
-
-*** Initialize 'errorCode' with a invalid values ***
-PASS new MediaKeyEvent('MediaKeyEvent', { errorCode: 10 }).errorCode threw exception TypeError: Failed to construct 'MediaKeyEvent': member errorCode is not of type MediaKeyError..
-PASS new MediaKeyEvent('MediaKeyEvent', { errorCode: 'string' }).errorCode threw exception TypeError: Failed to construct 'MediaKeyEvent': member errorCode is not of type MediaKeyError..
-PASS new MediaKeyEvent('MediaKeyEvent', { errorCode: emptyObject }).errorCode threw exception TypeError: Failed to construct 'MediaKeyEvent': member errorCode is not of type MediaKeyError..
-PASS new MediaKeyEvent('MediaKeyEvent', { errorCode: document }).errorCode threw exception TypeError: Failed to construct 'MediaKeyEvent': member errorCode is not of type MediaKeyError..
-
-*** Initialize 'systemCode' with a invalid values ***
-PASS new MediaKeyEvent('MediaKeyEvent', { systemCode: 'string' }).systemCode is 0
-PASS new MediaKeyEvent('MediaKeyEvent', { systemCode: emptyObject }).systemCode is 0
-PASS new MediaKeyEvent('MediaKeyEvent', { systemCode: document }).systemCode is 0
-
-*** Bubbles and cancelable true, valid other members ***
-PASS new MediaKeyEvent('MediaKeyEvent', { bubbles: true, cancelable: true, keySystem: 'keySystem', sessionId: 'sessionId', initData: initDataArray, message: messageArray, defaultURL: 'defaultURL', errorCode: errorObject, systemCode: 123 }).bubbles is true
-PASS new MediaKeyEvent('MediaKeyEvent', { bubbles: true, cancelable: true, keySystem: 'keySystem', sessionId: 'sessionId', initData: initDataArray, message: messageArray, defaultURL: 'defaultURL', errorCode: errorObject, systemCode: 123 }).cancelable is true
-PASS new MediaKeyEvent('MediaKeyEvent', { bubbles: true, cancelable: true, keySystem: 'keySystem', sessionId: 'sessionId', initData: initDataArray, message: messageArray, defaultURL: 'defaultURL', errorCode: errorObject, systemCode: 123 }).keySystem is "keySystem"
-PASS new MediaKeyEvent('MediaKeyEvent', { bubbles: true, cancelable: true, keySystem: 'keySystem', sessionId: 'sessionId', initData: initDataArray, message: messageArray, defaultURL: 'defaultURL', errorCode: errorObject, systemCode: 123 }).sessionId is "sessionId"
-PASS new MediaKeyEvent('MediaKeyEvent', { bubbles: true, cancelable: true, keySystem: 'keySystem', sessionId: 'sessionId', initData: initDataArray, message: messageArray, defaultURL: 'defaultURL', errorCode: errorObject, systemCode: 123 }).initData is initDataArray
-PASS new MediaKeyEvent('MediaKeyEvent', { bubbles: true, cancelable: true, keySystem: 'keySystem', sessionId: 'sessionId', initData: initDataArray, message: messageArray, defaultURL: 'defaultURL', errorCode: errorObject, systemCode: 123 }).message is messageArray
-PASS new MediaKeyEvent('MediaKeyEvent', { bubbles: true, cancelable: true, keySystem: 'keySystem', sessionId: 'sessionId', initData: initDataArray, message: messageArray, defaultURL: 'defaultURL', errorCode: errorObject, systemCode: 123 }).defaultURL is "defaultURL"
-FAIL new MediaKeyEvent('MediaKeyEvent', { bubbles: true, cancelable: true, keySystem: 'keySystem', sessionId: 'sessionId', initData: initDataArray, message: messageArray, defaultURL: 'defaultURL', errorCode: errorObject, systemCode: 123 }).errorCode should be non-null. Was null
-FAIL new MediaKeyEvent('MediaKeyEvent', { bubbles: true, cancelable: true, keySystem: 'keySystem', sessionId: 'sessionId', initData: initDataArray, message: messageArray, defaultURL: 'defaultURL', errorCode: errorObject, systemCode: 123 }).errorCode.code should be 1. Threw exception TypeError: Cannot read property 'code' of null
-PASS new MediaKeyEvent('MediaKeyEvent', { bubbles: true, cancelable: true, keySystem: 'keySystem', sessionId: 'sessionId', initData: initDataArray, message: messageArray, defaultURL: 'defaultURL', errorCode: errorObject, systemCode: 123 }).systemCode is 123
-
-*** Initialize with valid members ***
-FAIL new MediaKeyEvent('MediaKeyEvent', { keySystem: 'keySystem', sessionId: 'sessionId', initData: initDataArray, message: messageArray, defaultURL: 'defaultURL', errorCode: errorObject, systemCode: 123 }).bubbles should be true. Was false.
-FAIL new MediaKeyEvent('MediaKeyEvent', { keySystem: 'keySystem', sessionId: 'sessionId', initData: initDataArray, message: messageArray, defaultURL: 'defaultURL', errorCode: errorObject, systemCode: 123 }).cancelable should be true. Was false.
-PASS new MediaKeyEvent('MediaKeyEvent', { keySystem: 'keySystem', sessionId: 'sessionId', initData: initDataArray, message: messageArray, defaultURL: 'defaultURL', errorCode: errorObject, systemCode: 123 }).keySystem is "keySystem"
-PASS new MediaKeyEvent('MediaKeyEvent', { keySystem: 'keySystem', sessionId: 'sessionId', initData: initDataArray, message: messageArray, defaultURL: 'defaultURL', errorCode: errorObject, systemCode: 123 }).sessionId is "sessionId"
-PASS new MediaKeyEvent('MediaKeyEvent', { keySystem: 'keySystem', sessionId: 'sessionId', initData: initDataArray, message: messageArray, defaultURL: 'defaultURL', errorCode: errorObject, systemCode: 123 }).initData is initDataArray
-PASS new MediaKeyEvent('MediaKeyEvent', { keySystem: 'keySystem', sessionId: 'sessionId', initData: initDataArray, message: messageArray, defaultURL: 'defaultURL', errorCode: errorObject, systemCode: 123 }).message is messageArray
-PASS new MediaKeyEvent('MediaKeyEvent', { keySystem: 'keySystem', sessionId: 'sessionId', initData: initDataArray, message: messageArray, defaultURL: 'defaultURL', errorCode: errorObject, systemCode: 123 }).defaultURL is "defaultURL"
-FAIL new MediaKeyEvent('MediaKeyEvent', { keySystem: 'keySystem', sessionId: 'sessionId', initData: initDataArray, message: messageArray, defaultURL: 'defaultURL', errorCode: errorObject, systemCode: 123 }).errorCode should be non-null. Was null
-FAIL new MediaKeyEvent('MediaKeyEvent', { keySystem: 'keySystem', sessionId: 'sessionId', initData: initDataArray, message: messageArray, defaultURL: 'defaultURL', errorCode: errorObject, systemCode: 123 }).errorCode.code should be 1. Threw exception TypeError: Cannot read property 'code' of null
-PASS new MediaKeyEvent('MediaKeyEvent', { keySystem: 'keySystem', sessionId: 'sessionId', initData: initDataArray, message: messageArray, defaultURL: 'defaultURL', errorCode: errorObject, systemCode: 123 }).systemCode is 123
-
-PASS successfullyParsed is true
-
-TEST COMPLETE
-

Powered by Google App Engine
This is Rietveld 408576698