- 10 Mar, 2017 40 commits
-
-
rsesek authored
generate_test_data.sh uses `hdiutil create` and `hdiutil convert`. The former can overwrite an existing output file, but the latter cannot. This led to the following error: hdiutil: convert failed - File exists But this message was getting swallowed because the script 1) did not do `set -e` to stop on errors, and 2) redirect all output to /dev/null. This also fixes both of those issues. BUG=696529 R=thakis@chromium.org Review-Url: https://codereview.chromium.org/2748453002 Cr-Commit-Position: refs/heads/master@{#456141}
-
jonross authored
Revert: https://codereview.chromium.org/2729733003/ As this is currently crashing on all mash builds, preventing development. TBR=rockot@chromium.org, jochen@chromium.org, sammc@chromium.org BUG=700155, 654988 Review-Url: https://codereview.chromium.org/2742523005 Cr-Commit-Position: refs/heads/master@{#456140}
-
tmartino authored
Review-Url: https://codereview.chromium.org/2740173002 Cr-Commit-Position: refs/heads/master@{#456139}
-
csharrison authored
Add unit tests using the new NavigationSimulator infrastructure BUG=637415 Review-Url: https://codereview.chromium.org/2731013002 Cr-Commit-Position: refs/heads/master@{#456138}
-
twellington authored
The LayoutManagerChrome can still be null when #onNewTabPageShown() is called for the first time. BUG=699935 Review-Url: https://codereview.chromium.org/2741843003 Cr-Commit-Position: refs/heads/master@{#456137}
-
kmarshall authored
This CL replaces the Clang 'c++-analyzer' Perl script with logic added to the Python wrapper script. This gives us the hooks we need to run analysis builds with "gomacc" (necessary for distributed builds) and gives us a convenient place to specify analyzer config flags which aren't exposed by scan-build. Adds a warning suppression rule which prevents the analyzer from raising false positives from stdlib code (code w/namespace "std"). Other changes: * Modify Goma portions of the GCC toolchain GNI to build paths to the Clang static analyzer. * Create an exception for ASM tool invocations, which don't play well with the analysis command line flags. * Removed 'scan-build' DEP. BUG=687245 R=thakis@chromium.org,wez@chromium.org Review-Url: https://codereview.chromium.org/2667853004 Cr-Commit-Position: refs/heads/master@{#456136}
-
liberato authored
Wrap usage of ContentVideoView in an AndroidOverlay interface. This doesn't change the functionality, but starts to move AVDA towards using AndroidOverlays rather than hard-coding CVV. Much of Allocate/DeallocateSurface could be moved from AVDACodecAllocator to ContentVideoViewOverlay. However, to keep the size of this change small, it isn't yet. There shouldn't be any functional difference with this CL. BUG=667950 CQ_INCLUDE_TRYBOTS=master.tryserver.chromium.android:android_optional_gpu_tests_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 Review-Url: https://codereview.chromium.org/2692863011 Cr-Commit-Position: refs/heads/master@{#456135}
-
japhet authored
Child frames have some degree of continuity across navigations: the contents are still embedded in the same document. Let them continue to propagate user gesture state across navigations. However, main frames don't have that continuity and should reset their user gesture state on navigation. TEST=DocumentUserGestureTokenTest.Navigate BUG=chromedriver:922 Review-Url: https://codereview.chromium.org/2721423003 Cr-Commit-Position: refs/heads/master@{#456134}
-
dtseng authored
TEST=manual; verify Docs, Sheets, and Slides work with regard to whitespace, key echo, etc when braille mode is off. BUG=690635,690636,618099 CQ_INCLUDE_TRYBOTS=master.tryserver.chromium.linux:closure_compilation Review-Url: https://codereview.chromium.org/2740793002 Cr-Commit-Position: refs/heads/master@{#456133}
-
dschuyler authored
This CL changes the name of a CSS variable. The checkbox spacing was/is being used for spacing between a control label and something graphical such as the checkbox or a policy indicator. The intent is to convey that it's used for more than checkbox spacing. BUG=None CQ_INCLUDE_TRYBOTS=master.tryserver.chromium.linux:closure_compilation Review-Url: https://codereview.chromium.org/2744763003 Cr-Commit-Position: refs/heads/master@{#456132}
-
wjmaclean authored
Just like with touch event handlers, at present a sub-frame's compositor does not receive regions rects for non-fast scrollable regions that accompany MouseWheel handlers. Until ScrollingCoordinator is made per-frame, we should mark the entire root layer rect as non-fast scrollable in the presence of blocking wheel handlers. The primary changes are all in render_widget_compositor.cc; other files are touched only to give the function a more inclusive name. BUG=698195 Review-Url: https://codereview.chromium.org/2740133002 Cr-Commit-Position: refs/heads/master@{#456131}
-
klausw authored
Implement compositor bypass for WebVR via mailbox copy: - Create a GPU command buffer GL context in the VrShellGl thread that's backed by a native Surface. This is encapsulated inside the new MailboxToSurfaceBridge class. - WebKit's VRDisplay sends a MailboxHolder for each frame (as drawn via WebGL on the GPU process) as argument to the SubmitFrame mojo call. - MailboxToSurfaceLayerBridge uses its GPU command buffer GL context to draw the mailbox content to a Surface. - VrShellGl picks up the frame from the corresponding SurfaceTexture and proceeds with rendering as usual with its native GL context as needed for the low-level GVR API. Also implements on-the-fly canvas resizing, the transfer surface and GVR renderbuffer are resized as needed to match the source canvas. Added frame number as an argument to various TRACE_EVENTs for timing analysis. It includes two separate modes for frame scheduling, the more aggressive one is conditional on chrome:://flags#enable-webvr-experimental-rendering since the framerate seems a bit less stable. BUG=698643 CQ_INCLUDE_TRYBOTS=master.tryserver.chromium.android:android_optional_gpu_tests_rel;master.tryserver.chromium.linux:closure_compilation;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 Review-Url: https://codereview.chromium.org/2729523002 Cr-Original-Commit-Position: refs/heads/master@{#455592} Committed: https://chromium.googlesource.com/chromium/src/+/6280ec5b6e3b4c307926eb1bf0167acc2a0d4a74 Review-Url: https://codereview.chromium.org/2729523002 Cr-Commit-Position: refs/heads/master@{#456130}
-
liaoyuke authored
In ReloadType, NONE means that the navigation is not a reload, so it makes no sense to call Reload function with ReloadType::NONE as parameter. This CL clarifies it by mentioning it in public API comment and add a DCHECK in the implementation. BUG= CQ_INCLUDE_TRYBOTS=master.tryserver.chromium.linux:linux_site_isolation Review-Url: https://codereview.chromium.org/2740843004 Cr-Commit-Position: refs/heads/master@{#456129}
-
ntfschr authored
This adds the targetsAtLeastO() helper function to BuildInfo. I also updated the check we were using for HTTPS clear text to use this instead of manually checking targetSdkVersion. This helper should be updated once the SDK level for O has been finalized. BUG=688556 Review-Url: https://codereview.chromium.org/2745663002 Cr-Commit-Position: refs/heads/master@{#456128}
-
atotic authored
While running LayoutTests, this test timed out. I was curious, looked into it, and realized that the test was completely broken: 1) there was an extra argument getting passed to testType() resulting in assert function being garbage. This caused 1000s of failures which caused test to run slowly. 2) Some other arguments being passed in were also wrong. My fix is not perfect, but it results in a saner outcome: it runs in fraction of a second, and triggers fewer failures. Running LayoutTests on my local machine was impossible, so I have not generated new test expectations. BUG=697646 Review-Url: https://codereview.chromium.org/2721243004 Cr-Commit-Position: refs/heads/master@{#456127}
-
sgurun authored
Once browser initiated nagivations are enabled, we need a secondary map to map framenodeid's to IO thread clients. BUG=645983 Review-Url: https://codereview.chromium.org/2737663004 Cr-Commit-Position: refs/heads/master@{#456126}
-
wjmaclean authored
Now that we do direct routing of MouseWheel events to guests, BrowserPlugin should (1) never mark a MouseWheel as handled (this may cancel GesturePinch on Mac), and (2) it should never forward the MouseWheel to the guest. This CL implements this policy. BUG=695907 Review-Url: https://codereview.chromium.org/2745783002 Cr-Commit-Position: refs/heads/master@{#456125}
-
bsazonov authored
Checking hasGetAccountsPermission before calling android.AccountManager.updateCredentials is irrelevant, because this call never required GET_ACCOUNTS permission. Added check for MANAGE_ACCOUNTS permission that was required before Android M. On M+ it doesn't require any special permission. BUG=699050 Review-Url: https://codereview.chromium.org/2745533002 Cr-Commit-Position: refs/heads/master@{#456124}
-
qyearsley authored
In this CL, I just tried to remove the flaky expectations and rebaseline using `webkit-patch rebaseline-cl` to see if that works. BUG=685851 Review-Url: https://codereview.chromium.org/2733453002 Cr-Commit-Position: refs/heads/master@{#456123}
-
kerrnel authored
Activate the keychain reauthorization. Reauthorization will be performed if the users preferences (cfprefs) indicate that the operation has been attempted less than 2 times previously, and that the operation has not previously succeeded. The number of attempts is set before the operation, so that a crashy operation stops running after a finite number of attempts. After successful completion, the preferences are updated so that the operation is never run again. This CL also updates the designated requirement with a new hash. BUG=629906 Review-Url: https://codereview.chromium.org/2738053007 Cr-Commit-Position: refs/heads/master@{#456122}
-
bcwhite authored
There may be existing pointers to the memory block that are being actively accessed while the zeroing of memory is taking place. While this change doesn't fix that, it does make it possible for those other threads to recognize that memory is changing under it and be able to react appropriately. Also, restore missing kTypeIdAny that was somehow lost. BUG=620813 Review-Url: https://codereview.chromium.org/2709113003 Cr-Commit-Position: refs/heads/master@{#456121}
-
mcasas authored
Added myself to a new blink_image_capture and removed/renamed myself from a few categories Review-Url: https://codereview.chromium.org/2741853004 Cr-Commit-Position: refs/heads/master@{#456120}
-
alokp authored
This is so that mojo/binding.html can find the generated bindings for math_calculator.mojom. This layout test was added in r455925, but failed to add this data dependency. BUG=700281 TEST=gn desc blink_tests runtime_deps Review-Url: https://codereview.chromium.org/2742793003 Cr-Commit-Position: refs/heads/master@{#456119}
-
sky authored
In general View::RequestFocus() and FocusManager::SetFocusedView() do the same thing. The only exception to that is the SetFocusedView() does not check if the view wants focus, where as View::RequestFocus() does. For the cases I'm changing here RequestFocus() is fine. BUG=none TEST=none R=msw@chromium.org Review-Url: https://codereview.chromium.org/2738063007 Cr-Commit-Position: refs/heads/master@{#456118}
-
spqchan authored
- Fixed the layout issues with the fullscreen toolbar - Fixed the hiding animation BUG=689115 Review-Url: https://codereview.chromium.org/2738043002 Cr-Commit-Position: refs/heads/master@{#456117}
-
changwan authored
In crrev.com/2354793003, we changed state updates to go through TextInputManager, but TextInputManager does not propagate state update when the current and last state was NONE. This can cause IME thread to hang because it waits for the request to be replied. BUG=699699 Review-Url: https://codereview.chromium.org/2743933003 Cr-Commit-Position: refs/heads/master@{#456116}
-
zhaobin authored
To resolve code review comments from https://codereview.chromium.org/2675033002/diff/280001/chrome/browser/media/router/mojo/media_router.mojom Create an ip_address.mojom to be used by media_router.mojom BUG=698423 Review-Url: https://codereview.chromium.org/2745643002 Cr-Commit-Position: refs/heads/master@{#456115}
-
gmanikpure authored
BUG= Review-Url: https://codereview.chromium.org/2743983002 Cr-Commit-Position: refs/heads/master@{#456114}
-
almasrymina authored
UrlRequestContextFactory needs to be initialized before GetSystemGetter is called. Net log should be set before network activity starts. BUG= internal b/35963633 TEST= Manual attempt to reproduce the crash Review-Url: https://codereview.chromium.org/2738583003 Cr-Commit-Position: refs/heads/master@{#456113}
-
catapult-deps-roller authored
https://chromium.googlesource.com/external/github.com/catapult-project/catapult.git/+log/1ebe368476a6..faa1c3e0aeca $ git log 1ebe36847..faa1c3e0a --date=short --no-merges --format='%ad %ae %s' 2017-03-10 benjhayden Clarify jsdoc for Histogram.customizeSummaryOptions(). Created with: roll-dep src/third_party/catapult 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=catapult-sheriff@chromium.org Review-Url: https://codereview.chromium.org/2742023002 Cr-Commit-Position: refs/heads/master@{#456112}
-
juncai authored
This CL is a follow-up for: https://codereview.chromium.org/2627483003 After discussion with UI team, the text message on the chooser should stay on the top-left as it was before the above CL. So this CL changes it back. BUG=664240 Review-Url: https://codereview.chromium.org/2744713003 Cr-Commit-Position: refs/heads/master@{#456111}
-
mikecase authored
This will allow the testers to symbolize microdump crash logs. BUG=593106 Review-Url: https://codereview.chromium.org/2740843002 Cr-Commit-Position: refs/heads/master@{#456110}
-
xiaochu authored
Previously, component is copied to /var/lib/imageloader/xxx folder upon installation and next reboot mount the extracted image. This patch mount the extracted image in place folder copy and no reboot is required. BUG=690521 TEST=test OnCustumInstall on a chromebook, escpr component is downloaded and mounted seamlessly. Review-Url: https://codereview.chromium.org/2744453003 Cr-Commit-Position: refs/heads/master@{#456109}
-
rob.buis authored
As discussed in CL https://codereview.chromium.org/2681933002. Review-Url: https://codereview.chromium.org/2740843003 Cr-Commit-Position: refs/heads/master@{#456108}
-
Quinten Yearsley authored
This is an alternative to trying to rebaseline everything right away (https://chromium-review.googlesource.com/c/452797/). BUG=697971 Change-Id: I573e62eda15b7174e744696e75d45c3f92b9adcf Reviewed-on: https://chromium-review.googlesource.com/452644 Commit-Queue: Quinten Yearsley <qyearsley@chromium.org> Reviewed-by:
Dirk Pranke <dpranke@chromium.org> Cr-Commit-Position: refs/heads/master@{#456107}
-
erikchen authored
Resident size is approximated pretty well by stats.max_size_in_use. However, on macOS, freed blocks are both resident and reusable, which is semantically equivalent to deallocated. The implementation of libmalloc will also only hold a fixed number of freed regions before actually starting to deallocate them, so stats.max_size_in_use is also not representative of the peak size. As a result, stats.max_size_in_use is typically somewhere between actually resident [non-reusable] pages, and peak size. This is not very useful, so we just use stats.size_in_use for resident_size, even though it's an underestimate and fails to account for fragmentation. BUG=695263 Review-Url: https://codereview.chromium.org/2743563004 Cr-Commit-Position: refs/heads/master@{#456106}
-
ecobos authored
This is the first step towards fixing the whitespace attachment bugs we have. My plan is to use this from recalcDescendantStyles, and reattachWhitespaceSiblings instead of the light tree. BUG=657748 Review-Url: https://codereview.chromium.org/2725953002 Cr-Commit-Position: refs/heads/master@{#456105}
-
jamescook authored
StatusAreaWidget::Shutdown() needs to manually remove all its child view to avoid layout problems during shutdown. The stylus palette tray view wasn't being removed. This should fix a crash in aura::WindowEventDispatcher::ReleaseNativeCapture during ash::Shell teardown that we're seeing on kevin. I added a DCHECK to ensure all views are being cleaned up and filed a bug to refactor this code so we don't have to clean up the views manually. Fixed FocusCycleTest so it doesn't add duplicate child views to the status area, which was tripping my DCHECK. BUG=700122 Review-Url: https://codereview.chromium.org/2745723002 Cr-Commit-Position: refs/heads/master@{#456104}
-
jam authored
These are: components_browsertests components_unittests content_browsertests content_unittests unit_tests Marshmallow 64 bit bot is used since it's not on the CQ, as we don't have capacity yet to enable this on the main waterfall. Also OS specific breakages should be rare. In a followup we'll add some instrumentation test suites when support for passing command lines is available. BUG=699242 Review-Url: https://codereview.chromium.org/2745683002 Cr-Commit-Position: refs/heads/master@{#456103}
-
peter authored
This CL introduces the BackgroundFetchManager object and exposes it on the ServiceWorkerRegistration, as part of a new Background Fetch module. More functionality and tests will be added iteratively. Intent to Implement: https://groups.google.com/a/chromium.org/d/topic/blink-dev/Ia9_-CVrl1U/discussion WPT directory addition + IDL harness tests: https://github.com/w3c/web-platform-tests/pull/5094 Based on the following CL by awdf@: https://codereview.chromium.org/2739653002/ BUG=692534 Review-Url: https://codereview.chromium.org/2736143003 Cr-Commit-Position: refs/heads/master@{#456102}
-