Changeset 197049 in webkit
- Timestamp:
- Feb 24, 2016 1:41:51 PM (8 years ago)
- Location:
- trunk
- Files:
-
- 21 added
- 19 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/LayoutTests/ChangeLog
r197043 r197049 1 2016-02-24 Youenn Fablet <youenn.fablet@crf.canon.fr> 2 3 [Fetch API] Implement Fetch API Response 4 https://bugs.webkit.org/show_bug.cgi?id=154536 5 6 Reviewed by Alex Christensen. 7 8 Adding Response as constructor in global and worker scopes. 9 10 * js/dom/global-constructors-attributes-dedicated-worker-expected.txt: 11 * js/dom/global-constructors-attributes-expected.txt: 12 * platform/efl/js/dom/global-constructors-attributes-dedicated-worker-expected.txt: 13 * platform/efl/js/dom/global-constructors-attributes-expected.txt: 14 * platform/gtk/js/dom/global-constructors-attributes-expected.txt: 15 * platform/mac-mavericks/js/dom/global-constructors-attributes-expected.txt: 16 * platform/mac-yosemite/js/dom/global-constructors-attributes-expected.txt: 17 * platform/mac/js/dom/global-constructors-attributes-expected.txt: 18 * platform/win/js/dom/global-constructors-attributes-expected.txt: 19 1 20 2016-02-24 Commit Queue <commit-queue@webkit.org> 2 21 -
trunk/LayoutTests/imported/w3c/ChangeLog
r197027 r197049 1 2016-02-24 Youenn Fablet <youenn.fablet@crf.canon.fr> 2 3 [Fetch API] Implement Fetch API Response 4 https://bugs.webkit.org/show_bug.cgi?id=154536 5 6 Reviewed by Alex Christensen. 7 8 New tests covering fetch API. 9 10 * web-platform-tests/fetch/api/response/response-clone-expected.txt: Added. 11 * web-platform-tests/fetch/api/response/response-clone.html: Added. 12 * web-platform-tests/fetch/api/response/response-consume-expected.txt: Added. 13 * web-platform-tests/fetch/api/response/response-consume.html: Added. 14 * web-platform-tests/fetch/api/response/response-error-expected.txt: Added. 15 * web-platform-tests/fetch/api/response/response-error.html: Added. 16 * web-platform-tests/fetch/api/response/response-idl-expected.txt: Added. 17 * web-platform-tests/fetch/api/response/response-idl.html: Added. 18 * web-platform-tests/fetch/api/response/response-init-001-expected.txt: Added. 19 * web-platform-tests/fetch/api/response/response-init-001.html: Added. 20 * web-platform-tests/fetch/api/response/response-init-002-expected.txt: Added. 21 * web-platform-tests/fetch/api/response/response-init-002.html: Added. 22 * web-platform-tests/fetch/api/response/response-static-error-expected.txt: Added. 23 * web-platform-tests/fetch/api/response/response-static-error.html: Added. 24 * web-platform-tests/fetch/api/response/response-static-redirect-expected.txt: Added. 25 * web-platform-tests/fetch/api/response/response-static-redirect.html: Added. 26 1 27 2016-02-24 Youenn Fablet <youenn.fablet@crf.canon.fr> 2 28 -
trunk/LayoutTests/js/dom/global-constructors-attributes-dedicated-worker-expected.txt
r196599 r197049 170 170 PASS [Worker] Object.getOwnPropertyDescriptor(global, 'Request').enumerable is false 171 171 PASS [Worker] Object.getOwnPropertyDescriptor(global, 'Request').configurable is true 172 PASS [Worker] Object.getOwnPropertyDescriptor(global, 'Response').value is Response 173 PASS [Worker] Object.getOwnPropertyDescriptor(global, 'Response').hasOwnProperty('get') is false 174 PASS [Worker] Object.getOwnPropertyDescriptor(global, 'Response').hasOwnProperty('set') is false 175 PASS [Worker] Object.getOwnPropertyDescriptor(global, 'Response').enumerable is false 176 PASS [Worker] Object.getOwnPropertyDescriptor(global, 'Response').configurable is true 172 177 PASS [Worker] Object.getOwnPropertyDescriptor(global, 'Set').value is Set 173 178 PASS [Worker] Object.getOwnPropertyDescriptor(global, 'Set').hasOwnProperty('get') is false -
trunk/LayoutTests/js/dom/global-constructors-attributes-expected.txt
r196747 r197049 994 994 PASS Object.getOwnPropertyDescriptor(global, 'Request').enumerable is false 995 995 PASS Object.getOwnPropertyDescriptor(global, 'Request').configurable is true 996 PASS Object.getOwnPropertyDescriptor(global, 'Response').value is Response 997 PASS Object.getOwnPropertyDescriptor(global, 'Response').hasOwnProperty('get') is false 998 PASS Object.getOwnPropertyDescriptor(global, 'Response').hasOwnProperty('set') is false 999 PASS Object.getOwnPropertyDescriptor(global, 'Response').enumerable is false 1000 PASS Object.getOwnPropertyDescriptor(global, 'Response').configurable is true 996 1001 PASS Object.getOwnPropertyDescriptor(global, 'SQLException').value is SQLException 997 1002 PASS Object.getOwnPropertyDescriptor(global, 'SQLException').hasOwnProperty('get') is false -
trunk/LayoutTests/platform/efl/js/dom/global-constructors-attributes-dedicated-worker-expected.txt
r196599 r197049 70 70 PASS [Worker] Object.getOwnPropertyDescriptor(global, 'Request').enumerable is false 71 71 PASS [Worker] Object.getOwnPropertyDescriptor(global, 'Request').configurable is true 72 PASS [Worker] Object.getOwnPropertyDescriptor(global, 'Response').value is Response 73 PASS [Worker] Object.getOwnPropertyDescriptor(global, 'Response').hasOwnProperty('get') is false 74 PASS [Worker] Object.getOwnPropertyDescriptor(global, 'Response').hasOwnProperty('set') is false 75 PASS [Worker] Object.getOwnPropertyDescriptor(global, 'Response').enumerable is false 76 PASS [Worker] Object.getOwnPropertyDescriptor(global, 'Response').configurable is true 72 77 PASS [Worker] Object.getOwnPropertyDescriptor(global, 'URL').value is URL 73 78 PASS [Worker] Object.getOwnPropertyDescriptor(global, 'URL').hasOwnProperty('get') is false -
trunk/LayoutTests/platform/efl/js/dom/global-constructors-attributes-expected.txt
r196747 r197049 1064 1064 PASS Object.getOwnPropertyDescriptor(global, 'Request').enumerable is false 1065 1065 PASS Object.getOwnPropertyDescriptor(global, 'Request').configurable is true 1066 PASS Object.getOwnPropertyDescriptor(global, 'Response').value is Response 1067 PASS Object.getOwnPropertyDescriptor(global, 'Response').hasOwnProperty('get') is false 1068 PASS Object.getOwnPropertyDescriptor(global, 'Response').hasOwnProperty('set') is false 1069 PASS Object.getOwnPropertyDescriptor(global, 'Response').enumerable is false 1070 PASS Object.getOwnPropertyDescriptor(global, 'Response').configurable is true 1066 1071 PASS Object.getOwnPropertyDescriptor(global, 'SQLException').value is SQLException 1067 1072 PASS Object.getOwnPropertyDescriptor(global, 'SQLException').hasOwnProperty('get') is false -
trunk/LayoutTests/platform/gtk/js/dom/global-constructors-attributes-expected.txt
r196747 r197049 1084 1084 PASS Object.getOwnPropertyDescriptor(global, 'Request').enumerable is false 1085 1085 PASS Object.getOwnPropertyDescriptor(global, 'Request').configurable is true 1086 PASS Object.getOwnPropertyDescriptor(global, 'Response').value is Response 1087 PASS Object.getOwnPropertyDescriptor(global, 'Response').hasOwnProperty('get') is false 1088 PASS Object.getOwnPropertyDescriptor(global, 'Response').hasOwnProperty('set') is false 1089 PASS Object.getOwnPropertyDescriptor(global, 'Response').enumerable is false 1090 PASS Object.getOwnPropertyDescriptor(global, 'Response').configurable is true 1086 1091 PASS Object.getOwnPropertyDescriptor(global, 'SQLException').value is SQLException 1087 1092 PASS Object.getOwnPropertyDescriptor(global, 'SQLException').hasOwnProperty('get') is false -
trunk/LayoutTests/platform/mac-mavericks/js/dom/global-constructors-attributes-expected.txt
r196747 r197049 1074 1074 PASS Object.getOwnPropertyDescriptor(global, 'Request').enumerable is false 1075 1075 PASS Object.getOwnPropertyDescriptor(global, 'Request').configurable is true 1076 PASS Object.getOwnPropertyDescriptor(global, 'Response').value is Response 1077 PASS Object.getOwnPropertyDescriptor(global, 'Response').hasOwnProperty('get') is false 1078 PASS Object.getOwnPropertyDescriptor(global, 'Response').hasOwnProperty('set') is false 1079 PASS Object.getOwnPropertyDescriptor(global, 'Response').enumerable is false 1080 PASS Object.getOwnPropertyDescriptor(global, 'Response').configurable is true 1076 1081 PASS Object.getOwnPropertyDescriptor(global, 'SQLException').value is SQLException 1077 1082 PASS Object.getOwnPropertyDescriptor(global, 'SQLException').hasOwnProperty('get') is false -
trunk/LayoutTests/platform/mac-yosemite/js/dom/global-constructors-attributes-expected.txt
r196747 r197049 1199 1199 PASS Object.getOwnPropertyDescriptor(global, 'Request').enumerable is false 1200 1200 PASS Object.getOwnPropertyDescriptor(global, 'Request').configurable is true 1201 PASS Object.getOwnPropertyDescriptor(global, 'Response').value is Response 1202 PASS Object.getOwnPropertyDescriptor(global, 'Response').hasOwnProperty('get') is false 1203 PASS Object.getOwnPropertyDescriptor(global, 'Response').hasOwnProperty('set') is false 1204 PASS Object.getOwnPropertyDescriptor(global, 'Response').enumerable is false 1205 PASS Object.getOwnPropertyDescriptor(global, 'Response').configurable is true 1201 1206 PASS Object.getOwnPropertyDescriptor(global, 'SQLException').value is SQLException 1202 1207 PASS Object.getOwnPropertyDescriptor(global, 'SQLException').hasOwnProperty('get') is false -
trunk/LayoutTests/platform/mac/js/dom/global-constructors-attributes-expected.txt
r196747 r197049 1199 1199 PASS Object.getOwnPropertyDescriptor(global, 'Request').enumerable is false 1200 1200 PASS Object.getOwnPropertyDescriptor(global, 'Request').configurable is true 1201 PASS Object.getOwnPropertyDescriptor(global, 'Response').value is Response 1202 PASS Object.getOwnPropertyDescriptor(global, 'Response').hasOwnProperty('get') is false 1203 PASS Object.getOwnPropertyDescriptor(global, 'Response').hasOwnProperty('set') is false 1204 PASS Object.getOwnPropertyDescriptor(global, 'Response').enumerable is false 1205 PASS Object.getOwnPropertyDescriptor(global, 'Response').configurable is true 1201 1206 PASS Object.getOwnPropertyDescriptor(global, 'SQLException').value is SQLException 1202 1207 PASS Object.getOwnPropertyDescriptor(global, 'SQLException').hasOwnProperty('get') is false -
trunk/LayoutTests/platform/win/js/dom/global-constructors-attributes-expected.txt
r196747 r197049 914 914 PASS Object.getOwnPropertyDescriptor(global, 'Request').enumerable is false 915 915 PASS Object.getOwnPropertyDescriptor(global, 'Request').configurable is true 916 PASS Object.getOwnPropertyDescriptor(global, 'Response').value is Response 917 PASS Object.getOwnPropertyDescriptor(global, 'Response').hasOwnProperty('get') is false 918 PASS Object.getOwnPropertyDescriptor(global, 'Response').hasOwnProperty('set') is false 919 PASS Object.getOwnPropertyDescriptor(global, 'Response').enumerable is false 920 PASS Object.getOwnPropertyDescriptor(global, 'Response').configurable is true 916 921 PASS Object.getOwnPropertyDescriptor(global, 'SQLException').value is SQLException 917 922 PASS Object.getOwnPropertyDescriptor(global, 'SQLException').hasOwnProperty('get') is false -
trunk/Source/WebCore/CMakeLists.txt
r197016 r197049 167 167 Modules/fetch/FetchHeaders.idl 168 168 Modules/fetch/FetchRequest.idl 169 Modules/fetch/FetchResponse.idl 169 170 170 171 Modules/geolocation/Coordinates.idl … … 814 815 Modules/fetch/FetchHeaders.cpp 815 816 Modules/fetch/FetchRequest.cpp 817 Modules/fetch/FetchResponse.cpp 816 818 817 819 Modules/geolocation/Coordinates.cpp … … 3666 3668 set(WebCore_BUILTINS_SOURCES 3667 3669 ${WEBCORE_DIR}/Modules/fetch/FetchHeaders.js 3670 ${WEBCORE_DIR}/Modules/fetch/FetchResponse.js 3668 3671 ${WEBCORE_DIR}/Modules/mediastream/MediaDevices.js 3669 3672 ${WEBCORE_DIR}/Modules/mediastream/NavigatorUserMedia.js -
trunk/Source/WebCore/ChangeLog
r197040 r197049 1 2016-02-24 Youenn Fablet <youenn.fablet@crf.canon.fr> 2 3 [Fetch API] Implement Fetch API Response 4 https://bugs.webkit.org/show_bug.cgi?id=154536 5 6 Reviewed by Alex Christensen. 7 8 Tests: imported/w3c/web-platform-tests/fetch/api/response/response-clone.html 9 imported/w3c/web-platform-tests/fetch/api/response/response-consume.html 10 imported/w3c/web-platform-tests/fetch/api/response/response-error.html 11 imported/w3c/web-platform-tests/fetch/api/response/response-idl.html 12 imported/w3c/web-platform-tests/fetch/api/response/response-init-001.html 13 imported/w3c/web-platform-tests/fetch/api/response/response-init-002.html 14 imported/w3c/web-platform-tests/fetch/api/response/response-static-error.html 15 imported/w3c/web-platform-tests/fetch/api/response/response-static-redirect.html 16 17 Adding Fetch Response as FetchResponse class. 18 Constructor uses a built-in to pre-process the parameters. 19 Support of body as ReadableStream is missing. 20 21 * CMakeLists.txt: 22 * DerivedSources.make: 23 * Modules/fetch/FetchBody.h: 24 (WebCore::FetchBody::empty): 25 * Modules/fetch/FetchResponse.cpp: Added. 26 (WebCore::JSFetchResponse::body): 27 (WebCore::isRedirectStatus): 28 (WebCore::isNullBodyStatus): 29 (WebCore::FetchResponse::error): 30 (WebCore::FetchResponse::redirect): 31 (WebCore::FetchResponse::initializeWith): 32 (WebCore::FetchResponse::FetchResponse): 33 (WebCore::FetchResponse::clone): 34 (WebCore::FetchResponse::type): 35 * Modules/fetch/FetchResponse.h: Added. 36 (WebCore::FetchResponse::create): 37 (WebCore::FetchResponse::redirect): 38 (WebCore::FetchResponse::url): 39 (WebCore::FetchResponse::redirected): 40 (WebCore::FetchResponse::status): 41 (WebCore::FetchResponse::ok): 42 (WebCore::FetchResponse::statusText): 43 (WebCore::FetchResponse::headers): 44 (WebCore::FetchResponse::isDisturbed): 45 (WebCore::FetchResponse::arrayBuffer): 46 (WebCore::FetchResponse::formData): 47 (WebCore::FetchResponse::blob): 48 (WebCore::FetchResponse::json): 49 (WebCore::FetchResponse::text): 50 * Modules/fetch/FetchResponse.idl: Added. 51 * Modules/fetch/FetchResponse.js: Added. 52 (initializeFetchResponse): 53 * WebCore.xcodeproj/project.pbxproj: 54 * bindings/js/WebCoreJSBuiltins.cpp: 55 * bindings/js/WebCoreJSBuiltins.h: 56 (WebCore::JSBuiltinFunctions::JSBuiltinFunctions): 57 (WebCore::JSBuiltinFunctions::fetchResponseBuiltins): 58 1 59 2016-02-24 Ryosuke Niwa <rniwa@webkit.org> 2 60 -
trunk/Source/WebCore/DerivedSources.cpp
r197016 r197049 157 157 #include "JSFetchHeaders.cpp" 158 158 #include "JSFetchRequest.cpp" 159 #include "JSFetchResponse.cpp" 159 160 #include "JSFile.cpp" 160 161 #include "JSFileError.cpp" -
trunk/Source/WebCore/DerivedSources.make
r197016 r197049 83 83 $(WebCore)/Modules/fetch/FetchHeaders.idl \ 84 84 $(WebCore)/Modules/fetch/FetchRequest.idl \ 85 $(WebCore)/Modules/fetch/FetchResponse.idl \ 85 86 $(WebCore)/Modules/gamepad/Gamepad.idl \ 86 87 $(WebCore)/Modules/gamepad/GamepadButton.idl \ … … 1272 1273 WebCore_BUILTINS_SOURCES = \ 1273 1274 $(WebCore)/Modules/fetch/FetchHeaders.js \ 1275 $(WebCore)/Modules/fetch/FetchResponse.js \ 1274 1276 $(WebCore)/Modules/mediastream/MediaDevices.js \ 1275 1277 $(WebCore)/Modules/mediastream/NavigatorUserMedia.js \ -
trunk/Source/WebCore/Modules/fetch/FetchBody.h
r195954 r197049 71 71 static FetchBody fromJSValue(JSC::ExecState&, JSC::JSValue); 72 72 static FetchBody fromRequestBody(FetchBody*); 73 static FetchBody empty() { return FetchBody(); } 73 74 74 75 private: -
trunk/Source/WebCore/WebCore.xcodeproj/project.pbxproj
r197030 r197049 1498 1498 4129DF851BB5B80700322A16 /* JSReadableStreamPrivateConstructors.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 4129DF831BB5B7F700322A16 /* JSReadableStreamPrivateConstructors.cpp */; }; 1499 1499 4129DF861BB5B80C00322A16 /* JSReadableStreamPrivateConstructors.h in Headers */ = {isa = PBXBuildFile; fileRef = 4129DF841BB5B7F700322A16 /* JSReadableStreamPrivateConstructors.h */; settings = {ATTRIBUTES = (Private, ); }; }; 1500 413015D91C7B571400091C6E /* FetchResponse.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 413015D51C7B570400091C6E /* FetchResponse.cpp */; }; 1500 1501 4138D3351244054800323D33 /* EventContext.h in Headers */ = {isa = PBXBuildFile; fileRef = 4138D3331244054800323D33 /* EventContext.h */; }; 1501 1502 4138D3361244054800323D33 /* EventContext.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 4138D3341244054800323D33 /* EventContext.cpp */; }; … … 2814 2815 7E474E1F12494DC900235364 /* SQLiteDatabaseTracker.h in Headers */ = {isa = PBXBuildFile; fileRef = 7E474E1C12494DC900235364 /* SQLiteDatabaseTracker.h */; settings = {ATTRIBUTES = (Private, ); }; }; 2815 2816 7E474E2012494DC900235364 /* SQLiteDatabaseTracker.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 7E474E1D12494DC900235364 /* SQLiteDatabaseTracker.cpp */; }; 2817 7E4C96DD1AD4483500365A50 /* JSFetchRequest.h in Headers */ = {isa = PBXBuildFile; fileRef = 7E4C96D91AD4483500365A50 /* JSFetchRequest.h */; }; 2816 2818 7E4C96DC1AD4483500365A50 /* JSFetchRequest.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 7E4C96D81AD4483500365A50 /* JSFetchRequest.cpp */; }; 2817 7E4C96DD1AD4483500365A50 /* JSFetchRequest.h in Headers */ = {isa = PBXBuildFile; fileRef = 7E4C96D91AD4483500365A50 /* JSFetchRequest.h */; }; 2819 8E4C96DD1AD4483500365A50 /* JSFetchResponse.h in Headers */ = {isa = PBXBuildFile; fileRef = 8E4C96D91AD4483500365A50 /* JSFetchResponse.h */; }; 2820 8E4C96DC1AD4483500365A50 /* JSFetchResponse.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 8E4C96D81AD4483500365A50 /* JSFetchResponse.cpp */; }; 2818 2821 7E4DE10D198B10B60051CB02 /* DiskCacheMonitorCocoa.mm in Sources */ = {isa = PBXBuildFile; fileRef = 7E4DE10C198B10B60051CB02 /* DiskCacheMonitorCocoa.mm */; }; 2819 2822 7E5D7A76161D3F8F00896C34 /* OESElementIndexUint.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 7E5D7A73161D3F8F00896C34 /* OESElementIndexUint.cpp */; }; … … 8961 8964 4129DF831BB5B7F700322A16 /* JSReadableStreamPrivateConstructors.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = JSReadableStreamPrivateConstructors.cpp; sourceTree = "<group>"; }; 8962 8965 4129DF841BB5B7F700322A16 /* JSReadableStreamPrivateConstructors.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = JSReadableStreamPrivateConstructors.h; sourceTree = "<group>"; }; 8966 413015D51C7B570400091C6E /* FetchResponse.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = FetchResponse.cpp; sourceTree = "<group>"; }; 8967 413015D61C7B570400091C6E /* FetchResponse.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = FetchResponse.h; sourceTree = "<group>"; }; 8968 413015D71C7B570400091C6E /* FetchResponse.idl */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text; path = FetchResponse.idl; sourceTree = "<group>"; }; 8969 413015D81C7B570400091C6E /* FetchResponse.js */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.javascript; path = FetchResponse.js; sourceTree = "<group>"; }; 8963 8970 4138D3331244054800323D33 /* EventContext.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = EventContext.h; sourceTree = "<group>"; }; 8964 8971 4138D3341244054800323D33 /* EventContext.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = EventContext.cpp; sourceTree = "<group>"; }; … … 10442 10449 7E4C96D81AD4483500365A50 /* JSFetchRequest.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = JSFetchRequest.cpp; sourceTree = "<group>"; }; 10443 10450 7E4C96D91AD4483500365A50 /* JSFetchRequest.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = JSFetchRequest.h; sourceTree = "<group>"; }; 10451 8E4C96D81AD4483500365A50 /* JSFetchResponse.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = JSFetchResponse.cpp; sourceTree = "<group>"; }; 10452 8E4C96D91AD4483500365A50 /* JSFetchResponse.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = JSFetchResponse.h; sourceTree = "<group>"; }; 10444 10453 7E4DE10C198B10B60051CB02 /* DiskCacheMonitorCocoa.mm */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.objcpp; path = DiskCacheMonitorCocoa.mm; sourceTree = "<group>"; }; 10445 10454 7E5D7A73161D3F8F00896C34 /* OESElementIndexUint.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = OESElementIndexUint.cpp; sourceTree = "<group>"; }; … … 16754 16763 41F54F881C50C4F600338488 /* FetchRequest.h */, 16755 16764 41F54F891C50C4F600338488 /* FetchRequest.idl */, 16765 413015D51C7B570400091C6E /* FetchResponse.cpp */, 16766 413015D61C7B570400091C6E /* FetchResponse.h */, 16767 413015D71C7B570400091C6E /* FetchResponse.idl */, 16768 413015D81C7B570400091C6E /* FetchResponse.js */, 16756 16769 ); 16757 16770 path = fetch; … … 16767 16780 7D4C96D81AD4483500365A50 /* JSFetchHeaders.cpp */, 16768 16781 7D4C96D91AD4483500365A50 /* JSFetchHeaders.h */, 16782 8E4C96D81AD4483500365A50 /* JSFetchResponse.cpp */, 16783 8E4C96D91AD4483500365A50 /* JSFetchResponse.h */, 16769 16784 ); 16770 16785 name = FetchAPI; … … 26685 26700 7F4C96DD1AD4483500365A50 /* JSFetchBody.h in Headers */, 26686 26701 7E4C96DD1AD4483500365A50 /* JSFetchRequest.h in Headers */, 26702 8E4C96DD1AD4483500365A50 /* JSFetchResponse.h in Headers */, 26687 26703 7D4C96DD1AD4483500365A50 /* JSFetchHeaders.h in Headers */, 26688 26704 7C4C96DD1AD4483500365A50 /* JSReadableStream.h in Headers */, … … 30427 30443 7D4C96DC1AD4483500365A50 /* JSFetchHeaders.cpp in Sources */, 30428 30444 7E4C96DC1AD4483500365A50 /* JSFetchRequest.cpp in Sources */, 30445 8E4C96DC1AD4483500365A50 /* JSFetchResponse.cpp in Sources */, 30429 30446 7C4C96DC1AD4483500365A50 /* JSReadableStream.cpp in Sources */, 30430 30447 6C4C96DE1AD4483500365A50 /* JSReadableStreamController.cpp in Sources */, … … 30693 30710 D3F3D36B1A69B7C50059FC2B /* JSWebGLRenderingContextBaseCustom.cpp in Sources */, 30694 30711 49EED14F1051971A00099FAB /* JSWebGLRenderingContextCustom.cpp in Sources */, 30712 413015D91C7B571400091C6E /* FetchResponse.cpp in Sources */, 30695 30713 6F995A331A70833700A735F4 /* JSWebGLSampler.cpp in Sources */, 30696 30714 49C7B9A21042D2D30009D447 /* JSWebGLShader.cpp in Sources */, -
trunk/Source/WebCore/bindings/js/WebCoreJSBuiltins.cpp
r195584 r197049 30 30 #include "CountQueuingStrategyBuiltins.cpp" 31 31 #include "FetchHeadersBuiltins.cpp" 32 #include "FetchResponseBuiltins.cpp" 32 33 #include "MediaDevicesBuiltins.cpp" 33 34 #include "NavigatorUserMediaBuiltins.cpp" -
trunk/Source/WebCore/bindings/js/WebCoreJSBuiltins.h
r195584 r197049 31 31 #include "CountQueuingStrategyBuiltins.h" 32 32 #include "FetchHeadersBuiltins.h" 33 #include "FetchResponseBuiltins.h" 33 34 #include "MediaDevicesBuiltins.h" 34 35 #include "NavigatorUserMediaBuiltins.h" … … 52 53 #if ENABLE(FETCH_API) 53 54 , m_fetchHeadersBuiltins(&vm) 55 , m_fetchResponseBuiltins(&vm) 54 56 #endif 55 57 #if ENABLE(STREAMS_API) … … 82 84 #if ENABLE(FETCH_API) 83 85 FetchHeadersBuiltinsWrapper& fetchHeadersBuiltins() { return m_fetchHeadersBuiltins; } 86 FetchResponseBuiltinsWrapper& fetchResponseBuiltins() { return m_fetchResponseBuiltins; } 84 87 #endif 85 88 #if ENABLE(STREAMS_API) … … 105 108 #if ENABLE(FETCH_API) 106 109 FetchHeadersBuiltinsWrapper m_fetchHeadersBuiltins; 110 FetchResponseBuiltinsWrapper m_fetchResponseBuiltins; 107 111 #endif 108 112 #if ENABLE(STREAMS_API)
Note: See TracChangeset
for help on using the changeset viewer.