|
For local review prior to sending to webkit.Please see https://bugs.webkit.org/show_bug.cgi?id=254361)1) This patch is mostly about allowing development of a new appcache system without disrupting the existing system. It introduces a new ENABLE flag for the new system, ENABLE(APPLICATION_CACHE), while leaving the flag for the existing system in place, ENABLE(OFFLINE_WEB_APPLICATIONS). There is some overlap between the two mostly around the window.applicationCache attribute.2) Also defines an interface to the new system for use in the frontend, class ApplicationCacheFrontend. The interface is being used by FrameLoader and DOMApplicationCache and HTMLHtmlElement. There is only a stub implementation of this interface at this time that does no harm.3) Also widens the ResourceRequestBase and ResourceResponseBase data structures with additional data members to provide additional inputs (and outputs) to (from) the backend when loading a ResourceHandle.4) Requisite custom V8Bindings for the DOMApplicationCache interface. Most of the bindings work isn't destined for the webkit repository just yet, that stuff is still being migrated over in general.5) Changes to the JSBindings for the DOMApplicationCache interface to bind to the new or existing system based on which ENABLE flag is set.
Total comments: 49
Total comments: 20
Total comments: 1
Total comments: 33
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+1875 lines, -266 lines) |
Patch |
|
M |
bindings/js/JSDOMApplicationCacheCustom.cpp
|
View
|
3
4
5
6
7
8
9
10
11
12
|
4 chunks |
+4 lines, -4 lines |
0 comments
|
Download
|
|
M |
bindings/js/JSDOMWindowCustom.cpp
|
View
|
10
11
12
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
|
M |
bindings/js/JSEventTarget.cpp
|
View
|
10
11
12
|
3 chunks |
+3 lines, -3 lines |
0 comments
|
Download
|
|
A |
bindings/v8/custom/V8DOMApplicationCacheCustom.cpp
|
View
|
1
2
3
4
5
6
7
8
9
10
11
12
13
14
|
1 chunk |
+142 lines, -0 lines |
0 comments
|
Download
|
|
M |
dom/EventTarget.h
|
View
|
1
2
3
4
5
6
7
8
9
10
11
12
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
|
M |
dom/EventTarget.cpp
|
View
|
1
2
3
4
5
6
7
8
9
10
11
12
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
|
M |
html/HTMLHtmlElement.h
|
View
|
1
2
3
4
5
6
7
8
9
10
11
12
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
|
M |
html/HTMLHtmlElement.cpp
|
View
|
1
2
3
4
5
6
7
8
9
10
11
12
|
3 chunks |
+40 lines, -5 lines |
0 comments
|
Download
|
|
M |
loader/FrameLoader.h
|
View
|
1
2
3
4
5
6
7
8
9
10
11
12
13
14
|
3 chunks |
+15 lines, -0 lines |
0 comments
|
Download
|
|
M |
loader/FrameLoader.cpp
|
View
|
1
2
3
4
5
6
7
8
9
10
11
12
13
14
|
8 chunks |
+68 lines, -0 lines |
0 comments
|
Download
|
|
A |
loader/appcache2/ApplicationCacheBridge.h
|
View
|
15
16
17
18
|
1 chunk |
+123 lines, -0 lines |
0 comments
|
Download
|
|
A |
loader/appcache2/ApplicationCacheBridge.cpp
|
View
|
15
16
17
|
1 chunk |
+62 lines, -0 lines |
0 comments
|
Download
|
|
A |
loader/appcache2/ApplicationCacheBridgeClientImpl.h
|
View
|
15
16
17
18
|
1 chunk |
+65 lines, -0 lines |
0 comments
|
Download
|
|
A |
loader/appcache2/ApplicationCacheBridgeClientImpl.cpp
|
View
|
15
|
1 chunk |
+79 lines, -0 lines |
0 comments
|
Download
|
|
A |
loader/appcache2/ApplicationCacheBridgeImpl.h
|
View
|
|
1 chunk |
+336 lines, -0 lines |
0 comments
|
Download
|
|
A |
loader/appcache2/ApplicationCacheBridgeImpl.cpp
|
View
|
18
|
1 chunk |
+244 lines, -0 lines |
0 comments
|
Download
|
|
A |
loader/appcache2/ApplicationCacheCommon.h
|
View
|
1
2
3
4
5
6
7
8
9
10
11
12
13
14
|
1 chunk |
+111 lines, -0 lines |
0 comments
|
Download
|
|
A |
loader/appcache2/ApplicationCacheFrontend.h
|
View
|
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
|
1 chunk |
+155 lines, -0 lines |
0 comments
|
Download
|
|
A |
loader/appcache2/ApplicationCacheFrontend.cpp
|
View
|
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
|
1 chunk |
+237 lines, -0 lines |
0 comments
|
Download
|
|
A + |
loader/appcache2/DOMApplicationCache.h
|
View
|
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
|
4 chunks |
+54 lines, -61 lines |
0 comments
|
Download
|
|
A + |
loader/appcache2/DOMApplicationCache.cpp
|
View
|
1
2
3
4
5
6
7
8
9
10
11
12
13
14
|
6 chunks |
+63 lines, -157 lines |
0 comments
|
Download
|
|
A + |
loader/appcache2/DOMApplicationCache.idl
|
View
|
|
2 chunks |
+2 lines, -13 lines |
0 comments
|
Download
|
|
M |
page/DOMWindow.h
|
View
|
1
2
3
4
5
6
7
8
9
10
11
12
|
4 chunks |
+4 lines, -4 lines |
0 comments
|
Download
|
|
M |
page/DOMWindow.cpp
|
View
|
1
2
3
4
5
6
7
8
9
10
11
12
|
3 chunks |
+3 lines, -3 lines |
0 comments
|
Download
|
|
M |
page/DOMWindow.idl
|
View
|
1
2
3
4
5
6
7
8
9
10
11
12
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
|
M |
page/Frame.h
|
View
|
1
2
3
4
5
6
7
8
9
10
11
12
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
|
M |
page/Frame.cpp
|
View
|
1
2
3
4
5
6
7
8
9
10
11
12
|
1 chunk |
+5 lines, -0 lines |
0 comments
|
Download
|
|
M |
platform/network/ResourceRequestBase.h
|
View
|
1
2
3
4
5
6
7
8
9
10
11
12
|
4 chunks |
+15 lines, -1 line |
0 comments
|
Download
|
|
M |
platform/network/ResourceRequestBase.cpp
|
View
|
1
2
3
4
5
6
7
8
9
10
11
12
|
2 chunks |
+6 lines, -0 lines |
0 comments
|
Download
|
|
M |
platform/network/ResourceResponseBase.h
|
View
|
1
2
3
4
5
6
7
8
9
10
11
12
|
6 chunks |
+25 lines, -0 lines |
0 comments
|
Download
|
|
M |
platform/network/ResourceResponseBase.cpp
|
View
|
1
2
3
4
5
6
7
8
9
10
11
12
|
2 chunks |
+8 lines, -0 lines |
0 comments
|
Download
|
|
M |
platform/network/chromium/ResourceRequest.h
|
View
|
1
2
3
4
5
6
7
8
9
10
11
12
|
7 chunks |
+0 lines, -10 lines |
0 comments
|
Download
|
Total messages: 25 (0 generated)
|