Support loading for app:// scheme and widget:// scheme.
authorSungman Kim <ssungmai.kim@samsung.com>
Sat, 23 Mar 2013 00:08:56 +0000 (09:08 +0900)
committerSungman Kim <ssungmai.kim@samsung.com>
Sat, 23 Mar 2013 00:35:43 +0000 (09:35 +0900)
commit25fec7e6ca22a2c5d1cf5dfece445b834897411e
tree2af08de251e1f8a3205ec5d1adfc3fe0be449c70
parentf64da78562b451cf46eaa371872af98d8c62c2d1
Support loading for app:// scheme and widget:// scheme.

WRT should use protocol for app:// scheme or widget:// scheme.
So we added the new alternativeURL variable to resourceRequestBase class to support app:// and widget:// protocol loading.
Also the changed data:// protocol from file:// protocol is supported.

[Title] Support loading for app:// and widget:// scheme.
[Issue#] N/A
[Problem] The app:// , widget:// protocol is not supported.
[Cause] app:// , widget:// scheme is not supported protocol in webkit.
[Solution] Add the new alternativeURL variable to resourceRequestBase class and if the original url is app:// scheme then replace it to file:// or data:// scheme before request.
[SCMRequest] N/A

Change-Id: I0adf59337a17be36cb65e8ffad13642659fce48a
Source/WebCore/loader/DocumentLoader.cpp
Source/WebCore/loader/DocumentLoader.h
Source/WebKit2/WebProcess/WebCoreSupport/WebFrameLoaderClient.cpp