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

Unified Diff: third_party/WebKit/LayoutTests/crypto/worker-random-values-types-expected.txt

Issue 1480063002: Drop [LegacyInterfaceTypeChecking] for the Crypto API (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: update tests Created 5 years, 1 month 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/crypto/worker-random-values-types-expected.txt
diff --git a/third_party/WebKit/LayoutTests/crypto/worker-random-values-types-expected.txt b/third_party/WebKit/LayoutTests/crypto/worker-random-values-types-expected.txt
index 8af4eecd930c0c9c8388cff0fef04d675877a4e1..adb75b719d3e7aad28fe14a3334da8e0fbcd0118 100644
--- a/third_party/WebKit/LayoutTests/crypto/worker-random-values-types-expected.txt
+++ b/third_party/WebKit/LayoutTests/crypto/worker-random-values-types-expected.txt
@@ -7,8 +7,8 @@ Starting worker: random-values-types.js
PASS [Worker] 'crypto' in self is true
PASS [Worker] 'getRandomValues' in self.crypto is true
PASS [Worker] crypto.getRandomValues() threw exception TypeError: Failed to execute 'getRandomValues' on 'Crypto': 1 argument required, but only 0 present..
-PASS [Worker] crypto.getRandomValues(undefined) threw exception TypeMismatchError: Failed to execute 'getRandomValues' on 'Crypto': The provided ArrayBufferView is null..
-PASS [Worker] crypto.getRandomValues(null) threw exception TypeMismatchError: Failed to execute 'getRandomValues' on 'Crypto': The provided ArrayBufferView is null..
+PASS [Worker] crypto.getRandomValues(undefined) threw exception TypeError: Failed to execute 'getRandomValues' on 'Crypto': parameter 1 is not of type 'ArrayBufferView'..
+PASS [Worker] crypto.getRandomValues(null) threw exception TypeError: Failed to execute 'getRandomValues' on 'Crypto': parameter 1 is not of type 'ArrayBufferView'..
PASS [Worker] random = crypto.getRandomValues(new Uint8Array(3)) is defined.
PASS [Worker] random is an instance of Uint8Array
PASS [Worker] view = new Uint8Array(3) is defined.

Powered by Google App Engine
This is Rietveld 408576698