| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (C) 2009 Google Inc. All rights reserved. | 2 * Copyright (C) 2009 Google Inc. All rights reserved. |
| 3 * Copyright (C) 2010 Apple Inc. All rights reserved. | 3 * Copyright (C) 2010 Apple Inc. All rights reserved. |
| 4 * | 4 * |
| 5 * Redistribution and use in source and binary forms, with or without | 5 * Redistribution and use in source and binary forms, with or without |
| 6 * modification, are permitted provided that the following conditions | 6 * modification, are permitted provided that the following conditions |
| 7 * are met: | 7 * are met: |
| 8 * | 8 * |
| 9 * 1. Redistributions of source code must retain the above copyright | 9 * 1. Redistributions of source code must retain the above copyright |
| 10 * notice, this list of conditions and the following disclaimer. | 10 * notice, this list of conditions and the following disclaimer. |
| (...skipping 110 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 121 [RaisesException=Getter] attribute long attrWithGetterException; | 121 [RaisesException=Getter] attribute long attrWithGetterException; |
| 122 [RaisesException=Setter] attribute long attrWithSetterException; | 122 [RaisesException=Setter] attribute long attrWithSetterException; |
| 123 [RaisesException=Getter] attribute DOMString stringAttrWithGetterException; | 123 [RaisesException=Getter] attribute DOMString stringAttrWithGetterException; |
| 124 [RaisesException=Setter] attribute DOMString stringAttrWithSetterException; | 124 [RaisesException=Setter] attribute DOMString stringAttrWithSetterException; |
| 125 | 125 |
| 126 // 'Custom' extended attribute | 126 // 'Custom' extended attribute |
| 127 [Custom] attribute long customAttr; | 127 [Custom] attribute long customAttr; |
| 128 [Custom, MeasureAs=CustomTestFeature] void customMethod(); | 128 [Custom, MeasureAs=CustomTestFeature] void customMethod(); |
| 129 [Custom] void customMethodWithArgs(long longArg, DOMString strArg, TestObjec
t objArg); | 129 [Custom] void customMethodWithArgs(long longArg, DOMString strArg, TestObjec
t objArg); |
| 130 | 130 |
| 131 void addEventListener(DOMString type, | |
| 132 EventListener listener, | |
| 133 optional boolean useCapture); | |
| 134 void removeEventListener(DOMString type, | |
| 135 EventListener listener, | |
| 136 optional boolean useCapture); | |
| 137 | |
| 138 // 'CallWith' extended attribute | 131 // 'CallWith' extended attribute |
| 139 [CallWith=ScriptState] void withScriptStateVoid(); | 132 [CallWith=ScriptState] void withScriptStateVoid(); |
| 140 [CallWith=ScriptState] TestObject withScriptStateObj(); | 133 [CallWith=ScriptState] TestObject withScriptStateObj(); |
| 141 [CallWith=ScriptState, RaisesException] void withScriptStateVoidException(); | 134 [CallWith=ScriptState, RaisesException] void withScriptStateVoidException(); |
| 142 [CallWith=ScriptState, RaisesException] TestObject withScriptStateObjExcepti
on(); | 135 [CallWith=ScriptState, RaisesException] TestObject withScriptStateObjExcepti
on(); |
| 143 [CallWith=ExecutionContext] void withExecutionContext(); | 136 [CallWith=ExecutionContext] void withExecutionContext(); |
| 144 [CallWith=ExecutionContext&ScriptState] void withExecutionContextAndScriptSt
ate(); | 137 [CallWith=ExecutionContext&ScriptState] void withExecutionContextAndScriptSt
ate(); |
| 145 [CallWith=ExecutionContext&ScriptState, RaisesException] TestObject withExec
utionContextAndScriptStateObjException(); | 138 [CallWith=ExecutionContext&ScriptState, RaisesException] TestObject withExec
utionContextAndScriptStateObjException(); |
| 146 [CallWith= ExecutionContext & ScriptState ] TestObject withExecutionCont
extAndScriptStateWithSpaces(); | 139 [CallWith= ExecutionContext & ScriptState ] TestObject withExecutionCont
extAndScriptStateWithSpaces(); |
| 147 [CallWith=ActiveWindow&FirstWindow] void withActiveWindowAndFirstWindow(); | 140 [CallWith=ActiveWindow&FirstWindow] void withActiveWindowAndFirstWindow(); |
| (...skipping 156 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 304 [DeprecateAs=Constant] const unsigned short DEPRECATED_CONSTANT = 1; | 297 [DeprecateAs=Constant] const unsigned short DEPRECATED_CONSTANT = 1; |
| 305 | 298 |
| 306 // PutForwards | 299 // PutForwards |
| 307 [PutForwards=href] readonly attribute TestNode location; | 300 [PutForwards=href] readonly attribute TestNode location; |
| 308 [PutForwards=hrefThrows] readonly attribute TestNode locationWithException; | 301 [PutForwards=hrefThrows] readonly attribute TestNode locationWithException; |
| 309 }; | 302 }; |
| 310 | 303 |
| 311 // The following comment should not generate any code | 304 // The following comment should not generate any code |
| 312 // TestObject implements TestImplements; | 305 // TestObject implements TestImplements; |
| 313 | 306 |
| OLD | NEW |