- 11 Feb, 2020 40 commits
-
-
Raul Tambre authored
None is comparable in Python 2, but not in Python 3. None compares less than anything else, including empty strings, on Python 2. Emulate this behaviour for compatibility with Python 3 by returning an empty string if the ordinal is None. The code fortunately doesn't seem to rely on the very special None sorting. Traceback (most recent call last): File "../../mojo/public/tools/bindings/mojom_bindings_generator.py", line 556, in <module> sys.exit(main()) File "../../mojo/public/tools/bindings/mojom_bindings_generator.py", line 551, in main return args.func(args, remaining_args) File "../../mojo/public/tools/bindings/mojom_bindings_generator.py", line 267, in _Generate processor._GenerateModule(args, remaining_args, generator_modules, File "../../mojo/public/tools/bindings/mojom_bindings_generator.py", line 199, in _GenerateModule imports[parsed_imp.import_filename] = self._GenerateModule( File "../../mojo/public/tools/bindings/mojom_bindings_generator.py", line 199, in _GenerateModule imports[parsed_imp.import_filename] = self._GenerateModule( File "../../mojo/public/tools/bindings/mojom_bindings_generator.py", line 238, in _GenerateModule generator.GenerateFiles(filtered_args) File "C:\Google\chromium\src\mojo\public\tools\bindings\generators\mojom_cpp_generator.py", line 474, in GenerateFiles self.WriteWithComment(self._GenerateModuleHeader(), File "C:\Google\chromium\src\mojo\public\tools\bindings\pylib\mojom\generate\template_expander.py", line 38, in GeneratorInternal return ApplyTemplate(args[0], path_to_template, parameters, **kwargs) File "C:\Google\chromium\src\mojo\public\tools\bindings\pylib\mojom\generate\template_expander.py", line 31, in ApplyTemplate return template.render(params) File "C:\Google\chromium\src\mojo\public\tools\bindings\pylib\mojom\generate\..\..\..\..\..\..\..\third_party\jinja2\asyncsupport.py", line 76, in render return original_render(self, *args, **kwargs) File "C:\Google\chromium\src\mojo\public\tools\bindings\pylib\mojom\generate\..\..\..\..\..\..\..\third_party\jinja2\environment.py", line 1008, in render return self.environment.handle_exception(exc_info, True) File "C:\Google\chromium\src\mojo\public\tools\bindings\pylib\mojom\generate\..\..\..\..\..\..\..\third_party\jinja2\environment.py", line 780, in handle_exception reraise(exc_type, exc_value, tb) File "C:\Google\chromium\src\mojo\public\tools\bindings\pylib\mojom\generate\..\..\..\..\..\..\..\third_party\jinja2\_compat.py", line 37, in reraise raise value.with_traceback(tb) File "gen\mojo\public\tools\bindings\cpp_templates.zip\tmpl_4b4c750a11f14c4ee990ca69a07408825b11d62d.py", line 179, in <module> File "gen\mojo\public\tools\bindings\cpp_templates.zip\tmpl_3cfd1c143e820f5d5f5c850420142fd64dfa3890.py", line 39, in <module> File "C:\Google\chromium\src\mojo\public\tools\bindings\generators\mojom_cpp_generator.py", line 878, in _GetStructConstructors ordinal_fields = sorted(struct.fields, key=lambda field: field.ordinal) TypeError: '<' not supported between instances of 'NoneType' and 'NoneType' Bug: 941669 Change-Id: Id659a362fb5f3c56163b8164766d3f6963960c4b Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2044080 Commit-Queue: Raul Tambre <raul@tambre.ee> Reviewed-by:
Ken Rockot <rockot@google.com> Cr-Commit-Position: refs/heads/master@{#740326}
-
Gauthier Ambard authored
This CL makes sure that, when the desktop version is requested by default, when the flag to force the mobile version of the SRP is enabled, the mobile version is actually requested. Fixed: 1043637 Change-Id: Ie2f267583c88bbfc63d14383f3d87da00da73c20 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2050264Reviewed-by:
Eugene But <eugenebut@chromium.org> Commit-Queue: Gauthier Ambard <gambard@chromium.org> Auto-Submit: Gauthier Ambard <gambard@chromium.org> Cr-Commit-Position: refs/heads/master@{#740325}
-
Wez authored
Fuchsia's SDK will soon provide GN rules include one for declaring fuchsia package targets. Since the SDK-provided rule works differently from the Chromium one but is called fuchsia_package(), we need to rename the Chromium rule to avoid them clashing. Bug: 1050703 Change-Id: I08c14069d98df07f78e9ef25bc2c234a825d5ebb Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2047033 Auto-Submit: Wez <wez@chromium.org> Reviewed-by:
John Budorick <jbudorick@chromium.org> Reviewed-by:
Charlie Reis <creis@chromium.org> Commit-Queue: Wez <wez@chromium.org> Cr-Commit-Position: refs/heads/master@{#740324}
-
Alison Maher authored
Partial revert of: https://chromium-review.googlesource.com/c/chromium/src/+/2026147 The problem with the above CL was that the default fill color was set for all SVGs. This is not according to the spec. The real problem was that we were reverting fill and stroke colors for non-SVG elements in forced colors mode. These elements are not handled in the UA styleshet, and thus will have their fill and stroke colors set to the default black. If an SVG element inherits the fill or stroke colors from a non-SVG parent, it will similarly get set to the default black color. To fix this, this change avoids reverting fill and stroke for non- SVG elements to allow for proper inheritance in this case. (This change also replaces instances of the deprecated Window/ WindowText with Canvas/CanvasText.) Bug: 970285 Change-Id: Ib37cffc5015d01996836d5a22d24fafc9a247522 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2032181Reviewed-by:
Rune Lillesveen <futhark@chromium.org> Commit-Queue: Alison Maher <almaher@microsoft.com> Cr-Commit-Position: refs/heads/master@{#740323}
-
Nikita Podguzov authored
Tests cover specific errors API exposes to the extension. Bug: 996785 Change-Id: I732d91f5b4b4e6543b2657edaa7175d1c1abfd4d Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2012029 Commit-Queue: Nikita Podguzov <nikitapodguzov@chromium.org> Reviewed-by:
Sean Kau <skau@chromium.org> Reviewed-by:
Devlin <rdevlin.cronin@chromium.org> Cr-Commit-Position: refs/heads/master@{#740322}
-
chromium-autoroll authored
https://chromium.googlesource.com/devtools/devtools-frontend.git/+log/eecaa7adff55..b5bbcc0078b0 git log eecaa7adff55..b5bbcc0078b0 --date=short --first-parent --format='%ad %ae %s' 2020-02-11 jacktfranklin@chromium.org Add sinonjs@8.1.1 dependency 2020-02-11 jacktfranklin@chromium.org Remove defunct code in `CookieModel` 2020-02-11 janscheffler@chromium.org Fix escaping for Copy as cURL Created with: gclient setdep -r src/third_party/devtools-frontend/src@b5bbcc0078b0 If this roll has caused a breakage, revert this CL and stop the roller using the controls here: https://autoroll.skia.org/r/devtools-frontend-chromium Please CC devtools-waterfall-sheriff-onduty@grotations.appspotmail.com on the revert to ensure that a human is aware of the problem. To report a problem with the AutoRoller itself, please file a bug: https://bugs.chromium.org/p/skia/issues/entry?template=Autoroller+Bug Documentation for the AutoRoller is here: https://skia.googlesource.com/buildbot/+/master/autoroll/README.md Bug: None Tbr: devtools-waterfall-sheriff-onduty@grotations.appspotmail.com Change-Id: I4f5c747702a8dbe47836313df0ac68785b4616a9 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2050557Reviewed-by:
chromium-autoroll <chromium-autoroll@skia-public.iam.gserviceaccount.com> Commit-Queue: chromium-autoroll <chromium-autoroll@skia-public.iam.gserviceaccount.com> Cr-Commit-Position: refs/heads/master@{#740321}
-
Amr Aboelkher authored
UMA histograms are recording whether the accessibility shortcut was enabled or not, when its being toggled. Bug: 552439 Change-Id: I18b56f02860a3417b6719c7950c185e4a2146653 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2000717 Commit-Queue: Amr Aboelkher <amraboelkher@google.com> Reviewed-by:
Ahmed Fakhry <afakhry@chromium.org> Reviewed-by:
Brian White <bcwhite@chromium.org> Cr-Commit-Position: refs/heads/master@{#740320}
-
Yao Xiao authored
Bug: 1048196 Change-Id: I3ca37b0c1c973bd98ba971396fc5d4712fd14cc0 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2032080 Commit-Queue: Yao Xiao <yaoxia@chromium.org> Reviewed-by:
Josh Karlin <jkarlin@chromium.org> Cr-Commit-Position: refs/heads/master@{#740319}
-
Joe Downing authored
The plan is to submit this change and merge it to M81 to address multi-mon issues in that release. Once Jamie is back, he will revert this change and finish the VideoCapturer impl for M82. Change-Id: I33f1261061c43afeffbfc76df138440daa56f80e Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2048306 Auto-Submit: Joe Downing <joedow@chromium.org> Reviewed-by:
Jamie Walch <jamiewalch@chromium.org> Commit-Queue: Joe Downing <joedow@chromium.org> Cr-Commit-Position: refs/heads/master@{#740318}
-
Tommy Steimel authored
This CL moves the Kaleidoscope URL constants into the public repo. Bug: 1044741 Change-Id: I9fcc63929439f72acf2b8026710cddf35a34d53c Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2048403Reviewed-by:
Becca Hughes <beccahughes@chromium.org> Reviewed-by:
Tommy Li <tommycli@chromium.org> Commit-Queue: Tommy Steimel <steimel@chromium.org> Cr-Commit-Position: refs/heads/master@{#740317}
-
Jan Wilken Dörrie authored
This change improves the documentation for CheckedContiguousRange and makes its default constructor well-behaved. Prior to this change CheckedContiguousRange was default-constructible, but every operation on it would have resulted in a nullptr dereference. After this change a caller can query a default constructed range for its data() and size() and obtain iterators without causing a crash. Bug: 990059 Change-Id: I14e1a42c86591c4b362dd1e05ea21ed35c7610a9 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2049963Reviewed-by:
Lei Zhang <thestig@chromium.org> Reviewed-by:
Daniel Cheng <dcheng@chromium.org> Commit-Queue: Jan Wilken Dörrie <jdoerrie@chromium.org> Cr-Commit-Position: refs/heads/master@{#740316}
-
Xianzhu Wang authored
Previously the color values were only dumped as decimal integers which were neither human-readable nor able to be used by web ui programs directly. Now use rgba format. Change-Id: I352b1ee890c7bc72e1446c0af54c9938656809de Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2044750Reviewed-by:
Robert Flack <flackr@chromium.org> Commit-Queue: Xianzhu Wang <wangxianzhu@chromium.org> Cr-Commit-Position: refs/heads/master@{#740315}
-
Mike Dougherty authored
Calling net::URLRequestJob::NotifyStartError synchronously from Start is not supported, so issue a PostTask to respond asynchronously instead. Also, update header comment with this restriction. Fixed: 942488 Change-Id: I1f39d2b4c0c60f6a156bb9462f21aaffbf409498 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2049208Reviewed-by:
Matt Menke <mmenke@chromium.org> Reviewed-by:
Eugene But <eugenebut@chromium.org> Commit-Queue: Mike Dougherty <michaeldo@chromium.org> Cr-Commit-Position: refs/heads/master@{#740314}
-
chromium-internal-autoroll authored
https://chrome-internal.googlesource.com/chrome/src-internal.git/+log/d31fdd914bc4..7a341dac0524 Created with: gclient setdep -r src-internal@7a341dac0524 If this roll has caused a breakage, revert this CL and stop the roller using the controls here: https://skia-autoroll.corp.goog/r/src-internal-chromium-autoroll Please CC jbudorick@google.com on the revert to ensure that a human is aware of the problem. To report a problem with the AutoRoller itself, please file a bug: https://bugs.chromium.org/p/skia/issues/entry?template=Autoroller+Bug Documentation for the AutoRoller is here: https://skia.googlesource.com/buildbot/+/master/autoroll/README.md Cq-Include-Trybots: luci.chrome.try:linux-chromeos-chrome Bug: None Tbr: jbudorick@google.com Change-Id: I09abb1bae6c3c60a907841d678bc8868adc54022 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2050555Reviewed-by:
chromium-internal-autoroll <chromium-internal-autoroll@skia-corp.google.com.iam.gserviceaccount.com> Commit-Queue: chromium-internal-autoroll <chromium-internal-autoroll@skia-corp.google.com.iam.gserviceaccount.com> Cr-Commit-Position: refs/heads/master@{#740313}
-
Maksim Ivanov authored
Fix a few minor issues with the description of the "DeviceLoginScreenExtensions" policy: * Mention that extensions (not apps) can also be installed via it; * Update the examples to quote the IDs that can actually be installed via this policy; * Clarify that these apps/extensions cannot be disabled by the user (following the change of the ExtensionInstallForcelist policy documentation made in http://crrev.com/2852703002); * Mention that the update URL is optional. Bug: none Change-Id: Iad87eb82e705462cafcab76f37d970dd20633ba4 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2044114 Commit-Queue: Maksim Ivanov <emaxx@chromium.org> Reviewed-by:
Alexander Hendrich <hendrich@chromium.org> Cr-Commit-Position: refs/heads/master@{#740312}
-
Tricia Crichton authored
After a test times out during a ChromeDriver command, trigger a Chrome crash and a minidump collection for troubleshooting. This is not available on tests connecting to a remote browser, or when running on Android. Bug: 1045241 Change-Id: I3cb82d95875d0f58a4acee69d249a92801b8024b Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2032238Reviewed-by:
John Chen <johnchen@chromium.org> Commit-Queue: Tricia Crichton <triciac@chromium.org> Cr-Commit-Position: refs/heads/master@{#740311}
-
Roman Aleksandrov authored
Bug: 1003888 Change-Id: Ic968514bdfbe23bbf4a0455cb5cf760d256b4e81 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2042091 Commit-Queue: Roman Aleksandrov <raleksandrov@google.com> Reviewed-by:
Xiyuan Xia <xiyuan@chromium.org> Cr-Commit-Position: refs/heads/master@{#740310}
-
Henrique Ferreiro authored
Add RecordUserMetricsAction on the content.mojom.RendererHost interface to replace the legacy IPC message. Bug: 1047458 Change-Id: Ie2009fd7a0c0ca58b68e71ba278097f5f1b0b97b Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2047064 Commit-Queue: Henrique Ferreiro <hferreiro@igalia.com> Reviewed-by:
Kinuko Yasuda <kinuko@chromium.org> Cr-Commit-Position: refs/heads/master@{#740309}
-
Maxim Kolosovskiy authored
This reverts commit 1c4a6244. Reason for revert: suspect it cause some failures in CrOS tests: https://ci.chromium.org/p/chrome/builders/ci/linux-chromeos-chrome/3017 AutoLaunchedKioskTest.CrashRestore CryptohomeKeyDelegateServiceProviderTest.SignatureErrorKeyRemoved CryptohomeKeyDelegateServiceProviderTest.SignatureErrorUnsupportedAlgorithm CryptohomeKeyDelegateServiceProviderTest.SignatureErrorWhileSigning CryptohomeKeyDelegateServiceProviderTest.SignatureSuccessSha1 CryptohomeKeyDelegateServiceProviderTest.SignatureSuccessSha256 KioskEnterpriseTest.EnterpriseKioskApp SigninExtensionsDeviceCloudPolicyBrowserTest.ManagedStorage Original change's description: > Reland "[Extensions] Enable content verification for new policy non-webstore installs" > > This is a reland of bf17bc25 > > Original change's description: > > [Extensions] Enable content verification for new policy non-webstore installs > > > > After this commit: > > * For non-webstore policy force-installed extensions, write > > computed_hashes.json on installation. > > * If (according to computed_hashes.json) extension's resource is > > detected corrupted, this extension will be disabled and reinstalled. > > This applies only for policy force-installed extensions, and for > > webstore extensions it worked before this commit. > > > > This commit will NOT change behavior for already-installed extension. > > So, if some (non-webstore) extension was already corrupted, it will not > > be detected. The reason for this is that there is no source of truth for > > resources of already-installed non-webstore extension. It's possible to > > reinstall all previously-installed non-webstore extensions, but it's out > > of scope of this commit. See the bug for more details. > > > > Bug: 958794 > > Change-Id: Ie9c014e7fd998f4eae6e852a59bd692d57ff7d8c > > Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2012964 > > Commit-Queue: Oleg Davydov <burunduk@chromium.org> > > Reviewed-by: Istiaque Ahmed <lazyboy@chromium.org> > > Reviewed-by: Sergey Poromov <poromov@chromium.org> > > Cr-Commit-Position: refs/heads/master@{#737034} > > Bug: 958794 > Change-Id: I90d2c398712b1c716f5299a199c72e12e42b0c8f > Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2033160 > Reviewed-by: Istiaque Ahmed <lazyboy@chromium.org> > Reviewed-by: Sergey Poromov <poromov@chromium.org> > Commit-Queue: Oleg Davydov <burunduk@chromium.org> > Cr-Commit-Position: refs/heads/master@{#740269} TBR=lazyboy@chromium.org,poromov@chromium.org,burunduk@chromium.org Change-Id: I16e79207100000f77b7e3c4fa26ca6908b9785ea No-Presubmit: true No-Tree-Checks: true No-Try: true Bug: 958794 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2050686Reviewed-by:
Maxim Kolosovskiy <kolos@chromium.org> Commit-Queue: Maxim Kolosovskiy <kolos@chromium.org> Cr-Commit-Position: refs/heads/master@{#740308}
-
Katie Dektar authored
This reverts commit 0c502205. Reason for revert: Still flaky, not sure why yet! Original change's description: > Reland "Add browser tests for Reader Mode omnibox icon." > > This reverts commit 6e766760. > Flakes should be taken care of by adding an observer to > wait for distillability results before asserting state. > > Bug: 992074 > Change-Id: I4dfc86dbd78fd812961194d9ea7e58baea7ff478 > Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2042398 > Commit-Queue: Katie Dektar <katie@chromium.org> > Reviewed-by: Elly Fong-Jones <ellyjones@chromium.org> > Reviewed-by: Dominic Mazzoni <dmazzoni@chromium.org> > Cr-Commit-Position: refs/heads/master@{#739946} TBR=ellyjones@chromium.org,dmazzoni@chromium.org,katie@chromium.org Change-Id: I391f5b9fedcc3620301378eb5a084696dda9a890 No-Presubmit: true No-Tree-Checks: true No-Try: true Bug: 1049344 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2049909Reviewed-by:
Katie Dektar <katie@chromium.org> Commit-Queue: Katie Dektar <katie@chromium.org> Cr-Commit-Position: refs/heads/master@{#740307}
-
Stephen Roe authored
This reverts commit e2beb407. Reason for revert: The original change caused webkit_layout_tests failures due to a change in qemu_target.QemuTarget() arguments. See crbug.com/1050935 Original change's description: > [fuchsia] add option to retry test environment setup steps. > > Also adds debug logging for qemu-img invocations in the qemu target. > > Bug: 1046861 > Change-Id: Ia37a9701391e3437cf03f1f041ddca671d5e0770 > Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2023387 > Commit-Queue: Stephen Roe <steveroe@google.com> > Reviewed-by: Sergey Ulanov <sergeyu@chromium.org> > Cr-Commit-Position: refs/heads/master@{#740058} TBR=kmarshall@chromium.org,sergeyu@chromium.org,steveroe@google.com,chonggu@google.com Change-Id: I62ad6c4e708dcf32556fd6b5f6b4d1d6145640c2 No-Presubmit: true No-Tree-Checks: true No-Try: true Bug: 1046861 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2050606 Auto-Submit: Stephen Roe <steveroe@google.com> Commit-Queue: Wez <wez@chromium.org> Reviewed-by:
Wez <wez@chromium.org> Cr-Commit-Position: refs/heads/master@{#740306}
-
khmel@chromium.org authored
This removes merge session stage for auth context preparation once it is deprecated and source of extra failures. TEST=Locally BUG=b:148670963 Change-Id: I61fafb236a83cf2b9e9f1f65cd8ae029c734fe3c Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2048109Reviewed-by:
Xiyuan Xia <xiyuan@chromium.org> Reviewed-by:
Kush Sinha <sinhak@chromium.org> Commit-Queue: Yury Khmel <khmel@chromium.org> Cr-Commit-Position: refs/heads/master@{#740305}
-
sandromaggi authored
This is an implementation of the pattern proposal for Assistant Autofill fallback handler. Note that this does not solve the full range of issues we might have with phone numbers. This works for static pages, where we know what the expected input-format is. This CL gives more flexibility in how to combine the values as an expression. All available information is automatically extracted and exposed for use. This should go together with the backend CL: cl/293790701 Bug: b/147755494 Bug: b/147281090 Change-Id: I4f5e03fde7001767df92ba869d990b1804d421fa Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2030887 Commit-Queue: Sandro Maggi <sandromaggi@google.com> Reviewed-by:
Clemens Arbesser <arbesser@google.com> Cr-Commit-Position: refs/heads/master@{#740304}
-
Anders Hartvoll Ruud authored
Bug: 947004 Change-Id: I827370184a0d5a1f152717ee3b0030803c59393c Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2050263 Commit-Queue: Anders Hartvoll Ruud <andruud@chromium.org> Reviewed-by:
Emilio Cobos Álvarez <emilio@chromium.org> Reviewed-by:
Rune Lillesveen <futhark@chromium.org> Cr-Commit-Position: refs/heads/master@{#740303}
-
Xida Chen authored
This CL removes an un-used function in PaintRenderingContext2d Bug: None Change-Id: Idb16af53d2f63132576bff64973f39c6d91459af Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2050604Reviewed-by:
Yi Gu <yigu@chromium.org> Commit-Queue: Xida Chen <xidachen@chromium.org> Cr-Commit-Position: refs/heads/master@{#740302}
-
Steve Kobes authored
Bug: 1045064 Change-Id: Ie1d98f575ce365471b027a79b768228d9308c37b Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2044911Reviewed-by:
Bryan McQuade <bmcquade@chromium.org> Commit-Queue: Steve Kobes <skobes@chromium.org> Cr-Commit-Position: refs/heads/master@{#740301}
-
Hitoshi Yoshida authored
This is a reland of 6f1a4faf Original change's description: > Payment: Drop AndroidPayTokenization IDL dictionary > > Bug: 839389 > Change-Id: Iacb7a04b9889ba7cf7daf652699e996554a9ee85 > Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2045298 > Commit-Queue: Hitoshi Yoshida <peria@chromium.org> > Reviewed-by: Danyao Wang <danyao@chromium.org> > Cr-Commit-Position: refs/heads/master@{#740125} Bug: 839389 Change-Id: I5feaaab1e05b14613c92a7ac30bf7c5ad069eead Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2049147 Auto-Submit: Hitoshi Yoshida <peria@chromium.org> Commit-Queue: Danyao Wang <danyao@chromium.org> Reviewed-by:
Danyao Wang <danyao@chromium.org> Cr-Commit-Position: refs/heads/master@{#740300}
-
Gayane Petrosyan authored
Bug: 993920 Change-Id: I365f256909fb60ed976e26576d48e2589acf9f37 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2047408Reviewed-by:
Theresa <twellington@chromium.org> Commit-Queue: Gayane Petrosyan <gayane@chromium.org> Cr-Commit-Position: refs/heads/master@{#740299}
-
Huanzhong Huang authored
Revert "Undo the exposing of HaTS-Friendly-Settings flags", as a Finch config (cl/294428725) has been devised and tested to ensure that the two forced-on groups work. This reverts commit 3b9c94b7. Reason for revert: <INSERT REASONING HERE> Original change's description: > Undo the exposing of HaTS-Friendly-Settings flags > > Bug: 1045348 > Change-Id: I5c5950cb53e424d756d1de98fea122d6d75815e7 > Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2046131 > Commit-Queue: Huanzhong Huang <huanzhong@chromium.org> > Reviewed-by: Martin Šrámek <msramek@chromium.org> > Cr-Commit-Position: refs/heads/master@{#740253} TBR=msramek@chromium.org,huanzhong@chromium.org Change-Id: I1dc3f2b6d6dd01a56f9898430af595ca9c3aee5b No-Presubmit: true No-Tree-Checks: true No-Try: true Bug: 1045348 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2050684Reviewed-by:
Huanzhong Huang <huanzhong@chromium.org> Commit-Queue: Huanzhong Huang <huanzhong@chromium.org> Cr-Commit-Position: refs/heads/master@{#740298}
-
Maxim Kolosovskiy authored
This reverts commit 472b61b0. Reason for revert: This CL probably caused the failures of CrSettingsPeoplePageSyncAccountControlTest.All The first failed build: https://ci.chromium.org/p/chromium/builders/ci/Linux%20Tests%20%28dbg%29%281%29/86751?blamelist=1#blamelist-tab Test 'CrSettingsPeoplePageSyncAccountControlTest.All' completed with the following status(es): 'FAILURE','FAILURE' Test 'CrSettingsPeoplePageSyncAccountControlTest.All' had the following logs when run: ================================================================================ [ RUN ] CrSettingsPeoplePageSyncAccountControlTest.All [18619:18619:0210/184737.873886:10428715594:ERROR:edid_parser.cc(102)] Too short EDID data: manufacturer id [18619:18619:0210/184739.304554:INFO:content_main_runner_impl.cc(948)] Chrome is running in full browser mode. [18619:18754:0210/184741.088128:ERROR:object_proxy.cc(632)] Failed to call method: org.freedesktop.DBus.Properties.Get: object_path= /org/freedesktop/UPower: org.freedesktop.DBus.Error.ServiceUnknown: The name org.freedesktop.UPower was not provided by any .service files [18619:18754:0210/184741.088268:WARNING:property.cc(144)] DaemonVersion: GetAndBlock: failed. [18619:18754:0210/184741.088784:ERROR:object_proxy.cc(632)] Failed to call method: org.freedesktop.UPower.GetDisplayDevice: object_path= /org/freedesktop/UPower: org.freedesktop.DBus.Error.ServiceUnknown: The name org.freedesktop.UPower was not provided by any .service files [18619:18754:0210/184741.089292:ERROR:object_proxy.cc(632)] Failed to call method: org.freedesktop.UPower.EnumerateDevices: object_path= /org/freedesktop/UPower: org.freedesktop.DBus.Error.ServiceUnknown: The name org.freedesktop.UPower was not provided by any .service files [18619:18619:0210/184741.509719:WARNING:gaia_auth_fetcher.cc(989)] Could not reach Google Accounts servers: errno -11 [18619:18619:0210/184742.399987:WARNING:gaia_auth_fetcher.cc(989)] Could not reach Google Accounts servers: errno -11 [18619:18619:0210/184742.896965:WARNING:CONSOLE(0)] "HTML Imports is deprecated and will be removed in M80, around February 2020. Please use ES modules instead. See https://www.chromestatus.com/features/5144752345317376 and https://developers.google.com/web/updates/2019/07/web-components-time-to-upgrade for more details.", source: (0) [18619:18619:0210/184744.965914:WARNING:gaia_auth_fetcher.cc(989)] Could not reach Google Accounts servers: errno -11 [18619:18619:0210/184746.311487:INFO:CONSOLE(1045)] "Running TestCase CrSettingsPeoplePageSyncAccountControlTest.All", source: file:///b/s/w/ir/chrome/test/data/webui/test_api.js (1045) [18619:18619:0210/184748.205791:ERROR:CONSOLE(49)] "Mocha test failed: SyncAccountControl not signed in and no stored accounts Error: Uncaught TypeError: this.syncBrowserProxy_.turnOnSync is not a function (chrome://settings/people_page/sync_account_control.js:413) at Context.<anonymous> (file:///b/s/w/ir/chrome/test/data/webui/settings/sync_account_control_test.js:123:34) ", source: file:///b/s/w/ir/chrome/test/data/webui/mocha_adapter.js (49) [18619:18619:0210/184748.207968:ERROR:CONSOLE(413)] "Uncaught TypeError: this.syncBrowserProxy_.turnOnSync is not a function", source: chrome://settings/people_page/sync_account_control.js (413) [18619:18619:0210/184749.544505:ERROR:CONSOLE(49)] "Mocha test failed: SyncAccountControl "before each" hook in "SyncAccountControl" TypeError: Cannot read property 'call' of undefined ", source: file:///b/s/w/ir/chrome/test/data/webui/mocha_adapter.js (49) [18619:18619:0210/184749.546775:ERROR:CONSOLE(6093)] "Uncaught TypeError: Cannot read property 'isPending' of undefined", source: file:///b/s/w/ir/third_party/mocha/mocha.js (6093) [18619:18619:0210/184753.193344:WARNING:gaia_auth_fetcher.cc(989)] Could not reach Google Accounts servers: errno -11 [18619:18619:0210/184815.096606:WARNING:gaia_auth_fetcher.cc(989)] Could not reach Google Accounts servers: errno -11 ../../base/test/scoped_run_loop_timeout.cc:26: Failure Failed RunLoop::Run() timed out. Google Test trace: ../../chrome/browser/ui/webui/web_ui_test_handler.cc:94: WebUITestHandler::WaitForResult Stack trace: #0 0x560f6d110b87 base::test::ScopedRunLoopTimeout::ScopedRunLoopTimeout()::$_0::operator()() #1 0x560f6d110b1d base::internal::FunctorTraits<>::Invoke<>() #2 0x560f6d110add base::internal::InvokeHelper<>::MakeItSo<>() #3 0x560f6d110ab1 _ZN4base8internal7InvokerINS0_9BindStateIZNS_4test20ScopedRunLoopTimeoutC1ENS_9TimeDeltaEE3$_0JEEEFvvEE7RunImplIRKS6_RKNSt4__Cr5tupleIJEEEJEEEvOT_OT0_NSD_16integer_sequenceImJXspT1_EEEE #4 0x560f6d110a82 base::internal::Invoker<>::Run() #5 0x7f614f3c0d27 _ZNO4base12OnceCallbackIFvvEE3RunEv #6 0x7f614f506a5a base::(anonymous namespace)::OnRunLoopTimeout() #7 0x7f614f50a677 base::internal::FunctorTraits<>::Invoke<>() #8 0x7f614f50a547 base::internal::InvokeHelper<>::MakeItSo<>() #9 0x7f614f50a4d3 _ZN4base8internal7InvokerINS0_9BindStateIPFvPNS_7RunLoopENS_12OnceCallbackIFvvEEEEJNS0_17UnretainedWrapperIS3_EENS_17RepeatingCallbackIS6_EEEEES6_E7RunImplIS9_NSt4__Cr5tupleIJSB_SD_EEEJLm0ELm1EEEEvOT_OT0_NSH_16integer_sequenceImJXspT1_EEEE #10 0x7f614f50a467 base::internal::Invoker<>::RunOnce() #11 0x7f614f3c0d27 _ZNO4base12OnceCallbackIFvvEE3RunEv #12 0x7f614f50abc7 base::internal::CancelableCallbackImpl<>::ForwardOnce<>() #13 0x7f614f50b035 base::internal::FunctorTraits<>::Invoke<>() #14 0x7f614f50af07 base::internal::InvokeHelper<>::MakeItSo<>() #15 0x7f614f50ae72 _ZN4base8internal7InvokerINS0_9BindStateIMNS0_22CancelableCallbackImplINS_12OnceCallbackIFvvEEEEEFvvEJNS_7WeakPtrIS7_EEEEES5_E7RunImplIS9_NSt4__Cr5tupleIJSB_EEEJLm0EEEEvOT_OT0_NSF_16integer_sequenceImJXspT1_EEEE #16 0x7f614f50ae27 base::internal::Invoker<>::RunOnce() #17 0x7f614f3c0d27 _ZNO4base12OnceCallbackIFvvEE3RunEv #18 0x7f614f57a35d base::TaskAnnotator::RunTask() #19 0x7f614f5c164a base::sequence_manager::internal::ThreadControllerWithMessagePumpImpl::DoWorkImpl() #20 0x7f614f5c0dab base::sequence_manager::internal::ThreadControllerWithMessagePumpImpl::DoSomeWork() #21 0x7f614f5c199c base::sequence_manager::internal::ThreadControllerWithMessagePumpImpl::DoSomeWork() #22 0x7f614f46e364 base::MessagePumpGlib::HandleDispatch() #23 0x7f614f46eea1 base::(anonymous namespace)::WorkSourceDispatch() #24 0x7f611b332197 g_main_context_dispatch #25 0x7f611b3323f0 (/lib/x86_64-linux-gnu/libglib-2.0.so.0.4800.2+0x4a3ef) #26 0x7f611b33249c g_main_context_iteration #27 0x7f614f46e476 base::MessagePumpGlib::Run() #28 0x7f614f5c257d base::sequence_manager::internal::ThreadControllerWithMessagePumpImpl::Run() #29 0x7f614f506598 base::RunLoop::Run() #30 0x560f6e4d628d content::RunThisRunLoop() #31 0x560f721a865f WebUITestHandler::WaitForResult() #32 0x560f721a821f WebUITestHandler::RunJavaScriptTestWithResult() #33 0x560f6d0f109d BaseWebUIBrowserTest::RunJavascriptUsingHandler() #34 0x560f6d0f1646 BaseWebUIBrowserTest::RunJavascriptAsyncTest() #35 0x560f6d0f153d BaseWebUIBrowserTest::RunJavascriptTestF() #36 0x560f6a24dcb6 CrSettingsPeoplePageSyncAccountControlTest_All_Test::RunTestOnMainThread() #37 0x560f6e41b20d content::BrowserTestBase::ProxyRunTestOnMainThreadLoop() #38 0x560f6e41f1c3 base::internal::FunctorTraits<>::Invoke<>() #39 0x560f6e41f131 base::internal::InvokeHelper<>::MakeItSo<>() #40 0x560f6e41f0d7 _ZN4base8internal7InvokerINS0_9BindStateIMN7content15BrowserTestBaseEFvvEJNS0_17UnretainedWrapperIS4_EEEEEFvvEE7RunImplIS6_NSt4__Cr5tupleIJS8_EEEJLm0EEEEvOT_OT0_NSD_16integer_sequenceImJXspT1_EEEE #41 0x560f6e41f087 base::internal::Invoker<>::RunOnce() #42 0x560f67c6a337 _ZNO4base12OnceCallbackIFvvEE3RunEv #43 0x560f6d247b0b ChromeBrowserMainParts::PreMainMessageLoopRunImpl() #44 0x560f6d24677d ChromeBrowserMainParts::PreMainMessageLoopRun() #45 0x7f61436308ce content::BrowserMainLoop::PreMainMessageLoopRun() #46 0x7f614363c163 base::internal::FunctorTraits<>::Invoke<>() #47 0x7f614363c071 base::internal::InvokeHelper<>::MakeItSo<>() #48 0x7f614363bff7 _ZN4base8internal7InvokerINS0_9BindStateIMN7content15BrowserMainLoopEFivEJNS0_17UnretainedWrapperIS4_EEEEEFivEE7RunImplIS6_NSt4__Cr5tupleIJS8_EEEJLm0EEEEiOT_OT0_NSD_16integer_sequenceImJXspT1_EEEE #49 0x7f614363bfa7 base::internal::Invoker<>::RunOnce() #50 0x7f61439f3967 _ZNO4base12OnceCallbackIFivEE3RunEv #51 0x7f614484c7f9 content::StartupTaskRunner::RunAllTasksNow() #52 0x7f614362f0cb content::BrowserMainLoop::CreateStartupTasks() #53 0x7f6143640116 content::BrowserMainRunnerImpl::Initialize() #54 0x7f614362bb64 content::BrowserMain() #55 0x7f61458a2554 content::RunBrowserProcessMain() #56 0x7f61458a3bab content::ContentMainRunnerImpl::RunServiceManager() #57 0x7f61458a34f5 content::ContentMainRunnerImpl::Run() #58 0x7f614589eda8 content::ContentServiceManagerMainDelegate::RunEmbedderProcess() #59 0x7f611631c599 service_manager::Main() #60 0x7f61458a1f70 content::ContentMain() #61 0x560f6e41acbe content::BrowserTestBase::SetUp() #62 0x560f6d0deef1 InProcessBrowserTest::SetUp() #63 0x560f6a4d3074 testing::internal::HandleSehExceptionsInMethodIfSupported<>() #64 0x560f6a4c47b2 testing::internal::HandleExceptionsInMethodIfSupported<>() Original change's description: > cros: Update sync disconnect dialog for SplitSettingsSync > > Browser settings for sync uses a "sign out" dialog to handle when the > user clicks "Turn off". Depending on the use case the dialog title and > buttons may say "Turn off" or "Sign out". Update the strings for > SplitSettingsSync to use "Turn off". > > Because Chrome OS users cannot sign out, wire the dialog's "Turn off" > button to a new method in PeopleHandler. The existing code path for > sign out/disconnect assumes DICE, which Chrome OS does not support. > > Bug: 1050677 > Test: manual, button labels are different (and match Linux) > Change-Id: If8933bb651343d757f04f8b2a5d3d11087610c9d > Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2047765 > Reviewed-by: Xiyuan Xia <xiyuan@chromium.org> > Commit-Queue: James Cook <jamescook@chromium.org> > Cr-Commit-Position: refs/heads/master@{#740068} TBR=jamescook@chromium.org,xiyuan@chromium.org Change-Id: I4e6468b9388d7cc887dd358bed9ccd3c0d4714a2 No-Presubmit: true No-Tree-Checks: true No-Try: true Bug: 1050677 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2050315Reviewed-by:
Maxim Kolosovskiy <kolos@chromium.org> Commit-Queue: Maxim Kolosovskiy <kolos@chromium.org> Cr-Commit-Position: refs/heads/master@{#740297}
-
Maxim Kolosovskiy authored
This reverts commit 5bf31665. Reason for revert: this CL probably caused GmockCallbackSupportTest.RunOnceClosureValueMultipleCall failures. The first failed build https://ci.chromium.org/p/chrome/builders/ci/chromeos-eve-chrome/3283 Test 'GmockCallbackSupportTest.RunOnceClosureValueMultipleCall' completed with the following status(es): 'FAILURE','FAILURE' Test 'GmockCallbackSupportTest.RunOnceClosureValueMultipleCall' had the following logs when run: ================================================================================ [ RUN ] GmockCallbackSupportTest.RunOnceClosureValueMultipleCall ../../base/test/gmock_callback_support_unittest.cc:174: Failure Death test: check.Call() Result: died but not with expected error. Expected: contains regular expression "copyable_cb->data" Actual msg: [ DEATH ] Stack trace: #0 0x57c25d527cd4 base::test::GmockCallbackSupportTest_RunOnceClosureValueMultipleCall_Test::TestBody() [ FAILED ] GmockCallbackSupportTest.RunOnceClosureValueMultipleCall (26 ms) [ RUN ] GmockCallbackSupportTest.RunOnceClosureValueMultipleCall ../../base/test/gmock_callback_support_unittest.cc:174: Failure Death test: check.Call() Result: died but not with expected error. Expected: contains regular expression "copyable_cb->data" Actual msg: [ DEATH ] Stack trace: #0 0x58a33c3f9cd4 base::test::GmockCallbackSupportTest_RunOnceClosureValueMultipleCall_Test::TestBody() [ FAILED ] GmockCallbackSupportTest.RunOnceClosureValueMultipleCall (29 ms) Original change's description: > Fix RunOnceClosure(OnceClosure) to take a OnceClosure by value > > Bug: None > Change-Id: Iddf32bab6d0ab7ca195db02cc24d31e669a49051 > Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2037184 > Commit-Queue: Anand Mistry <amistry@chromium.org> > Reviewed-by: kylechar <kylechar@chromium.org> > Cr-Commit-Position: refs/heads/master@{#740079} TBR=amistry@chromium.org,kylechar@chromium.org Change-Id: I913831e1a782e9e684417582b5a8503c2f9a9fd2 No-Presubmit: true No-Tree-Checks: true No-Try: true Bug: None Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2050491Reviewed-by:
Maxim Kolosovskiy <kolos@chromium.org> Commit-Queue: Maxim Kolosovskiy <kolos@chromium.org> Cr-Commit-Position: refs/heads/master@{#740296}
-
Chromium WPT Sync authored
Using wpt-import in Chromium 0c336bd0. With Chromium commits locally applied on WPT: 5579aad0 "SharedWorker: Name shared workers identically in credentials mode WPT" 822dbfeb "[LayoutNG] Clip when hit-testing floats inside clipped containers." 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 NOAUTOREVERT=true TBR=robertma No-Export: true Change-Id: Id4c57a34b633ff4193cd102b99ec8328f5428dd9 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2050130Reviewed-by:
WPT Autoroller <wpt-autoroller@chops-service-accounts.iam.gserviceaccount.com> Commit-Queue: WPT Autoroller <wpt-autoroller@chops-service-accounts.iam.gserviceaccount.com> Cr-Commit-Position: refs/heads/master@{#740295}
-
Maxim Kolosovskiy authored
This reverts commit d709d76f. Reason for revert: The culprit cannot cause that failure. Relanding... Original change's description: > Revert "Fix flaky SingleSampleMetricsFactoryImpl DCHECK_DEATH test." > > This reverts commit 5381b40a. > > Reason for revert: this CL probably caused GmockCallbackSupportTest.RunOnceClosureValueMultipleCall failures. > The first failed build https://ci.chromium.org/p/chrome/builders/ci/chromeos-eve-chrome/3283 > > Test 'GmockCallbackSupportTest.RunOnceClosureValueMultipleCall' completed with the following status(es): 'FAILURE','FAILURE' > > Test 'GmockCallbackSupportTest.RunOnceClosureValueMultipleCall' had the following logs when run: > > ================================================================================ > > [ RUN ] GmockCallbackSupportTest.RunOnceClosureValueMultipleCall > ../../base/test/gmock_callback_support_unittest.cc:174: Failure > Death test: check.Call() > Result: died but not with expected error. > Expected: contains regular expression "copyable_cb->data" > Actual msg: > [ DEATH ] > Stack trace: > #0 0x57c25d527cd4 base::test::GmockCallbackSupportTest_RunOnceClosureValueMultipleCall_Test::TestBody() > > [ FAILED ] GmockCallbackSupportTest.RunOnceClosureValueMultipleCall (26 ms) > [ RUN ] GmockCallbackSupportTest.RunOnceClosureValueMultipleCall > ../../base/test/gmock_callback_support_unittest.cc:174: Failure > Death test: check.Call() > Result: died but not with expected error. > Expected: contains regular expression "copyable_cb->data" > Actual msg: > [ DEATH ] > Stack trace: > #0 0x58a33c3f9cd4 base::test::GmockCallbackSupportTest_RunOnceClosureValueMultipleCall_Test::TestBody() > > [ FAILED ] GmockCallbackSupportTest.RunOnceClosureValueMultipleCall (29 ms) > > > Original change's description: > > Fix flaky SingleSampleMetricsFactoryImpl DCHECK_DEATH test. > > > > Test was missing the FLAGS_gtest_death_test_style = "threadsafe" > > declaration that's necessary for multi-threaded death tests. See > > https://github.com/google/googletest/blob/master/googletest/docs/advanced.md#death-tests-and-threads > > > > R=isherman > > > > Fixed: 1009360 > > Change-Id: I795e055c9fdfda727853ce52c1278dd430cbfdef > > Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2049023 > > Commit-Queue: Dale Curtis <dalecurtis@chromium.org> > > Commit-Queue: Ilya Sherman <isherman@chromium.org> > > Auto-Submit: Dale Curtis <dalecurtis@chromium.org> > > Reviewed-by: Ilya Sherman <isherman@chromium.org> > > Cr-Commit-Position: refs/heads/master@{#740119} > > TBR=dalecurtis@chromium.org,isherman@chromium.org > > Change-Id: I06415066abd98925dc7dcaac961e666ca68d6864 > No-Presubmit: true > No-Tree-Checks: true > No-Try: true > Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2050365 > Reviewed-by: Maxim Kolosovskiy <kolos@chromium.org> > Commit-Queue: Maxim Kolosovskiy <kolos@chromium.org> > Cr-Commit-Position: refs/heads/master@{#740270} TBR=dalecurtis@chromium.org,isherman@chromium.org,kolos@chromium.org Change-Id: I231b0c108d09f35a59216d08b401a28fbf2b4d31 No-Presubmit: true No-Tree-Checks: true No-Try: true Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2050271Reviewed-by:
Maxim Kolosovskiy <kolos@chromium.org> Commit-Queue: Maxim Kolosovskiy <kolos@chromium.org> Cr-Commit-Position: refs/heads/master@{#740294}
-
chromium-autoroll authored
https://chromium.googlesource.com/devtools/devtools-frontend.git/+log/74cb8b70d83f..eecaa7adff55 git log 74cb8b70d83f..eecaa7adff55 --date=short --first-parent --format='%ad %ae %s' 2020-02-11 devtools-ci-autoroll-builder@chops-service-accounts.iam.gserviceaccount.com Update DevTools DEPS. Created with: gclient setdep -r src/third_party/devtools-frontend/src@eecaa7adff55 If this roll has caused a breakage, revert this CL and stop the roller using the controls here: https://autoroll.skia.org/r/devtools-frontend-chromium Please CC devtools-waterfall-sheriff-onduty@grotations.appspotmail.com on the revert to ensure that a human is aware of the problem. To report a problem with the AutoRoller itself, please file a bug: https://bugs.chromium.org/p/skia/issues/entry?template=Autoroller+Bug Documentation for the AutoRoller is here: https://skia.googlesource.com/buildbot/+/master/autoroll/README.md Bug: None Tbr: devtools-waterfall-sheriff-onduty@grotations.appspotmail.com Change-Id: Ib229be3cd45164f889371ac3a120a85f1349271a Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2050553Reviewed-by:
chromium-autoroll <chromium-autoroll@skia-public.iam.gserviceaccount.com> Commit-Queue: chromium-autoroll <chromium-autoroll@skia-public.iam.gserviceaccount.com> Cr-Commit-Position: refs/heads/master@{#740293}
-
Alice Wang authored
This CL merges AccountIdProvider into AccountManagerFacade and renames the AccountIdProvider.getAccountId to AccountManagerFacade.getAccountGaiaId. Bug: 914920 Change-Id: Ie2288b9f0520de387b9c65e90cdac8e1f4bc5928 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2027790Reviewed-by:
Alex Ilin <alexilin@chromium.org> Reviewed-by:
Mihai Sardarescu <msarda@chromium.org> Reviewed-by:
David Roger <droger@chromium.org> Reviewed-by:
Tanmoy Mollik <triploblastic@chromium.org> Commit-Queue: Alice Wang <aliceywang@chromium.org> Cr-Commit-Position: refs/heads/master@{#740292}
-
Raul Tambre authored
Python 2 hasattr() returns False if any exception is thrown getattr(). Python 3 hasattr() returns False only if AttributeError is thrown during getattr(), other exceptions bubble up. This changes Get() of ReferenceKind to raise AttributeError if a key doesn't exist. Works on both Python 2 and 3. Traceback (most recent call last): File "../../mojo/public/tools/bindings/mojom_bindings_generator.py", line 556, in <module> sys.exit(main()) File "../../mojo/public/tools/bindings/mojom_bindings_generator.py", line 551, in main return args.func(args, remaining_args) File "../../mojo/public/tools/bindings/mojom_bindings_generator.py", line 267, in _Generate processor._GenerateModule(args, remaining_args, generator_modules, File "../../mojo/public/tools/bindings/mojom_bindings_generator.py", line 238, in _GenerateModule generator.GenerateFiles(filtered_args) File "C:\Google\chromium\src\mojo\public\tools\bindings\generators\mojom_cpp_generator.py", line 474, in GenerateFiles self.WriteWithComment(self._GenerateModuleHeader(), File "C:\Google\chromium\src\mojo\public\tools\bindings\pylib\mojom\generate\template_expander.py", line 37, in GeneratorInternal return ApplyTemplate(args[0], path_to_template, parameters, **kwargs) File "C:\Google\chromium\src\mojo\public\tools\bindings\pylib\mojom\generate\template_expander.py", line 30, in ApplyTemplate return template.render(params) File "C:\Google\chromium\src\mojo\public\tools\bindings\pylib\mojom\generate\..\..\..\..\..\..\..\third_party\jinja2\asyncsupport.py", line 76, in render return original_render(self, *args, **kwargs) File "C:\Google\chromium\src\mojo\public\tools\bindings\pylib\mojom\generate\..\..\..\..\..\..\..\third_party\jinja2\environment.py", line 1008, in render return self.environment.handle_exception(exc_info, True) File "C:\Google\chromium\src\mojo\public\tools\bindings\pylib\mojom\generate\..\..\..\..\..\..\..\third_party\jinja2\environment.py", line 780, in handle_exception reraise(exc_type, exc_value, tb) File "C:\Google\chromium\src\mojo\public\tools\bindings\pylib\mojom\generate\..\..\..\..\..\..\..\third_party\jinja2\_compat.py", line 37, in reraise raise value.with_traceback(tb) File "gen\mojo\public\tools\bindings\cpp_templates.zip\tmpl_4b4c750a11f14c4ee990ca69a07408825b11d62d.py", line 150, in <module> File "gen\mojo\public\tools\bindings\cpp_templates.zip\tmpl_099a6a43ff1b4fa6287654d9857c8f4fdf034f1d.py", line 67, in <module> File "C:\Google\chromium\src\mojo\public\tools\bindings\pylib\mojom\generate\..\..\..\..\..\..\..\third_party\jinja2\runtime.py", line 579, in _invoke rv = self._func(*arguments) File "gen\mojo\public\tools\bindings\cpp_templates.zip\tmpl_e38a8ce638d637e8fae51a29557e063840fe3968.py", line 13, in <module> File "C:\Google\chromium\src\mojo\public\tools\bindings\generators\mojom_cpp_generator.py", line 706, in _GetCppWrapperParamType cpp_wrapper_type = self._GetCppWrapperType(kind) File "C:\Google\chromium\src\mojo\public\tools\bindings\generators\mojom_cpp_generator.py", line 589, in _GetCppWrapperType if self._IsTypemappedKind(kind): File "C:\Google\chromium\src\mojo\public\tools\bindings\generators\mojom_cpp_generator.py", line 525, in _IsTypemappedKind return hasattr(kind, "name") and \ File "C:\Google\chromium\src\mojo\public\tools\bindings\pylib\mojom\generate\module.py", line 158, in Get return self.shared_definition[name] KeyError: 'name' Bug: 941669 Change-Id: I06f9cbdf9792d0739a670cd3404b6c977a3bac6a Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2043880Reviewed-by:
Ken Rockot <rockot@google.com> Commit-Queue: Raul Tambre <raul@tambre.ee> Cr-Commit-Position: refs/heads/master@{#740291}
-
Nico Weber authored
With goma client 189, this should now work, and it cuts the number of (internal) compile process executions in half, which on some systems helps a little bit with performance. If you don't have goma client 189 yet, this will cause every compile job to fall back to local. It was released ~3am Easter on Feb 5 2020. Goma should auto-update. You can see your current version in `cat ~/goma/MANIFEST` / `type c:\src\goma\goma-win64\MANIFEST` (the VERSION= line). If it's out-of-date, you can explicitly update with `~/goma/goma_ctl.py update` / `c:\src\goma\goma-win64\goma_ctl.bat update` Bug: 1049161, b/148147812 Change-Id: I2769021721d2a767b413243905052d64917d69c5 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2032802Reviewed-by:
Hans Wennborg <hans@chromium.org> Commit-Queue: Nico Weber <thakis@chromium.org> Cr-Commit-Position: refs/heads/master@{#740290}
-
Finnur Thorarinsson authored
Still images are quite fast to decode, in comparison to videos, which need to be decoded in two phases (first frame and then rest). We should not hold up still image decoding while video are being processed. This will make the picker dialog more responsive with mixed content. Bug: 1029056, 895776 Change-Id: Ida535a273a9aef50fc6f567b0e3300b3299fe769 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2031029 Commit-Queue: Finnur Thorarinsson <finnur@chromium.org> Reviewed-by:
Boris Sazonov <bsazonov@chromium.org> Auto-Submit: Finnur Thorarinsson <finnur@chromium.org> Cr-Commit-Position: refs/heads/master@{#740289}
-
Elly Fong-Jones authored
Switch the native fs usage bubble to use the DialogDelegate closure callbacks rather than overriding Close/Cancel/Accept. Bug: 1011446 Change-Id: Iec30886dbe1d53f9d4a40f33eb4082f17f73d68c Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2047404Reviewed-by:
Marijn Kruisselbrink <mek@chromium.org> Commit-Queue: Elly Fong-Jones <ellyjones@chromium.org> Cr-Commit-Position: refs/heads/master@{#740288}
-
Torne (Richard Coles) authored
Older versions of Android implement file locking incorrectly in the Java standard library: they throw IOException instead of returning null when the lock is already held by another process. This causes us to crash when the lock is already held, without attempting to retry or considering whether we're intending to crash vs warn. Catch and ignore the exception when it comes from the tryLock call, and only consider IOException fatal when it's thrown by the RandomAccessFile constructor. Bug: 558377 Fixed: 1048982 Change-Id: I66c5665a8e94e2713233b9799db6694ce5bfa077 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2050366 Commit-Queue: Richard Coles <torne@chromium.org> Commit-Queue: Tobias Sargeant <tobiasjs@chromium.org> Auto-Submit: Richard Coles <torne@chromium.org> Reviewed-by:
Tobias Sargeant <tobiasjs@chromium.org> Cr-Commit-Position: refs/heads/master@{#740287}
-