| Index: Source/bindings/tests/idls/testing/NonCoreTestPartialInterface.idl
|
| diff --git a/Source/core/page/NavigatorID.h b/Source/bindings/tests/idls/testing/NonCoreTestPartialInterface.idl
|
| similarity index 59%
|
| copy from Source/core/page/NavigatorID.h
|
| copy to Source/bindings/tests/idls/testing/NonCoreTestPartialInterface.idl
|
| index 9e31d3100eee499f3fb9a226ab2b8eb1589c7e5a..c9d15bb1df21ac406848fcbad458928e226f02ea 100644
|
| --- a/Source/core/page/NavigatorID.h
|
| +++ b/Source/bindings/tests/idls/testing/NonCoreTestPartialInterface.idl
|
| @@ -28,25 +28,26 @@
|
| * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
| */
|
|
|
| -#ifndef NavigatorID_h
|
| -#define NavigatorID_h
|
| +[
|
| + Conditional=Condition11|Condition12
|
| +] partial interface NonCoreTestInterface {
|
| + // This IDL file is for testing the bindings code generator and for test support files
|
| + static readonly attribute long supplementalStaticReadOnlyAttr;
|
| + static attribute DOMString supplementalStaticAttr;
|
| + readonly attribute DOMString supplementalStr1;
|
| + attribute DOMString supplementalStr2;
|
| + [CustomGetter, CustomSetter] attribute DOMString supplementalStr3;
|
| + attribute Node supplementalNode;
|
|
|
| -#include "wtf/text/WTFString.h"
|
| + void supplementalMethod1();
|
| + [CallWith=ScriptExecutionContext, RaisesException] TestObject supplementalMethod2(DOMString strArg, TestObject objArg);
|
| + [Custom] void supplementalMethod3();
|
| + static void supplementalMethod4();
|
|
|
| -namespace WebCore {
|
| + const unsigned short SUPPLEMENTALCONSTANT1 = 1;
|
| + [Reflect=CONST_IMPL] const unsigned short SUPPLEMENTALCONSTANT2 = 2;
|
|
|
| -class NavigatorBase;
|
| -
|
| -class NavigatorID {
|
| -public:
|
| - static String appName(const NavigatorBase*);
|
| - static String appVersion(const NavigatorBase*);
|
| - static String userAgent(const NavigatorBase*);
|
| - static String platform(const NavigatorBase*);
|
| - static String appCodeName(const NavigatorBase*);
|
| - static String product(const NavigatorBase*);
|
| + [EnabledAtRuntime=Condition13] attribute Node Node13;
|
| + [EnabledPerContext=Condition14] attribute Node Node14;
|
| + [EnabledAtRuntime=Condition15, EnabledPerContext=Condition16] attribute Node Node15;
|
| };
|
| -
|
| -} // namespace WebCore
|
| -
|
| -#endif // NavigatorID_h
|
|
|