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

Unified Diff: third_party/WebKit/Source/core/streams/ReadableStreamExperimentalPipeTo.js

Issue 2792513002: Ship ReadableStream pipeTo() (Closed)
Patch Set: Add a comment explaining the purpose of the asserts in PipeTo 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
« no previous file with comments | « third_party/WebKit/Source/core/streams/ReadableStream.js ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/Source/core/streams/ReadableStreamExperimentalPipeTo.js
diff --git a/third_party/WebKit/Source/core/streams/ReadableStreamExperimentalPipeTo.js b/third_party/WebKit/Source/core/streams/ReadableStreamExperimentalPipeTo.js
deleted file mode 100644
index 870c18b70c02a98225b59faf4a588fd56ca00e7c..0000000000000000000000000000000000000000
--- a/third_party/WebKit/Source/core/streams/ReadableStreamExperimentalPipeTo.js
+++ /dev/null
@@ -1,25 +0,0 @@
-// Copyright 2016 The Chromium Authors. All rights reserved.
-// Use of this source code is governed by a BSD-style license that can be
-// found in the LICENSE file.
-
-// Include pipeTo() and pipeThrough() on the global ReadableStream object when
-// the experimental flag is enabled.
-
-(function(global, binding, v8) {
- 'use strict';
-
- const defineProperty = global.Object.defineProperty;
- defineProperty(global.ReadableStream.prototype, 'pipeThrough', {
- value: binding.ReadableStream_prototype_pipeThrough,
- enumerable: false,
- configurable: true,
- writable: true
- });
-
- defineProperty(global.ReadableStream.prototype, 'pipeTo', {
- value: binding.ReadableStream_prototype_pipeTo,
- enumerable: false,
- configurable: true,
- writable: true
- });
-});
« no previous file with comments | « third_party/WebKit/Source/core/streams/ReadableStream.js ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698