| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
|
|
|
|
|
| |
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: Ic232003a3f321167810fc7263d6ecb654eeeb5eb
|
| |
|
|
|
|
|
|
| |
While improving the javadoc for
android.webkit.BrowserFrame.startLoadingResource, I noticed that the
Java class metioned in the C++ comments was wrong.
Change-Id: Ibf6234735fc6b92b444f6cf3b4c6bb5c33675525
|
| | |
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
WeakJavaInstance is a wrapper around JavaInstance. Outside of calls to
virtualBegin/virtualEnd, it replaces the strong reference to the Java instance
held by JavaInstance with a weak reference. This is to break circular references
and allow the Java instance to be garbage collected.
The code does not handle correctly the case where multiple calls are made to
virtualBegin before corresponding calls to virtualEnd. virtualBegin caches the
current instance as _weakRef. However, if virtualBegin has already been called,
the current instance is now a strong reference, and this overwrites _weakRef.
When virtualEnd is called, the instance is not restored to the weak reference. In
the WeakJavaInstance destructor, we try to restore the strong reference from the
weak reference, but this has already been deleted, causing the VM to abort.
This patch fixes the problem by returning early from virtualBegin and virtualEnd
when unmatched calls to virtualBegin have already been made.
Also fixes some style issues.
Bug: 2485164
Change-Id: I2b22a849af10e377525a3da215ca91e611d892d0
|
| |
|
|
|
|
|
|
|
| |
For some website, when elements are created, somehow the tagName's
namespaceURI is empty, so for "form" element, Element node is created
instead of expected HTMLFormElement.
Bug: 2461358
modified: WebKit/android/jni/WebCoreFrameBridge.cpp
|
| | |
|
| | |
|
| |
|
|
|
|
| |
See http://trac.webkit.org/changeset/54051
Change-Id: I1f904a812dab1acf3eafd4c287571df245d4fa0d
|
| |
|
|
| |
Change-Id: Ibcdef84d6e49c7e4a725ac1d22ae59a165418280
|
| |
|
|
|
|
| |
the same name
Change-Id: I9600c489090def7f4ec6e1e66f8db68ed6551c80
|
| | |
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
| |
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 3 of 3-project checkin.
|
| |
|
|
| |
Change-Id: Icf99c709929ef14551de61e55780b97767575f01
|
| |
|
|
|
|
|
| |
This is the V8 equivalent of http://trac.webkit.org/changeset/53412
It is being upstreamed to webkit.org in https://bugs.webkit.org/show_bug.cgi?id=33951
Change-Id: Id22d59b7a5e0be72d594d454bb41c58760d824ff
|
| |
|
|
|
|
|
|
|
|
|
| |
jni_utility_private to JNIUtility and JNIUtilityPrivate
See http://trac.webkit.org/changeset/53497
This is required to sync the Android tree with webkit.org to allow unforking in WebCore/bridge.
This change required updating headers in Android-specific files in WebCore and WebKit.
Change-Id: I4b80eb3eadcff66cbd261aa6ccef0f37927250b1
|
| |\
| |
| |
| | |
Change-Id: If8bb4335848f51919608d28a30ee610acb120ae7
|
| | |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
See http://trac.webkit.org/changeset/53436
This is required to sync the Android tree with webkit.org to allow unforking in WebCore/bridge.
Note that changes to the following were required as a result of this cherry-pick.
- WebCoreFrameBridge.cpp - updated to use JavaInstance::m_instance
- V8Binding/jni/jni_instance - Updated to rename the V8 version of JavaInstance::_instance to JavaInstance::m_instance
to allow the same code path to be used in WebCoreFrameBridge.
Change-Id: I6884f7424c8a0917095f828bda4ca62452e527b5
|
| |\ \
| |/
| |
| | |
Change-Id: I02d6b5e94724091decfe0c26317554c86dcfb2da
|
| | |
| |
| |
| |
| |
| |
| |
| | |
See http://trac.webkit.org/changeset/53412
Note that changes to WebCoreFrameBridge.cpp cpp were required as a result of this cherry-pick.
Change-Id: I0a6f6fafc5b0d5d9337ef4e339c6a0c5dd188eb9
|
| | | |
|
| | |
| |
| |
| |
| |
| |
| |
| | |
This is required to ease the process of upstreaming the Geolocation maximumAge handling code.
Note that changes to WebCoreFrameBridge.cpp and WebCoreJniOnLoad.cpp were required as a result of this.
Change-Id: Icd8524da9050acda3b991051877c3b5cf262b2b3
|
| |\ \
| |/
| |
| |
| |
| |
| |
| |
| | |
script-to-Java bridge for V8." into eclair-mr2
Merge commit '43342a276dcdb9e1f8c677f5077d151cd5d6ad07'
* commit '43342a276dcdb9e1f8c677f5077d151cd5d6ad07':
Updates the use of weak references in the script-to-Java bridge for V8.
|
| | |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Currently, V8 uses weak references to the Java object owned by JObjectWrapper.
This is in contrast to JSC, which uses strong references in JObjectWrapper.
However, for the special-case where JObjectWrapper is used in JavaInstance in
WebCoreFrameBridge, JSC uses WeakJavaInstance to swap the strong references for
weak references.
This change updates the V8 version of JObjectWrapper to use strong references
to match the JSC version. To maintain the weak reference behavior where
JObjectWrapper is used in JavaInstance in WebCoreFrameBridge, V8 now make use of
WeakJavaInstance too. This requires changes to jni_npobject to call the
necessary methods on JavaInstance to swap the references when the object is
accessed.
Change-Id: I3724d7e6437588feb0268a2670b02a93b52e54f0
|
| |\ \
| |/
| |
| | |
Change-Id: I58d6bb71dc7c4f5962c73669555a217c1d94b690
|
| | |
| |
| |
| |
| |
| | |
Also fixes some style issues.
Change-Id: I21d39461b488a5f490ea3557b24fe1674903c286
|
| |\ \
| |/
| |
| |
| |
| |
| |
| |
| | |
ScriptValue::getString now takes a ScriptState parameter.
Merge commit 'f0765cd6cf9455ac0793d1a30287f4a57bc4871e'
* commit 'f0765cd6cf9455ac0793d1a30287f4a57bc4871e':
Merge webkit.org at r51976 : ScriptValue::getString now takes a ScriptState parameter.
|
| | |
| |
| |
| |
| |
| |
| |
| | |
parameter.
See http://trac.webkit.org/changeset/51801
Change-Id: I819c17c8609dd65799bd8a2245cc454e27271969
|
| |\ \
| |/
| |
| |
| |
| |
| |
| |
| | |
externalRepresentation now takes a Frame argument.
Merge commit 'ba6d5d3abff2997e37db0d6ec70d9f2e7717ac2f'
* commit 'ba6d5d3abff2997e37db0d6ec70d9f2e7717ac2f':
Merge webkit.org at r51976 : externalRepresentation now takes a Frame argument.
|
| | |
| |
| |
| |
| |
| | |
See http://trac.webkit.org/changeset/50923
Change-Id: I8c7bb8af6e40fd449e27f28ff0d2e58fbb4d9eb3
|
| |\ \
| |/ |
|
| | |
| |
| |
| |
| |
| |
| |
| |
| | |
Fix for http://b/issue?id=2178786
Call up to Java to get strings for <input> labels, and use them
on inputs.
Requires a change in frameworks/base.
|
| |\ \
| |/
| |
| |
| |
| |
| |
| |
| | |
ResourceHandleAndroid.cpp.
Merge commit 'da8d42def98a28bfef84ce5809d13ae1710a342c'
* commit 'da8d42def98a28bfef84ce5809d13ae1710a342c':
Break the WebCore -> WebKit dependency in ResourceHandleAndroid.cpp.
|
| | | |
|
| |\ \
| |/
| |
| |
| |
| |
| | |
Merge commit 'ae37cde5e54f2f2e051007f19f203f5efdcab34a'
* commit 'ae37cde5e54f2f2e051007f19f203f5efdcab34a':
Enable orientation events.
|
| | |
| |
| |
| |
| |
| |
| | |
Remove our old orientation hacks as webkit now supports the orientation event.
Call down into webkit when the orientation changes to send the js event.
The change to Frame.cpp has been submited to bugs.webkit.org as issue 32321.
|
| |\ \
| |/ |
|
| | |
| |
| |
| | |
This requires a change to the framework.
|
| |\ \
| |/
| |
| |
| |
| |
| | |
Merge commit '2e36087fc1e77130a596ec30566928462570b162'
* commit '2e36087fc1e77130a596ec30566928462570b162':
Save form data for elements other than type "text".
|
| | |
| |
| |
| |
| |
| |
| | |
Partial fix for http://b/issue?id=2232001
When returning the form data for a page, check other types of textfields
besides "text" input elements. Also consider "email", "number", etc.
|
| |\ \
| |/
| |
| |
| |
| |
| | |
Merge commit '1573e25e3a50d588fb83b3e4be6fb8bf5dc7ec65'
* commit '1573e25e3a50d588fb83b3e4be6fb8bf5dc7ec65':
Enable WebKit page cache through WebSettings.
|
| | |
| |
| |
| |
| |
| |
| |
| | |
Add setXX() for the meta data in Settings.
Add CachedFramePlatformDataAndroid to preserve the
state for the cachedFrame.
http://b/issue?id=2284168
|
| |\ \
| |/
| |
| | |
Change-Id: I7ca6ae7cb23e34765801782961bb052d6bb63fa4
|
| | |
| |
| |
| | |
Change-Id: I973e6b03286b1d8f6e6325a2b31d0cf9e99d19b3
|
| |\ \
| |/
| |
| |
| |
| |
| | |
Merge commit '7063c3efe30d0ec965ac48439917030f62f50489'
* commit '7063c3efe30d0ec965ac48439917030f62f50489':
Fixes license headers for all files in WebKit/android, other than those in stl/.
|
| | |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
These files have not yet been upstreamed to webkit.org.
WebKit requires either a BSD-style or LGPL 2.1 license for all code.
We use a BSD-style 2-clause license for Android-specific files that will be upstreamed to webkit.org.
This change adds licenses where absent or simply fixes the names of copyright holders in the license
text to 'THE COPYRIGHT OWNER' and cleans up formatting.
Files in stl/ currently use licenses other than BSD-style and will require more careful treatment.
Change-Id: I67ad4b8932e432d3eaaeecdfeb0d09418496228d
|
| |\ \
| |/
| |
| |
| |
| |
| |
| |
| | |
DOMWrapperWorld parameter.
Merge commit '20626c197f988d4bae39e99e4699173602b0aaaa'
* commit '20626c197f988d4bae39e99e4699173602b0aaaa':
Merge webkit.org at r50258 : toJSDOMWindow now takes a DOMWrapperWorld parameter.
|
| | |
| |
| |
| |
| |
| |
| |
| | |
parameter.
See http://trac.webkit.org/changeset/49963 and http://trac.webkit.org/changeset/49978
Change-Id: Ic788827d54ccf48a3eb54863d2708ebad1d67ae1
|
| |\ \
| |/
| |
| |
| |
| |
| |
| |
| | |
takes a ReferrerPolicy parameter.
Merge commit 'c05f32f6ac83a4d9467153745a217b636e8c8a60'
* commit 'c05f32f6ac83a4d9467153745a217b636e8c8a60':
Merge webkit.org at r50258 : FrameLoader::loadFrameRequest now takes a ReferrerPolicy parameter.
|
| | |
| |
| |
| |
| |
| |
| |
| | |
ReferrerPolicy parameter.
See http://trac.webkit.org/changeset/49809
Change-Id: I5db6d1d821cc6e7b57dfa665ea9018b4833864d5
|
| |\ \
| |/
| |
| |
| |
| |
| |
| |
| | |
moved to ScriptController.
Merge commit '5995cab44737fd5374956941260caf2e2e8290b3'
* commit '5995cab44737fd5374956941260caf2e2e8290b3':
Merge webkit.org at r50258 : FrameLoader::executeScript has moved to ScriptController.
|