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

Side by Side Diff: third_party/WebKit/Source/core/testing/SequenceTest.idl

Issue 2810843002: bindings: Make the sequence conversion code more complaint with WebIDL. (Closed)
Patch Set: Adjust even more tests 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 unified diff | Download patch
OLDNEW
(Empty)
1 // Copyright 2017 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
4
5 enum FoodEnum {
6 "Bread",
7 "Spaghetti",
8 "Sushi"
9 };
10
11 interface SequenceTest {
12 // The identity functions just return what they have received in |arg|, to
13 // test converting both to and from V8.
14 sequence<sequence<ByteString>> identityByteStringSequenceSequence(sequence<s equence<ByteString>> arg);
15 sequence<double> identityDoubleSequence(sequence<double> arg);
16 sequence<FoodEnum> identityFoodEnumSequence(sequence<FoodEnum> arg);
17 sequence<long> identityLongSequence(sequence<long> arg);
18 sequence<octet>? identityOctetSequenceOrNull(sequence<octet>? arg);
19
20 sequence<Element> getElementSequence();
21 void setElementSequence(sequence<Element> arg);
22
23 bool unionReceivedSequence((double or sequence<double>) arg);
24 };
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/core/testing/SequenceTest.cpp ('k') | third_party/WebKit/Source/modules/cachestorage/Cache.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698