History log of /frameworks/base/core/java/android/webkit/FrameLoader.java
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
b2d95503fdb962afa3302dd24dd2b9e3ad4459d6 12-Apr-2010 Kristian Monsen <kristianm@google.com> Fix for 2585858, load invalid urls.

The browser currently does not try to load invalid urls, that can be a problem. Now we only check if the host is correctly encoded.

Change-Id: Ie7380c59d4faab68a2f957e7f1ba8347e15e45a1
/frameworks/base/core/java/android/webkit/FrameLoader.java
0b43747206014244c9318868ed199b648918d816 15-Mar-2010 Steve Block <steveblock@google.com> Fix loading from the cache for synchronous requests

This fixes crashes in several XHR layout tests.

Bug: 2218794
Change-Id: Iebe3a2d19f1fa43b8d9c9d7763e818f7195b8ceb
/frameworks/base/core/java/android/webkit/FrameLoader.java
76619af64ca9b49c4f87d5ee6d444971d5b481c4 05-Mar-2010 Steve Block <steveblock@google.com> For synchronous loads, load file URLs in the WebCore thread, rather than in the new WebViewWorker thread

This fixes the layout test failure in fast/xmlhttprequest/xmlhttprequest-html-response-encoding.html

Bug: 2218794
Change-Id: If86c5dbb72b21400bd0fb6981de1a6fdf9b40fe7
/frameworks/base/core/java/android/webkit/FrameLoader.java
5f38e1aaa1ad51d82be8e508cbdb568779698972 02-Mar-2010 Grace Kloba <klobag@google.com> Start the synchronous load in the WebCore thread.

Fix http://b/issue?id=2480606
/frameworks/base/core/java/android/webkit/FrameLoader.java
2036dbab1726c34953360a7a56d6b9ef1f2aa7dd 15-Feb-2010 Grace Kloba <klobag@google.com> Add a new WebCoreWorker thread to handle the tasks
which should not block either UI or WebKit. It handles
local file access, cache access and trim cache.

Move createCache, saveCache and most of getCache out
of WebCore thread so that slow IO and database will
not affect loading performance. getCache can be still
called from WebCore thread in the uncommon cases
like redirect and POST validation.

Move cache ticker from WebCore thread to WebViewWorkerThread.

Move setCookie from WebCore thread to WebViewWorkerThread.

Remove the unreferenced files in the cache directory
while trim cache.

Confirmed with our SQL expert, Vasu, there is no need
to wrap clearCache with end/startTransaction any more.

http://b/issue?id=2414792
http://b/issue?id=2475242
/frameworks/base/core/java/android/webkit/FrameLoader.java
ac75f56600691d318d40301204baaf840c9586f2 03-Feb-2010 Grace Kloba <klobag@google.com> Enable StreamLoader to be loaded in a separate thread.

Move ContentLoader and FileLoader to this new way
as they involves IO. Will work on CacheLoader later.

Change StreamLoader to contain a Handler instead of
derive from a Handler so that the Handler can be
created in the thread where load() is called.

Rename StreamLoader's old "LoadListener mHandler"
to mLoadListener.

Remove unused import and unreachable exception.

Fix http://b/issue?id=2158613

This improved page_cycler performance in moz/intl by
10-30% as we are not blocked by IO any more.
/frameworks/base/core/java/android/webkit/FrameLoader.java
8af3cfc2a45334bfe936fcfc79c6e1cab06e104b 02-Feb-2010 Patrick Scott <phanna@android.com> Check for null data after decoding a data: url.

Refactor StreamLoader and friends since they all use a Context. Change the
successful status to 200 instead of 0. Not sure why it was ever 0.

Bug: 2364322
/frameworks/base/core/java/android/webkit/FrameLoader.java
bd5c823e28d907d85b8d0867133343ccda014451 07-Dec-2009 Grace Kloba <klobag@google.com> Add "res" support for WebView.

http://b/issue?id=2296839
/frameworks/base/core/java/android/webkit/FrameLoader.java
8c92c39b858ae73a1b08ed698887efa98ced987c 09-Nov-2009 Grace Kloba <klobag@google.com> Add postdata identifier so that if we cache the post
result, we will use (url+postIdentifier) as the key
for the CacheResult.

Fix http://b/issue?id=1980031
/frameworks/base/core/java/android/webkit/FrameLoader.java
68e530047786b4f9d219d17652d7429e6e5a21bd 13-Aug-2009 Patrick Scott <phanna@android.com> The local loaders assume the url given to them is decoded.

