- 19 Apr, 2017 40 commits
-
-
phosek authored
When the root build file is changed in .gn file, we should check $root:default rather than //:default when looking for "default" rule. Review-Url: https://codereview.chromium.org/2824153002 Cr-Commit-Position: refs/heads/master@{#465758}
-
rogerm authored
Revert of Plumb activation time to main (patchset #16 id:280001 of https://codereview.chromium.org/2778223005/ ) Reason for revert: Failure observed in LayerTreeHostProxyTestActivationTime.RunMultiThread_DelegatingRenderer https://luci-logdog.appspot.com/v/?s=chromium%2Fbb%2Fchromium.win%2FWin7_Tests__dbg__1_%2F59244%2F%2B%2Frecipes%2Fsteps%2Fcc_unittests%2F0%2Flogs%2FLayerTreeHostProxyTestActivationTime.RunMultiThread_DelegatingRenderer%2F0 Original issue's description: > Plumb activation time in cc to Blink Scheduler in Main > > BUG=657826,657825 > CQ_INCLUDE_TRYBOTS=master.tryserver.blink:linux_trusty_blink_rel > > Review-Url: https://codereview.chromium.org/2778223005 > Cr-Commit-Position: refs/heads/master@{#465701} > Committed: https://chromium.googlesource.com/chromium/src/+/9a2eb472fde51de48c095c9c208101c534ac211e TBR=brianderson@chromium.org,ccameron@chromium.org,alexclarke@chromium.org,miguelg@chromium.org,tedchoc@chromium.org,panicker@chromium.org # Skipping CQ checks because original CL landed less than 1 days ago. NOPRESUBMIT=true NOTREECHECKS=true NOTRY=true BUG=657826,657825 Review-Url: https://codereview.chromium.org/2833603002 Cr-Commit-Position: refs/heads/master@{#465757}
-
aleventhal authored
Test for anything falsey as a fail value for element.accessibleNode. Test for anything truthy as a fail value on a static text node's accessibleNode. BUG=None Review-Url: https://codereview.chromium.org/2823053002 Cr-Commit-Position: refs/heads/master@{#465756}
-
tdresser authored
BUG=None Review-Url: https://codereview.chromium.org/2828723003 Cr-Commit-Position: refs/heads/master@{#465755}
-
pdr authored
An element can have up to two scrollbars and we can switch LayerTreeImpl's scrollbar tracking map from layer_id->scrollbar_layer_id to element_id->scrollbar_layer_id. This patch gets us a little closer to making the cc scrollbar code just depend on element ids instead of layer ids. With this patch we can remove the layer_id param from LayerTreeHostImpl::RegisterScrollbarAnimationController which will make it easy to remove layer ids from the scrollbar layers in a followup (i.e., track just scroll_element_id instead of scroll_layer_id and scroll_element_id). This patch is primarily a switch from layer_id to element_id. Some tests needed updates to ensure the scrolling layer's element id is set. BUG=693740 CQ_INCLUDE_TRYBOTS=master.tryserver.blink:linux_trusty_blink_rel;master.tryserver.chromium.linux:linux_layout_tests_slimming_paint_v2 Review-Url: https://codereview.chromium.org/2824693002 Cr-Commit-Position: refs/heads/master@{#465754}
-
dalecurtis authored
MediaLog instances are always bound to a specific player, so there's no reason for having it be ref-counted other than to confuse folk into thinking it can be reused. There seems to be no reason why this was ref counted. There were a couple questionable places, WebSourceBufferImpl and WebMediaPlayerMSCompositor, but neither is really using the MediaLog so I either removed it or replaced it with a dummy log. The RendererFactories are a bit questionable too, but they are owned by the WebMediaPlayerImpl so should be fine. BUG=711818,712310 TEST=compiles, nothing crashes, existing tests still pass. 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/2815303006 Cr-Commit-Position: refs/heads/master@{#465753}
-
elawrence authored
As a part of scoping changes to behavior, we want to collect the absolute number of page navigations in Incognito mode instead of counting only once-per-origin. This CL deprecates the old metrics. BUG=712843 TEST=components_unittests --gtest_filter=NavigationMetrics*.* Review-Url: https://codereview.chromium.org/2823233003 Cr-Commit-Position: refs/heads/master@{#465752}
-
rouslan authored
Before this patch, passing duplicate shipping option identifiers into web payments API was silently treated as an indicator of invalid shipping address. This matches the spec, but the web developer may be confused. The fix is to add a warning message in console: "Duplicate shipping option identifier '<id>' is treated as an invalid address indicator." Spec: https://w3c.github.io/browser-payment-api/#constructor (See step 8, "Process shipping options.") BUG=711677 Review-Url: https://codereview.chromium.org/2830683002 Cr-Commit-Position: refs/heads/master@{#465751}
-
https://codereview.chromium.org/2771793003pkotwicz authored
https://codereview.chromium.org/2771793003 moved the the timer for downloading an icon from webapk_installer.cc to webapk_icon_hasher.cc The CL did not provide a way of making the timeout shorter similar to WebApkInstaller::SetTimeoutMs(). This was causing WebApkInstallerTest.BestPrimaryIconUrlDownloadTimesOut and WebApkInstallerTest.BestBadgeIconUrlDownloadTimesOut to take over a minute each. This CL: - Introduces a new static method WebApkIconHasher::DownloadAndComputeMurmur2HashWithTimeout() which takes a custom timeout. - Removes the tests about the icon download timing out from webapk_installer_unittest.cc since this scenario is already tested in webapk_icon_hasher_unittest.cc Review-Url: https://codereview.chromium.org/2822883002 Cr-Commit-Position: refs/heads/master@{#465750}
-
khorimoto authored
[CrOS Tether] Add tether network properties (battery percentage, carrier, and signal strength) to the Chrome OS networking stack. This change is composed of several related parts: (1) Update the chrome.networkingPrivate API to include tethering properties as part of NetworkProperties, ManagedNetworkProperties, and NetworkStateProperties. (2) Add ONC properties for the new tethering properties. (3) Add ONC validation for tether networks. (4) Add "fake" Shill tethering properties (since tethering networks are really normal Wi-Fi networks, Shill does not actually ever use the properties). (5) Add translation from Shill tethering properties to ONC tethering properties. (6) Update the settings page's chrome.networkingPrivate.getNetworks() call site to handle tether networks properly. BUG=672263 CQ_INCLUDE_TRYBOTS=master.tryserver.chromium.linux:closure_compilation Review-Url: https://codereview.chromium.org/2818593003 Cr-Commit-Position: refs/heads/master@{#465749}
-
rogerm authored
Reland of Disable flaky WebNavigationApiTest.CrossProcessHistory. (patchset #1 id:1 of https://codereview.chromium.org/2830813002/ ) Reason for revert: The flakiness came back upon landing this revert. So, reverting the revert. Original issue's description: > Revert of Disable flaky WebNavigationApiTest.CrossProcessHistory. (patchset #1 id:1 of https://codereview.chromium.org/2790383002/ ) > > Reason for revert: > What I believe was the underlying issue has been reverted, so it should be safe to reenable this test back. > > Original issue's description: > > Disable flaky WebNavigationApiTest.CrossProcessHistory. > > > > TBR=nasko@chromium.org > > BUG=708139 > > > > Review-Url: https://codereview.chromium.org/2790383002 > > Cr-Commit-Position: refs/heads/master@{#461690} > > Committed: https://chromium.googlesource.com/chromium/src/+/656fccff69eae8da012f0f83bcd3fc89214c5258 > > TBR=maxmorin@chromium.org > # Not skipping CQ checks because original CL landed more than 1 days ago. > BUG=708139 > > Review-Url: https://codereview.chromium.org/2830813002 > Cr-Commit-Position: refs/heads/master@{#465709} > Committed: https://chromium.googlesource.com/chromium/src/+/ccdcc6ef79a614b1b1c87a78a883d9c5b19ffde2 TBR=maxmorin@chromium.org,nasko@chromium.org # Skipping CQ checks because original CL landed less than 1 days ago. NOPRESUBMIT=true NOTREECHECKS=true NOTRY=true BUG=708139 Review-Url: https://codereview.chromium.org/2828903002 Cr-Commit-Position: refs/heads/master@{#465748}
-
aleventhal authored
When an ARIA grid or treegrid is used, pass that role through while still supporting the table interface. Essentially, the grid/treegrid roles can be understood as a subclass of a table role. Also do some cleanup for table/grid/treegrid handling. BUG=532670 Review-Url: https://codereview.chromium.org/2825803002 Cr-Commit-Position: refs/heads/master@{#465747}
-
wkorman authored
We've been painting them after text. This is incorrect per: https://www.w3.org/TR/css-text-decor-3/#painting-order BUG=547174 CQ_INCLUDE_TRYBOTS=master.tryserver.chromium.linux:linux_layout_tests_slimming_paint_v2 Review-Url: https://codereview.chromium.org/2820743003 Cr-Commit-Position: refs/heads/master@{#465746}
-
pkotwicz authored
content::Manifest::kInvalidOrMissingColor has a value which takes up more than 32 bits. This CL fixes truncation to 32 bits which was occurring in webapk_update_manager.cc sizeof(long) = 4 sizeof(int64_t) = 8 BUG=711519 Review-Url: https://codereview.chromium.org/2822623002 Cr-Commit-Position: refs/heads/master@{#465745}
-
davidben authored
https://boringssl.googlesource.com/boringssl/+log/bc6a76b0e0ed252af1688423584f7cd9161f6dee..777fdd6443d5f01420b67137118febdf56a1c8e4 BUG=none Review-Url: https://codereview.chromium.org/2829743002 Cr-Commit-Position: refs/heads/master@{#465744}
-
twellington authored
This removes most of the experiment flags and launches the "Update Chrome" menu item. Command line flags were left testing and an experiment flag was left for setting a custom summary in case there is a need in the future. BUG=712827 Review-Url: https://codereview.chromium.org/2825173002 Cr-Commit-Position: refs/heads/master@{#465743}
-
mahmadi authored
BUG=602666 Review-Url: https://codereview.chromium.org/2830733004 Cr-Commit-Position: refs/heads/master@{#465742}
-
estark authored
When populating a resource request, before upgrading an insecure request if appropriate, we now check report-only CSP headers, to ensure that CSP report-only violations are reported before any modifications of the request. After modifying the request, we check the enforced CSP headers to ensure that the request is still allowed. This is as described in the upgrade-insecure-requests spec: https://w3c.github.io/webappsec-upgrade-insecure-requests/#reporting-upgrades Patch stolen from mkwst@ BUG=625156 TEST=added web platform test upgrade-insecure-requests-reporting.https.html Review-Url: https://codereview.chromium.org/2790693002 Cr-Commit-Position: refs/heads/master@{#465741}
-
rdevlin.cronin authored
Throwing an unchecked runtime.lastError results in an uncaught exception, which can prevent future JS from properly running in somewhat unpredictable ways. These errors should be logged as console errors, rather than being thrown as exceptions. Add tests to a) check errors being logged and b) check that chaining API calls and callbacks works even when there are uncheked last errors. BUG=653596 Review-Url: https://codereview.chromium.org/2819683002 Cr-Commit-Position: refs/heads/master@{#465740}
-
thakis authored
Now that blink lives in the src repo, there's no need to generate a separate LASTCHANGE file for it. The LASTCHANGE line makes it into the user agent. LASTCHANGE.blink used --git-hash-only to only have the git hash in there. Remove that now-unused flag and use version.py's -e flag to get the same effect for webkit_version.h Reverts parts of https://chromiumcodereview.appspot.com/14973005/ No intended behavior change. BUG=none Review-Url: https://codereview.chromium.org/1982423002 Cr-Commit-Position: refs/heads/master@{#465739}
-
mef authored
This reduces number of reads and reallocations if UrlRequest::Read has more data available. Change QuicTestServer to return simple response without HTTP/2 trailers, so it doesn't break the QuicHttpStream. BUG=706515 CQ_INCLUDE_TRYBOTS=master.tryserver.chromium.android:android_cronet_tester CQ_INCLUDE_TRYBOTS=master.tryserver.chromium.mac:ios-simulator-cronet Review-Url: https://codereview.chromium.org/2776583004 Cr-Commit-Position: refs/heads/master@{#465738}
-
kkhorimoto authored
This CL disables EG synchronization when dealing with the onload JS dialog. BUG=711291 Review-Url: https://codereview.chromium.org/2825673003 Cr-Commit-Position: refs/heads/master@{#465737}
-
rdevlin.cronin authored
Similar to functions, API events can be restricted on a per-context basis. Apply the same deletion logic to them if they are unavailable in the given context. Modify APIBinding unittests to reflect this, and add more comprehensive tests in NativeExtensionBindingsSystem to test APIs that can be partially-available to websites. BUG=653596 Review-Url: https://codereview.chromium.org/2821793003 Cr-Commit-Position: refs/heads/master@{#465736}
-
rdevlin.cronin authored
Move custom request handling from registering a method in the APIBindingHooks to a delegate call to match CreateCustomEvent. Add a APIBindingHooksTestDelegate for use in unittests to avoid having a bunch of one-off subclasses. BUG=653596 Review-Url: https://codereview.chromium.org/2831453002 Cr-Commit-Position: refs/heads/master@{#465735}
-
takumif authored
We have a file in extensions/ [1] that depends on Media Router mojo definitions from chrome/browser/. To remove this dependency from extensions/ to chrome/browser/, this CL moves that file to chrome/renderer/, and Media Router mojo interfaces to chrome/common/media_router/mojo/. Media Router typemaps and related C++ structs are also moved to chrome/common/media_router/. [1] extensions/renderer/resources/media_router_bindings.js BUG=704958 Review-Url: https://codereview.chromium.org/2771413003 Cr-Commit-Position: refs/heads/master@{#465734}
-
michaelpg authored
and correct the component. BUG=none Review-Url: https://codereview.chromium.org/2821623002 Cr-Commit-Position: refs/heads/master@{#465733}
-
weidongg authored
Delay 100 ms before closing the window to give some time for rendering jobs to be done. BUG=649218 CQ_INCLUDE_TRYBOTS=master.tryserver.chromium.linux:closure_compilation Review-Url: https://codereview.chromium.org/2826753002 Cr-Commit-Position: refs/heads/master@{#465732}
-
lazyboy authored
The consumer ContentVerifyJob, calls this only once and ContentVerifier is ref counted, so this is a good thing to do. BUG=712945 Test=No visible changes expected. Review-Url: https://codereview.chromium.org/2824333003 Cr-Commit-Position: refs/heads/master@{#465731}
-
tedchoc authored
This removes the duplicate functionality in DeviceClassManager. BUG= Review-Url: https://codereview.chromium.org/2826203003 Cr-Commit-Position: refs/heads/master@{#465730}
-
robhogan authored
BUG=706324 Review-Url: https://codereview.chromium.org/2806123002 Cr-Commit-Position: refs/heads/master@{#465729}
-
krasin authored
In particular, it's a follow up to https://chromium-review.googlesource.com/472192. This CL is just to fix the bots. I will follow up with proper changes to the allocator which will eliminate the need for the blacklist entry. BUG=713293 Review-Url: https://codereview.chromium.org/2834513002 Cr-Commit-Position: refs/heads/master@{#465728}
-
bnc authored
This CL lands part of server change 153489255. BUG=488484 Review-Url: https://codereview.chromium.org/2829463002 Cr-Commit-Position: refs/heads/master@{#465727}
-
twellington authored
Revert of [Home] Close the BottomSheet when a URL is loaded on the NTP (patchset #1 id:1 of https://codereview.chromium.org/2829523002/ ) Reason for revert: Broke Lollipop Tester junit.framework.AssertionFailedError: Sheet should be at half height expected:<1> but was:<3> at org.chromium.chrome.browser.ntp.ChromeHomeNewTabPageTest.validateState(ChromeHomeNewTabPageTest.java:197) at org.chromium.chrome.browser.ntp.ChromeHomeNewTabPageTest.createNewTab(ChromeHomeNewTabPageTest.java:168) at org.chromium.chrome.browser.ntp.ChromeHomeNewTabPageTest.testCloseNTP_TwoTabs(ChromeHomeNewTabPageTest.java:92) at android.test.InstrumentationTestCase.runMethod(InstrumentationTestCase.java:214) at android.test.InstrumentationTestCase.runTest(InstrumentationTestCase.java:199) at android.test.ActivityInstrumentationTestCase2.runTest(ActivityInstrumentationTestCase2.java:192) at org.chromium.chrome.test.ChromeActivityTestCaseBase.runTest(ChromeActivityTestCaseBase.java:758) at org.chromium.base.test.BaseTestResult.runParameterized(BaseTestResult.java:161) at org.chromium.base.test.BaseTestResult.run(BaseTestResult.java:124) at android.test.AndroidTestRunner.runTest(AndroidTestRunner.java:191) at android.test.AndroidTestRunner.runTest(AndroidTestRunner.java:176) at android.test.InstrumentationTestRunner.onStart(InstrumentationTestRunner.java:555) at android.app.Instrumentation$InstrumentationThread.run(Instrumentation.java:1853) Original issue's description: > [Home] Close the BottomSheet when a URL is loaded on the NTP > > This ensures that a click on the doodle will close the BottomSheet. > > BUG=712607 > > Review-Url: https://codereview.chromium.org/2829523002 > Cr-Commit-Position: refs/heads/master@{#465604} > Committed: https://chromium.googlesource.com/chromium/src/+/2a80017ed38340c00d1d214a3a2445acf5a9ed05 TBR=mvanouwerkerk@chromium.org # Skipping CQ checks because original CL landed less than 1 days ago. NOPRESUBMIT=true NOTREECHECKS=true NOTRY=true BUG=712607 Review-Url: https://codereview.chromium.org/2830743003 Cr-Commit-Position: refs/heads/master@{#465726}
-
xunjieli authored
File writes happen on a file thread. This CL waits for the file thread to flush writes to disk. BUG=712307 CQ_INCLUDE_TRYBOTS=master.tryserver.chromium.android:android_cronet_tester Review-Url: https://codereview.chromium.org/2827673002 Cr-Commit-Position: refs/heads/master@{#465725}
-
proberge authored
BUG=500085 Review-Url: https://codereview.chromium.org/2824033003 Cr-Commit-Position: refs/heads/master@{#465724}
-
mark authored
ffe4c1018c1b net: Update Blink source code references e04194afd91d win: Wrap TerminateProcess() to accept cdecl patches on x86 74fddc3fed2a win: Wrap test::ChildLauncher::Start() in ASSERT_NO_FATAL_FAILURE() f487da4ff2c4 win handler: Move test targets to handler_test.gyp BUG=crashpad:179 Review-Url: https://codereview.chromium.org/2833533003 Cr-Commit-Position: refs/heads/master@{#465723}
-
ojan authored
BUG=713260 TBR=sullivan@chromium.org Review-Url: https://codereview.chromium.org/2834503002 Cr-Commit-Position: refs/heads/master@{#465722}
-
rogerm authored
Flakiness has expanded from just Windows and memory bots to Mac and Linux as well. Broadly disabling the test. BUG=641400 TBR=michaelpg@chromium.org Review-Url: https://codereview.chromium.org/2828063002 Cr-Commit-Position: refs/heads/master@{#465721}
-
ananta authored
The proposed fix is to notify the parent views when a child enables layering. The parent in this case the ScrollView overrides the newly added notification OnChildLayerChanged() and enables viewport layering. This ensures that the ring gets clipped. Longer term it seems like the focus ring should really be a property of the view and should not be instantiated by different controls all over the place. That for a later patchset. BUG=665412, 656198 TEST=Covered by test ViewObserverTest.ScrollViewChildAddLayerTest and ViewObserverTest.ChildViewLayerNotificationTest Review-Url: https://codereview.chromium.org/2813353002 Cr-Commit-Position: refs/heads/master@{#465720}
-
rogerm authored
BUG=713201 TBR=mkolom@yandex-team.ru, creis@chromium.org, sky@chromium.org, dgozman@chromium.org Review-Url: https://codereview.chromium.org/2829773002 Cr-Commit-Position: refs/heads/master@{#465719}
-