- 20 Jul, 2017 40 commits
-
-
Yusuf Ozuysal authored
- Adds a request setter for the callback. Set to false by default. - Starts sending the callback from bottom bar delegate only when completely hidden or shown. - If the bottom bar is not set, use the toolbar values to send the same signal, so that bottom bar can be set as desired BUG=746648 Change-Id: I6f60dde5e39354b33503ce9553b67cf953a9b533 Reviewed-on: https://chromium-review.googlesource.com/578392 Commit-Queue: Yusuf Ozuysal <yusufo@chromium.org> Reviewed-by:
Benoit L <lizeb@chromium.org> Cr-Commit-Position: refs/heads/master@{#488289}
-
Mark Cogan authored
Bug: 738881 Change-Id: If191e9f0a32a0948844ee123a323781143127b27 Reviewed-on: https://chromium-review.googlesource.com/576097 Commit-Queue: Mark Cogan <marq@chromium.org> Reviewed-by:
Rohit Rao <rohitrao@chromium.org> Cr-Commit-Position: refs/heads/master@{#488288}
-
Becky Zhou authored
This reverts commit 28b06e6b. Reason for revert: <INSERT REASONING HERE> Original change's description: > Add animation to history info header > > + Make DateDividedAdapter support multiple header items so that > privacy disclaimers and clear browsing data button can be seperate > items in recycler view to support show/hide animation. > + Hide info button when info header is not visible on scrolling down > in both history and downloads. > + Remove header when history items are all deleted. > > BUG=689322 > > Change-Id: Idbcae648ba277eb82b87bbe5a0667373bb09fc1a > Reviewed-on: https://chromium-review.googlesource.com/560672 > Commit-Queue: Becky Zhou <huayinz@chromium.org> > Reviewed-by: Theresa <twellington@chromium.org> > Cr-Commit-Position: refs/heads/master@{#488031} TBR=tedchoc@chromium.org,twellington@chromium.org,huayinz@chromium.org Change-Id: Iae0a049dfa302ca835a927e7cbd6e20c5f78fff3 No-Presubmit: true No-Tree-Checks: true No-Try: true Bug: 689322 Reviewed-on: https://chromium-review.googlesource.com/580028Reviewed-by:
Theresa <twellington@chromium.org> Commit-Queue: Becky Zhou <huayinz@chromium.org> Cr-Commit-Position: refs/heads/master@{#488287}
-
galinap authored
It is currently at the top of the bottom sheet. It displays suggestions in a recycler view. The SuggestionsCarouselAdapter fetches the suggestions and constructs a ContextualSuggestionsCardViewHolder for each one. Bug: 715477 Change-Id: Ic88bdac6a80d23a4c45c81a04b20a35e90a3d4cd Reviewed-on: https://chromium-review.googlesource.com/570427 Commit-Queue: Galia Peycheva <galinap@google.com> Reviewed-by:
Bernhard Bauer <bauerb@chromium.org> Reviewed-by:
Nicolas Dossou-Gbété <dgn@chromium.org> Cr-Commit-Position: refs/heads/master@{#488286}
-
Koji Ishii authored
BUG=636993 TBR=eae@chromium.org NOTRY=true Cq-Include-Trybots: master.tryserver.chromium.linux:linux_layout_tests_layout_ng Change-Id: Ibdf9bc40c3fc1a523405bfb8406a437d892a59dc Reviewed-on: https://chromium-review.googlesource.com/580047 Commit-Queue: Koji Ishii <kojii@chromium.org> Reviewed-by:
Koji Ishii <kojii@chromium.org> Cr-Commit-Position: refs/heads/master@{#488285}
-
Nico Weber authored
This was used long ago for testing with custom SDKs. Nowadays, most SDK references are inside a .gn file, and this script here only adds platform-tools/ and tools/ from the SDK to PATH. People can just set PATH to their custom SDK if they want. Bug: 330631 Change-Id: I1a88c0f18289b418c2299523b7f6a0099d660233 Reviewed-on: https://chromium-review.googlesource.com/579951Reviewed-by:
John Budorick <jbudorick@chromium.org> Commit-Queue: Nico Weber <thakis@chromium.org> Cr-Commit-Position: refs/heads/master@{#488284}
-
Michael Thiessen authored
Refactors some code from CTAs back button flow to be reusable by VR to know in advance whether clicking the back button will backgroud chrome (or try to show Chrome Home when that's enabled, which isn't supported in VR anyways). Bug: 732475 Change-Id: Ife41c456fac880f55ba3190f257fa7ed340d00e0 Reviewed-on: https://chromium-review.googlesource.com/571289 Commit-Queue: Michael Thiessen <mthiesse@chromium.org> Reviewed-by:
Yash Malik <ymalik@chromium.org> Reviewed-by:
Maria Khomenko <mariakhomenko@chromium.org> Cr-Commit-Position: refs/heads/master@{#488283}
-
Nico Weber authored
We've been off gyp for a while, and even when we still were on gyp people weren't supposed to use android_gyp. https://codereview.chromium.org/234223002 added this compat fix for "3-4 weeks", those have by now passed as well. Bug: 330631 Change-Id: I25e0145a43771a42bcacde113b0154523da5c017 Reviewed-on: https://chromium-review.googlesource.com/579934Reviewed-by:
John Budorick <jbudorick@chromium.org> Commit-Queue: Nico Weber <thakis@chromium.org> Cr-Commit-Position: refs/heads/master@{#488282}
-
Koji Ishii authored
This patch creates Source/core/layout/ng/inline/README.md and move inline layout content from its parent directory. Our policy recommends each directory to have one README.md, and inline layout document should grow more. BUG=636993 TBR=eae@chromium.org NOTRY=true Change-Id: I528ee305034377697dc5a29d3015a321af691176 Reviewed-on: https://chromium-review.googlesource.com/579888Reviewed-by:
Koji Ishii <kojii@chromium.org> Commit-Queue: Koji Ishii <kojii@chromium.org> Cr-Commit-Position: refs/heads/master@{#488281}
-
James Cook authored
The class is deprecated, so make a note of that. TBR=stevenjb@chromium.org Bug: none Test: none Change-Id: I77e1125dd0ef8d221638b82b99df5cbf4bbb8654 Reviewed-on: https://chromium-review.googlesource.com/579658Reviewed-by:
James Cook <jamescook@chromium.org> Reviewed-by:
Steven Bennetts <stevenjb@chromium.org> Commit-Queue: James Cook <jamescook@chromium.org> Cr-Commit-Position: refs/heads/master@{#488280}
-
Mathieu Perreault authored
Bug: 746949 Test: browser_tests Change-Id: I7f80fb7102bd8dd413864ec74e5084587d74744c Reviewed-on: https://chromium-review.googlesource.com/579569 Commit-Queue: Mathieu Perreault <mathp@chromium.org> Reviewed-by:
Rouslan Solomakhin <rouslan@chromium.org> Cr-Commit-Position: refs/heads/master@{#488279}
-
proberge authored
on-tap="toggleExpandButton_" had a line break in it, preventing the handler from being properly registered. TBR=tommycli@chromium.org Bug: 690020 Cq-Include-Trybots: master.tryserver.chromium.linux:closure_compilation Change-Id: I14ab6338e5c81ef798fa2fce0749999f6e10978d Reviewed-on: https://chromium-review.googlesource.com/579654Reviewed-by:
proberge <proberge@chromium.org> Reviewed-by:
Tommy Li <tommycli@chromium.org> Commit-Queue: proberge <proberge@chromium.org> Cr-Commit-Position: refs/heads/master@{#488278}
-
Hyemi Shin authored
No intended behavior change. BUG=578344 TEST=none Change-Id: I155fff54d128dea6f44fc50c75daad0d86d474db Reviewed-on: https://chromium-review.googlesource.com/568066Reviewed-by:
Raymond Toy <rtoy@chromium.org> Reviewed-by:
Hongchan Choi <hongchan@chromium.org> Commit-Queue: Raymond Toy <rtoy@chromium.org> Cr-Commit-Position: refs/heads/master@{#488277}
-
Justin Carlson authored
This change brings SyncedPrintersManager closer to PrinterDetector style interfaces, and aligns function names/styles with the design doc for CUPS printers management. It also removes a bunch of unique_ptr wrapping of printers that are passed around, since these are not at all performance critical and the unique_ptr stuff hampers readability (and leads to subtle bugs when unique_ptrs are both used in a bind and passed as a parameter at the same time). Also convert it to the factory-function pattern while I'm mucking with stuff and clean up the header. Bug: 742487 Change-Id: Ibc9dd0a2f94dad8cb7a1f4adb1897668800311bf Reviewed-on: https://chromium-review.googlesource.com/575289Reviewed-by:
Sky Malice <skym@chromium.org> Reviewed-by:
Steven Bennetts <stevenjb@chromium.org> Reviewed-by:
Lei Zhang <thestig@chromium.org> Reviewed-by:
Sean Kau <skau@chromium.org> Commit-Queue: Justin Carlson <justincarlson@chromium.org> Cr-Commit-Position: refs/heads/master@{#488276}
-
Xida Chen authored
This test was originally put under canvas-experimental/webgl/ folder. We already have a webgl/ folder under canvas/. So this CL moves the test to canvas/webgl/. Bug: 725651 Change-Id: I790ccdf303f64116811a4159bdaf24a35dbae61e Reviewed-on: https://chromium-review.googlesource.com/579150 Commit-Queue: Xida Chen <xidachen@chromium.org> Reviewed-by:
Justin Novosad <junov@chromium.org> Reviewed-by:
Kai Ninomiya <kainino@chromium.org> Cr-Commit-Position: refs/heads/master@{#488275}
-
chrome://suggestionsColin Blundell authored
This WebUI is already present on other platforms. It will be useful for testing upcoming refactoring of the suggestions component. Change-Id: I303b02c04b0f90c34dd72bf0157199a60a26eb97 Reviewed-on: https://chromium-review.googlesource.com/574592Reviewed-by:
Sylvain Defresne <sdefresne@chromium.org> Reviewed-by:
Marc Treib <treib@chromium.org> Commit-Queue: Colin Blundell <blundell@chromium.org> Cr-Commit-Position: refs/heads/master@{#488274}
-
Fadi Meawad authored
This happens only when able to fastkilling renderers due to only running the tab being discarded. This also sorts tabs with beforeunload handlers before other tabs, as that state tends to signify tabs with unsaved user state. (ChromeOS only, for now) This is an ownership transfer of the CL: https://chromium-review.googlesource.com/c/537072/ based on oysteine's request since he is OOO. First patch is his CL + Rebase R=chrisha CC=oysteine BUG: chromium:731264,chromium:123049 Change-Id: If736141c2bb925453b7fa2c48179c1e481591032 Reviewed-on: https://chromium-review.googlesource.com/558007 Commit-Queue: Fadi Meawad <fmeawad@chromium.org> Reviewed-by:
John Abd-El-Malek <jam@chromium.org> Reviewed-by:
Scott Violet <sky@chromium.org> Reviewed-by:
Robert Kaplow <rkaplow@chromium.org> Reviewed-by:
Chris Hamilton <chrisha@chromium.org> Cr-Commit-Position: refs/heads/master@{#488273}
-
xdai authored
This is a reland of https://codereview.chromium.org/2955203002/. The original CL broke ash_unittests. Wire up the SplitViewController with the overview mode. It's a following up CL of https://codereview.chromium.org/2960843004/. Changes in this CL: 1. The split view mode can be initiated by dragging the window in overview mode to the side of the screen 2. After one window is snapped to one side of the screen, all the other overview windows will display in the other side of the screen, allowing the user to select another window to snap. When two windows are snapped to both sides of the screen, the overview mode will be ended. 3. The first snapped window will remain snapped until the user explicitly exit the split view mode. All the other windows (incluing newly created window) will be open in the other side of the screen. Clicking/Tapping on the overview button also open the overview windows in the other side of the screen. Not covered in this CL: 1. The highlighted region showing where split will occur is not implemented in this CL. 2. The split divider is not implemented in this CL. BUG=725683 TBR=oshima@chromium.org, varkha@chromium.org Change-Id: I307ac438bb45c0df5e347be296964375782ef3e7 Reviewed-on: https://chromium-review.googlesource.com/578490 Commit-Queue: Xiaoqian Dai <xdai@chromium.org> Reviewed-by:
Xiaoqian Dai <xdai@chromium.org> Cr-Commit-Position: refs/heads/master@{#488272}
-
Lei Zhang authored
- Check for missing fields in base::ParseProcVmstat() and return false in that case. Add unit tests to test for failure. - Change SystemMetricsTests to use const char arrays instead of std::string when possible. - Refactor a block of ChromeOS-only code in base::GetSystemMemoryInfo() into its own function. - Clang format the modified files. Change-Id: Ie70695d7a8efdfe1d951a980bebc21133b4b2da2 Reviewed-on: https://chromium-review.googlesource.com/578789Reviewed-by:
Thomas Anderson <thomasanderson@chromium.org> Commit-Queue: Lei Zhang <thestig@chromium.org> Cr-Commit-Position: refs/heads/master@{#488271}
-
Chromium WPT Sync authored
Using wpt-import in Chromium 12389500. Build: https://build.chromium.org/p/chromium.infra.cron/builders/wpt-importer/builds/347 Note to sheriffs: This CL imports external tests and adds expectations for those tests; if this CL is large and causes a few new failures, please fix the failures by adding new lines to TestExpectations rather than reverting. See: https://chromium.googlesource.com/chromium/src/+/master/docs/testing/web_platform_tests.md Directory owners for changes in this CL: hta@chromium.org: external/wpt/webrtc TBR=qyearsley@chromium.org No-Export: true Change-Id: Iabc0b91eb0c0d297341ea773b2f58a49eaa7a020 Reviewed-on: https://chromium-review.googlesource.com/579149 Commit-Queue: Blink WPT Bot <blink-w3c-test-autoroller@chromium.org> Reviewed-by:
Quinten Yearsley <qyearsley@chromium.org> Reviewed-by:
Blink WPT Bot <blink-w3c-test-autoroller@chromium.org> Cr-Commit-Position: refs/heads/master@{#488270}
-
Matt Falkenhagen authored
It'd be useful to know warm vs cold start ratio. Change-Id: Ic25b5ed997e2f5e81e8c18015ed71105d584b120 Reviewed-on: https://chromium-review.googlesource.com/578909Reviewed-by:
Robert Kaplow <rkaplow@chromium.org> Commit-Queue: Matt Falkenhagen <falken@chromium.org> Cr-Commit-Position: refs/heads/master@{#488269}
-
Matthew Jones authored
This change forces the toolbar to be shown in cases where it is hidden and the bottom sheet is opened. BUG=741320 Change-Id: Iad9ff71e0e71ae15c50f6db02bf194db4d97131b Reviewed-on: https://chromium-review.googlesource.com/576198Reviewed-by:
Theresa <twellington@chromium.org> Reviewed-by:
Ted Choc <tedchoc@chromium.org> Commit-Queue: Matthew Jones <mdjones@chromium.org> Cr-Commit-Position: refs/heads/master@{#488268}
-
Christopher Grant authored
The Scene is meant to hold state supplied by the SceneManager, and consumed by the rendering subsystem. Scene shouldn't know about modes, prompts, etc. This CL tries to banish any such state. BUG= Change-Id: I5cab334aac5150b725ab6408625367d0554bdabf Reviewed-on: https://chromium-review.googlesource.com/576471 Commit-Queue: Christopher Grant <cjgrant@chromium.org> Reviewed-by:
Yash Malik <ymalik@chromium.org> Reviewed-by:
Tibor Goldschwendt <tiborg@chromium.org> Cr-Commit-Position: refs/heads/master@{#488267}
-
Tim Volodine authored
Add fallback to accelerometer + magnetometer for absolute device orientation (ondeviceorienationabsolute) when ROTATION_VECTOR is not available. The ROTATION_VECTOR is not available on some devices (e.g. Samsung Galaxy A7, see crbug.com/682535). The fallback approach is similar to what already happens for relative device orientation. BUG=682535 TEST=http://timvolodine.github.io/deviceorientation-test/ Change-Id: I7b01f803b1edfd3d7062f5f165c75796a59ca070 Reviewed-on: https://chromium-review.googlesource.com/574491 Commit-Queue: Tim Volodine <timvolodine@chromium.org> Reviewed-by:
Reilly Grant <reillyg@chromium.org> Reviewed-by:
Jun Cai <juncai@chromium.org> Cr-Commit-Position: refs/heads/master@{#488266}
-
Matt Menke authored
Gerrit is too spammy, and there looks to be no plan to fix this. Getting dozens of emails before an issue is even sent out for review is just too much of a waste of time. Bug: none Change-Id: I338b7c51c18aa07a725cd481d19b254516d5bb74 Reviewed-on: https://chromium-review.googlesource.com/579688Reviewed-by:
Randy Smith <rdsmith@chromium.org> Commit-Queue: Matt Menke <mmenke@chromium.org> Cr-Commit-Position: refs/heads/master@{#488265}
-
Vaclav Brozek authored
Most of the tests in passwords_settings_egtest.mm clear PasswordStore at the end. It does not hurt to clear it in the rest of the tests either, because clearing an empty store keeps it empty. To reduce boilerplate, this CL moves the call to clear PasswordStore from individual last lines of tests into the tearDown method of the fixture. Bug: 744058 Change-Id: I350f73cef271534d01390d2e032b06e00afca0fb Reviewed-on: https://chromium-review.googlesource.com/573542 Commit-Queue: Vaclav Brozek <vabr@chromium.org> Reviewed-by:
Sergio Collazos <sczs@chromium.org> Reviewed-by:
Sylvain Defresne <sdefresne@chromium.org> Cr-Commit-Position: refs/heads/master@{#488264}
-
Leslie Watkins authored
Rename TrayDetailsView::InfoLabel to TrayInfoLabel and moved it to its own file. It also now subclasses ActionableView instead of View, so it can be clickable. TrayInfoLabel::Delegate keeps track of whether or not the label is clickable, and handles clicks. Reland of https://codereview.chromium.org/2957043002/ This reverts commit fc8ab64a. Bug: 672263, 735642, 740671 Change-Id: I7957bc934e01e226ee588939a21d1fc4afc0bdb3 Reviewed-on: https://chromium-review.googlesource.com/578142 Commit-Queue: Kyle Horimoto <khorimoto@chromium.org> Reviewed-by:
Kyle Horimoto <khorimoto@chromium.org> Reviewed-by:
James Cook <jamescook@chromium.org> Cr-Commit-Position: refs/heads/master@{#488263}
-
skia-deps-roller@chromium.org authored
https://skia.googlesource.com/skia.git/+log/2bb6ecc11293..af1813e3bf61 $ git log 2bb6ecc11..af1813e3b --date=short --no-merges --format='%ad %ae %s' 2017-07-20 scroggo Update call to new signature of wrapBackendTexture 2017-07-20 egdaniel Fix WrappedProxyTest for sample count change Created with: roll-dep src/third_party/skia Documentation for the AutoRoller is here: https://skia.googlesource.com/buildbot/+/master/autoroll/README.md If the roll is causing failures, see: http://www.chromium.org/developers/tree-sheriffs/sheriff-details-chromium#TOC-Failures-due-to-DEPS-rolls CQ_INCLUDE_TRYBOTS=master.tryserver.blink:linux_trusty_blink_rel;master.tryserver.chromium.linux:linux_optional_gpu_tests_rel;master.tryserver.chromium.mac:mac_optional_gpu_tests_rel;master.tryserver.chromium.win:win_optional_gpu_tests_rel;master.tryserver.chromium.android:android_optional_gpu_tests_rel TBR=caryclark@chromium.org Change-Id: If912997c5bebd61fdf4db20abdcd02cc6f5f2a5d Reviewed-on: https://chromium-review.googlesource.com/579649Reviewed-by:
Skia Deps Roller <skia-deps-roller@chromium.org> Commit-Queue: Skia Deps Roller <skia-deps-roller@chromium.org> Cr-Commit-Position: refs/heads/master@{#488262}
-
pdfium-deps-roller@chromium.org authored
https://pdfium.googlesource.com/pdfium.git/+log/40870db0aade..2c4a805ac3d6 $ git log 40870db0a..2c4a805ac --date=short --no-merges --format='%ad %ae %s' 2017-07-20 npm Create helper method in CJBig2_HTRDProc Created with: roll-dep src/third_party/pdfium Documentation for the AutoRoller is here: https://skia.googlesource.com/buildbot/+/master/autoroll/README.md If the roll is causing failures, see: http://www.chromium.org/developers/tree-sheriffs/sheriff-details-chromium#TOC-Failures-due-to-DEPS-rolls TBR=dsinclair@chromium.org Change-Id: I27c85e48a8cc99331e99782a3d42ebd03807fa8e Reviewed-on: https://chromium-review.googlesource.com/579648 Reviewed-by: <pdfium-deps-roller@chromium.org> Commit-Queue: <pdfium-deps-roller@chromium.org> Cr-Commit-Position: refs/heads/master@{#488261}
-
Olivier Robin authored
On release build, the weak config is deallocated even before the ASSERT_TRUE. Add a strong variable to retain it at least in the autoreleasepool. Note that this test does not test the deletion of the config in the Purge method as GetWebViewConfiguration returns a copy. Bug: None Change-Id: If3e21c3bab53c35859ed1b70c3b207966a02813f Reviewed-on: https://chromium-review.googlesource.com/579430 Commit-Queue: Olivier Robin <olivierrobin@chromium.org> Reviewed-by:
Stepan Khapugin <stkhapugin@chromium.org> Reviewed-by:
Eugene But <eugenebut@chromium.org> Cr-Commit-Position: refs/heads/master@{#488260}
-
Vaclav Brozek authored
This CL adds a test for deleting passwords in the list view. It checks that the UI is updated correctly. The CL also enhances all deletion-based tests to check the state of the PasswordStore. Bug: 744058 Change-Id: Ib545312b62b5563fc284b54aa18158c68a0ef767 Reviewed-on: https://chromium-review.googlesource.com/573541 Commit-Queue: Vaclav Brozek <vabr@chromium.org> Reviewed-by:
Sylvain Defresne <sdefresne@chromium.org> Cr-Commit-Position: refs/heads/master@{#488259}
-
Justin Cohen authored
bootstrap is used to build libclang_rt, and without this change libclang_rt.ios.a will not be built. Bug: 742498 Change-Id: I8e964fc56aaa7dcec26cde5a0884a8a899e8342f Reviewed-on: https://chromium-review.googlesource.com/575586 Commit-Queue: Justin Cohen <justincohen@chromium.org> Reviewed-by:
Hans Wennborg <hans@chromium.org> Reviewed-by:
Nico Weber <thakis@chromium.org> Cr-Commit-Position: refs/heads/master@{#488258}
-
Yuke Liao authored
The code sign script has been updated to assert that the application binary name and the CFBundleName must be the same as the bundle name without the .app suffix. This CL updates the XCUITest template to comply with the rule. Bug: 709289 Change-Id: I5e4fa8afa07e16289903b7523fe647be04351ac3 Reviewed-on: https://chromium-review.googlesource.com/576454Reviewed-by:
Sylvain Defresne <sdefresne@chromium.org> Commit-Queue: Yuke Liao <liaoyuke@chromium.org> Cr-Commit-Position: refs/heads/master@{#488257}
-
Charles Harrison authored
This allows us to remotely turn off filtering rules while still enabling other features like the strengthened popup blocker. Bug: 737737 Change-Id: Ia77acc7bdb66009fae7204a259ce571bd680ba9f Reviewed-on: https://chromium-review.googlesource.com/553597Reviewed-by:
Shivani Sharma <shivanisha@chromium.org> Commit-Queue: Charlie Harrison <csharrison@chromium.org> Cr-Commit-Position: refs/heads/master@{#488256}
-
Michael Thiessen authored
Bug: 746541 Change-Id: I19ed588fb46b2ef1c1879ec29ed1297e21f3f036 Reviewed-on: https://chromium-review.googlesource.com/578407Reviewed-by:
Yash Malik <ymalik@chromium.org> Commit-Queue: Michael Thiessen <mthiesse@chromium.org> Cr-Commit-Position: refs/heads/master@{#488255}
-
Jan Wilken Dörrie authored
This reverts commit 5f82c970. Reason for revert: Likely caused https://bugs.chromium.org/p/chromium/issues/detail?id=746813 Original change's description: > Enable bounded mode logging on chrome://net-export. > > There is an option to configure the maximum size of the NetLog. The > default is 100MiB. > > This is a re-land of https://chromium-review.googlesource.com/c/571514/ > > Bug: 679030 > Change-Id: I79eb7e6012deb0979b94a1c0f487068e7800105b > Reviewed-on: https://chromium-review.googlesource.com/578048 > Commit-Queue: Eric Roman <eroman@chromium.org> > Reviewed-by: Helen Li <xunjieli@chromium.org> > Cr-Commit-Position: refs/heads/master@{#487965} TBR=eroman@chromium.org,xunjieli@chromium.org Change-Id: I4f955d9c289eef907b72aa637395ce56e36c4adf No-Presubmit: true No-Tree-Checks: true No-Try: true Bug: 679030 Reviewed-on: https://chromium-review.googlesource.com/579767Reviewed-by:
Jan Wilken Dörrie <jdoerrie@chromium.org> Commit-Queue: Jan Wilken Dörrie <jdoerrie@chromium.org> Cr-Commit-Position: refs/heads/master@{#488254}
-
Misha Efimov authored
Bug: 603597 Cq-Include-Trybots: master.tryserver.chromium.android:android_cronet_tester Change-Id: Iac6d62d60df1bc56b26fbb9895af0282940bf5fb Reviewed-on: https://chromium-review.googlesource.com/577956Reviewed-by:
Sylvain Defresne <sdefresne@chromium.org> Reviewed-by:
Helen Li <xunjieli@chromium.org> Commit-Queue: Misha Efimov <mef@chromium.org> Cr-Commit-Position: refs/heads/master@{#488253}
-
Raphael Kubo da Costa authored
The existing implementation of named and indexed properties in IDL interfaces did not return the right property descriptor values according to https://heycam.github.io/webidl/#LegacyPlatformObjectGetOwnProperty: * Indexed properties always had [[Writable]] set to true (its value must depend on the presence of an indexed property setter) and [[Enumerable]] set to false (due to V8's default value when a handler does not set either a query or descriptor callback; it must always be true). * Named properties always set [[Writable]] to true (its value must depend on the presence of a named property setter). Since we initialize both |NamedPropertyHandlerConfiguration| and |IndexedPropertyHandlerConfiguration| in our code with different constructors, the fix for the two cases above is not "symmetrical": * |IndexedPropertyHandlerConfiguration| is constructed with a callback for [[DefineOwnProperty]], so we cannot specify an |IndexedPropertyQueryCallback| like |NamedPropertyHandlerConfiguration| does (see https://codereview.chromium.org/2311873002). In this case, we add an |IndexedPropertyDescriptorCallback| that is responsible for implementing the steps from the WebIDL spec and returning a v8::Object with the properties a property descriptor must have. * |NamedPropertyHandlerConfiguration|'s case is easier because we can just fix its existing |GenericNamedPropertyQueryCallback| and return either v8::None or v8::ReadOnly depending on the presence of a named callback setter. It is also important to note that when an IDL interface is declared with [LegacyUnenumerableNamedProperties] its named properties should not be enumerable; we still need to add support for that extended attribute to the bindings code though, so Object.keys() or Object.values() on e.g. HTMLCollection still return more entries than they should. Bug: 703990, 719703 Change-Id: I772f92a377a1f5013f4f78e5d361a43974378d1a Reviewed-on: https://chromium-review.googlesource.com/576183 Commit-Queue: Raphael Kubo da Costa (rakuco) <raphael.kubo.da.costa@intel.com> Reviewed-by:
Kenichi Ishibashi <bashi@chromium.org> Reviewed-by:
Yuki Shiino <yukishiino@chromium.org> Reviewed-by:
Hitoshi Yoshida <peria@chromium.org> Cr-Commit-Position: refs/heads/master@{#488252}
-
Danyao Wang authored
This is so that the implementation can be shared with WKBasedNavigationManagerImpl. Bug: 734150 Change-Id: Ie548bed97789ebd91d12669faa314270a7803b2c Reviewed-on: https://chromium-review.googlesource.com/576709 Commit-Queue: Danyao Wang <danyao@chromium.org> Reviewed-by:
Eugene But <eugenebut@chromium.org> Cr-Commit-Position: refs/heads/master@{#488251}
-
Vaclav Brozek authored
testStoredEntriesAlwaysShown was introduced in https://chromium-review.googlesource.com/c/573381/. The functionality it tests exists both when the "view passwords" feature is enabled or not. However, there is a subtle difference in the accessibility properties of items inspected by the test: with "view passwords", those items are buttons, without "view passwords" those items are just text cells. The test is written with helper matchers designed for "view passwords" enabled, however the test itself was written without enabling "view passwords". The helper matchers required the "button" accessibility trait to be set, and hence failed to locate the items with the "view passwords" feature disabled. As a result, the test was failing on bots (when I checked before landing, it ran OK on my own machine, where I accidentally enabled the "view passwords" feature). An unrelated test, testDeletion, also always failed when testStoredEntriesAlwaysShown failed. I have not investigated why, but it was probably due to failure of the latter to clear the PasswordStore on failure. This will be addressed in https://chromium-review.googlesource.com/c/573542/. There is good evidence that testDeletion indeed failed as a result of testStoredEntriesAlwaysShown failing: while at https://build.chromium.org/p/chromium.fyi/builders/EarlGreyiOS/builds/29816 they both failed, https://build.chromium.org/p/chromium.fyi/builders/EarlGreyiOS/builds/29817 which only had testStoredEntriesAlwaysShown disabled, passed with no failure. I observed the same on a downstream bot iphone10-simulator-x64, where I could reproduce both tests failing before this patch and both passing with only testStoredEntriesAlwaysShown changed and both tests enabled, as in this CL. The fix in this CL is to enable the "view passwords" feature during testStoredEntriesAlwaysShown. An alternative would be to change the matchers used to not require the "button" accessibility trait when the feature is disabled. However, the feature is going to be enabled as soon as version 61 branches, so using the existing helper matchers will keep the code simple with minimal effect beyond tomorrow. Bug: 515462 Change-Id: I90ac1d3f1c42402cc73293eb3e5ba4f49475926a Reviewed-on: https://chromium-review.googlesource.com/579195Reviewed-by:
Sylvain Defresne <sdefresne@chromium.org> Commit-Queue: Vaclav Brozek <vabr@chromium.org> Cr-Commit-Position: refs/heads/master@{#488250}
-