Index: bindings/tests/idls/TestException.idl |
diff --git a/core/workers/WorkerLocation.idl b/bindings/tests/idls/TestException.idl |
similarity index 82% |
copy from core/workers/WorkerLocation.idl |
copy to bindings/tests/idls/TestException.idl |
index 64ed9e033fee4a263e9c40c6106840f9f9ccab4d..a62191c67d5b173fa6ff8d9c30fabd4163ba4e2f 100644 |
--- a/core/workers/WorkerLocation.idl |
+++ b/bindings/tests/idls/TestException.idl |
@@ -1,5 +1,5 @@ |
/* |
- * Copyright (C) 2008 Apple Inc. All rights reserved. |
+ * Copyright (C) 2012 Google Inc. All rights reserved. |
* |
* Redistribution and use in source and binary forms, with or without |
* modification, are permitted provided that the following conditions |
@@ -27,8 +27,12 @@ |
*/ |
[ |
- GlobalContext=WorkerGlobalScope |
-] interface WorkerLocation { |
-}; |
+ DoNotCheckConstants, |
+] exception TestException { |
+ readonly attribute unsigned short readonlyUnsignedShortAttribute; |
+ readonly attribute DOMString readonlyStringAttribute; |
+ |
+ const unsigned short UNSIGNED_SHORT_CONSTANT = 1; |
-WorkerLocation implements URLUtilsReadOnly; |
+ [NotEnumerable] DOMString toString(); |
+}; |