| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Optionally delete unwanted cookies (and localstorage) at every Browser
resume. The default for this feature is off - ie. maintain the current
Browser "keep every cookie" behaviour.
Optionally localstorage files (site databases) are also removed whenever
cookies have been deleted. This helps to reduce evercookie/supercookie
persistence.
A whitelist of sites that are permitted to keep cookies is stored in the
standard Browser shared_prefs. The site's cookie preference is set via a
menu checkbox when viewing the page. This allows opt-in whitelisting
behaviour on a per-site basis, suitable for saving eg. login cookies.
The cookie deletion itself is done by using existing API's to delete all
cookies and then selectively restore just those from the whitelisted sites.
Cookie counting is the only new API needed by this patch, and is used to
eliminate unnecessary cookie and localstorage deletes.
Although simplistic, onResume cookie filtering seems to work well and in
testing hasn't broken any web browsing. The underlying CookieMonster
functions operate on cached copies in ram and are asynchronous to disk so
there should be little or no measurable performance impact on browsing from
cookies. localstorage deletion is not cached by any layer so, if enabled,
might have some minor performance impact.
Change-Id: I55c69292a5ddc460e0e50b340dc4330c28becc5e
|
| |
|
|
|
|
| |
This reverts commit 466eec10770c7278eb9a5750a48c165af8a19d47.
Change-Id: I8b9b8b8847b3b2540e6084abb75dd7e446cfceed
|
| |
|
|
|
|
|
|
|
| |
http://jira.omnirom.org/browse/OMNI-59
What the hell google!
https://github.com/omnirom/android_frameworks_webview/blob/android-4.4/chromium/java/com/android/webview/chromium/WebViewChromium.java#L202
Change-Id: Ie046df74499e7cfc5dbd2d34c8706df860e8304d
|
| |
|
|
|
|
|
|
|
|
| |
Bug: 10427705
Allows Browser to compile even when WebViewClassic is no longer in
frameworks/base. The deleted functionality was already disabled at
runtime when using non-classic webview.
Change-Id: I21b58ec52ac059c699b49a2dd80008d9a9e6791a
|
| |
|
|
|
|
|
|
| |
Removes the hard run-time dependency on WebViewClassic.
(Still needs visisbility of it to build though)
This is needed to enable chromium webview testing.
Change-Id: I290b6b23b2eac525537ebc3ef8007d681a67a169
|
| |\
| |
| |
| |
| | |
* commit '571866cd42918d9227db8424667c585b8f9fdf94':
Make locale safe paths
|
| | |
| |
| |
| |
| |
| |
| |
| |
| | |
getTarget was using SimpleDateFormat with the default
locale to create paths. In some locales this resulted
in characters that are not safe to use on all file
systems. Explicitly use Locale.US to be locale safe.
Change-Id: Id0d994231fa82d5695e7b0fdbae32333b9e77a6e
|
| |\|
| |
| |
| |
| | |
* commit 'd22af61d97b938d0c4124fbdaae627f3e85e7084':
Added catch of SQLiteException when updating screenshot
|
| | |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Error found when running Monkey test. User probably tries
to add a bookmark and directly after deleting it. The method
updateScreenshot is running an AsyncTask and gets an Exception
from the database when the bookmark does not exist. The deletion
of the bookmark runs in another thread.
Change-Id: I63bb954419f60fb5106c1a6597692b6bac925714
|
| |\|
| |
| |
| |
| | |
* commit 'cf00c263557e1bd8ba060938cf8a451f2b92af2c':
Pause WebView timer when Browser is paused
|
| | |\ |
|
| | | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
If the Browser is paused while loading a page it
shall finish loading the page before the WebView
timer is paused.
The WebView timer shall be paused in onProgressChanged
when the progress has reached 100 not from onPageFinished
since onPageFinished is called when the main frame is loaded
and at that time subframe and other resources might haven't
been finished loaded i.e. the page is still in load, which the
result in WebView timers are not paused.
With this patch the Browser won't consume system resources
if it's minimized while doing a page load.
Change-Id: Id971dbcedfbedb5b0e56cba4076cd724d590ac85
|
| |\| |
| | |
| | |
| | | |
Change-Id: I5853a3609caacf7b0ff0eecbb1ed697811b7430e
|
| | |/
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Currently null is passed as useragent to the Download Manager when
downloading via Browser context menu (causes the Download
Provider to use an empty useragent HTTP header).
This commit simply passes the webview's useragent instead.
This applies to the usecase when choosing save image/link
via the context menu (long press).
Change-Id: Ie9cc5e81630d0dcefe4708980146cc5ed867e4ad
|
| | |
| |
| |
| |
| | |
Bug: 6662557
Change-Id: Ib7fdc4b3f1e0f7370631d8a222565faaee550bfb
|
| |/
|
|
|
|
|
|
| |
Bug: 5334118
When sending an intent for a URL with specialized handlers, tag
it with an extra that will surpress subsequent redirections
Change-Id: I997aa79192baea86c58958ab213200d57ec4c4f9
|
| |\
| |
| |
| |
| | |
* commit '3c573ac4dbc0e9a117a9540c410911bab52dffa7':
Enable voice search in omnibox
|
| | |
| |
| |
| |
| |
| |
| |
| | |
Bug: 6601348
Bring back voice search. Also fixes focus bug for fixed titlebar.
Change-Id: I83c8ad96957b62c23ad0bbb35685712687d11213
|
| |\|
| |
| |
| |
| | |
* commit '244cdfa6eb0745a4b681cb704f5564050d88f7ed':
Prevent the monkies with a sledgehammer
|
| | |
| |
| |
| |
| |
| |
| | |
Bug: 6515134
If we never have a null mController, we can never have a NPE!
Change-Id: Idf90b94e6557e0afd6dd92602b8e4dfd189218d1
|
| |\|
| |
| |
| |
| | |
* commit 'f695f6b4399f3a60a5d9d0aa39b8c341e8b8592a':
Tell Browser to monitor the WebCore thread for responsiveness.
|
| | |
| |
| |
| |
| |
| |
| |
| | |
We no longer enable the WebCore thread watchdog for all
WebViews, but we still want the functionality in Browser.
Bug: 6447214
Change-Id: I1665bef875d53239203bc6313ac39af4bda6a60b
|
| |\ \
| |/
|/|
| |
| | |
* commit '501fa7284ae63fe28b8f81f403f24befa7c992dd':
Added a menu item in Browser called Close other tabs
|
| | |
| |
| |
| |
| |
| |
| |
| |
| | |
This closes all other tabs except the current one (only for the phone interface)
Will submit patch for tablet interface once this is approved.
It solves the problem of mass closing unneeded tabs to a certain extent.
Preferred method would be to select multiple tabs like list items.
Change-Id: I5af00f1c19043104987375f1da396eb6fefb5dd4
|
| | |
| |
| |
| |
| |
| | |
Bug: 6493939
Change-Id: I7787ab37b57fce8ea2332fefd1ace420357000ec
|
| | |
| |
| |
| |
| |
| | |
Bug: 6439427
Change-Id: I7704d8c81bbb9e612faf3a3206cee245e746035b
|
| | |
| |
| |
| |
| |
| | |
Bug: 6439925
Change-Id: I1b7161a67fa0c20d87f147d6ed19c02e53093054
|
| | |
| |
| |
| | |
Change-Id: I83b60ac504c8300904d76753b92f6fb3a93c172f
|
| |\ \ |
|
| | | |
| | |
| | |
| | |
| | |
| | | |
Bug: 6023055
Change-Id: Ifc36425d6b09d0938f7e08176a749159c27fe088
|
| |/ /
| |
| |
| |
| |
| | |
Bug: 5416822
Change-Id: I213c3507af61e7ca0354dad7e72ece7a2547f54e
|
| | |
| |
| |
| |
| |
| | |
Bug: 6337808
Change-Id: Ib51e5d34d1800d7216093c06b6881f94ad7bc439
|
| | |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Receive the value for the new "capture" attribute on HTML
file pickers, and do the right thing with it.
Requires changes in WebKit
(I0a921be31fda79a43c05da4fe22d9c808d92709c)
and the framework (I494adc1274ca21ce8fe52a6c7b6b758217927e66).
Bug: 5771207
Change-Id: I38dfe2df043fdba1388384dbd3b5370737eb38e5
|
| | |
| |
| |
| |
| |
| | |
Bug: 6297208
Change-Id: I5728296944340e19402b2bc681f01e70aeaf8276
|
| | |
| |
| |
| | |
Change-Id: I5d4fe7fdac1fb58e2e89afe00c468eed632428db
|
| | |
| |
| |
| |
| |
| | |
Bug: 5904671
Change-Id: Id5b26035ddc8c04decc5f43ae4b859b396839a82
|
| | |
| |
| |
| |
| |
| | |
Bug: 6125790
Change-Id: I1326b5944260fe29ba9d68256d118238bcfdc3a0
|
| | |
| |
| |
| |
| |
| |
| |
| | |
Has to escape out to WebViewClassic whenever it needs a hidden API.
Interdepends on https://android-git.corp.google.com/g/165608
Change-Id: Ic61dd7f57f75381864075605d5901f2688648cbd
|
| | |
| |
| |
| | |
This reverts commit efe667469ef06277ad95699c365fe9ba6b44f4d5.
|
| | |
| |
| |
| |
| |
| |
| |
| | |
Bug: 5960873
onPageFinished happens with in-page navigation, but onProgressChanged
doesn't. Use that to avoid taking unnecessary thumbnail captures
Change-Id: Ifbc83e3f654c81cc01d52a6ece129f96e888bf67
|
| |\ \ |
|
| | | |
| | |
| | |
| | | |
Change-Id: I931def1d52eb792f8ada99946b0c419936e01771
|
| |/ /
| |
| |
| | |
Change-Id: I4aeb1f420c885181dc6016e317c2e716876db549
|
| | |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Bug: 5621026
Allow onPageFinished to reach Controller for links with anchor tags
Note that the bookmark thumbnail update won't overload the
async task anymore, since only one update message is active at any given
time (see bug: 4517571)
Change-Id: Iaeb9950ef15446aa9c824c7196f26a748591c944
|
| | |
| |
| |
| |
| |
| | |
Bug: 5737769
Change-Id: Ie1a485222df6b470d95ace9130b5cf2591a231df
|
| | |
| |
| |
| |
| |
| | |
Bug: 5731975
Change-Id: I1dd44b25f718a2270d5965a8f3f5dab096398856
|
| |\|
| |
| |
| |
| | |
* commit 'c5b0b2db3b917e658700642763fb50da0057716b':
Fix yet another Monkey NPE
|
| | |
| |
| |
| |
| |
| | |
Bug: 5685380
Change-Id: Ida841160df6e76318ebb8e2b3804a40184b96161
|
| |\|
| |
| |
| |
| | |
* commit '7431a694054d56b5d56410f708f97bc2a81ae5e3':
Fix NPE at startup
|
| | |
| |
| |
| |
| |
| | |
Bug: 5676863
Change-Id: I673699e577f0ed2cfa85260f905ccccc0d852399
|