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

Unified Diff: chrome/test/data/extensions/api_test/idltest/binary_data/binary.js

Issue 23799006: Move idltest API to trunk channel (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Setting channel to trunk for the api test Created 7 years, 3 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: chrome/test/data/extensions/api_test/idltest/binary_data/binary.js
diff --git a/chrome/test/data/extensions/api_test/idltest/binary_data/binary.js b/chrome/test/data/extensions/api_test/idltest/binary_data/binary.js
index 950db1c1c2fd30ba77b2979c4f26565b04e258fc..0abdbe13d03519dbad906c9001c3ee399310baf9 100644
--- a/chrome/test/data/extensions/api_test/idltest/binary_data/binary.js
+++ b/chrome/test/data/extensions/api_test/idltest/binary_data/binary.js
@@ -28,13 +28,13 @@ function makeBuffer() {
var tests = [
function sendBuffer() {
var view = makeBuffer();
- chrome.experimental.idltest.sendArrayBuffer(
+ chrome.idltest.sendArrayBuffer(
view.buffer, callbackPass(makeCompareCallback(view.buffer)));
},
function sendBufferView() {
var view = makeBuffer();
- chrome.experimental.idltest.sendArrayBufferView(
+ chrome.idltest.sendArrayBufferView(
view, callbackPass(makeCompareCallback(view.buffer)));
},
@@ -42,12 +42,12 @@ var tests = [
var view = makeBuffer();
var bufferSlice = view.buffer.slice(64);
assertEq(64, bufferSlice.byteLength);
- chrome.experimental.idltest.sendArrayBuffer(
+ chrome.idltest.sendArrayBuffer(
bufferSlice, callbackPass(makeCompareCallback(bufferSlice)));
},
function getBuffer() {
- chrome.experimental.idltest.getArrayBuffer(callbackPass(function(buffer) {
+ chrome.idltest.getArrayBuffer(callbackPass(function(buffer) {
assertTrue(buffer.__proto__ == (new ArrayBuffer()).__proto__);
var view = new Uint8Array(buffer);
var expected = "hello world";

Powered by Google App Engine
This is Rietveld 408576698