- 12 May, 2017 15 commits
-
-
mikecase authored
This will (1) make render tests perform pixel-wise comparison and generate diff images, (2) allow you to specify output directory for where to dump the result images on the device, and (3) upload the results to be visible from buildbot status page. Review-Url: https://codereview.chromium.org/2866103002 Cr-Commit-Position: refs/heads/master@{#471144}
-
bcwhite authored
The DelayedPersistentAllocation added an atomic field to the PersistentHistogramData structure that cannot be copied using operator= (at least not without redefining it). Copies of only some of the fields are needed so explicitly copy only those; the atomic field is not one of them. BUG=721352 Review-Url: https://codereview.chromium.org/2875643004 Cr-Commit-Position: refs/heads/master@{#471143}
-
thakis authored
The C-style comments were confusing a regex. No behavior change. BUG=675877 Review-Url: https://codereview.chromium.org/2872133004 Cr-Commit-Position: refs/heads/master@{#471142}
-
reillyg authored
Now that support for the GET_ALLOWED_ORIGINS request is optional WebUSB devices may only support the GET_URL request used for reading the landing page from the device. This patch fixes the descriptor reading logic so that this is supported. (Note, the logic to send the GET_ALLOWED_ORIGINS request will be removed entirely as part of issue 711443.) BUG=721546 Review-Url: https://codereview.chromium.org/2876463008 Cr-Commit-Position: refs/heads/master@{#471141}
-
dmazzoni authored
They all had the same underlying cause: we were firing accessibility events based on changes to the accessibility tree, but before we had finished making changes to BrowserAccessibilityWin. To fix this, queue up events caused by tree changes and fire them after the tree is loaded. We should probably use this technique more in the future. For now this just re-enables some good tests. BUG=719030 Review-Url: https://codereview.chromium.org/2857743006 Cr-Commit-Position: refs/heads/master@{#471140}
-
hubbe authored
This allows flywheel to know when it's safe to switch resources. BUG=504194 Review-Url: https://codereview.chromium.org/2842763003 Cr-Commit-Position: refs/heads/master@{#471139}
-
chrome://memory-exhaust/hans authored
The memory-exhaustion loop could cause DbgHelp's SymFromAddr() to hang in certain build configs (32-bit Windows Clang debug builds), causing MetricsServiceBrowserTest.OOMRenderers to hang while generating the backtrace after the OOM exception. Reducing the allocation size seems to help. BUG=692564 TBR=jochen Review-Url: https://codereview.chromium.org/2882513003 Cr-Commit-Position: refs/heads/master@{#471138}
-
pdyson authored
BUG=705331 Review-Url: https://codereview.chromium.org/2867683002 Cr-Commit-Position: refs/heads/master@{#471137}
-
thakis authored
The code guarded by it hasn't been compiling for a while, and this code was added over 5 years ago. It probably isn't used any longer. BUG=675877 Review-Url: https://codereview.chromium.org/2869953003 Cr-Commit-Position: refs/heads/master@{#471136}
-
yuweih authored
This CL implements the viewport fling animation for iOS client. This re-impements Android client's FlingAnimationJob and impements a simplified version of Android's Scroller in C++. BUG=714193 Review-Url: https://codereview.chromium.org/2869723007 Cr-Commit-Position: refs/heads/master@{#471135}
-
glebl authored
To correctly paint a float from LayoutNG we need to know the BFC offset of the container to which we are attaching this float. It's used to calculate {@code left_offset}, {@code top_offset}. In most situations {@code (left|top)_offset} equals to float's logical offset except the cases where a float needs to be re-attached to a non-zero height parent. Example: <body> <p style="height: 60px">Example</p> <div id="zero-height-div"><float></div> Here the float's logical offset is 0 relative to its #zero-height-div parent. Because of the "zero height" div this float is re-attached to the 1st non-empty parent => body. To paint this float correctly we provide the modified {@code (top|left)_offset} which is relative to the float's new parent. I.e. for our example {@code top_offset} == #zero-height-div's BFC offset - body's BFC offset + float's logical offset BUG=635619 TESTS=Fixes 8 tests in CSS2/floats-clear, 1 in CSS2/floats, 1 in CSS2/positioning, 2 in fast/block/margin-collapse, 2 in fast/block/float. Total: 14 Review-Url: https://codereview.chromium.org/2850893003 Cr-Commit-Position: refs/heads/master@{#471134}
-
binji authored
See https://html.spec.whatwg.org/multipage/infrastructure.html#safe-passing-of-structured-data And the web platform test here: https://github.com/w3c/web-platform-tests/blob/master/html/infrastructure/safe-passing-of-structured-data/shared-array-buffers/serialization-via-history.html BUG=chromium:718193 Review-Url: https://codereview.chromium.org/2857303003 Cr-Commit-Position: refs/heads/master@{#471133}
-
Mike Bjorge authored
Change-Id: Idfb49bbd33b9813ef84a3f24904d57e53462f6d8 Reviewed-on: https://chromium-review.googlesource.com/499013Reviewed-by:
Brett Wilson <brettw@chromium.org> Commit-Queue: Mike Bjorge <mbjorge@chromium.org> Cr-Commit-Position: refs/heads/master@{#471132}
-
xing.xu authored
A Surface may be submitted with many CompositorFrames, Surface and Frame are not the same concept. Here use CompositorFrameSinkSupport::EvictFrame to destroy a Surface is misleading, so rename to CompositorFrameSinkSupport::EvictCurrentSurface. BUG=691649 CQ_INCLUDE_TRYBOTS=master.tryserver.blink:linux_trusty_blink_rel;master.tryserver.chromium.linux:linux_site_isolation Review-Url: https://codereview.chromium.org/2872883002 Cr-Commit-Position: refs/heads/master@{#471131}
-
juncai authored
This CL changes the url string to "chrome://settings/#Bluetooth". BUG=720248 Review-Url: https://codereview.chromium.org/2873963007 Cr-Commit-Position: refs/heads/master@{#471130}
-
- 11 May, 2017 25 commits
-
-
jam authored
Add new constructors for mojo::DataPipe and content::ResourceRequestCompletionStatus to do this. BUG=717714 Review-Url: https://codereview.chromium.org/2875143002 Cr-Commit-Position: refs/heads/master@{#471129}
-
mcasas authored
This CL wires the GetPhotoCapabibilities() method for Mac and fills in the only available capability, the photo resolution, which is equal to the "live" capture resolution. This CL also fills in the Linux/CrOs capture reoslution as the only supported PhotoCapabilities.{height,width}. BUG=721478 Review-Url: https://codereview.chromium.org/2868393004 Cr-Commit-Position: refs/heads/master@{#471128}
-
alemate authored
We should not SwitchToLastActiveUser() when there is only one user logged in. This covers restart on signin, when last_active_user may be outdated. BUG=714250 Review-Url: https://codereview.chromium.org/2872133009 Cr-Commit-Position: refs/heads/master@{#471127}
-
Mike Baxley authored
Create OKButton shared matcher, since this button is likely used other places. Bug: Change-Id: Ib45265f6be2ebc2d59f3e912bc4d6e6fb628771d Reviewed-on: https://chromium-review.googlesource.com/503493Reviewed-by:
Eugene But <eugenebut@chromium.org> Commit-Queue: Mike Baxley <baxley@chromium.org> Cr-Commit-Position: refs/heads/master@{#471126}
-
Noel Gordon authored
Add a render process mojo interface exposed to the browser for receiving process-wide spellcheck control and updates from the browser process. Fold the enable IPC into the Initialize() mojo API (the enable IPC was only ever called right after an Init IPC) by adding an |enable| argument. Mojo does not support set<> so use vector<> instead on the mojo APIs. Use a binding set on the server-side to automate mojo request disconnect and clean-up. Update the browser test to use mojo instead of IPC in the mock renderer and add a test for a custom dictionary update. Change the InitSpellcheck helper: spellcheck->InitForRenderer() isn't needed (creating a SpellcheckService does that for us). Bug:714480 Change-Id: I5365c42fc10c7766054c5b80fb366ceaa4d59159 Reviewed-on: https://chromium-review.googlesource.com/487341Reviewed-by:
Alex Moshchuk <alexmos@chromium.org> Reviewed-by:
Martin Barbella <mbarbella@chromium.org> Reviewed-by:
Rouslan Solomakhin <rouslan@chromium.org> Reviewed-by:
Sam McNally <sammc@chromium.org> Reviewed-by:
Ken Rockot <rockot@chromium.org> Commit-Queue: Noel Gordon <noel@chromium.org> Cr-Commit-Position: refs/heads/master@{#471125}
-
catapult-deps-roller@chromium.org authored
https://chromium.googlesource.com/external/github.com/catapult-project/catapult.git/+log/59e58189c55d..1ff6ffc1f618 $ git log 59e58189c..1ff6ffc1f --date=short --no-merges --format='%ad %ae %s' 2017-05-11 simonhatch Dashboard - Post a task in migrate_test_names to add tests from patterns. 2017-05-11 simonhatch Dashboard - Remove unused args from getCheckedOrAllAlerts Created with: roll-dep src/third_party/catapult BUG=713335 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.chromium.android:android_optional_gpu_tests_rel TBR=sullivan@chromium.org Change-Id: I0860054268acd2d93b9f65a3c4367b1ec18817f8 Reviewed-on: https://chromium-review.googlesource.com/503611 Reviewed-by: <catapult-deps-roller@chromium.org> Commit-Queue: <catapult-deps-roller@chromium.org> Cr-Commit-Position: refs/heads/master@{#471124}
-
Bo Liu authored
Since native/ has been entirely moved into browser/, the target should move as well. Cleaned up a few unneeded DEPS as well. BUG=716604 Change-Id: I77fb632279b96318e5aa6d4eefe70046df41188f Reviewed-on: https://chromium-review.googlesource.com/503647Reviewed-by:
Richard Coles <torne@chromium.org> Commit-Queue: Bo Liu <boliu@chromium.org> Cr-Commit-Position: refs/heads/master@{#471123}
-
hzl authored
Create a link to flakiness dashboard for each test case, so that engineers will see the flakiness level for that test case. BUG=717631 Review-Url: https://codereview.chromium.org/2873723002 Cr-Commit-Position: refs/heads/master@{#471122}
-
wfh authored
This was mistakenly removed in crrev.com/2621363002. BUG=721562 Review-Url: https://codereview.chromium.org/2879683004 Cr-Commit-Position: refs/heads/master@{#471121}
-
ananta authored
We have a new class AppCacheNetworkServiceHandler which gets created on the IO thread. This class provides functionality for checking if a request can be serviced out of the AppCache. I was looking at AppCacheRequestHandler for this as well. However that class is tied deeply to the underlying job which gets a touch complicated for lifetime managemnt if the request is not really being served out the cache. Added some comments for that class to see if we could remove it once the pieces begin to align. This class implements the AppCacheStorage::Delegate interface which tells us if a response is available for a URL. Currently we just trace if a response is found and call the StartURLRequest callback in both cases. Going forward the plan is to create a URLLoaderFactory for AppCache and pass it back to the callback. Optionally we could create the loader right there as well. Thanks to jam for pointing that out. The other changes are to have the original ResourceRequest pointer in the AppCacheURLLoaderRequest class instead of a copy. We ensure that ownership is transferred correctly. BUG=715632 Review-Url: https://codereview.chromium.org/2874663004 Cr-Commit-Position: refs/heads/master@{#471120}
-
Bret Sepulveda authored
BUG=668251 R=timloh@chromium.org Review-Url: https://codereview.chromium.org/2866933002 . Cr-Commit-Position: refs/heads/master@{#471119}
-
nednguyen authored
BUG=721549 TBR=perezju@chromium.org NOTRY=true Review-Url: https://codereview.chromium.org/2876963002 Cr-Commit-Position: refs/heads/master@{#471118}
-
mdjones authored
The toolbar scenelayer will draw even if the user is in the tab switcher with no tabs. This null check prevents requesting a default theme color from a nonexistent tab. BUG=720213 Review-Url: https://codereview.chromium.org/2874323002 Cr-Commit-Position: refs/heads/master@{#471117}
-
dongseong.hwang authored
This CL makes |gpu_proecess_host| select the right callback by GMB id, not brute-force FIFO. It becomes more stable code for the future change. e.g. reordering IPC for priotization BUG=475633, 629521 Review-Url: https://codereview.chromium.org/2878573002 Cr-Commit-Position: refs/heads/master@{#471116}
-
horo authored
This method name was renamed by https://codereview.chromium.org/2125523003. BUG=624711 Review-Url: https://codereview.chromium.org/2878663002 Cr-Commit-Position: refs/heads/master@{#471115}
-
emaxx authored
The test app allows to perform the following manual testing when installed through the DeviceLoginScreenAppInstallList device policy into the Chrome OS sign-in profile: * Click "Add user" and type the username on the test domain; * The certificate selection dialog pops out, containing the certificate provided by the test app; * After selecting the certificate, the PIN dialog appears; * Wrongly typed PIN results in keeping the dialog displayed, but now with an additional error message; * Correctly typed PIN hides the PIN dialog, and moves the login process forward; * Afterwards, the login process is expected to fail, as the test app doesn't implement the real signing operation and responds with a garbage data. BUG=626343 TEST=manual - install the app through the device policy via YAPS and follow the test steps described above TBR=achuith@ Review-Url: https://codereview.chromium.org/2873973004 Cr-Commit-Position: refs/heads/master@{#471114}
-
hiroshige authored
Follow-up of a regression bug caused by [1]: Previously, ImageResourceContent::Create() returned a content with kCached, while after [1] it returns a content with kNotStarted. This causes behavior changes if Create() is called with non-null argument. [1] https://codereview.chromium.org/2746343002/ This CL fixes this issue by renaming Create() with a non-null argument to ImageResourceContent::CreateLoaded() that sets the status to kCached. The callsites of CreateLoaded() were affected by the bug, i.e. a callsite in HTMLImageElement and others in tests. Create() with the nullptr argument is renamed to CreateNotStarted(), which is only called from ImageResource and is not affected by the bug. BUG=667641, 382170, 690480 Review-Url: https://codereview.chromium.org/2869733004 Cr-Commit-Position: refs/heads/master@{#471113}
-
chrishtr authored
BUG=718564 CQ_INCLUDE_TRYBOTS=master.tryserver.blink:linux_trusty_blink_rel Review-Url: https://codereview.chromium.org/2876473005 Cr-Commit-Position: refs/heads/master@{#471112}
-
thakis authored
This conditional build mode was added almost a decade ago in http://bugs.webkig.org/show_bug.cgi?id=14981 and the code guarded by it hasn't been compiling in a few weeks at least. It's probably safe to say that it hasn't been used in a long time. BUG=675877 Review-Url: https://codereview.chromium.org/2871983002 Cr-Commit-Position: refs/heads/master@{#471111}
-
Jennifer Apacible authored
Still failing after updating the expectation to Failure Pass Timeout. Skipping the test for now. See crbug for more details. BUG=720511 R=thakis@chromium.org Review-Url: https://codereview.chromium.org/2879693002 . Cr-Commit-Position: refs/heads/master@{#471110}
-
Jeff Carpenter authored
This reverts commit ff67881b. Reason for revert: Updated credentials but that uncovered a bug with how we handle responses from the Gerrit API. Original change's description: > [WPT Export] Create GitHub PRs from Gerrit CLs > > Bug: 700092 > Change-Id: I7fd398d1e25b77493eef609cbf818747216cd140 > Reviewed-on: https://chromium-review.googlesource.com/479931 > Commit-Queue: Jeff Carpenter <jeffcarp@chromium.org> > Reviewed-by: Quinten Yearsley <qyearsley@chromium.org> > Cr-Commit-Position: refs/heads/master@{#471061} TBR=qyearsley@chromium.org,jeffcarp@chromium.org NOPRESUBMIT=true NOTREECHECKS=true NOTRY=true Bug: 700092 Change-Id: Ieb6f34d9762184033c10d6ba7c3b4e8208a7fe5b Reviewed-on: https://chromium-review.googlesource.com/503553Reviewed-by:
Jeff Carpenter <jeffcarp@chromium.org> Commit-Queue: Jeff Carpenter <jeffcarp@chromium.org> Cr-Commit-Position: refs/heads/master@{#471109}
-
tkent authored
It makes the code simpler. BUG=710535 Review-Url: https://codereview.chromium.org/2865403006 Cr-Commit-Position: refs/heads/master@{#471108}
-
erikchen authored
These metrics are temporary and are intended to be removed once the same metrics are emitted by the memory instrumentation service. BUG=720541 Review-Url: https://codereview.chromium.org/2875823004 Cr-Commit-Position: refs/heads/master@{#471107}
-
Johan Tibell authored
The functionality to store prefs under different keys in the in-memory pref store that overlays the underlying profile's user prefs is unused. Removing this functionality simplifies the code and helps the effort of converting prefs to a Mojo service. Bug: 654988 Change-Id: I5ae8455f64cbce685953b2c9ade6d17f17550921 Reviewed-on: https://chromium-review.googlesource.com/502387Reviewed-by:
Bernhard Bauer <bauerb@chromium.org> Reviewed-by:
Sam McNally <sammc@chromium.org> Commit-Queue: Johan Tibell <tibell@chromium.org> Cr-Commit-Position: refs/heads/master@{#471106}
-
file://eugenebut authored
Use full URL spec if it ends with / BUG=719982 Review-Url: https://codereview.chromium.org/2876053002 Cr-Commit-Position: refs/heads/master@{#471105}
-