Index: loader/appcache2/DOMApplicationCache.idl |
=================================================================== |
--- loader/appcache2/DOMApplicationCache.idl (revision 0) |
+++ loader/appcache2/DOMApplicationCache.idl (working copy) |
@@ -23,10 +23,10 @@ |
* OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
*/ |
-module offline { |
+module appcache { |
interface [ |
- Conditional=OFFLINE_WEB_APPLICATIONS, |
+ Conditional=APPLICATION_CACHE, |
CustomMarkFunction |
] DOMApplicationCache { |
// update status |
@@ -43,17 +43,6 @@ |
void swapCache() |
raises(DOMException); |
-#if defined(ENABLE_APPLICATION_CACHE_DYNAMIC_ENTRIES) && ENABLE_APPLICATION_CACHE_DYNAMIC_ENTRIES |
- // dynamic entries |
- readonly attribute DOMStringList items; |
- [Custom] boolean hasItem(in DOMString url) |
- raises(DOMException); |
- [Custom] void add(in DOMString uri) |
- raises(DOMException); |
- [Custom] void remove(in DOMString uri) |
- raises(DOMException); |
-#endif |
- |
// events |
attribute EventListener onchecking; |
attribute EventListener onerror; |