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

Unified Diff: third_party/WebKit/LayoutTests/fast/events/constructors/midi-message-event-constructor.html

Issue 2812833003: Revert of [SharedArrayBuffer] Prevent SharedArrayBuffer being used in Web APIs (Closed)
Patch Set: Created 3 years, 8 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/midi-message-event-constructor.html
diff --git a/third_party/WebKit/LayoutTests/fast/events/constructors/midi-message-event-constructor.html b/third_party/WebKit/LayoutTests/fast/events/constructors/midi-message-event-constructor.html
index 46e2da72b42149d83385d8ec1c99ec80cb31d4fe..0631a3904ebad78c681b6d488834266bf9fcae15 100644
--- a/third_party/WebKit/LayoutTests/fast/events/constructors/midi-message-event-constructor.html
+++ b/third_party/WebKit/LayoutTests/fast/events/constructors/midi-message-event-constructor.html
@@ -31,11 +31,6 @@
shouldBe("new MIDIMessageEvent('eventType', { bubbles: true, cancelable: true, data: data }).cancelable", "true");
shouldEvaluateTo("new MIDIMessageEvent('eventType', { bubbles: true, cancelable: true, data: data }).data", data);
-if (window.SharedArrayBuffer) {
- data = new Uint8Array(new SharedArrayBuffer(3));
- shouldThrow("new MIDIMessageEvent('eventType', { data: data })");
-}
-
</script>
</body>
</html>

Powered by Google App Engine
This is Rietveld 408576698