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

Side by Side Diff: Source/bindings/tests/idls/TestInterface.idl

Issue 157013006: Update HTMLFormControlsCollection's named getter to behave according to spec (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Remove legacycaller Created 6 years, 10 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 | Annotate | Revision Log
OLDNEW
1 /* 1 /*
2 * Copyright (C) 2010 Google Inc. All rights reserved. 2 * Copyright (C) 2010 Google Inc. All rights reserved.
3 * 3 *
4 * Redistribution and use in source and binary forms, with or without 4 * Redistribution and use in source and binary forms, with or without
5 * modification, are permitted provided that the following conditions 5 * modification, are permitted provided that the following conditions
6 * are met: 6 * are met:
7 * 7 *
8 * 1. Redistributions of source code must retain the above copyright 8 * 1. Redistributions of source code must retain the above copyright
9 * notice, this list of conditions and the following disclaimer. 9 * notice, this list of conditions and the following disclaimer.
10 * 2. Redistributions in binary form must reproduce the above copyright 10 * 2. Redistributions in binary form must reproduce the above copyright
(...skipping 18 matching lines...) Expand all
29 // This IDL file is for testing the bindings code generator and for tracking 29 // This IDL file is for testing the bindings code generator and for tracking
30 // changes in its ouput. 30 // changes in its ouput.
31 [ 31 [
32 ActiveDOMObject, 32 ActiveDOMObject,
33 Conditional=Condition1|Condition2, 33 Conditional=Condition1|Condition2,
34 ConstructorCallWith=ExecutionContext, 34 ConstructorCallWith=ExecutionContext,
35 Constructor(DOMString str1, [Default=Undefined] optional DOMString str2), 35 Constructor(DOMString str1, [Default=Undefined] optional DOMString str2),
36 RaisesException=Constructor, 36 RaisesException=Constructor,
37 SetWrapperReferenceTo(ReferencedType referencedName), 37 SetWrapperReferenceTo(ReferencedType referencedName),
38 ] interface TestInterface { 38 ] interface TestInterface {
39 [ImplementedAs=getItem] getter (Node or NodeList) (DOMString name); 39 [ImplementedAs=getItem] getter (Node or NodeList) namedItem(DOMString name);
40 [Custom] setter Node (DOMString name, Node value); 40 [Custom] setter Node (DOMString name, Node value);
41 }; 41 };
42 42
43 TestInterface implements TestImplements; 43 TestInterface implements TestImplements;
OLDNEW
« no previous file with comments | « Source/bindings/scripts/code_generator_v8.pm ('k') | Source/bindings/tests/results/V8TestInterface.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698