9b95ab17ecdaf1e3501f0deb7580cb2b5492331a |
|
02-Apr-2010 |
Grace Kloba <klobag@google.com> |
Instead of holding an ApplicationContext, JWebCoreJavaBridge will have a reference of the current window's main WebView. It is only non-null if the WebView's window has the focus. Extract setActive() from onWindowFocusChanged() so that onAttachedToWindow() can call it directly. The old way has a mis-matching call to onWindowFocusChanged. Fix http://b/issue?id=2559152
/frameworks/base/core/java/android/webkit/BrowserFrame.java
|
11f5738424023ab0d2e90a41293685e71ac7e63a |
|
25-Mar-2010 |
Patrick Scott <phanna@android.com> |
Use ViewRoot.addConfigCallback instead of a BroadcastReceiver. Store a list of Handlers in a global ComponentCallbacks instance. Use WeakReference to avoid leaking BrowserFrame objects. Bug: 2542935 Change-Id: I67b102288f47f9fa6e855ba6558f2b1d611e8427
/frameworks/base/core/java/android/webkit/BrowserFrame.java
|
dbde425e216e47ec9fbbf521146636c40fe3198e |
|
24-Mar-2010 |
Patrick Scott <phanna@android.com> |
Use the Display orientation rather than the accelerometer. Register to receive configuration changes and query the Display rotation as that will reflect both device orientation and an open keyboard. Bug: 2219138 Change-Id: Ibd6119ae0c7d473e1a9ede3af24bb4b584c9db71
/frameworks/base/core/java/android/webkit/BrowserFrame.java
|
ea08c513549c1ddd9ba32337cb30973d7b61ca32 |
|
24-Mar-2010 |
Steve Block <steveblock@google.com> |
Fixes XHR requests to use the username and password supplied from JavaScript Currently, the browser does not use the credentials supplied from JavaScript. If a request returns a 401 Unauthorized, the browser always prompts the user. This violates http://www.w3.org/TR/XMLHttpRequest/#the-send-method Bug: 2533522 Change-Id: I8e72c1a0be187d193c4ad6b2ca8a624c7ae06fa1
/frameworks/base/core/java/android/webkit/BrowserFrame.java
|
1bb1a911c35c9df5fdbcaca13f97aa29dcec6cfb |
|
23-Mar-2010 |
Leon Scroggins <scroggo@google.com> |
If failUrl(now historyUrl) is null, use "about:blank" instead of "". This prevents a crash that is caused by calling WebView.loadDataWithBaseUrl with a null failUrl (which I have renamed to historyUrl). Also update the docs to be more accurate. Fixes the general case of bug 2522457 Change-Id: I832351ce1e0016b00e924a2f9b0097ae15fba34a
/frameworks/base/core/java/android/webkit/BrowserFrame.java
|
ac96fa575f17d4a65e65eddebe805c904fb29c19 |
|
22-Mar-2010 |
Cary Clark <cary@android.com> |
use the stream instead of the cursor data to return its size Most content providers set up the data size in the cursor that provides the file name, but sound recorder does not. Use the stream size instead, which will work with all sources and probably is no slower. fixes http://b/2529352 http://b/2524574 Change-Id: I32d101d07ca1d0fa2ff17c3c68393356902096d3
/frameworks/base/core/java/android/webkit/BrowserFrame.java
|
dba8cb76371960457e91b31fa396478f809a5a34 |
|
19-Mar-2010 |
Brian Carlstrom <bdc@google.com> |
b/2511635 Browser displays incorrect SSL cert information Two more cases of "View certificate" problems like b/2511635 One problem is that if there are multiple resources downloaded for a page. In that case the mCertificate shown ends up being from the last loaded resource instead of the main resource of the page. The solution is to only set the certificate if the LoadListener is the mIsMainResourceLoader as well as the mIsMainPageLoader. A larger problem was the fact that the EventHandler.certificate interface method (in this case the LoadListener.certificate implementation) once per https connection instead of once per request as was documented. That meant if an https connection was reused (which happens frequently on login pages such as https://www.google.com/accounts which use the POST -> redirect -> GET idiom to avoid POST data page refresh warnings) then later pages never were associated with an SslCertificate. The solution was to change EventHandler.certificate to be called once per request, specifcally before the request. This means we no longer call the certificate method in the handleSslErrorRequest case, which is okay because it includes the SslCertificate within the SslError and that is what the BrowserActivity expects. Change-Id: Icbd9bd98c89db82762d1d06de85e1cde2470300d
/frameworks/base/core/java/android/webkit/BrowserFrame.java
|
c0b778e10f8a4971f14b501a277b6b505d66b84d |
|
15-Mar-2010 |
Leon Clarke <leonclarke@google.com> |
http://b/issue?id=2501101 Create a concept of blocking messages on destruction similar to that in WebViewCore.java. This is to prevent what I think is a race condition caused by an orientation event occuring just before the frame is destroyed, resulting in the orientation listener being called back just before it is disabled, but posting its message after the messages have been removed. This results in the orientation event being delivered to a NULL native frame.
/frameworks/base/core/java/android/webkit/BrowserFrame.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/BrowserFrame.java
|
d0d9bc2f2fe737d186c0cc8c29a325e4f2907e8e |
|
27-Jan-2010 |
Grace Kloba <klobag@google.com> |
Add request header support for the Browser/WebView. QSB can use this instead of POST to send the location data. After QSB makes the switch, we should also remove the POST_DATA intent which is hidden. Add loadUrl(String url, HashMap extraHeaders) to WebView so that the caller can send the extra http headers. Remove "inline:" as no one is using it and it is a hidden feature. Part 1 of 3-project checkin.
/frameworks/base/core/java/android/webkit/BrowserFrame.java
|
9a67c82089e43d37f5038c74b0e1dca8edc4ac8a |
|
20-Dec-2009 |
Grace Kloba <klobag@google.com> |
Address the multiple resizing during initializing problem adobe run into. When a child view is created, we first hide it if the webview is not ready to draw yet. This will avoid the multiple resizing notification.
/frameworks/base/core/java/android/webkit/BrowserFrame.java
|
aacced6bc5a64c7daa4af2f29b94a1b00770f083 |
|
11-Dec-2009 |
Leon Scroggins <scroggo@google.com> |
Provide localized strings for <input> labels. Fix for http://b/issue?id=2178786 Provide strings for input types file, submit, and reset, and allow them to be passed down to native. Requires a change in external/webkit.
/frameworks/base/core/java/android/webkit/BrowserFrame.java
|
f06364b8c69b0e6b497242ef0d1161a2539c1b5a |
|
02-Dec-2009 |
Patrick Scott <phanna@android.com> |
Listen for window orientation events. These will be sent to webcore as orientation events.
/frameworks/base/core/java/android/webkit/BrowserFrame.java
|
7c24ed6904707ea7179cb81382b7ca8d8ce85b7f |
|
30-Nov-2009 |
Patrick Scott <phanna@android.com> |
Check if another Activity wants to intercept an xml mime type. WebCore treats */*+xml as content that it can render. This prevents Activities from intercepting those mime types. Check the same regular expression as DOMImplementation and then use the PackageManager to look for a matching Activity. Requires a change to webcore. Bug: 2256744
/frameworks/base/core/java/android/webkit/BrowserFrame.java
|
01d0fbfa683012623f030ec75a63e1a9fabcb916 |
|
01-Dec-2009 |
Romain Guy <romainguy@android.com> |
Fix a leak in WebView. Fixes #2296601. WebView and its related APIs are keeping static objects that hold references to Context instance. This could cause applications to leak their first Activity and all the associated resources.
/frameworks/base/core/java/android/webkit/BrowserFrame.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/BrowserFrame.java
|
d5ba82a1fe07a622dec3b304af285bec0410597d |
|
13-Oct-2009 |
Leon Scroggins <scroggo@google.com> |
Prevent getFile from copying when the file is too large. Since the caller expects the data to fit within a certain amount of space, do not copy into the buffer if the data exceeds that space. Requires a change to external/webkit
/frameworks/base/core/java/android/webkit/BrowserFrame.java
|
70ca3c25b959427359bdb7cf37a8c3d6eb962357 |
|
02-Oct-2009 |
Leon Scroggins <scroggo@google.com> |
File upload. Implement java side of file upload. Requires changes to external/ webkit to not break; requires changes to packages/apps/Browser before it actually is used. Fix http://b/issue?id=675743
/frameworks/base/core/java/android/webkit/BrowserFrame.java
|
1184313cbea3b34a4596a90be7081551d36f251a |
|
09-Oct-2009 |
Grace Kloba <klobag@google.com> |
Setting WebCore cache limit depending on the memory class. Fix http://b/issue?id=2176656
/frameworks/base/core/java/android/webkit/BrowserFrame.java
|
d58ccff769e40a6c52e9f6e30e4016590e05ba9a |
|
18-Sep-2009 |
Patrick Scott <phanna@android.com> |
Add a boolean indicating if the apple-touch-icon is precomposed.
/frameworks/base/core/java/android/webkit/BrowserFrame.java
|
408cf85207a43c9169f9fb520a584d2858847d24 |
|
21-Sep-2009 |
Grace Kloba <klobag@google.com> |
Support the new dpi change in the WebView. Fix http://b/issue?id=2071943
/frameworks/base/core/java/android/webkit/BrowserFrame.java
|
41d8565e816a29192d966f271c06bee91272087c |
|
17-Sep-2009 |
Chia-chi Yeh <chiachi@android.com> |
WebKit: switch to java-based CertTool. Change-Id: Ica6d491ede2bf2a311cacb7a7d64a249191fbecf
/frameworks/base/core/java/android/webkit/BrowserFrame.java
|
04b2868c74a54cf711552262f0ad20d234b627b4 |
|
14-Sep-2009 |
Grace Kloba <klobag@google.com> |
WebView zoom clean up
/frameworks/base/core/java/android/webkit/BrowserFrame.java
|
cf7b5521fc4a8f87033e3bf3626e8a2cf81fccfd |
|
09-Sep-2009 |
Andrei Popescu <andreip@google.com> |
Remove the call to nativeAddJavascriptInterface() from BrowserFrame::addJavascriptInterface() as it causes an intermitent crash.
/frameworks/base/core/java/android/webkit/BrowserFrame.java
|
4950b2b6951bbdc2b0023130bfbaca2a4044044f |
|
03-Sep-2009 |
Andrei Popescu <andreip@google.com> |
Fix appcache layout test that was timing out due to race condition in WebView::addJavascriptInterface.
/frameworks/base/core/java/android/webkit/BrowserFrame.java
|
83031581d62e9f89fdb90e2e8fc72d27f3b0c323 |
|
03-Sep-2009 |
Grace Kloba <klobag@google.com> |
Get drawable directory for the platform buttons. Fix http://b/issue?id=2086818
/frameworks/base/core/java/android/webkit/BrowserFrame.java
|
af31c3a42d48c9781b40587cf735f96352fe333a |
|
24-Aug-2009 |
Patrick Scott <phanna@android.com> |
Check for a null history item to avoid crashing. The history item may be null if this page is loaded through loadDataWithBaseURL so we cannot count on the item being non-null. Bug: 2073490
/frameworks/base/core/java/android/webkit/BrowserFrame.java
|
686cf75d5cf447d34961f6217f2ea3ce3e484ac2 |
|
11-Aug-2009 |
Cary Clark <cary@android.com> |
replace 'new String()' with "" bug reported by findbugs http://b/issue?id=1856909
/frameworks/base/core/java/android/webkit/BrowserFrame.java
|
bf951c5afdae020befac8099a9e13a851d26863c |
|
07-Aug-2009 |
Grace Kloba <klobag@google.com> |
As createCacheFile is called from WebCore instead of http thread now, remove the endCacheTransaction/startTransaction pairs.
/frameworks/base/core/java/android/webkit/BrowserFrame.java
|
2ba1262b420ef5b9abebcd818c46774b8517f244 |
|
04-Aug-2009 |
Patrick Scott <phanna@android.com> |
Add a callback for the url of an apple-touch-icon. Hide the apis until this is a well-tested feature. The url is reported rather than the actual icon since it may never be used. The apple-touch-icon is meant for shortcuts on the home screen.
/frameworks/base/core/java/android/webkit/BrowserFrame.java
|
fadbbd2a0cc94e5da4dea1ec3dac337e274c77c9 |
|
18-Jul-2009 |
Grace Kloba <klobag@google.com> |
Fix 1986313. WebKit assumes things happened in a certain order. In this case, we can't call LoadListener's nativeError until BrowserFrame's startLoadingResource returns. Otherwise, the failed request will not be removed from the DocLoader's request list. So the page will never finish loading.
/frameworks/base/core/java/android/webkit/BrowserFrame.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/BrowserFrame.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/BrowserFrame.java
|
5753430f6408fc5ddc9ef3592f59b968bcf282cc |
|
23-May-2009 |
Grace Kloba <klobag@google.com> |
Added postUrl() to WebView so that we can pass lat/lon for the search.
/frameworks/base/core/java/android/webkit/BrowserFrame.java
|
658ab7d787f64987d7c45aae08e5a12a073afe78 |
|
14-May-2009 |
Grace Kloba <klobag@google.com> |
Added PluginManager to handle getting all the plugin directories from PackageManager. Deprecated the old api to set a single plugin path.
/frameworks/base/core/java/android/webkit/BrowserFrame.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/BrowserFrame.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/BrowserFrame.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/BrowserFrame.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/BrowserFrame.java
|
3001a035439d8134a7d70d796376d1dfbff3cdcd |
|
19-Feb-2009 |
The Android Open Source Project <initial-contribution@android.com> |
auto import from //branches/cupcake/...@132276
/frameworks/base/core/java/android/webkit/BrowserFrame.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/BrowserFrame.java
|
54b6cfa9a9e5b861a9930af873580d6dc20f773c |
|
21-Oct-2008 |
The Android Open Source Project <initial-contribution@android.com> |
Initial Contribution
/frameworks/base/core/java/android/webkit/BrowserFrame.java
|