| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
| |
Change-Id: I570314b346ce101c935ed22a626b48c2af266b84
|
|
|
|
|
|
|
|
|
|
|
|
| |
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: I6b17e85f7991e5226e00e7b041c38e2ca3d0cf57
|
|
|
|
|
|
|
|
|
| |
cherry pick the change for webkit bug:
https://bugs.webkit.org/show_bug.cgi?id=51156
And fix array bindings.
Change-Id: I64b89fadd10ac87fa998a79b2af4aa9db07a8318
|
|
|
|
|
|
|
|
|
| |
This was added to try to track down a crashing bug but is no longer
required.
Bug: 2435360
Change-Id: I5e88a842e42cd89e96c7f2eea54e96a440f890ca
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
It is possible that the m_name member of JavaClass is uninitialized as
we possibly early out from the constructor if we could not load the Java
class from the JVM. In this case when we call the dtor we try to free
uninitialized memory and crash. m_name is not actually used anywhere
so we just remove it.
Will upstream to webkit.
Bug: 3222518
Change-Id: I9354e9914157d2c4afd72dcce9122329c2486c89
|
|
|
|
|
|
|
|
|
| |
This was changed for JSC strings in http://trac.webkit.org/changeset/65305,
but the V8 implementation was not updated.
Fix upstream in WebKit -- see https://bugs.webkit.org/show_bug.cgi?id=44419
Change-Id: Icaf70d9f8a3120613ab3e80b69d4ce0c7af89d46
|
|
|
|
| |
Change-Id: Ifbf384f4531e3b58475a662e38195c2d9152ae79
|
|
|
|
| |
Change-Id: Ibcf418498376b2660aacb7f8d46ea7085ef91585
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Android.v8bindings.mk: IDBBindingUtilities caused by http://trac.webkit.org/changeset/63064
CSSCompitedStyleDeclaration.cpp conflict caused by http://trac.webkit.org/changeset/63038
'Computed style is not implemented for padding-start, padding-end, margin-start, margin-end'
HTMLDocumentParser.cpp conflict caused by http://trac.webkit.org/changeset/63165
'HTML5 Parser: document.write after onload blows away document'
Navigator.h conflict caused by http://trac.webkit.org/changeset/62577
Page.cpp caused by http://trac.webkit.org/changeset/62502
ResourceHandleAndroid.cpp by http://trac.webkit.org/changeset/62736
HTMLLinkElement.* by the upstreaming of link prefetching at http://trac.webkit.org/changeset/63032
Change-Id: I5b9d3eef87cd525a9fc7d862676a41fc4122cba0
|
|
|
|
| |
Change-Id: Ife5af0c7c6261fbbc8ae6bc08c390efa9ef10b44
|
|
|
|
|
|
|
| |
See https://bugs.webkit.org/show_bug.cgi?id=41516
Bug: 2807132
Change-Id: I080978d1a6b90f2d8da1f62adbb62c60ef0034c9
|
|\
| |
| |
| |
| |
| |
| | |
Merge commit '939d1819c550af9e179aa2fa46668206333e1ebc'
* commit '939d1819c550af9e179aa2fa46668206333e1ebc':
Push a local reference frame to avoid table overflow.
|
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Similar to jsc's implementation, this is needed to restrict the
amount of local references in a given jni frame. Once the frame is
popped from the stack, all local references are cleaned.
Bug: 2807132
Change-Id: I5f4153509c513bec142472927a1787869a57f530
|
|/
|
|
| |
Change-Id: If006c38561af287c50cd578d251629b51e4d8cd1
|
|
|
|
|
|
|
|
|
|
| |
bindings.
Also a change in packages/apps/Browser to update the unit tests for JNI bindings.
Fix for b/2540502
Change-Id: Ia86a1ac672bd6653427ac0a969b4d40c86141415
|
|
|
|
| |
Change-Id: I3b3d2bff84ee4a1039424cf1881e5d3d428127f9
|
|
|
|
|
|
|
|
|
|
|
|
| |
Cherry-picks WebKit change 56105 to eliminate use of bzero in WebKit common code
Note that manual changes were required to JNIUtilityPrivate.cpp as this file has
changed upstreamed, but the merge will be trivial.
See http://trac.webkit.org/changeset/56105
Bug: 2535696
Change-Id: I464a4aa78b1625961724b6001caba1c315ed9f91
|
|
|
|
|
|
|
|
| |
This is an attempt to track down the cause of a crashing bug in the WebCore
bridge, which is only occasionally triggered by the monkey.
Bug: 2435360
Change-Id: I3171eb1978de285fcf258f908aa0a08d95b72968
|
| |
|
|
|
|
| |
Change-Id: Ia79977b6cf3b0b00c06ef39419989b28e57e4f4a
|
|
|
|
|
|
|
|
|
|
|
|
| |
- Take both for Android makefiles, other than typo for JavaNPObjectV8 upstream
- Take theirs for XCode project file and ChangeLog
- Fix trivial header conflict in V8DocumentCustom
- Keep ours for fix in JNIUtilityPrivate.cpp
- Take theirs for V8DOMWrapper.cpp. Conflict is due to Android addition of TouchEvents, which conflicts with http://trac.webkit.org/changeset/54259
- Take both for Android addition of applicationInstalledCallback
- Take both for Android JSC JIT changes in Platform.h
Change-Id: Ib1a748f204a07a7e736feeee6a0f30f7453754a7
|
|
|
|
| |
Change-Id: Ib489d2ff91186ea3652522e1d586e54416a2cf44
|
|
|
|
|
|
| |
webkit.org
See http://trac.webkit.org/changeset/54366
|
|
|
|
|
|
|
|
|
| |
types on V8
This bug has been present since the code was first added in V8Bindings/jni/jni_utility.cpp.
https://android-git.corp.google.com/w/?p=platform/external/webkit.git;a=commitdiff;h=7fa30a60f66c19c8e6fb91ef799bca4d8d6f57f2
Change-Id: I4cc74369880d42e6610c2959f2d8bef2b7712927
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
No functional changes, style changes only
See the following WebKit changes ...
JavaStringV8 : http://trac.webkit.org/changeset/54132
JavaInstanceV8 : http://trac.webkit.org/changeset/54165
JavaClassV8 : http://trac.webkit.org/changeset/54169
JNIUtilityPrivate : http://trac.webkit.org/changeset/54171
JNIBridgeV8 : http://trac.webkit.org/changeset/54175
JavaNPObjectV8 : http://trac.webkit.org/changeset/54237
Change-Id: I7cc9d19e74043d1bac1a576cdc97a780fe317b5d
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
JNIBridge.h is now used by both JSC and V8
$ diff WebCore/bridge/jni/JNIBridge.h V8Binding/jni/jni_runtime.h
2d1
< * Copyright (C) 2003, 2004, 2005, 2007, 2009, 2010 Apple Inc. All rights reserved.
27,30c26,27
< #ifndef JNIBridge_h
< #define JNIBridge_h
<
< #if ENABLE(MAC_JAVA_BRIDGE)
---
> #ifndef jni_runtime_h
> #define jni_runtime_h
31a29
> #include "Bridge.h"
34,35c32,33
< #if USE(JSC)
< #include "JavaStringJSC.h"
---
> #if USE(V8)
> #include "JavaStringV8.h"
64,66d61
< #if USE(JSC)
< operator UString() const { return m_impl.uString(); }
< #endif
118,120c113
< #endif // ENABLE(MAC_JAVA_BRIDGE)
<
< #endif // JNIBridge_h
---
> #endif // jni_runtime_h
Change-Id: I59c7dafb295aa7c81e79283333266c3f9f5a9a52
|
|
|
|
|
|
|
|
|
| |
V8 versions of JavaMethod and JavaParameter are provided by jni_runtime.
This change updates those classes to match the JSC versions in JNIBridge.
The changes are syntactic only and do not affect behavior.
This will allow jni_runtime to be merged with JNIBridge.
Change-Id: I2fceed94e1b57d133a068f51a2a40797447b7b58
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
JavaField is script-engine specific. The JSC version of JavaField was moved out
of the script-independent file JNIBridge (previosuly named jni_runtime) in
http://trac.webkit.org/changeset/53849
This change makes the equivalent move for V8.
This will make V8's version of jni_runtime script-independent, allowing it to be
merged with JNIBridge in WebCore in the future.
This change is being upstreamed to webkit.org in
https://bugs.webkit.org/show_bug.cgi?id=34166
Change-Id: I7b35bfe4e8e7820623a824028eb64d06421bdb6b
|
|
|
|
|
|
|
|
|
| |
WebKit change http://trac.webkit.org/changeset/53449 moved the JSC-specific implementation
of JavaString to JavaStringJSC.h. This is the V8 equivalent of that change.
This is being upstreamed to webkit.org in https://bugs.webkit.org/show_bug.cgi?id=33953
Change-Id: I6cadc4f4f941aab900aeaf3251a5cad77d050b9b
|
|
|
|
| |
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
|
|
|
|
|
|
|
| |
This is the V8 equivalent of http://trac.webkit.org/changeset/51756
It is being upstreamed to webkit.org in https://bugs.webkit.org/show_bug.cgi?id=33901
Change-Id: I336687e546748a7823f5e2d18f1ac1112a30a60c
|
|
|
|
|
|
|
|
|
|
| |
When CONVERT_NULL_TO_EMPTY_STRING is defined, an 'else' is missing an opening brace.
This causes compiler errors.
This bug has been present since the code was first committed.
See https://android-git.corp.google.com/w/?p=platform/external/webkit.git;a=commitdiff;h=7fa30a60f66c19c8e6fb91ef799bca4d8d6f57f2#patch9
Change-Id: I7e95217d166733e6cab1f2e74725e368df4c6f4b
|
|
|
|
|
|
|
| |
This is the V8 equivalent of http://trac.webkit.org/changeset/53443
It is being upstreamed to webkit.org in https://bugs.webkit.org/show_bug.cgi?id=33898
Change-Id: I27dcf73cc7d8c0303243ea632361f2210819cbc4
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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: I640d5ca9e38d78fd662550fa389cf8b463dc78b6
|