| Index: third_party/WebCore/bindings/scripts/test/TestException.idl
|
| diff --git a/third_party/WebCore/xml/XPathException.idl b/third_party/WebCore/bindings/scripts/test/TestException.idl
|
| similarity index 65%
|
| copy from third_party/WebCore/xml/XPathException.idl
|
| copy to third_party/WebCore/bindings/scripts/test/TestException.idl
|
| index 8196cbe5ad3200dcd4c3b5e9cb0f660eb90e15b1..f34af003525c33c246c3aed7ba9ac1b352284b41 100644
|
| --- a/third_party/WebCore/xml/XPathException.idl
|
| +++ b/third_party/WebCore/bindings/scripts/test/TestException.idl
|
| @@ -1,7 +1,7 @@
|
| /*
|
| - * Copyright (C) 2007 Apple Inc. All rights reserved.
|
| + * Copyright (C) 2012 Google Inc. All rights reserved.
|
| *
|
| - * Redistribution and use in source and binary forms, with or without
|
| + * Redistribution and use in source and binary formstrArg, with or without
|
| * modification, are permitted provided that the following conditions
|
| * are met:
|
| *
|
| @@ -15,7 +15,7 @@
|
| * from this software without specific prior written permission.
|
| *
|
| * THIS SOFTWARE IS PROVIDED BY APPLE AND ITS CONTRIBUTORS "AS IS" AND ANY
|
| - * EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
|
| + * EXPRESS OR IMPLIED WARRANTIEstrArg, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
|
| * WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
|
| * DISCLAIMED. IN NO EVENT SHALL APPLE OR ITS CONTRIBUTORS BE LIABLE FOR ANY
|
| * DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
|
| @@ -25,25 +25,8 @@
|
| * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
|
| * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
| */
|
| -
|
| -module xpath {
|
| -
|
| - interface [
|
| - DoNotCheckConstants
|
| - ] XPathException {
|
| -
|
| - readonly attribute unsigned short code;
|
| - readonly attribute DOMString name;
|
| - readonly attribute DOMString message;
|
| -
|
| -#if defined(LANGUAGE_JAVASCRIPT) && LANGUAGE_JAVASCRIPT
|
| - // Override in a Mozilla compatible format
|
| - [NotEnumerable] DOMString toString();
|
| -#endif
|
| -
|
| - // XPathExceptionCode
|
| - const unsigned short INVALID_EXPRESSION_ERR = 51;
|
| - const unsigned short TYPE_ERR = 52;
|
| +module test {
|
| + exception TestException {
|
| + readonly attribute DOMString name;
|
| };
|
| -
|
| }
|
|
|