d674b09af2c536f57316b2a9c870be5f0af3b1d3 |
|
28-Feb-2018 |
Nate Fischer <ntfschr@google.com> |
WebView: relax URLUtil#isFileUrl() This relaxes URLUtil#isFileUrl() to accept a prefix of "file:" instead of requiring "file://". Chromium treats "file:path" as if the user had typed "file:///path". An app may incorrectly believe it's safe to load anything that URLUtil#isFileUrl() rejects, intending to refuse all URLs which point to the file system. Bug: 72848579 Test: cts-tradefed run cts -m CtsWebkitTestCases -t android.webkit.cts.URLUtilTest#testIsFileUrl Change-Id: I7b3bba961523d4bdda6169a0f50fe7f1d1579e38
/frameworks/base/core/java/android/webkit/URLUtil.java
|
2be201ec25bcc20510d220c86e90c89fe20b02a3 |
|
26-Oct-2017 |
Nate Fischer <ntfschr@google.com> |
WebView: change 'iff' to 'if' in docs Docs change only, no change to logic. This replaces "iff" (if and only if) with "if". The former term is unclear, and there's no real benefit to expanding to "if and only if." Change-Id: I1ac26e24b816f784b6868c8860849d4118b33294 Fixes: 68133964 Test: make -j40 docs (manually verify the change looks good)
/frameworks/base/core/java/android/webkit/URLUtil.java
|
5cca7bd58695e4a34c3cacc400d89eeb7cb89e3e |
|
27-Sep-2017 |
Nate Fischer <ntfschr@google.com> |
WebView: use proper javadocs Javadocs need to start with "/**", not "/*". This can unexpectedly trigger a presubmit failure if someone changes something else in these methods. This also fixes an import-order presubmit error. Bug: 65553544 Test: make -j30 docs (no visible change) Change-Id: I1bc8ef479e3dc9378e58904d0b317c4775117390
/frameworks/base/core/java/android/webkit/URLUtil.java
|
3442c74d2ce220a2d104a5717994bbaf09a9f02d |
|
09-Sep-2017 |
Nate Fischer <ntfschr@google.com> |
WebView: add @Nullable and @NonNull annotations This adds @Nullable and @NonNull annotations where the docs previously stated this. This change should be safe, since we already disallowed null values for the @NonNull parameters via documentation. I verified that documentation changes for APIs which previously did not mention null-ness in @param or @return Javadocs (if the API already mentioned it in these spots, then DroidDoc prefers the hand-written description). This also fixes various lint errors. Bug: 65465498 Test: make update-api and manually verify docs Change-Id: I4751508d0e72be8ddfc3d6b601db8c307c9df60e
/frameworks/base/core/java/android/webkit/URLUtil.java
|
0a6140d2173052b4fa753c9ea61f92814cbced6e |
|
05-Sep-2017 |
Nate Fischer <ntfschr@google.com> |
WebView: wrap Java literals with {@code} Docs change only. This wraps some Java literals (true, false, null) with {@code} blocks, as per Android API guidelines. This also addresses other presubmit errors: * fix lines that have become too long * fix broken import order and unused imports Bug: 65213517 Test: make docs (and manually verify things look better) Change-Id: Idc7fe28d40bea7bd1edcad539b75fa9c689b8d46
/frameworks/base/core/java/android/webkit/URLUtil.java
|
451e338c51e8c45efc0d21536dfae6f78f6d5e06 |
|
10-Nov-2014 |
Ignacio Solla <igsolla@google.com> |
[WebView] Allow the WebView to be compiled against the system SDK. BUG:18152150 Change-Id: Ifd6dcac17663631058d895c61bb6e8018c5aeecc
/frameworks/base/core/java/android/webkit/URLUtil.java
|
cb64d430627b71221c588ef5f23599dd34a89ee9 |
|
02-Aug-2013 |
Elliott Hughes <enh@google.com> |
If frameworks wants ASCII casing, it should explicity ask for it. http://elliotth.blogspot.com/2012/01/beware-convenience-methods.html Bug: https://code.google.com/p/android/issues/detail?id=58359 Change-Id: Iaab02e718a7be7bda22e626dca05d79bfd2a8fc4
/frameworks/base/core/java/android/webkit/URLUtil.java
|
0fa72ef10e08e35c28176837c733bd085b17e0ff |
|
27-Mar-2012 |
Jonathan Dixon <joth@google.com> |
Tidy up usage of URLUtil constants Several of these are duplicated; referring to a single source makes the code paths using them easier to track down. (also removing a spurious import) Bug: 6237833 Change-Id: Ibdacc124c047e37c7f0ced9ecc6f26ae3e6b4326
/frameworks/base/core/java/android/webkit/URLUtil.java
|
f76a50ce8fdc6aea22cabc77b2977a1a15a79630 |
|
09-Mar-2012 |
Ken Wakasa <kwakasa@google.com> |
Fix obvious typos under frameworks/base/core Change-Id: Ia5fc3db1bb51824e7523885553be926bcc42d736
/frameworks/base/core/java/android/webkit/URLUtil.java
|
eb8be973c7982fe3ece0aeaeca379c3b3cdced0c |
|
12-Oct-2010 |
Bjorn Bringert <bringert@android.com> |
Make fields in WebAddress private, add getters/setters Change-Id: Iceaf3d648289344e53c37273f7324a79676fbef7
/frameworks/base/core/java/android/webkit/URLUtil.java
|
2c2d72a7fd3efae0daae9696643cf8c3f069b248 |
|
03-Sep-2010 |
Jeff Hamilton <jham@android.com> |
Hide this log behind the debug flag. Change-Id: I83eb8558c8037f3b703dcf46c2d3aa0fa3d18a43
/frameworks/base/core/java/android/webkit/URLUtil.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/URLUtil.java
|
208360b22db7bdd940a7005fd44135e8916742af |
|
13-Oct-2009 |
Ben Murdoch <benm@google.com> |
Fix for b/2164520: Download manager should handle video/m4v MIME type. The fix relaxes our processing of the content-disposition header by allowing unquoted filenames, and adds the m4v type to the MIME type map incase the content-disposition header was not specified. Change-Id: Iaab0c5b17991a2c05eff5db01babe084444fd3b7
/frameworks/base/core/java/android/webkit/URLUtil.java
|
4a51c20ce607c74914f90fd897f04080121ac13b |
|
22-Aug-2009 |
Dianne Hackborn <hackbod@google.com> |
I am getting tired of the java doc warnings, so fix them. Change-Id: I2205eebae419eaf4a0992c9f5b7cd807eb843fe1
/frameworks/base/core/java/android/webkit/URLUtil.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/URLUtil.java
|
d7f2036aaa9f934893703d4314d355aef3ffadcb |
|
15-Jul-2009 |
Grace Kloba <klobag@google.com> |
resolved conflicts for merge of 21d769da to master
|
f8ddc988dc2d9be2f75e0b0d9aa234dad7c8258d |
|
15-Jul-2009 |
Grace Kloba <klobag@google.com> |
Fix #1976384. Add p12 to the MimeTypeMap. When downloading p12 in the WebView, send it to the certTool.
/frameworks/base/core/java/android/webkit/URLUtil.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/URLUtil.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/URLUtil.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/URLUtil.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/URLUtil.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/URLUtil.java
|
54b6cfa9a9e5b861a9930af873580d6dc20f773c |
|
21-Oct-2008 |
The Android Open Source Project <initial-contribution@android.com> |
Initial Contribution
/frameworks/base/core/java/android/webkit/URLUtil.java
|