Decode the url before passing down to the local loaders since they do not decode
the url themselves. This was creating a crash on youtube.com since the data url
was percent-encoded and failing to parse from base64.
/frameworks/base/core/java/android/webkit/FrameLoader.java
385df699a6d602cab501092821a79cc6ab3a390e 13-Aug-2009 Andrei Popescu <andreip@google.com> remove Gears
/frameworks/base/core/java/android/webkit/FrameLoader.java
758bf410843724d31f4ab48e8d7dd6b7c1240f23 11-Aug-2009 Grace Kloba <klobag@google.com> Improve Browser performance by 1-2%. To address domain sanity bug,
http://b/issue?id=1022797, we decoded/encoded the url for each request. As
the url can be long, getBytes() and String.init are taking 1.5% in nytimes.com
and 2.4% in cnn.com. By doing a simple URL encoding test, we can shave 1-2
secs thread time during loading.
/frameworks/base/core/java/android/webkit/FrameLoader.java
fe4fec7c66b0d956f008ead0fd899b588cfacb5d 14-Jul-2009 Patrick Scott <phanna@android.com> Remove all our old high priority knowledge since WebCore will manage it.

Also removed an unused variable in RequestQueue.java.
/frameworks/base/core/java/android/webkit/FrameLoader.java
e10809d02cd16bb31e1e9b094c612094af08757c 01-Jul-2009 Android (Google) Code Review <android-gerrit@google.com> am 7a573862: Merge change 5720 into donut

Merge commit '7a5738624fa78e328b5f36c687c20b9cf0eb5a60'

* commit '7a5738624fa78e328b5f36c687c20b9cf0eb5a60':
Fix #1876303. Even rfc2616 4.2 says that "Field names are case-insensitive.", servers including Google internal uses case-sensitive checking for "Cookie". So change it.
65c0fc4fc445374c7f6e2106e6ed3d6191e45cae 30-Jun-2009 Grace Kloba <klobag@google.com> Fix #1876303. Even rfc2616 4.2 says that "Field names are case-insensitive.", servers including Google internal uses case-sensitive checking for "Cookie". So change it.
/frameworks/base/core/java/android/webkit/FrameLoader.java
2e5c150e746647a1ce5c10e1708debbf06c45ea7 03-Jun-2009 Derek Sollenberger <djsollen@google.com> Centralized debug flags and enabled more granular control of debug settings.
/frameworks/base/core/java/android/webkit/FrameLoader.java
42bc2ff5d2e3a10ab6c1fb1e716a124f2b446dbc 14-Apr-2009 Dave Bort <dbort@android.com> Remove references to android.util.Config

The semantics of Config.DEBUG will be changing soon, and all other
Config.* fields will become deprecated/hidden.

BUG=1780938
/frameworks/base/core/java/android/webkit/FrameLoader.java
4df2423a947bcd3f024cc3d3a1a315a8dc428598 05-Mar-2009 The Android Open Source Project <initial-contribution@android.com> auto import from //depot/cupcake/@136594
/frameworks/base/core/java/android/webkit/FrameLoader.java
9066cfe9886ac131c34d59ed0e2d287b0e3c0087 04-Mar-2009 The Android Open Source Project <initial-contribution@android.com> auto import from //depot/cupcake/@135843
/frameworks/base/core/java/android/webkit/FrameLoader.java
d83a98f4ce9cfa908f5c54bbd70f03eec07e7553 04-Mar-2009 The Android Open Source Project <initial-contribution@android.com> auto import from //depot/cupcake/@135843
/frameworks/base/core/java/android/webkit/FrameLoader.java
d24b8183b93e781080b2c16c487e60d51c12da31 11-Feb-2009 The Android Open Source Project <initial-contribution@android.com> auto import from //branches/cupcake/...@130745
/frameworks/base/core/java/android/webkit/FrameLoader.java
f013e1afd1e68af5e3b868c26a653bbfb39538f8 18-Dec-2008 The Android Open Source Project <initial-contribution@android.com> Code drop from //branches/cupcake/...@124589
/frameworks/base/core/java/android/webkit/FrameLoader.java
54b6cfa9a9e5b861a9930af873580d6dc20f773c 21-Oct-2008 The Android Open Source Project <initial-contribution@android.com> Initial Contribution
/frameworks/base/core/java/android/webkit/FrameLoader.java