summaryrefslogtreecommitdiff
path: root/core/java/android/webkit/URLUtil.java
Commit message (Collapse)AuthorAgeFilesLines
* Refactor: Remove unused branch.Darwin Huang2021-09-081-1/+1
| | | | | | | | `filename` must be `null` at this point, as it's recently been set to that value, and hasn't adopted any other value yet. Refactoring change only. No functional changes intended. Change-Id: I29a28872efc8c12c0da3c9f7c0a92d6aff465410
* Use new UnsupportedAppUsage annotation.Artur Satayev2020-01-091-1/+1
| | | | | | | | | Existing annotations in libcore/ and frameworks/ will deleted after the migration. This also means that any java library that compiles @UnsupportedAppUsage requires a direct dependency on "unsupportedappusage" java_library. Bug: 145132366 Test: m && diff unsupportedappusage_index.csv Change-Id: I5be7335b23a92b8ac80d2fd890198273b66ad644 Merged-In: I5be7335b23a92b8ac80d2fd890198273b66ad644
* Add @UnsupportedAppUsage annotationsMathew Inwood2018-08-161-0/+4
| | | | | | | | | | | | | | | | | For packages: android.webkit This is an automatically generated CL. See go/UnsupportedAppUsage for more details. Exempted-From-Owner-Approval: Mechanical changes to the codebase which have been approved by Android API council and announced on android-eng@ Bug: 110868826 Test: m Change-Id: Ic22415d3e70a3b75a6418f96beb371d0445c7484 Merged-In: I41643e1e47391a12b0aed3058b3d9987a8e6ee2f
* WebView: relax URLUtil#isFileUrl()Nate Fischer2018-02-271-1/+1
| | | | | | | | | | | | 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
* WebView: change 'iff' to 'if' in docsNate Fischer2017-10-261-13/+13
| | | | | | | | | | | 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)
* WebView: use proper javadocsNate Fischer2017-09-261-1/+1
| | | | | | | | | | | | 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
* WebView: add @Nullable and @NonNull annotationsNate Fischer2017-09-211-2/+3
| | | | | | | | | | | | | | | | | 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
* WebView: wrap Java literals with {@code}Nate Fischer2017-09-051-20/+20
| | | | | | | | | | | | | | | | 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
* [WebView] Allow the WebView to be compiled against the system SDK.Ignacio Solla2014-11-121-4/+5
| | | | | BUG:18152150 Change-Id: Ifd6dcac17663631058d895c61bb6e8018c5aeecc
* If frameworks wants ASCII casing, it should explicity ask for it.Elliott Hughes2013-08-021-1/+2
| | | | | | | http://elliotth.blogspot.com/2012/01/beware-convenience-methods.html Bug: https://code.google.com/p/android/issues/detail?id=58359 Change-Id: Iaab02e718a7be7bda22e626dca05d79bfd2a8fc4
* Tidy up usage of URLUtil constantsJonathan Dixon2012-03-281-1/+2
| | | | | | | | | | 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
* Fix obvious typos under frameworks/base/coreKen Wakasa2012-03-091-1/+1
| | | | Change-Id: Ia5fc3db1bb51824e7523885553be926bcc42d736
* Make fields in WebAddress private, add getters/settersBjorn Bringert2010-10-131-2/+2
| | | | Change-Id: Iceaf3d648289344e53c37273f7324a79676fbef7
* Hide this log behind the debug flag.Jeff Hamilton2010-09-031-1/+1
| | | | Change-Id: I83eb8558c8037f3b703dcf46c2d3aa0fa3d18a43
* Add "res" support for WebView.Grace Kloba2009-12-071-2/+17
| | | http://b/issue?id=2296839
* Fix for b/2164520: Download manager should handle video/m4v MIME type.Ben Murdoch2009-10-191-2/+6
| | | | | | 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
* I am getting tired of the java doc warnings, so fix them.Dianne Hackborn2009-08-241-0/+1
| | | | Change-Id: I2205eebae419eaf4a0992c9f5b7cd807eb843fe1
* Improve Browser performance by 1-2%. To address domain sanity bug,Grace Kloba2009-08-111-0/+26
| | | | | | | 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.
* resolved conflicts for merge of 21d769da to masterGrace Kloba2009-07-151-1/+1
|\
| * Fix #1976384. Add p12 to the MimeTypeMap. When downloading p12 in the ↵Grace Kloba2009-07-141-1/+1
| | | | | | | | WebView, send it to the certTool.
* | Centralized debug flags and enabled more granular control of debug settings.Derek Sollenberger2009-06-031-1/+1
|/
* Remove references to android.util.ConfigDave Bort2009-04-131-2/+1
| | | | | | | The semantics of Config.DEBUG will be changing soon, and all other Config.* fields will become deprecated/hidden. BUG=1780938
* auto import from //depot/cupcake/@135843The Android Open Source Project2009-03-031-0/+363
|
* auto import from //depot/cupcake/@135843The Android Open Source Project2009-03-031-363/+0
|
* Code drop from //branches/cupcake/...@124589The Android Open Source Project2008-12-171-0/+1
|
* Initial ContributionThe Android Open Source Project2008-10-211-0/+362