Index: third_party/WebKit/LayoutTests/crypto/random-values.js |
diff --git a/third_party/WebKit/LayoutTests/crypto/random-values.js b/third_party/WebKit/LayoutTests/crypto/random-values.js |
index 0fb26bd757408c49bc2591758e3a4e51cf924de2..f87e1ca3caa056415879adb945545b181f9b8dc4 100644 |
--- a/third_party/WebKit/LayoutTests/crypto/random-values.js |
+++ b/third_party/WebKit/LayoutTests/crypto/random-values.js |
@@ -37,4 +37,8 @@ try { |
debug(ex); |
} |
+if (self.SharedArrayBuffer) { |
+ shouldThrow("crypto.getRandomValues(new Uint8Array(new SharedArrayBuffer(100)))"); |
+} |
+ |
finishJSTest(); |