| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
| |
This should help out in some cases with redirect/login loops.
Bug: 4110115
Change-Id: I42fff7e9227423b9b5ce94234ad6d606234fe252
|
|\ |
|
| |
| |
| |
| |
| |
| |
| |
| | |
This code is two years old and no longer relevant with the
Chromium http stack.
bug:4075135
Change-Id: I4f0616d1992167aacdc6f8f0ef1ed1a6fc52bff8
|
|\ \
| |/
|/| |
|
| |
| |
| |
| |
| | |
Bug: 3367381
Change-Id: Ia50dcf39c9045642037e684ecd1e2bee90a69f72
|
|/
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
don't merge)
Avoid Android modifications to JavaNPObjectV8.cpp/h
https://android-git.corp.google.com/g/40387 fixed a long-standing bug to
avoid leaking references to injected Java objects. However, it did so by
making changes to JavaNPObjectV8.cpp/h which were never upstreamed. This
change avoids the need for these changes.
This change also avoids the use of a local PassRefPtr, which was
incorrectly introduced in https://android-git.corp.google.com/g/36204.
Change-Id: Ia1e3245a953826bbfd8e085f7ed1b1341228255d
|
|
|
|
|
|
|
|
| |
Bug: 3492152
If the mimetype is not text/html or application/xhtml+xml, don't
try to save the page as a web archive and instead return NULL
Change-Id: Ieb9d65efd72392bedec41ba33ae2aeb1a0954bb4
|
|
|
|
| |
Change-Id: I797ab2d6ce6a07561c710d8b3262e548770eb477
|
|
|
|
|
|
|
|
|
|
|
| |
Bug:3280725
Store form data when submitted rather than when a
page loads.
Requires a change in frameworks/base.
Change-Id: Ib2328270a91d8d618a40a1353bf50337bbf608aa
|
|
|
|
|
|
|
| |
Requires another CL in framework.
https://android-git.corp.google.com/g/#change,93329
Change-Id: Ie623b55b6580d9761cc7de6b1b1708fbb2f0c633
|
|
|
|
|
|
|
|
|
|
| |
Today when user hit enter in the url bar, the same URl will reloaded
again without progress bar, since no callback is sent back.
This change removed that restriction.
issue: 3388311
Change-Id: I86bed1d5c3e72bc4a0fdb18c1b67508b7110df6e
|
|
|
|
|
|
|
|
|
| |
In the Apache HTTP stack, this is done by LoadListener. This CL
plumbs in the same logic for the Chrome HTTP stack. This fixes
the WebViewTest#testAccessCertificate CTS test.
Bug:3242048
Change-Id: I69a4de46ded59bfdebdd391c4731c7c1a79744fb
|
|
|
|
| |
Change-Id: I323c753d7ce22e0e23928a126cfb99c781a074f1
|
|
|
|
| |
Change-Id: I3e1a4fb110fc9d312cc608c86fcaf7cb27431685
|
|
|
|
|
|
| |
request. Java side CL: https://android-git.corp.google.com/g/#change,84530
Change-Id: I2a16be691ba3846f3ecb1fd533905d7b6ac374fc
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This CL refactors the AutoFill code so that we only search for forms
when we need to, i.e. the user has focused a form field. This helps
page load times. We also re-search the document for forms if the dom
version number has changed. These changes fix a bug where a crash
occurs if the form is focused before the page has finished loading.
We also move the callsite of formFieldFocused so that it only occurs
when the IME is requested which is a more appropriate place called less
frequently than it's current callsite in EditorClientAndroid.
Bug: 3243567
Change-Id: I04fe13944d3f8248197d71a0e58c21f01c4abdd0
|
|
|
|
|
|
|
| |
initChromiumLogging is now renamed to the more generic initChromium,
the files are renamed to ChromiumInit.*
Change-Id: Ic9639d637f25e664b51d076b9b0ee58c2867c1b5
|
|
|
|
|
|
|
|
|
| |
This is the second step in allowing us to have a WebRequestContext per
WebView, which is required to allow the useragent string to be
configured per WebView.
Bug: 3113804
Change-Id: Idcd252194562d1ef91d9d6e2baf8c65b8ff088d4
|
|
|
|
|
|
|
|
|
|
| |
This calls through to the new entrypoint on the Java size
(see change I3f3f84a1). I've done some modest refactoring
to minimize code duplication. The way we obtain a pointer
to the frame is still a bit messy, but I couldn't find a
really clean solution to that.
Change-Id: Ia5c12f615b8c41f1c846bbf6fd6dcfe56f3e2a51
|
|
|
|
|
|
|
| |
http://trac.webkit.org/changeset/71492
http://trac.webkit.org/changeset/71499
Change-Id: Iacd8a22d0c1caece7bec2273f1d4e69dd3e4eb2c
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Merge by hand the files that have been gotked implementing
AutoFill on Android. This classes use WebCore types rather
than the Chrome WebKit API types that the code would
normally use.
This brings the files up to date with the last external/chromium
merge to r63472 and updates their usages in line with that so
that the feature continues to work as intended.
Change-Id: Ic110873dc48c59555f0db76e7ad0c138c2fe96f2
|
|
|
|
|
|
|
|
|
|
|
| |
The api returns a response containing the mime type, encoding, and an optional
InputStream for reading data. Move the asset and content url logic into the
new api to consolidate some code.
Requires a change in frameworks/base.
Bug: 2905943
Change-Id: Ic7af410308872042c412aedf62e589f6d2095782
|
|
|
|
|
|
|
|
| |
Fix a few extra copies of KURL and String. Added more characters to the list of
allowable mailbox characters.
Bug: 3038103
Change-Id: I49bd3ba9c628a70e7e1633d16fc329d64613dbf1
|
|
|
|
| |
Change-Id: Ide08371e0bc8f74ef80fe25d416623bd03ac6038
|
|
|
|
|
|
|
|
|
|
| |
This also moves some of the android file handling to Java so it is not
duplicated in both places.
This CL needs https://android-git.corp.google.com/g/#change,77400
in frameworks/base
Change-Id: I90c1726e6c323a9de3fd64f2e6feef4b64171053
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
jstring
The JNI spec allows for local objects to be GC'ed before the JNI frame
returns, so this is dangerous.
Also rename the method to WtfStringToJstring() to match the existing
jstringToWtfString() and update call sites to JNIEnv::NewString() to
make use of it.
Change-Id: I84aa25ba1aca2aee346bf6e3d83a58afc3a95219
|
|
|
|
| |
Change-Id: I1b398bd0a84ce366eb2e686e5f14335d7aa5ed31
|
|
|
|
|
|
|
| |
- Remove superfluous casts to unsigned short*
- Avoid converting from Unicode to UTF8 and back
Change-Id: Ib7cbc610f1b27ecd52082bf412afa7c7b3fec4b2
|
|
|
|
|
|
| |
See http://trac.webkit.org/changeset/69594
Change-Id: I17d01eae838c03ac198dd8b0df3717d058806aca
|
|
|
|
| |
Change-Id: I1aba39bdcf217bff751e42d2a335cd230b8193f7
|
|
|
|
|
|
|
| |
Also tweaked the implementation slightly to match
jstringToString16, which is more robust.
Change-Id: I614576615a6f429ea1632c395d5bc4e068c32cfb
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Due to the way the WebView API works, downloads are handled by the Java
client code via the DownloadListener interface, so we need to toss them
over the JNI wall.
I had to refactor WebResourceRequest slightly to save the user-agent
header before it gets stripped out. I have also made it const-correct.
Test: manually checked that we can download a file, with both stacks.
See matching change in frameworks/base (I87e71deb)
Change-Id: I8130040099d02c399d42b223444b333398628235
|
|
|
|
| |
Change-Id: I8516c4f39a38e236d0bff38a91fe8657cfcf8ad4
|
|
|
|
|
| |
Bug: 2999397
Change-Id: If104a32fa2fd56cf60fdd37a4193a0ec4e0065e2
|
|
|
|
|
| |
Bug: 3053149
Change-Id: Idb6850b2aac5de2ab19850779a65496ef356961d
|
|
|
|
|
|
|
|
| |
InputType renamed to DeprecatedInputType
See http://trac.webkit.org/changeset/67903
Change-Id: I9efb9889588523dd2b9489809fb2c44bd799d2ba
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Adds the necessary JNI hooks so that when the user focuses a form
field that AutoFill has identified as "autofillable", the Java side
WebTextView will show an option in the auto complete drop down box
that when selected will call back to AutoFill in native code and
actually fill out the form.
AutoFill is still disabled at compile time by default. To test the
feature set ENABLE_AUTOFILL=true and rebuild WebKit.
Needs a corresponding frameworks/base change.
Change-Id: Ie76ff9cbf0b44f3f3644079ed64ce71bfbc9859a
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
On receiving an auth request:
- WebRequest (on the IO thread) sends a message to WebUrlLoaderClient
- WebUrlLoaderClient (webkit thread) calls WebCoreFrameBridge.
- WebCoreFrameBridge makes a JNI call to BrowserFrame.java.
Each JNI call has a WebUrlLoaderClient pointer, cast to an int.
We use this to recover the context when we're called back, and
dispatch a message back to WebRequest.
Corresponding Java change: https://android-git.corp.google.com/g/63762
Change-Id: Ieb72f2eaa996a55916c987859f47f6dacf92e06c
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Initial checkin of WebKit source for enabling AutoFill on
Android. This code calls into the chromium library to perform the
autofill magic.
There's still lots to do, but this and a corresponding change in
external/chromium enable the feature (basically) end to end.
The feature is disabled by default until we implement it more fully
with some proper UI.
To turn it on, set the ENABLE_AUTOFILL environment variable to "true"
and rebuild. This is only useful for preliminary testing though as
for now we use a precanned profile, which won't be relevant unless
your name happens to be John Smith.
Change-Id: I4a3e0e840617f7cf8f522af33ae1be560768a6c5
|
|
|
|
|
|
|
| |
Webkit CL:
http://trac.webkit.org/changeset/66247/trunk/WebCore/page/Settings.h
Change-Id: Ied8f51db04683ddc51e6c2f5179928be2285f7fc
|
|
|
|
|
|
|
|
|
| |
Requires a change to frameworks/base
Bug 2679411
Bug 2659028
Change-Id: I482cefadc24c620c6d07cbce44acc216bdb9b8df
|
|
|
|
| |
Change-Id: I0a963a0e6b29be73aaede56bb58400ce1e81edb7
|
|
|
|
|
|
|
|
| |
This depends on: https://android-git.corp.google.com/g/#change,62112
Request an java.io.InputStream from java and queries this for that until all is read.
Change-Id: Ia3e7ad973700bd49be9cae9b432661d61a5470b8
|
|
|
|
|
|
| |
These moved to <wtf/text> in http://trac.webkit.org/changeset/65077
Change-Id: Ie234f1a09013e48a5241d9e240c5b2e85ca75125
|
|
|
|
|
|
|
|
|
|
|
| |
Bug: 2582455
Never modify the focused state of the focus controller.
A corresponding java change make the active state get changed only when
the webview gains/loses focus.
Change-Id: I6f17f82c772ea4410c0209bf57d251c9bd384e6c
|
|\
| |
| |
| |
| |
| |
| |
| |
| | |
WebCoreFrameBridge.cpp
Merge commit '3c54ece08a0ea9e5dc5d5788a4c49c8dc94b501f'
* commit '3c54ece08a0ea9e5dc5d5788a4c49c8dc94b501f':
activeDocumentLoader() causes crash in WebCoreFrameBridge.cpp
|
| |
| |
| |
| |
| |
| |
| |
| | |
This is a fix for a crash found in real phones, there is cases when
activeDocumentLoader() can return null, probably related to closing of a
frame or canceling of a request.
Change-Id: Id340ab006b6e40e396645a4e668dcb58824a63e7
|
| |
| |
| |
| |
| |
| |
| |
| |
| | |
This class acts simply as a proxy to the real or mock client, which is owned by
the WebView. DEVICE_ORIENTATION is enabled on Android, so we must implement this
client before we pull in http://trac.webkit.org/changeset/64845, which calls
DeviceMotionClient::setController() from the Page constructor.
Change-Id: I8cf448f26103df3e55098e70eec80d845725761f
|
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Need to update the parameter passed to JSLock ctor as new
ctor added in r64585 creates an ambiguity.
See http://trac.webkit.org/changeset/64585
Change-Id: Ibb4b089d66aa984038b66eef03d4d788575bfaaf
|
| |
| |
| |
| |
| |
| | |
See http://trac.webkit.org/changeset/65021
Change-Id: I779a8ec0c3e1e0aed8f8d1894cfc1e5ca33ee549
|