This repository has been archived by the owner on Apr 3, 2020. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 211
[Android] Add the bridge code to evaluate javascript code for test. #201
Open
wuhengzhi
wants to merge
120
commits into
crosswalk-project:master
Choose a base branch
from
wuhengzhi:add_bridge_for_js_test
base: master
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
[Android] Add the bridge code to evaluate javascript code for test. #201
wuhengzhi
wants to merge
120
commits into
crosswalk-project:master
from
wuhengzhi:add_bridge_for_js_test
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
To be merged on 2171. BUG=418816 [email protected] [email protected] Review URL: https://codereview.chromium.org/616713002 Cr-Commit-Position: refs/heads/master@{#297319} (cherry picked from commit 20d9928) Review URL: https://codereview.chromium.org/618543002 Cr-Commit-Position: refs/branch-heads/2171@{#4} Cr-Branched-From: 267aeeb-refs/heads/master@{#297060}
H264 is useful for some users that cannot use VP8. BUG=chromium:414567 TEST=run apprtc and ensure it still uses VP8 where available Review URL: https://codereview.chromium.org/603263004 [email protected] Cr-Commit-Position: refs/heads/master@{#297070} (cherry picked from commit 172379d) Review URL: https://codereview.chromium.org/619783002 Cr-Commit-Position: refs/branch-heads/2171@{#5} Cr-Branched-From: 267aeeb-refs/heads/master@{#297060}
BUG=418859 Review URL: https://codereview.chromium.org/615803002 Cr-Commit-Position: refs/heads/master@{#297470} (cherry picked from commit dbcbacd) [email protected] Review URL: https://codereview.chromium.org/618173002 Cr-Commit-Position: refs/branch-heads/2171@{#8} Cr-Branched-From: 267aeeb-refs/heads/master@{#297060}
Merge to M39, branch 2171 ----------------Original CL Description----------------------- (This is a stopgap until the zipping mentioned in the bug can happen.) Original Review URL: https://codereview.chromium.org/612143002 Original Cr-Commit-Position: refs/heads/master@{#297266} BUG=33920 TEST=<input type=file multiple />, ensure packages can't be selected [email protected] Review URL: https://codereview.chromium.org/616993003 Cr-Commit-Position: refs/branch-heads/2171@{#9} Cr-Branched-From: 267aeeb-refs/heads/master@{#297060}
…e changes. Previously DirectoryModel#partialUpdate ignores changes if the function is called multiple times during the previous request is being procecced. BUG=417163 TEST=Repo steps of the bug. [email protected] Review URL: https://codereview.chromium.org/611193002 Cr-Commit-Position: refs/heads/master@{#297381} (cherry picked from commit 8ad2b71) Review URL: https://codereview.chromium.org/613413003 Cr-Commit-Position: refs/branch-heads/2171@{#10} Cr-Branched-From: 267aeeb-refs/heads/master@{#297060}
The type causes an exception and it prevent the app from running progressCenter.removePanel. So the disposed ProgressCenterPanel remains in the ProgressCenter and it causes another bug. BUG=418517 TEST=repo steps of the bug. [email protected] Review URL: https://codereview.chromium.org/618563002 Cr-Commit-Position: refs/heads/master@{#297353} (cherry picked from commit 26acebd) Review URL: https://codereview.chromium.org/618193002 Cr-Commit-Position: refs/branch-heads/2171@{#12} Cr-Branched-From: 267aeeb-refs/heads/master@{#297060}
Pure HTML/CSS changes. No tests affected. BUG=413337,416228 Review URL: https://codereview.chromium.org/612823005 (cherry picked from commit 09cf097) Cr-Original-Commit-Position: refs/heads/master@{#297270} Cr-Commit-Position: refs/branch-heads/2171@{#14} Cr-Branched-From: 267aeeb-refs/heads/master@{#297060}
…in from JS Previously we were using the plugin context when converting objects during calls into the plugin from JS. As decided previously in https://codereview.chromium.org/555583003/ we should always use the caller's context in these circumstances. This CL also separates the checks in PepperPluginInstanceImpl::GetContext to help diagnose crbug.com/416311. BUG=416311 Review URL: https://codereview.chromium.org/588083002 Cr-Commit-Position: refs/heads/master@{#297136} (cherry picked from commit 816f98b) Review URL: https://codereview.chromium.org/614223004 Cr-Commit-Position: refs/branch-heads/2171@{#16} Cr-Branched-From: 267aeeb-refs/heads/master@{#297060}
Blocking renderer->plugin messages can be interrupted by any message from the plugin->renderer (even async ones). So while handline a blocking message, such as HandleInputEvent or HandleBlockingMessage, it's currently possible to re-enter JavaScript. This patch makes that impossible by queueing up Plugin->Renderer messages sent via PPB_Messaging::PostMessage while any renderer->plugin sync message is on the stack. BUG=384528 TBR=raymes Committed: https://crrev.com/f73075c99b5ba30e8d62dc5f13fdfb210d0fc506 Cr-Commit-Position: refs/heads/master@{#296311} Committed: https://crrev.com/3fe4ceee750b2cd130bd402de3d371d8518c3eba Cr-Commit-Position: refs/heads/master@{#296807} Review URL: https://codereview.chromium.org/589213003 Cr-Commit-Position: refs/heads/master@{#297308} (cherry picked from commit 6b328f3) Review URL: https://codereview.chromium.org/615393005 Cr-Commit-Position: refs/branch-heads/2171@{#17} Cr-Branched-From: 267aeeb-refs/heads/master@{#297060}
BUG=418190 TBR=kuan Review URL: https://codereview.chromium.org/607013003 Cr-Commit-Position: refs/heads/master@{#297100} (cherry picked from commit 69231d0) Review URL: https://codereview.chromium.org/621743006 Cr-Commit-Position: refs/branch-heads/2171@{#18} Cr-Branched-From: 267aeeb-refs/heads/master@{#297060}
BUG=401365 TBR=mattm Review URL: https://codereview.chromium.org/515813002 Cr-Commit-Position: refs/heads/master@{#297061} (cherry picked from commit 80daaf7) Review URL: https://codereview.chromium.org/621833005 Cr-Commit-Position: refs/branch-heads/2171@{#20} Cr-Branched-From: 267aeeb-refs/heads/master@{#297060}
BUG=401365 TBR=davidben Review URL: https://codereview.chromium.org/509273002 Cr-Commit-Position: refs/heads/master@{#297307} (cherry picked from commit b92e6f5) Review URL: https://codereview.chromium.org/614353006 Cr-Commit-Position: refs/branch-heads/2171@{#21} Cr-Branched-From: 267aeeb-refs/heads/master@{#297060}
BUG=401365 TBR=davidben Review URL: https://codereview.chromium.org/508823009 Cr-Commit-Position: refs/heads/master@{#297331} (cherry picked from commit 4f80127) Review URL: https://codereview.chromium.org/618063004 Cr-Commit-Position: refs/branch-heads/2171@{#22} Cr-Branched-From: 267aeeb-refs/heads/master@{#297060}
Previusly JavaScript send a request to create a cache file before mounting zip file, but the code was recently removed. This CL adds lines to create a cache to the API for mouting a zip file. BUG=419285 TEST=repro steps on the bug TBR=kinaba Review URL: https://codereview.chromium.org/622513002 Cr-Commit-Position: refs/heads/master@{#297622} (cherry picked from commit cf84106) Review URL: https://codereview.chromium.org/626463002 Cr-Commit-Position: refs/branch-heads/2171@{#23} Cr-Branched-From: 267aeeb-refs/heads/master@{#297060}
VideoEncodeAccelerator::GetSupportedProfiles now runs in GPU process because the profiles were added to GPUInfo. Add kEnableWebRtcHWVp8Encoding to GPU process to fix the missing encode profile. BUG=418762 TEST=Run apprtc loopback and check the histogram. [email protected] Review URL: https://codereview.chromium.org/618633002 Cr-Commit-Position: refs/heads/master@{#297445} (cherry picked from commit ebd596b) Review URL: https://codereview.chromium.org/620963002 Cr-Commit-Position: refs/branch-heads/2171@{#24} Cr-Branched-From: 267aeeb-refs/heads/master@{#297060}
On startup, VaapiWrapper::GetSupportedEncodeProfiles is called to query HW encoder capabilities to fill GpuInfo with. On VM test however there is no libva present, so we error out, but also attempt to report an error to UMA, which blocks and the GPU process gets killed by the GPU watchdog. We don't need to report failures on GetSupportedEncodeProfiles however, as we will report them later when we attempt to encode anyway. BUG=402182 TEST=test lumpy under kvm and check chrome is not blocked by GetSupportedEncodeProfiles [email protected] Review URL: https://codereview.chromium.org/613223002 Cr-Commit-Position: refs/heads/master@{#297564} (cherry picked from commit 4505d0f) Review URL: https://codereview.chromium.org/623613005 Cr-Commit-Position: refs/branch-heads/2171@{#25} Cr-Branched-From: 267aeeb-refs/heads/master@{#297060}
…d during OOBE" This reverts commit f406302. BUG=365354 [email protected] Review URL: https://codereview.chromium.org/614223006 Cr-Commit-Position: refs/branch-heads/2171@{#26} Cr-Branched-From: 267aeeb-refs/heads/master@{#297060}
> > BUG=418214 > > Review URL: https://codereview.chromium.org/609983002 > > Cr-Commit-Position: refs/heads/master@{#297094} > (cherry picked from commit 2a49d59) [email protected] Review URL: https://codereview.chromium.org/624623002 Cr-Commit-Position: refs/branch-heads/2171@{#27} Cr-Branched-From: 267aeeb-refs/heads/master@{#297060}
…elated. Previously we were only doing this if the --new-avatar-menu was flipped. This is a two-part CL. This CL removes the usages of the strings, but not the strings themselves, since that involves some renaming and I'd like to merge this to M39. The CL that actually removes the unused strings is: https://codereview.chromium.org/603023004/ XIB changes: use a different string ID for the profiles menu in the menu bar. BUG=405988 [email protected] Review URL: https://codereview.chromium.org/611033002 Cr-Commit-Position: refs/heads/master@{#297222} (cherry picked from commit 7252caf) Review URL: https://codereview.chromium.org/614103009 Cr-Commit-Position: refs/branch-heads/2171@{#28} Cr-Branched-From: 267aeeb-refs/heads/master@{#297060}
The strings stopped being used in https://codereview.chromium.org/611033002/ XIB changes: use a different string ID for the profiles menu in the menu bar. BUG=405988 [email protected] Review URL: https://codereview.chromium.org/603023004 Cr-Commit-Position: refs/heads/master@{#297422} Review URL: https://codereview.chromium.org/625643002 Cr-Commit-Position: refs/branch-heads/2171@{#29} Cr-Branched-From: 267aeeb-refs/heads/master@{#297060}
…upload ACCOUNT_CREATION_PASSWORD Update test to catch the problem. Previous test mocked out bad behavior. BUG=419228 [email protected] Review URL: https://codereview.chromium.org/614313002 Cr-Commit-Position: refs/heads/master@{#297580} (cherry picked from commit 44c5e4e) Review URL: https://codereview.chromium.org/624643002 Cr-Commit-Position: refs/branch-heads/2171@{#30} Cr-Branched-From: 267aeeb-refs/heads/master@{#297060}
rakuco
force-pushed
the
master
branch
2 times, most recently
from
September 16, 2015 10:58
5d9bef8
to
18a33ff
Compare
mrunalk
pushed a commit
that referenced
this pull request
Sep 22, 2015
Add ycbcr_422 support in image factory. BUG=524582 [email protected] Review URL: https://codereview.chromium.org/1308643003 Cr-Commit-Position: refs/heads/master@{#345959} (cherry picked from commit 3055ce7) media: Remove SkCanvasVideoRenderer cache invalidation. When VideoFrame carries one native texture, with a GL_TEXTURE_2D target, we assumed we could avoid caching the created SkImage, since we just used the texture directly for drawing. Unfortunately if we're drawing to a software canvas we need to read the pixels back from the texture, and that is expensive. Keeping the same SkImage allows Skia to cache the expensive operation. BUG=521531 Review URL: https://codereview.chromium.org/1320613003 Cr-Commit-Position: refs/heads/master@{#345799} (cherry picked from commit 771b5cf) BUG=510252 Review URL: https://codereview.chromium.org/1327513003 . Cr-Commit-Position: refs/branch-heads/2490@{#201} Cr-Branched-From: 7790a35-refs/heads/master@{#344925}
rakuco
force-pushed
the
master
branch
2 times, most recently
from
November 19, 2015 09:27
830d9f6
to
5ad5a18
Compare
mrunalk
pushed a commit
that referenced
this pull request
Dec 18, 2015
On iOS 9, evaluating '' + document always results in [object HTMLDocument], even for PDFs. This introduces another way of checking document type on iOS 9. Unfortunately, it doesn't work on iOS 8, so the old implementation needs to stay too. BUG=549604 Review URL: https://codereview.chromium.org/1458703004 Cr-Commit-Position: refs/heads/master@{#361095} (cherry picked from commit 704def3) Review URL: https://codereview.chromium.org/1491043004 . Cr-Commit-Position: refs/branch-heads/2564@{#201} Cr-Branched-From: 1283eca-refs/heads/master@{#359700}
rakuco
force-pushed
the
master
branch
2 times, most recently
from
January 21, 2016 15:50
1072537
to
512d729
Compare
rakuco
force-pushed
the
master
branch
2 times, most recently
from
February 4, 2016 11:32
0f31e18
to
3da217c
Compare
rakuco
pushed a commit
that referenced
this pull request
Mar 3, 2016
Currently custom tabs don't show a title if the title is still the url, but due to optimizations inside warmup(), the title might end up being about:blank (even if the current url is not about:blank). The domain explicitly guards against this but title doesn't. Update the title to also never show about:blank BUG=579647 Review URL: https://codereview.chromium.org/1649183002 . Cr-Commit-Position: refs/branch-heads/2623@{#201} Cr-Branched-From: 92d7753-refs/heads/master@{#369907}
huningxin
pushed a commit
to huningxin/chromium-croswalk
that referenced
this pull request
May 17, 2016
Newly added WebviewChromium methods getHandler and findFocus were being stripped by proguard. Explicitly keep them in .jar. Review URL: https://codereview.chromium.org/1765333002 Cr-Commit-Position: refs/heads/master@{#379922} (cherry picked from commit 4e0e652) BUG=594274 Review URL: https://codereview.chromium.org/1787733004 . Cr-Commit-Position: refs/branch-heads/2661@{crosswalk-project#201} Cr-Branched-From: ef6f6ae-refs/heads/master@{#378081}
huningxin
pushed a commit
to huningxin/chromium-croswalk
that referenced
this pull request
Oct 9, 2016
When full screen is entered or exited the position of the bubble arrow may need to be updated. This change updates the location, and ensures the bubble is repainted when the arrow location is updated. BUG=614928 Review-Url: https://codereview.chromium.org/2036503002 Cr-Commit-Position: refs/heads/master@{#397314} (cherry picked from commit 2c657c1) Review URL: https://codereview.chromium.org/2036973002 . Cr-Commit-Position: refs/branch-heads/2743@{crosswalk-project#201} Cr-Branched-From: 2b3ae3b-refs/heads/master@{#394939}
imreotto
pushed a commit
to tenta-browser/chromium-crosswalk
that referenced
this pull request
Nov 2, 2017
Instead of relying on the menu items to provide their width to us to space them apart, a dimension has been added to dimens.xml since the icons will always be the same size anyway. [email protected] (cherry picked from commit e6b519d) Bug: 763033 Change-Id: Ia34fb7a09589df10f565559da51c01fef972bfbf Reviewed-on: https://chromium-review.googlesource.com/658300 Reviewed-by: Theresa <[email protected]> Commit-Queue: Troy Hildebrandt <[email protected]> Cr-Original-Commit-Position: refs/heads/master@{#500837} Reviewed-on: https://chromium-review.googlesource.com/664981 Reviewed-by: Matthew Jones <[email protected]> Cr-Commit-Position: refs/branch-heads/3202@{crosswalk-project#201} Cr-Branched-From: fa6a5d8-refs/heads/master@{#499098}
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This patch is to add bridge code to evaluate javascript code for
test according to the upstream's change in native code.