OLD | NEW |
1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 The Chromium Authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
| 5 // ApplicationCache Error Detail Proposal: |
| 6 // https://docs.google.com/document/d/1nlk7WgRD3d0ZcfK1xrwBFVZ3DI_e44j7QoMd5gAJC
4E/edit |
| 7 |
| 8 // TODO(philipj): Update the spec link once this is in the HTML spec: |
| 9 // https://www.w3.org/Bugs/Public/show_bug.cgi?id=22702 |
| 10 |
5 [ | 11 [ |
6 EventConstructor, | 12 Constructor(DOMString type, optional ApplicationCacheErrorEventInit eventIni
tDict), |
7 ] interface ApplicationCacheErrorEvent : Event { | 13 ] interface ApplicationCacheErrorEvent : Event { |
8 [InitializedByEventConstructor] readonly attribute DOMString reason; | 14 readonly attribute DOMString reason; |
9 [InitializedByEventConstructor] readonly attribute DOMString url; | 15 readonly attribute DOMString url; |
10 [InitializedByEventConstructor] readonly attribute unsigned short status; | 16 readonly attribute unsigned short status; |
11 [InitializedByEventConstructor] readonly attribute DOMString message; | 17 readonly attribute DOMString message; |
12 }; | 18 }; |
OLD | NEW |