commit_msg
stringlengths
1
24.2k
commit_hash
stringlengths
2
84
project
stringlengths
2
40
source
stringclasses
4 values
labels
int64
0
1
repo_url
stringlengths
26
70
commit_url
stringlengths
74
118
commit_date
stringlengths
25
25
Abort navigations on 304 responses. A recent change (https://chromium-review.googlesource.com/1161479) accidentally resulted in treating 304 responses as downloads. This CL treats them as ERR_ABORTED instead. This doesn't exactly match old behavior, which passed them on to the renderer, which then aborted them. The new code results in correctly restoring the original URL in the omnibox, and has a shiny new test to prevent future regressions. Bug: 882270 Change-Id: Ic73dcce9e9596d43327b13acde03b4ed9bd0c82e Reviewed-on: https://chromium-review.googlesource.com/1252684 Commit-Queue: Matt Menke <[email protected]> Reviewed-by: Camille Lamy <[email protected]> Cr-Commit-Position: refs/heads/master@{#595641}
4f8104c528f0147c7527718d5aa7c9c38c8220d0
chrome
bigvul
1
null
null
null
[css-typed-om] values attribute should be readonly values attribute should be immutable to prevent cyclic references in CSSMathMax, CSSMathMin, CSSMathProduct, CSSMathSum. Bug: 803687 Change-Id: Ibb93165ffd7a279a80febba0543ac186b67dbe56 Reviewed-on: https://chromium-review.googlesource.com/890558 Reviewed-by: Darren Shen <[email protected]> Commit-Queue: Hwanseung Lee <[email protected]> Cr-Commit-Position: refs/heads/master@{#532336}
37c5e5e604744c9efd4fa5a3abaca7e6b651054c
chrome
bigvul
1
null
null
null
Map U+0909 and U+0993 to 3 when checking for confusables U+0909 (उ) and U+0993 (ও) look similar to the number 3. Thic cl adds these two characters to the mapping to 3 when determining whether to fall back to punycode when displaying URLs. Bug: 895885 Change-Id: I233127570c8e34e791ef5663c1ece9207d6c7bda Reviewed-on: https://chromium-review.googlesource.com/c/1287031 Reviewed-by: Peter Kasting <[email protected]> Commit-Queue: Peter Kasting <[email protected]> Cr-Commit-Position: refs/heads/master@{#600544}
cabd5a9c5b2cc447ba34f464de1c8c9dea207077
chrome
bigvul
1
null
null
null
[Payments] Restrict just-in-time payment handler to payment method domain and its subdomains Bug: 853937 Change-Id: I148b3d96950a9d90fa362e580e9593caa6b92a36 Reviewed-on: https://chromium-review.googlesource.com/1132116 Reviewed-by: Mathieu Perreault <[email protected]> Commit-Queue: Ganggui Tang <[email protected]> Cr-Commit-Position: refs/heads/master@{#573911}
562da5192ff110199fe290bdb7ea76d8118071fd
chrome
bigvul
1
null
null
null
Refcount AppCacheGroup correctly. Bug: 888926 Change-Id: Iab0d82d272e2f24a5e91180d64bc8e2aa8a8238d Reviewed-on: https://chromium-review.googlesource.com/1246827 Reviewed-by: Marijn Kruisselbrink <[email protected]> Reviewed-by: Joshua Bell <[email protected]> Commit-Queue: Chris Palmer <[email protected]> Cr-Commit-Position: refs/heads/master@{#594475}
9d2ead1650a1c901754dd1a68705006a6934cffc
chrome
bigvul
1
null
null
null
Roll src/third_party/pdfium 678f5418d36f..b6e7d49ad5f3 (3 commits) https://pdfium.googlesource.com/pdfium.git/+log/678f5418d36f..b6e7d49ad5f3 git log 678f5418d36f..b6e7d49ad5f3 --date=short --no-merges --format='%ad %ae %s' 2018-08-30 [email protected] Roll v8 to 19afaa14 2018-08-30 [email protected] Stop using deprecated V8 APIs in CFXJSE_Value. 2018-08-30 [email protected] Add check on CGATS memory allocation in littlecms. Created with: gclient setdep -r src/third_party/pdfium@b6e7d49ad5f3 The AutoRoll server is located here: https://autoroll.skia.org/r/pdfium-autoroll Documentation for the AutoRoller is here: https://skia.googlesource.com/buildbot/+/master/autoroll/README.md If the roll is causing failures, please contact the current sheriff, who should be CC'd on the roll, and stop the roller if necessary. BUG=chromium:872189 [email protected] Change-Id: I3b08c657e82321c78a6dee42ac3cf2801ecb2020 Reviewed-on: https://chromium-review.googlesource.com/1197290 Reviewed-by: pdfium-chromium-autoroll <pdfium-chromium-autoroll@skia-buildbots.google.com.iam.gserviceaccount.com> Commit-Queue: pdfium-chromium-autoroll <pdfium-chromium-autoroll@skia-buildbots.google.com.iam.gserviceaccount.com> Cr-Commit-Position: refs/heads/master@{#587804}
6486b858d8c49db25df193a817b808d4dcea1f75
chrome
bigvul
1
null
null
null
Invalidate associated WKBackForwardListItem after replace state. Bug: 887273 Cq-Include-Trybots: luci.chromium.try:ios-simulator-cronet;luci.chromium.try:ios-simulator-full-configs Change-Id: I99e171f64a20c7dba9f8984d05cb509b00d01ea5 Reviewed-on: https://chromium-review.googlesource.com/1243166 Reviewed-by: Danyao Wang <[email protected]> Commit-Queue: Eugene But <[email protected]> Cr-Commit-Position: refs/heads/master@{#593992}
b312df8d9b00ca26046d1fe442ee19dc9780fcfe
chrome
bigvul
1
null
null
null
Roll src/third_party/angle 63aa0e5b7001..0d0fb43f34ee (1 commits) https://chromium.googlesource.com/angle/angle.git/+log/63aa0e5b7001..0d0fb43f34ee git log 63aa0e5b7001..0d0fb43f34ee --date=short --no-merges --format='%ad %ae %s' 2018-09-11 [email protected] Pass unpack buffer as explicit parameter to texSubImage. Created with: gclient setdep -r src/third_party/angle@0d0fb43f34ee The AutoRoll server is located here: https://autoroll.skia.org/r/angle-chromium-autoroll Documentation for the AutoRoller is here: https://skia.googlesource.com/buildbot/+/master/autoroll/README.md If the roll is causing failures, please contact the current sheriff, who should be CC'd on the roll, and stop the roller if necessary. CQ_INCLUDE_TRYBOTS=luci.chromium.try:android_optional_gpu_tests_rel;luci.chromium.try:linux_optional_gpu_tests_rel;luci.chromium.try:mac_optional_gpu_tests_rel;luci.chromium.try:win_optional_gpu_tests_rel BUG=chromium:880906 [email protected] Change-Id: I83ce6ccf2c62c770845912f19ef043d6cd3c374e Reviewed-on: https://chromium-review.googlesource.com/1217815 Reviewed-by: angle-chromium-autoroll <angle-chromium-autoroll@skia-buildbots.google.com.iam.gserviceaccount.com> Commit-Queue: angle-chromium-autoroll <angle-chromium-autoroll@skia-buildbots.google.com.iam.gserviceaccount.com> Cr-Commit-Position: refs/heads/master@{#590205}
db0c0fa2872a51e9795e926b46f20d8eec21b032
chrome
bigvul
1
null
null
null
Start rendering timer after first navigation Currently the new content rendering timer in the browser process, which clears an old page's contents 4 seconds after a navigation if the new page doesn't draw in that time, is not set on the first navigation for a top-level frame. This is problematic because content can exist before the first navigation, for instance if it was created by a javascript: URL. This CL removes the code that skips the timer activation on the first navigation. Bug: 844881 Change-Id: I19b3ad1ff62c69ded3a5f7b1c0afde191aaf4584 Reviewed-on: https://chromium-review.googlesource.com/1188589 Reviewed-by: Fady Samuel <[email protected]> Reviewed-by: ccameron <[email protected]> Commit-Queue: Ken Buchanan <[email protected]> Cr-Commit-Position: refs/heads/master@{#586913}
7da6c3419fd172405bcece1ae4ec6ec8316cd345
chrome
bigvul
1
null
null
null
Do not forward resource timing to parent frame after back-forward navigation LocalFrame has |should_send_resource_timing_info_to_parent_| flag not to send timing info to parent except for the first navigation. This flag is cleared when the first timing is sent to parent, however this does not happen if iframe's first navigation was by back-forward navigation. For such iframes, we shouldn't send timings to parent at all. Bug: 876822 Change-Id: I128b51a82ef278c439548afc8283ae63abdef5c5 Reviewed-on: https://chromium-review.googlesource.com/1186215 Reviewed-by: Kinuko Yasuda <[email protected]> Commit-Queue: Kunihiko Sakamoto <[email protected]> Cr-Commit-Position: refs/heads/master@{#585736}
5fe74f831fddb92afa5ddfe46490bb49f083132b
chrome
bigvul
1
null
null
null
Roll src/third_party/pdfium c3099d1c6942..174de19776de (2 commits) https://pdfium.googlesource.com/pdfium.git/+log/c3099d1c6942..174de19776de git log c3099d1c6942..174de19776de --date=short --no-merges --format='%ad %ae %s' 2018-09-19 [email protected] Encapsulate CPDF_ImageLoader. 2018-09-19 [email protected] Validate decoder pipelines. Created with: gclient setdep -r src/third_party/pdfium@174de19776de The AutoRoll server is located here: https://autoroll.skia.org/r/pdfium-autoroll Documentation for the AutoRoller is here: https://skia.googlesource.com/buildbot/+/master/autoroll/README.md If the roll is causing failures, please contact the current sheriff, who should be CC'd on the roll, and stop the roller if necessary. BUG=chromium:880675 [email protected] Change-Id: I1af59ee6d0a3d3c21cce116d96083947b365ee31 Reviewed-on: https://chromium-review.googlesource.com/1234295 Reviewed-by: chromium-autoroll <[email protected]> Commit-Queue: chromium-autoroll <[email protected]> Cr-Commit-Position: refs/heads/master@{#592495}
9f2aff260dd058c67ea3f974df1a8c3179997bed
chrome
bigvul
1
null
null
null
Implement immutable texture base/max level clamping It seems some drivers fail to handle that gracefully, so let's always clamp to be on the safe side. BUG=877874 TEST=test case in the bug, gpu_unittests [email protected] Cq-Include-Trybots: luci.chromium.try:android_optional_gpu_tests_rel;luci.chromium.try:linux_optional_gpu_tests_rel;luci.chromium.try:mac_optional_gpu_tests_rel;luci.chromium.try:win_optional_gpu_tests_rel Change-Id: I6d93cb9389ea70525df4604112223604577582a2 Reviewed-on: https://chromium-review.googlesource.com/1194994 Reviewed-by: Kenneth Russell <[email protected]> Commit-Queue: Zhenyao Mo <[email protected]> Cr-Commit-Position: refs/heads/master@{#587264}
385508dc888ef15d272cdd2705b17996abc519d6
chrome
bigvul
1
null
null
null
Security drop fullscreen for any nested WebContents level. This relands 3dcaec6e30feebefc11e with a fix to the test. BUG=873080 TEST=as in bug Change-Id: Ie68b197fc6b92447e9633f233354a68fefcf20c7 Reviewed-on: https://chromium-review.googlesource.com/1175925 Reviewed-by: Sidney San Martín <[email protected]> Commit-Queue: Avi Drissman <[email protected]> Cr-Commit-Position: refs/heads/master@{#583335}
d18c519758c2e6043f0e1f00e2b69a55b3d7997f
chrome
bigvul
1
null
null
null
Block URLs with Chrome Bundle URL scheme from Launching in iframes. More context in crbug.com/822518 Bug: 850760, 822518 Cq-Include-Trybots: luci.chromium.try:ios-simulator-full-configs;master.tryserver.chromium.mac:ios-simulator-cronet Change-Id: I66e86fdc9813456ead16b1c43c41ac218ff2ac0a Reviewed-on: https://chromium-review.googlesource.com/1147861 Commit-Queue: Mohammad Refaat <[email protected]> Reviewed-by: Peter Lee <[email protected]> Reviewed-by: Danyao Wang <[email protected]> Cr-Commit-Position: refs/heads/master@{#578489}
eee00efa1b51ac9b3f1ae4500f1d77e901ab30ab
chrome
bigvul
1
null
null
null
Add additional Lao character to IDN confusables U+0E01 (ก) => n Prior Lao/Thai entries were added in crrev.com/c/1058710. Test: components_unittests --gtest_filter=*IDN* Bug: 882078 Change-Id: I1e90b144a1d791341b515d026a6bc4be7cbed57d Reviewed-on: https://chromium-review.googlesource.com/1220773 Reviewed-by: Peter Kasting <[email protected]> Commit-Queue: Christopher Thompson <[email protected]> Cr-Commit-Position: refs/heads/master@{#591227}
3983030c2ee3e54afa60fe24f23e4c98067a3634
chrome
bigvul
1
null
null
null
Speculative fix for crashes in HTMLImportsController::Dispose(). Copy the loaders_ vector before iterating it. This CL has no tests because we don't know stable reproduction. Bug: 843151 Change-Id: I3d5e184657cbce56dcfca0c717d7a0c464e20efe Reviewed-on: https://chromium-review.googlesource.com/1245017 Reviewed-by: Keishi Hattori <[email protected]> Commit-Queue: Kent Tamura <[email protected]> Cr-Commit-Position: refs/heads/master@{#594226}
54139dd9a60d8fb63d2379a08e2f2750eac2d959
chrome
bigvul
1
null
null
null
If a dialog is shown, drop fullscreen. BUG=875066, 817809, 792876, 812769, 813815 TEST=included Change-Id: Ic3d697fa3c4b01f5d7fea77391857177ada660db Reviewed-on: https://chromium-review.googlesource.com/1185208 Reviewed-by: Sidney San Martín <[email protected]> Commit-Queue: Avi Drissman <[email protected]> Cr-Commit-Position: refs/heads/master@{#586418}
3d41e77125f3de8d722b6d8303599abaf2a91667
chrome
bigvul
1
null
null
null
Add LayoutTest for update() from workers without controllers Bug: 805496 Change-Id: Idb1cc63960409eeb8117d74267f5df33f401eb08 Reviewed-on: https://chromium-review.googlesource.com/932101 Commit-Queue: Yannic Bonenberger <[email protected]> Reviewed-by: Matt Falkenhagen <[email protected]> Cr-Commit-Position: refs/heads/master@{#577538}
ec96e9da29ec26491de4be2464e0735404546e62
chrome
bigvul
1
null
null
null
[pdf] Use a temporary list when unloading pages When traversing the |deferred_page_unloads_| list and handling the unloads it's possible for new pages to get added to the list which will invalidate the iterator. This CL swaps the list with an empty list and does the iteration on the list copy. New items that are unloaded while handling the defers will be unloaded at a later point. Bug: 780450 Change-Id: Ic7ced1c82227109784fb536ce19a4dd51b9119ac Reviewed-on: https://chromium-review.googlesource.com/758916 Commit-Queue: dsinclair <[email protected]> Reviewed-by: Lei Zhang <[email protected]> Cr-Commit-Position: refs/heads/master@{#515056}
01c9a7e71ca435651723e8cbcab0b3ad4c5351e2
chrome
bigvul
1
null
null
null
SharedWorker: Introduce "constructor origin" concept defined in the spec This CL introduces the "constructor origin" concept defined in the HTML spec: https://html.spec.whatwg.org/multipage/workers.html#concept-sharedworkerglobalscope-constructor-origin Bug: 787103 Change-Id: I273629760bb34e0c24f1c4d023e66e146a476407 Reviewed-on: https://chromium-review.googlesource.com/781539 Reviewed-by: Raymes Khoury <[email protected]> Reviewed-by: Daniel Cheng <[email protected]> Reviewed-by: Matt Falkenhagen <[email protected]> Reviewed-by: Mike West <[email protected]> Reviewed-by: Kinuko Yasuda <[email protected]> Commit-Queue: Hiroki Nakagawa <[email protected]> Cr-Commit-Position: refs/heads/master@{#520417}
018bb6d300c11acb953d51ef3cbec4cdcaf4a652
chrome
bigvul
1
null
null
null
Downloads : Fixed an issue of opening incorrect download file When one download overwrites another completed download, calling download.open in the old download causes the new download to open, which could be dangerous and undesirable. In this CL, we are trying to avoid this by blocking the opening of the old download. Bug: 793620 Change-Id: Ic948175756700ad7c08489c3cc347330daedb6f8 Reviewed-on: https://chromium-review.googlesource.com/826477 Reviewed-by: David Trainor <[email protected]> Reviewed-by: Xing Liu <[email protected]> Reviewed-by: John Abd-El-Malek <[email protected]> Commit-Queue: Shakti Sahu <[email protected]> Cr-Commit-Position: refs/heads/master@{#525810}
a8d6ae61d266d8bc44c3dd2d08bda32db701e359
chrome
bigvul
1
null
null
null
Tighten about IntRect use in WebGL with overflow detection BUG=784183 TEST=test case in the bug in ASAN build [email protected] 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 Change-Id: Ie25ca328af99de7828e28e6a6e3d775f1bebc43f Reviewed-on: https://chromium-review.googlesource.com/811826 Reviewed-by: Kenneth Russell <[email protected]> Commit-Queue: Zhenyao Mo <[email protected]> Cr-Commit-Position: refs/heads/master@{#522213}
3298d3abf47b3a7a10e44c07d821c68a5c8aa935
chrome
bigvul
1
null
null
null
Hide DevTools frontend from webRequest API Prevent extensions from observing requests for remote DevTools frontends and add regression tests. And update ExtensionTestApi to support initializing the embedded test server and port from SetUpCommandLine (before SetUpOnMainThread). BUG=797497,797500 TEST=browser_test --gtest_filter=DevToolsFrontendInWebRequestApiTest.HiddenRequests Cq-Include-Trybots: master.tryserver.chromium.linux:linux_mojo Change-Id: Ic8f44b5771f2d5796f8c3de128f0a7ab88a77735 Reviewed-on: https://chromium-review.googlesource.com/844316 Commit-Queue: Rob Wu <[email protected]> Reviewed-by: Devlin <[email protected]> Reviewed-by: Dmitry Gozman <[email protected]> Cr-Commit-Position: refs/heads/master@{#528187}
2649de11c562aa96d336c06136a1a20c01711be0
chrome
bigvul
1
null
null
null
Roll ios/third_party/earl_grey b8f1ed850b..2fd8a7d4b7. This provides support to build with deployment target 10.0. Bug: 774724, 774726 Cq-Include-Trybots: master.tryserver.chromium.mac:ios-simulator-cronet Change-Id: Ic6445cb9bb788fbc92b90caa511473ea2ad963c6 Reviewed-on: https://chromium-review.googlesource.com/753645 Reviewed-by: Yuke Liao <[email protected]> Commit-Queue: Mike Baxley <[email protected]> Cr-Commit-Position: refs/heads/master@{#513844}
c1441e7a1fdc5a7b654103608bdabb3bb11901a6
chrome
bigvul
1
null
null
null
Implement 2D texture uploading from client array with FLIP_Y or PREMULTIPLY_ALPHA. BUG=774174 TEST=https://github.com/KhronosGroup/WebGL/pull/2555 [email protected] Cq-Include-Trybots: master.tryserver.chromium.android:android_optional_gpu_tests_rel;master.tryserver.chromium.linux:linux_layout_tests_slimming_paint_v2;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 Change-Id: I4f4e7636314502451104730501a5048a5d7b9f3f Reviewed-on: https://chromium-review.googlesource.com/808665 Commit-Queue: Zhenyao Mo <[email protected]> Reviewed-by: Kenneth Russell <[email protected]> Cr-Commit-Position: refs/heads/master@{#522003}
9b99a43fc119a2533a87e2357cad8f603779a7b9
chrome
bigvul
1
null
null
null
Fixed bug where PlzNavigate CSP in a iframe did not get the inherited CSP When inheriting the CSP from a parent document to a local-scheme CSP, it does not always get propagated to the PlzNavigate CSP. This means that PlzNavigate CSP checks (like `frame-src`) would be ran against a blank policy instead of the proper inherited policy. Bug: 778658 Change-Id: I61bb0d432e1cea52f199e855624cb7b3078f56a9 Reviewed-on: https://chromium-review.googlesource.com/765969 Commit-Queue: Andy Paicu <[email protected]> Reviewed-by: Mike West <[email protected]> Cr-Commit-Position: refs/heads/master@{#518245}
209f225b2d51334eaf69ffdf002e25eaa1e0d448
chrome
bigvul
1
null
null
null
Fix issue with pending NavigationEntry being discarded incorrectly This CL fixes an issue where we would attempt to discard a pending NavigationEntry when a cross-process navigation to this NavigationEntry is interrupted by another navigation to the same NavigationEntry. BUG=760342,797656,796135 Change-Id: I204deff1efd4d572dd2e0b20e492592d48d787d9 Reviewed-on: https://chromium-review.googlesource.com/850877 Reviewed-by: Charlie Reis <[email protected]> Commit-Queue: Camille Lamy <[email protected]> Cr-Commit-Position: refs/heads/master@{#528611}
5cd363bc34f508c63b66e653bc41bd1783a4b711
chrome
bigvul
1
null
null
null
Add a few more confusable map entries 1. Map Malaylam U+0D1F to 's'. 2. Map 'small-cap-like' Cyrillic letters to "look-alike" Latin lowercase letters. The characters in new confusable map entries are replaced by their Latin "look-alike" characters before the skeleton is calculated to compare with top domain names. Bug: 784761,773930 Test: components_unittests --gtest_filter=*IDNToUni* Change-Id: Ib26664e21ac5eb290e4a2993b01cbf0edaade0ee Reviewed-on: https://chromium-review.googlesource.com/805214 Reviewed-by: Peter Kasting <[email protected]> Commit-Queue: Jungshik Shin <[email protected]> Cr-Commit-Position: refs/heads/master@{#521648}
b3f0207c14fccc11aaa9d4975ebe46554ad289cb
chrome
bigvul
1
null
null
null
Reland "Launching an external protocol handler now escapes the URL." This is a reland of 2401e58572884b3561e4348d64f11ac74667ef02 Original change's description: > Launching an external protocol handler now escapes the URL. > > Fixes bug introduced in r102449. > > Bug: 785809 > Change-Id: I9e6dd1031dd7e7b8d378b138ab151daefdc0c6dc > Reviewed-on: https://chromium-review.googlesource.com/778747 > Commit-Queue: Matt Giuca <[email protected]> > Reviewed-by: Eric Lawrence <[email protected]> > Reviewed-by: Ben Wells <[email protected]> > Cr-Commit-Position: refs/heads/master@{#518848} Bug: 785809 Change-Id: Ib8954584004ff5681654398db76d48cdf4437df7 Reviewed-on: https://chromium-review.googlesource.com/788551 Reviewed-by: Ben Wells <[email protected]> Commit-Queue: Matt Giuca <[email protected]> Cr-Commit-Position: refs/heads/master@{#519203}
36fd3c9a6ba9fce9dd80c442c3ba5decd8e4c065
chrome
bigvul
1
null
null
null
Improve sanitization of remoteFrontendUrl in DevTools This change ensures that the decoded remoteFrontendUrl parameter cannot contain any single quote in its value. As of this commit, none of the permitted query params in SanitizeFrontendQueryParam can contain single quotes. Note that the existing SanitizeEndpoint function does not explicitly check for single quotes. This is fine since single quotes in the query string are already URL-encoded and the values validated by SanitizeEndpoint are not url-decoded elsewhere. BUG=798163 TEST=Manually, see https://crbug.com/798163#c1 TEST=./unit_tests --gtest_filter=DevToolsUIBindingsTest.SanitizeFrontendURL Change-Id: I5a08e8ce6f1abc2c8d2a0983fef63e1e194cd242 Reviewed-on: https://chromium-review.googlesource.com/846979 Reviewed-by: Dmitry Gozman <[email protected]> Commit-Queue: Rob Wu <[email protected]> Cr-Commit-Position: refs/heads/master@{#527250}
24bbdc5f95f80a7700e232a272a6ea1811c0dcaf
chrome
bigvul
1
null
null
null
Simplify WebGL error message The WebGL exception message text contains the full URL of a blocked cross-origin resource. It should instead contain only a generic notice. Bug: 799847 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 Change-Id: I3a7f00462a4643c41882f2ee7e7767e6d631557e Reviewed-on: https://chromium-review.googlesource.com/854986 Reviewed-by: Brandon Jones <[email protected]> Reviewed-by: Kenneth Russell <[email protected]> Commit-Queue: Eric Lawrence <[email protected]> Cr-Commit-Position: refs/heads/master@{#528458}
fae4d7b7d7e5c8a04a8b7a3258c0fc8362afa24c
chrome
bigvul
1
null
null
null
Inherit referrer and policy when creating a nested browsing context BUG=763194 [email protected] Change-Id: Ide3950269adf26ba221f573dfa088e95291ab676 Reviewed-on: https://chromium-review.googlesource.com/732652 Reviewed-by: Emily Stark <[email protected]> Commit-Queue: Jochen Eisinger <[email protected]> Cr-Commit-Position: refs/heads/master@{#511211}
931711135c90568f677cf42d94f2591a7eeced2e
chrome
bigvul
1
null
null
null
Elide the permission bubble title from the head of the string. Long URLs can be used to spoof other origins in the permission bubble title. This CL customises the title to be elided from the head, which ensures that the maximal amount of the URL host is displayed in the case where the URL is too long and causes the string to overflow. Implementing the ellision means that the title cannot be multiline (where elision is not well supported). Note that in English, the window title is a string "$ORIGIN wants to", so the non-origin component will not be elided. In other languages, the non-origin component may appear fully or partly before the origin (e.g. in Filipino, "Gusto ng $ORIGIN na"), so it may be elided there if the URL is sufficiently long. This is not optimal, but the URLs that are sufficiently long to trigger the elision are probably malicious, and displaying the most relevant component of the URL is most important for security purposes. BUG=774438 Change-Id: I75c2364b10bf69bf337c7f4970481bf1809f6aae Reviewed-on: https://chromium-review.googlesource.com/768312 Reviewed-by: Ben Wells <[email protected]> Reviewed-by: Lucas Garron <[email protected]> Reviewed-by: Matt Giuca <[email protected]> Commit-Queue: Dominick Ng <[email protected]> Cr-Commit-Position: refs/heads/master@{#516921}
56762260ca8ef62578fa4718b7d47711f7e120dc
chrome
bigvul
1
null
null
null
Block dotless-i / j + a combining mark U+0131 (doltess i) and U+0237 (dotless j) are blocked from being followed by a combining mark in U+0300 block. Bug: 774842 Test: See the bug Change-Id: I92aac0e97233184864d060fd0f137a90b042c679 Reviewed-on: https://chromium-review.googlesource.com/767888 Commit-Queue: Jungshik Shin <[email protected]> Reviewed-by: Peter Kasting <[email protected]> Cr-Commit-Position: refs/heads/master@{#517605}
a30f64b4ae13255535a4947616fce484c54207df
chrome
bigvul
1
null
null
null
Restrict the xss audit report URL to same origin BUG=441275 [email protected],[email protected] Change-Id: I27bc8e251b9ad962c3b4fdebf084a2b9152f915d Reviewed-on: https://chromium-review.googlesource.com/768367 Reviewed-by: Tom Sepez <[email protected]> Reviewed-by: Mike West <[email protected]> Commit-Queue: Jochen Eisinger <[email protected]> Cr-Commit-Position: refs/heads/master@{#516666}
0da6dcdbe8e34740133773d20cc466b89d399d0a
chrome
bigvul
1
null
null
null
Create separate target for CastSysInfoAndroidThings for testing. Bug: internal b/120633112 Test: Ran unit tests Change-Id: Idbda6d8ff9b26db40b924dc1bf9d56ab331d4e8e Reviewed-on: https://chromium-review.googlesource.com/c/1366389 Reviewed-by: Simeon Anfinrud <[email protected]> Commit-Queue: Alex Leung <[email protected]> Cr-Commit-Position: refs/heads/master@{#615608}
61dea44cd66a9b8a0616ae74b18010ce377ae969
chrome
bigvul
1
null
null
null
TopSites: Clear thumbnails from the cache when their URLs get removed We already cleared the thumbnails from persistent storage, but they remained in the in-memory cache, so they remained accessible (until the next Chrome restart) even after all browsing data was cleared. Bug: 758169 Change-Id: Id916d22358430a82e6d5043ac04fa463a32f824f Reviewed-on: https://chromium-review.googlesource.com/758640 Commit-Queue: Marc Treib <[email protected]> Reviewed-by: Sylvain Defresne <[email protected]> Cr-Commit-Position: refs/heads/master@{#514861}
6c6888565ff1fde9ef21ef17c27ad4c8304643d2
chrome
bigvul
1
null
null
null
Validate frame after conversion in chrome.send BUG=797511 TEST=Manually, see https://crbug.com/797511#c1 Change-Id: Ib1a99db4d7648fb1325eb6d7af4ef111d6dda4cb Reviewed-on: https://chromium-review.googlesource.com/844076 Commit-Queue: Rob Wu <[email protected]> Reviewed-by: Kentaro Hara <[email protected]> Cr-Commit-Position: refs/heads/master@{#526197}
90585e657db48f93bd73bc45d4caa975323da41b
chrome
bigvul
1
null
null
null
Blockfile cache: fix long-standing sparse + evict reentrancy problem Thanks to nedwilliamson@ (on gmail) for an alternative perspective plus a reduction to make fixing this much easier. Bug: 826626, 518908, 537063, 802886 Change-Id: Ibfa01416f9a8e7f7b361e4f93b4b6b134728b85f Reviewed-on: https://chromium-review.googlesource.com/985052 Reviewed-by: Matt Menke <[email protected]> Commit-Queue: Maks Orlovich <[email protected]> Cr-Commit-Position: refs/heads/master@{#547103}
df5b1e1f88e013bc96107cc52c4a4f33a8238444
chrome
bigvul
1
null
null
null
[MemCache] Fix bug while iterating LRU list in eviction It was possible to reanalyze a previously doomed entry. Bug: 827492 Change-Id: I5d34d2ae87c96e0d2099e926e6eb2c1b30b01d63 Reviewed-on: https://chromium-review.googlesource.com/987919 Commit-Queue: Josh Karlin <[email protected]> Reviewed-by: Maks Orlovich <[email protected]> Cr-Commit-Position: refs/heads/master@{#547236}
c9d673b54832afde658f214d7da7d0453fa89774
chrome
bigvul
1
null
null
null
Copy visible_pages_ when iterating over it. On this case, a call inside the loop may cause visible_pages_ to change. Bug: 822091 Change-Id: I41b0715faa6fe3e39203cd9142cf5ea38e59aefb Reviewed-on: https://chromium-review.googlesource.com/964592 Reviewed-by: dsinclair <[email protected]> Commit-Queue: Henrique Nakashima <[email protected]> Cr-Commit-Position: refs/heads/master@{#543494}
94b3728a2836da335a10085d4089c9d8e1c9d225
chrome
bigvul
1
null
null
null
Skip Service workers in requests for mime handler plugins BUG=808838 TEST=./browser_tests --gtest_filter=*/ServiceWorkerTest.MimeHandlerView* Cq-Include-Trybots: master.tryserver.chromium.linux:linux_mojo Change-Id: I82e75c200091babbab648a04232db47e2938d914 Reviewed-on: https://chromium-review.googlesource.com/914150 Commit-Queue: Rob Wu <[email protected]> Reviewed-by: Istiaque Ahmed <[email protected]> Reviewed-by: Matt Falkenhagen <[email protected]> Cr-Commit-Position: refs/heads/master@{#537386}
e89b9003df8c7bd7822e5b6c0a76e726a6ed1505
chrome
bigvul
1
null
null
null
service worker: Disable interception when OBJECT/EMBED uses ImageLoader. Per the specification, service worker should not intercept requests for OBJECT/EMBED elements. R=kinuko Bug: 771933 Change-Id: Ia6da6107dc5c68aa2c2efffde14bd2c51251fbd4 Reviewed-on: https://chromium-review.googlesource.com/927303 Reviewed-by: Kinuko Yasuda <[email protected]> Commit-Queue: Matt Falkenhagen <[email protected]> Cr-Commit-Position: refs/heads/master@{#538027}
59ad2dcbe6dd5c5d846944258e6cd26a700ade83
chrome
bigvul
1
null
null
null
service worker: Add tests for canvas tainting from video. R=horo Bug: 780435 Change-Id: Ie8ae9cf8dca55f122a7b4a984ca0a96035b0099f Reviewed-on: https://chromium-review.googlesource.com/892683 Reviewed-by: Tsuyoshi Horo <[email protected]> Commit-Queue: Matt Falkenhagen <[email protected]> Cr-Commit-Position: refs/heads/master@{#532814}
b52069772cb2dfc046c92354522e1d9d1f04843b
chrome
bigvul
1
null
null
null
Call HeapObjectHeader::checkHeader solely for its side-effect. This requires changing its signature. This is a preliminary stage to making it private. BUG=633030 Review-Url: https://codereview.chromium.org/2698673003 Cr-Commit-Position: refs/heads/master@{#460489}
0749ec24fae74ec32d0567eef0e5ec43c84dbcb9
chrome
bigvul
1
null
null
null
Mac: Prevent a held-down Enter key from closing the Open File dialog Bug: 637098 Change-Id: I18ddab35db1ff3155b847576880de4df4e1290ba Reviewed-on: https://chromium-review.googlesource.com/875522 Reviewed-by: Avi Drissman <[email protected]> Commit-Queue: Trent Apted <[email protected]> Cr-Commit-Position: refs/heads/master@{#531035}
31f50deaacf54de542d01c557cf9f01cab4aa154
chrome
bigvul
1
null
null
null
If a page calls |window.focus()|, kick it out of fullscreen. BUG=776418, 800056 Change-Id: I1880fe600e4814c073f247c43b1c1ac80c8fc017 Reviewed-on: https://chromium-review.googlesource.com/852378 Reviewed-by: Nasko Oskov <[email protected]> Reviewed-by: Philip Jägenstedt <[email protected]> Commit-Queue: Avi Drissman <[email protected]> Cr-Commit-Position: refs/heads/master@{#533790}
36f801fdbec07d116a6f4f07bb363f10897d6a51
chrome
bigvul
1
null
null
null
[Mac] Fix Fullscreen Spoofing Issue on 10.13 On 10.13, -didEnteredFullscreen: is called before the fullscreen transition actually gets finished. As a result, AppKit ignores -toggleFullscreen: inside that runloop and will print "not in a fullscreen state". To fix this issue, call -toggleFullscreen: asynchronously. Bug: 806162 Change-Id: If0d3559c68bfb38ba70da86894f1231f976ee403 Reviewed-on: https://chromium-review.googlesource.com/909080 Reviewed-by: Avi Drissman <[email protected]> Commit-Queue: Sarah Chan <[email protected]> Cr-Commit-Position: refs/heads/master@{#535506}
a390da5e987c936ca7785d948c635ea67da02552
chrome
bigvul
1
null
null
null
Restrict Latin Small Letter Thorn (U+00FE) to Icelandic domains This character (þ) can be confused with both b and p when used in a domain name. IDN spoof checker doesn't have a good way of flagging a character as confusable with multiple characters, so it can't catch spoofs containing this character. As a practical fix, this CL restricts this character to domains under Iceland's ccTLD (.is). With this change, a domain name containing "þ" with a non-.is TLD will be displayed in punycode in the UI. This change affects less than 10 real world domains with limited popularity. Bug: 798892, 843352, 904327, 1017707 Change-Id: Ib07190dcde406bf62ce4413688a4fb4859a51030 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1879992 Commit-Queue: Mustafa Emre Acer <[email protected]> Reviewed-by: Christopher Thompson <[email protected]> Cr-Commit-Position: refs/heads/master@{#709309}
cc0bbcbe7c986094da8e58c37a21fdd179b686b0
chrome
bigvul
1
null
null
null
service worker: Add tests for cross-origin WebVTT responses with redirects. This is a follow-up to: https://chromium-review.googlesource.com/c/chromium/src/+/907013 Tests only; the code seems to work. R=horo, kinuko Bug: 808825 Change-Id: I6b86a4dac159b754cfe5e6b92ac390c07de89ab3 Reviewed-on: https://chromium-review.googlesource.com/918261 Reviewed-by: Kinuko Yasuda <[email protected]> Commit-Queue: Matt Falkenhagen <[email protected]> Cr-Commit-Position: refs/heads/master@{#536679}
038e2d8e8775b6262ff5997b6f4a820702713106
chrome
bigvul
1
null
null
null
Add more entries to the confusability mapping U+014B (ŋ) => n U+1004 (င) => c U+100c (ဌ) => g U+1042 (၂) => j U+1054 (ၔ) => e Bug: 811117,808316 Test: components_unittests -gtest_filter=*IDN* Change-Id: I29f73c48d665bd9070050bd7f0080563635b9c63 Reviewed-on: https://chromium-review.googlesource.com/919423 Reviewed-by: Peter Kasting <[email protected]> Commit-Queue: Jungshik Shin <[email protected]> Cr-Commit-Position: refs/heads/master@{#536955}
37747f4a4972e6d44d3f956f8d3a63255ef0941a
chrome
bigvul
1
null
null
null
DevTools: check Host header for being IP or localhost when connecting over RDP. Bug: 813540 Change-Id: I9338aa2475c15090b8a60729be25502eb866efb7 Reviewed-on: https://chromium-review.googlesource.com/952522 Reviewed-by: Dmitry Gozman <[email protected]> Commit-Queue: Pavel Feldman <[email protected]> Cr-Commit-Position: refs/heads/master@{#541547}
ba1513223e47b62ed53b61518b7f7b82ad1d8ccd
chrome
bigvul
1
null
null
null
Add a few more entries to the confusables list for IDN U+04CA (ӊ) => h U+0E1F (ฟ) => w U+0E23 (ร) => s Bug: 813925, 813814 Test: components_unittests --gtest_filter=*IDN* Change-Id: If81ea9bf1c1729f1b6ffc71d718dc5950ac825b5 Reviewed-on: https://chromium-review.googlesource.com/927741 Reviewed-by: Peter Kasting <[email protected]> Commit-Queue: Jungshik Shin <[email protected]> Cr-Commit-Position: refs/heads/master@{#538159}
d52b8375cfe5b56194d3df09c18e7b64e5838369
chrome
bigvul
1
null
null
null
Fix MediaObserver notifications in MediaStreamManager. This CL fixes the stream type used to notify MediaObserver about cancelled MediaStream requests. Before this CL, NUM_MEDIA_TYPES was used as stream type to indicate that all stream types should be cancelled. However, the MediaObserver end does not interpret NUM_MEDIA_TYPES this way and the request to update the UI is ignored. This CL sends a separate notification for each stream type so that the UI actually gets updated for all stream types in use. Bug: 816033 Change-Id: Ib7d3b3046d1dd0976627f8ab38abf086eacc9405 Reviewed-on: https://chromium-review.googlesource.com/939630 Commit-Queue: Guido Urdaneta <[email protected]> Reviewed-by: Raymes Khoury <[email protected]> Cr-Commit-Position: refs/heads/master@{#540122}
12c876ae82355de6285bf0879023f1d1f1822ecf
chrome
bigvul
1
null
null
null
Add more to confusables list U+04FB (ӻ) to f U+050F (ԏ) to t U+050B (ԋ) and U+0527 (ԧ) to h U+0437(з) and U+04E1(ӡ) to 3 Add tests for the above entries and tests for ASCII-digit spoofing. Bug: 816769,820068 Test: components_unittests --gtest_filter=*IDN* Change-Id: I6cd0a7e97cd0ec2df522ce30f632acfd7b78eee2 Reviewed-on: https://chromium-review.googlesource.com/962875 Reviewed-by: Peter Kasting <[email protected]> Commit-Queue: Peter Kasting <[email protected]> Cr-Commit-Position: refs/heads/master@{#543600}
de9acc5cb3527da9173f01973d849bd47f91a9fd
chrome
bigvul
1
null
null
null
Map U+0454 (є) to 'e' (small E) Bug: 803571 Test: components_unittests --gtest_filter=*IDN* Change-Id: I8cc473d0e74208076a2aa17c1869d14bbfaa20ed Reviewed-on: https://chromium-review.googlesource.com/882006 Commit-Queue: Jungshik Shin <[email protected]> Reviewed-by: Peter Kasting <[email protected]> Cr-Commit-Position: refs/heads/master@{#531739}
2dff123516e9a637924990c9605f88b10244dc0d
chrome
bigvul
1
null
null
null
Add Virtual Keyboard bordered key experiment to chrome flag BUG: b/143232594 Change-Id: I76b160ad565649db32a21b984fbed1594b0ae6ec Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1875347 Reviewed-by: Scott Violet <[email protected]> Commit-Queue: My Nguyen <[email protected]> Cr-Commit-Position: refs/heads/master@{#710190}
614dbccf01bf1f94427782719672dc5af4d4eb63
chrome
bigvul
1
null
null
null
Revert "Don't sniff HTML from documents delivered via the file protocol" This reverts commit 3519e867dc606437f804561f889d7ed95b95876a. Reason for revert: crbug.com/786150. Application compatibility for Android WebView applications means we need to allow sniffing on that platform. Original change's description: > Don't sniff HTML from documents delivered via the file protocol > > To reduce attack surface, Chrome should not MIME-sniff to text/html for > any document delivered via the file protocol. This change only impacts > the file protocol (documents served via HTTP/HTTPS/etc are unaffected). > > Bug: 777737 > Cq-Include-Trybots: master.tryserver.chromium.android:android_cronet_tester;master.tryserver.chromium.mac:ios-simulator-cronet > Change-Id: I7086454356b8d2d092be9e1bca0f5ff6dd3b62c0 > Reviewed-on: https://chromium-review.googlesource.com/751402 > Reviewed-by: Ben Wells <[email protected]> > Reviewed-by: Sylvain Defresne <[email protected]> > Reviewed-by: Achuith Bhandarkar <[email protected]> > Reviewed-by: Asanka Herath <[email protected]> > Reviewed-by: Matt Menke <[email protected]> > Commit-Queue: Eric Lawrence <[email protected]> > Cr-Commit-Position: refs/heads/master@{#514372} [email protected],[email protected],[email protected],[email protected],[email protected],[email protected] # Not skipping CQ checks because original CL landed > 1 day ago. Bug: 777737 Change-Id: I864ae060ce3277d41ea257ae75e0b80c51f3ea98 Cq-Include-Trybots: master.tryserver.chromium.android:android_cronet_tester;master.tryserver.chromium.mac:ios-simulator-cronet Reviewed-on: https://chromium-review.googlesource.com/790790 Reviewed-by: Eric Lawrence <[email protected]> Reviewed-by: Matt Menke <[email protected]> Commit-Queue: Eric Lawrence <[email protected]> Cr-Commit-Position: refs/heads/master@{#519347}
9afc491d6d64d54bf01f526abcc3d8344d90fa42
chrome
bigvul
1
null
null
null
DevTools: speculative fix for crash in NetworkHandler::Disable This keeps BrowserContext* and StoragePartition* instead of RenderProcessHost* in an attemp to resolve UAF of RenderProcessHost upon closure of DevTools front-end. Bug: 801117, 783067, 780694 Change-Id: I6c2cca60cc0c29f0949d189cf918769059f80c1b Reviewed-on: https://chromium-review.googlesource.com/876657 Commit-Queue: Andrey Kosyakov <[email protected]> Reviewed-by: Dmitry Gozman <[email protected]> Cr-Commit-Position: refs/heads/master@{#531157}
3c8e4852477d5b1e2da877808c998dc57db9460f
chrome
bigvul
1
null
null
null
DevTools: ensure console links are always visible - The %c style formatter will not apply to links in console - Messages now have 'overflow: hidden' Screenshot: https://imgur.com/a/7tAj9 Bug: 798096 Change-Id: Ifc31314cec2a286e58ebb5625348f8dfe2827d6e Reviewed-on: https://chromium-review.googlesource.com/849650 Commit-Queue: Erik Luo <[email protected]> Reviewed-by: Dmitry Gozman <[email protected]> Cr-Commit-Position: refs/heads/master@{#527501}
38391374b79c006e85e3b9c912267a8d4daaa7cc
chrome
bigvul
1
null
null
null
Change post request to get in didReceiveServerRedirectForProvisionalNavigation. This was copied from UpdatePendingItemUrl method which will be removed in a separate CL. Also reset _lastTransferTimeInSeconds for server redirects. Bug: 805900 Cq-Include-Trybots: master.tryserver.chromium.mac:ios-simulator-cronet;master.tryserver.chromium.mac:ios-simulator-full-configs Change-Id: I79f846c9d4777fc45abff220632a7afc80819d0a Reviewed-on: https://chromium-review.googlesource.com/914129 Commit-Queue: Eugene But <[email protected]> Reviewed-by: Danyao Wang <[email protected]> Cr-Commit-Position: refs/heads/master@{#536869}
03a75113ce67157d31d9743ab7440939271d30cc
chrome
bigvul
1
null
null
null
Use correct Request Context when EMBED or OBJECT requests an image When an OBJECT or EMBED element requests an image, it does so using an ImageLoader. To ensure that Content-Security-Policy restrictions are applied correctly in this scenario, we must adjust the request's context to indicate the originating element. Bug: 811691 Change-Id: I0fd8010970a12e68e845a54310695acc0b3f7625 Reviewed-on: https://chromium-review.googlesource.com/924589 Commit-Queue: Eric Lawrence <[email protected]> Reviewed-by: Mike West <[email protected]> Cr-Commit-Position: refs/heads/master@{#537846}
e56aee6473486fdfac0429747284fda7cdd3aae5
chrome
bigvul
1
null
null
null
Remove use of SEE_MASK_FLAG_NO_UI from Chrome Windows installer. This flag was originally added to ui::base::win to suppress a specific error message when attempting to open a file via the shell using the "open" verb. The flag has additional side-effects and shouldn't be used when invoking ShellExecute(). [email protected] Bug: 819809 Change-Id: I7db2344982dd206c85a73928e906c21e06a47a9e Reviewed-on: https://chromium-review.googlesource.com/966964 Commit-Queue: Greg Thompson <[email protected]> Reviewed-by: Greg Thompson <[email protected]> Cr-Commit-Position: refs/heads/master@{#544012}
bd0fde2518644eea1cc53a01e3e3cce1c70e7157
chrome
bigvul
1
null
null
null
[md-settings] Clarify Password Saving and Autofill Toggles This change clarifies the wording around the password saving and autofill toggles. Bug: 822465 Cq-Include-Trybots: master.tryserver.chromium.linux:closure_compilation Change-Id: I91b31fe61cd0754239f7908e8c04c7e69b72f670 Reviewed-on: https://chromium-review.googlesource.com/970541 Commit-Queue: Jan Wilken Dörrie <[email protected]> Reviewed-by: Vaclav Brozek <[email protected]> Reviewed-by: Jochen Eisinger <[email protected]> Cr-Commit-Position: refs/heads/master@{#544661}
52f6eb4221430b6248fd5a59bec53bfef9fdd9a7
chrome
bigvul
1
null
null
null
Remove dead test cases in webrtc benchmark Bug:468732 These test cases have been failing completely for a long time now. Remove them to clean up code debt. Change-Id: I1743df497809a21ecda23b256691ccde9ecb953a Reviewed-on: https://chromium-review.googlesource.com/833889 Reviewed-by: Patrik Höglund <[email protected]> Commit-Queue: Ned Nguyen <[email protected]> Cr-Commit-Position: refs/heads/master@{#525026}
400d1f74ad5739f1dff066f1caccd5e24944851f
chrome
bigvul
1
null
null
null
Rewrite getUseMedia calls to use promises. This removes many uses of waitForVideo() etc. and makes the control flow of the test clearer. Instead of having the all-events-occurred handler magically calling reportTestSuccess, it's laid out explicitly in each test. Bug: chromium:777857 Change-Id: I034d8950f764df607069b3e4b5ce6baeb46eab9b Reviewed-on: https://chromium-review.googlesource.com/758848 Commit-Queue: Patrik Höglund <[email protected]> Reviewed-by: Guido Urdaneta <[email protected]> Cr-Commit-Position: refs/heads/master@{#515917}
674733a38d32b51dbc4b054dcc3495027164ded2
chrome
bigvul
1
null
null
null
Fix crash in WebFaviconDriver::OnFaviconDeleted. Followup to https://chromium-review.googlesource.com/758863 that forgot to fix one use of web_state(). This fix a crash in WebFaviconDriver::OnFaviconDeleted. Bug: 775684 Change-Id: I08910c647de2595606644136b5ab080e0e9e7300 Cq-Include-Trybots: master.tryserver.chromium.mac:ios-simulator-cronet;master.tryserver.chromium.mac:ios-simulator-full-configs Reviewed-on: https://chromium-review.googlesource.com/771651 Reviewed-by: Gauthier Ambard <[email protected]> Commit-Queue: Sylvain Defresne <[email protected]> Cr-Commit-Position: refs/heads/master@{#516674}
9b9f4d8120bb85c926b6e8ebe557633b2e66e3c2
chrome
bigvul
1
null
null
null
Revert "Keep AudioHandlers alive until they can be safely deleted." This reverts commit 071df33edf2c8b4375fa432a83953359f93ea9e4. Reason for revert: This CL seems to cause an AudioNode leak on the Linux leak bot. The log is: https://ci.chromium.org/buildbot/chromium.webkit/WebKit%20Linux%20Trusty%20Leak/14252 * webaudio/AudioNode/audionode-connect-method-chaining.html * webaudio/Panner/pannernode-basic.html * webaudio/dom-exceptions.html Original change's description: > Keep AudioHandlers alive until they can be safely deleted. > > When an AudioNode is disposed, the handler is also disposed. But add > the handler to the orphan list so that the handler stays alive until > the context can safely delete it. If we don't do this, the handler > may get deleted while the audio thread is processing the handler (due > to, say, channel count changes and such). > > For an realtime context, always save the handler just in case the > audio thread is running after the context is marked as closed (because > the audio thread doesn't instantly stop when requested). > > For an offline context, only need to do this when the context is > running because the context is guaranteed to be stopped if we're not > in the running state. Hence, there's no possibility of deleting the > handler while the graph is running. > > This is a revert of > https://chromium-review.googlesource.com/c/chromium/src/+/860779, with > a fix for the leak. > > Bug: 780919 > Change-Id: Ifb6b5fcf3fbc373f5779256688731245771da33c > Reviewed-on: https://chromium-review.googlesource.com/862723 > Reviewed-by: Hongchan Choi <[email protected]> > Commit-Queue: Raymond Toy <[email protected]> > Cr-Commit-Position: refs/heads/master@{#528829} [email protected],[email protected] Change-Id: Ibf406bf6ed34ea1f03e86a64a1e5ba6de0970c6f No-Presubmit: true No-Tree-Checks: true No-Try: true Bug: 780919 Reviewed-on: https://chromium-review.googlesource.com/863402 Reviewed-by: Taiju Tsuiki <[email protected]> Commit-Queue: Taiju Tsuiki <[email protected]> Cr-Commit-Position: refs/heads/master@{#528888}
fd6a5115103b3e6a52ce15858c5ad4956df29300
chrome
bigvul
1
null
null
null
vaapi vda: Delete owned objects on worker thread in Cleanup() This CL adds a SEQUENCE_CHECKER to Vaapi*Accelerator classes, and posts the destruction of those objects to the appropriate thread on Cleanup(). Also makes {H264,VP8,VP9}Picture RefCountedThreadSafe, see miu@ comment in https://chromium-review.googlesource.com/c/chromium/src/+/794091#message-a64bed985cfaf8a19499a517bb110a7ce581dc0f TEST=play back VP9/VP8/H264 w/ simplechrome on soraka, Release build unstripped, let video play for a few seconds then navigate back; no crashes. Unittests as before: video_decode_accelerator_unittest --test_video_data=test-25fps.vp9:320:240:250:250:35:150:12 video_decode_accelerator_unittest --test_video_data=test-25fps.vp8:320:240:250:250:35:150:11 video_decode_accelerator_unittest --test_video_data=test-25fps.h264:320:240:250:258:35:150:1 Bug: 789160 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 Change-Id: I7d96aaf89c92bf46f00c8b8b36798e057a842ed2 Reviewed-on: https://chromium-review.googlesource.com/794091 Reviewed-by: Pawel Osciak <[email protected]> Commit-Queue: Miguel Casas <[email protected]> Cr-Commit-Position: refs/heads/master@{#523372}
70340ce072cee8a0bdcddb5f312d32567b2269f6
chrome
bigvul
1
null
null
null
android: Fix sensors in device service. This patch fixes a bug that prevented more than one sensor data to be available at once when using the device motion/orientation API. The issue was introduced by this other patch [1] which fixed some security-related issues in the way shared memory region handles are managed throughout Chromium (more details at https://crbug.com/789959). The device service´s sensor implementation doesn´t work correctly because it assumes it is possible to create a writable mapping of a given shared memory region at any time. This assumption is not correct on Android, once an Ashmem region has been turned read-only, such mappings are no longer possible. To fix the implementation, this CL changes the following: - PlatformSensor used to require moving a mojo::ScopedSharedBufferMapping into the newly-created instance. Said mapping being owned by and destroyed with the PlatformSensor instance. With this patch, the constructor instead takes a single pointer to the corresponding SensorReadingSharedBuffer, i.e. the area in memory where the sensor-specific reading data is located, and can be either updated or read-from. Note that the PlatformSensor does not own the mapping anymore. - PlatformSensorProviderBase holds the *single* writable mapping that is used to store all SensorReadingSharedBuffer buffers. It is created just after the region itself, and thus can be used even after the region's access mode has been changed to read-only. Addresses within the mapping will be passed to PlatformSensor constructors, computed from the mapping's base address plus a sensor-specific offset. The mapping is now owned by the PlatformSensorProviderBase instance. Note that, security-wise, nothing changes, because all mojo::ScopedSharedBufferMapping before the patch actually pointed to the same writable-page in memory anyway. Since unit or integration tests didn't catch the regression when [1] was submitted, this patch was tested manually by running a newly-built Chrome apk in the Android emulator and on a real device running Android O. [1] https://chromium-review.googlesource.com/c/chromium/src/+/805238 BUG=805146 [email protected],[email protected],[email protected],[email protected] Change-Id: I7d60a1cad278f48c361d2ece5a90de10eb082b44 Reviewed-on: https://chromium-review.googlesource.com/891180 Commit-Queue: David Turner <[email protected]> Reviewed-by: Reilly Grant <[email protected]> Reviewed-by: Matthew Cary <[email protected]> Reviewed-by: Alexandr Ilin <[email protected]> Cr-Commit-Position: refs/heads/master@{#532607}
c0c8978849ac57e4ecd613ddc8ff7852a2054734
chrome
bigvul
1
null
null
null
Correct mojo::WrapSharedMemoryHandle usage Fixes some incorrect uses of mojo::WrapSharedMemoryHandle which were assuming that the call actually has any control over the memory protection applied to a handle when mapped. Where fixing usage is infeasible for this CL, TODOs are added to annotate follow-up work. Also updates the API and documentation to (hopefully) improve clarity and avoid similar mistakes from being made in the future. BUG=792900 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 Change-Id: I0578aaa9ca3bfcb01aaf2451315d1ede95458477 Reviewed-on: https://chromium-review.googlesource.com/818282 Reviewed-by: Wei Li <[email protected]> Reviewed-by: Lei Zhang <[email protected]> Reviewed-by: John Abd-El-Malek <[email protected]> Reviewed-by: Daniel Cheng <[email protected]> Reviewed-by: Sadrul Chowdhury <[email protected]> Reviewed-by: Yuzhu Shen <[email protected]> Reviewed-by: Robert Sesek <[email protected]> Commit-Queue: Ken Rockot <[email protected]> Cr-Commit-Position: refs/heads/master@{#530268}
673ce95d481ea9368c4d4d43ac756ba1d6d9e608
chrome
bigvul
1
null
null
null
Check CORS using PassesAccessControlCheck() with supplied SecurityOrigin Partial revert of https://chromium-review.googlesource.com/535694. Bug: 799477 Change-Id: I878bb9bcb83afaafe8601293db9aa644fc5929b3 Reviewed-on: https://chromium-review.googlesource.com/898427 Commit-Queue: Hiroshige Hayashizaki <[email protected]> Reviewed-by: Kouhei Ueno <[email protected]> Reviewed-by: Yutaka Hirano <[email protected]> Reviewed-by: Takeshi Yoshino <[email protected]> Cr-Commit-Position: refs/heads/master@{#535176}
fad67a5b73639d7211b24fd9bdb242e82039b765
chrome
bigvul
1
null
null
null
Update IPC ParamTraits for SkBitmap to follow best practices. Using memcpy() to serialize a POD struct is highly discouraged. Just use the standard IPC param traits macros for doing it. Bug: 779428 Change-Id: I48f52c1f5c245ba274d595829ed92e8b3cb41334 Reviewed-on: https://chromium-review.googlesource.com/899649 Reviewed-by: Tom Sepez <[email protected]> Commit-Queue: Daniel Cheng <[email protected]> Cr-Commit-Position: refs/heads/master@{#534562}
9fe6e9f89a1c78b8b38e806d35651a15858b053b
chrome
bigvul
1
null
null
null
🖿🔬 Move tab observation from LayoutManagerChrome to LayoutManager. This ensures that all activities using a LayoutManager observe the necessary tab events (not just ChromeTabbedActivity), and allows removing the CustomTabLayoutManager, which used to observe only a subset of events. Bug: 798933 Change-Id: I20242ba89fc058256adeddfdc42260c0220a9fe8 Reviewed-on: https://chromium-review.googlesource.com/904982 Commit-Queue: Bernhard Bauer <[email protected]> Reviewed-by: Matthew Jones <[email protected]> Reviewed-by: Yusuf Ozuysal <[email protected]> Cr-Commit-Position: refs/heads/master@{#535351}
371ba40daa4b7c34912b02e0288e165ae2043a93
chrome
bigvul
1
null
null
null
Move Initialize() to VaapiImageDecoder parent class. This CL moves the implementation of Initialize() to VaapiImageDecoder, since it is common to all implementing classes. Bug: 877694 Test: jpeg_decode_accelerator_unittest Change-Id: Ic99601953ae1c7a572ba8a0b0bf43675b2b0969d Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1654249 Commit-Queue: Gil Dekel <[email protected]> Reviewed-by: Andres Calderon Jaramillo <[email protected]> Reviewed-by: Miguel Casas <[email protected]> Cr-Commit-Position: refs/heads/master@{#668645}
f283cdf7c850f3db923a5303c7e01bd929d4117f
chrome
bigvul
1
null
null
null
Roll src/third_party/pdfium/ 12ec6760a..c45271e05 (3 commits) https://pdfium.googlesource.com/pdfium.git/+log/12ec6760afd9..c45271e053c8 $ git log 12ec6760a..c45271e05 --date=short --no-merges --format='%ad %ae %s' 2017-12-05 thestig Remove redundant field in struct FXCMAP_CMap. 2017-12-05 thestig Fix CXFA_SimpleParser member destruction order. 2017-12-05 thestig Avoid integer overflows in CPDF_FixedMatrix::Transform(). Created with: roll-dep src/third_party/pdfium BUG=791616,791048 The AutoRoll server is located here: https://pdfium-roll.skia.org Documentation for the AutoRoller is here: https://skia.googlesource.com/buildbot/+/master/autoroll/README.md If the roll is causing failures, please contact the current sheriff, who should be CC'd on the roll, and stop the roller if necessary. [email protected] Change-Id: Id9a3a2c72218d95099dc5a350d51e2050758e565 Reviewed-on: https://chromium-review.googlesource.com/809312 Reviewed-by: <[email protected]> Commit-Queue: <[email protected]> Cr-Commit-Position: refs/heads/master@{#521848}
574b1c70e4a094b8257994a1c21a7d86ec037f9a
chrome
bigvul
1
null
null
null
Roll WebGL aef0b3a..7c0541d https://chromium.googlesource.com/external/khronosgroup/webgl.git/+log/aef0b3a..7c0541d Bug: 804118, 818336, 828262, angleproject:2381 Tbr: [email protected], [email protected], [email protected] Cq-Include-Trybots: luci.chromium.try:win_optional_gpu_tests_rel;luci.chromium.try:mac_optional_gpu_tests_rel;luci.chromium.try:linux_optional_gpu_tests_rel;luci.chromium.try:android_optional_gpu_tests_rel;luci.chromium.try:linux_angle_rel_ng;luci.chromium.try:win_angle_rel_ng Change-Id: I28b3d55e43f5633ffe4c8cd6e7e375dd2fba2b9b Reviewed-on: https://chromium-review.googlesource.com/1010910 Reviewed-by: Kenneth Russell <[email protected]> Commit-Queue: Kenneth Russell <[email protected]> Cr-Commit-Position: refs/heads/master@{#550408}
d5fd79c66c041e669cb7cc0d0a41dbcdac886649
chrome
bigvul
1
null
null
null
DevTools: allow styling the page number element when printing over the protocol. Bug: none Change-Id: I13e6afbd86a7c6bcdedbf0645183194b9de7cfb4 Reviewed-on: https://chromium-review.googlesource.com/809759 Commit-Queue: Pavel Feldman <[email protected]> Reviewed-by: Lei Zhang <[email protected]> Reviewed-by: Tom Sepez <[email protected]> Reviewed-by: Jianzhou Feng <[email protected]> Cr-Commit-Position: refs/heads/master@{#523966}
c59ad14fc61393a50b2ca3e89c7ecaba7028c4c4
chrome
bigvul
1
null
null
null
[mojo-bindings] JS lite union and FlushForTesting Adds a |flushForTesting()| method to generated interface proxies. This requires use of interface control message bindings, which in turn requires union support. So union support is added here as well. Finally, this also required compiling the interface control message bindings into the mojo_bindings_lite.js binary, so some minimal changes were made to generated JS code to make it compiler-friendly. Net code size increase of about 2kB. Bug: 849993 Change-Id: Id44d2d0e5e85693937f5bcd5419429766d25e062 Reviewed-on: https://chromium-review.googlesource.com/c/1336065 Commit-Queue: Ken Rockot <[email protected]> Reviewed-by: calamity <[email protected]> Cr-Commit-Position: refs/heads/master@{#608669}
39f676e6d2817c5b85d1a8ef9ba0f96cd4a970b1
chrome
bigvul
1
null
null
null
Percent-encode UTF8 characters in URL fragment identifiers. This brings us into line with Firefox, Safari, and the spec. Bug: 758523 Change-Id: I7e354ab441222d9fd08e45f0e70f91ad4e35fafe Reviewed-on: https://chromium-review.googlesource.com/668363 Commit-Queue: Mike West <[email protected]> Reviewed-by: Jochen Eisinger <[email protected]> Reviewed-by: Andy Paicu <[email protected]> Cr-Commit-Position: refs/heads/master@{#507481}
f8f6ed59949be4451ee2f5443d8a313f102fde60
chrome
bigvul
1
null
null
null
[PE] Distinguish between tainting due to canvas content and filter. A filter on a canvas can itself lead to origin tainting, for reasons other than that the canvas contents are tainted. This CL changes to distinguish these two causes, so that we recompute filters on content-tainting change. Bug: 778506 Change-Id: I3cec8ef3b2772f2af78cdd4b290520113092cca6 Reviewed-on: https://chromium-review.googlesource.com/811767 Reviewed-by: Fredrik Söderquist <[email protected]> Commit-Queue: Chris Harrelson <[email protected]> Cr-Commit-Position: refs/heads/master@{#522274}
6ed26f014f76f10e76e80636027a2db9dcbe1664
chrome
bigvul
1
null
null
null
Add more confusable character map entries When comparing domain names with top 10k domain names for confusability, characters with diacritics are decomposed into base + diacritic marks (Unicode Normalization Form D) and diacritics are dropped before calculating the confusability skeleton because two characters with and without a diacritics is NOT regarded as confusable. However, there are a dozen of characters (most of them are Cyrillic) with a diacritic-like mark attached but they are not decomposed into base + diacritics by NFD (e.g. U+049B, қ; Cyrillic Small Letter Ka with Descender). This CL treats them the same way as their "base" characters. For instance, қ (U+049B) is treated as confusable with Latin k because к (U+043A; Cyrillic Small Letter Ka) is. They're curated from the following sets: [:IdentifierStatus=Allowed:] & [:Ll:] & [[:sc=Cyrillic:] - [[\u01cd-\u01dc][\u1c80-\u1c8f][\u1e00-\u1e9b][\u1f00-\u1fff] [\ua640-\ua69f][\ua720-\ua7ff]]] & [:NFD_Inert=Yes:] [:IdentifierStatus=Allowed:] & [:Ll:] & [[:sc=Latin:] - [[\u01cd-\u01dc][\u1e00-\u1e9b][\ua720-\ua7ff]]] & [:NFD_Inert=Yes:] [:IdentifierStatus=Allowed:] & [:Ll:] & [[:sc=Greek:]] & [:NFD_Inert=Yes:] Bug: 793628,798892 Test: components_unittests --gtest_filter=*IDN* Change-Id: I20c6af13defa295f6952f33d75987e87ce1853d0 Reviewed-on: https://chromium-review.googlesource.com/860567 Commit-Queue: Jungshik Shin <[email protected]> Reviewed-by: Eric Lawrence <[email protected]> Reviewed-by: Peter Kasting <[email protected]> Cr-Commit-Position: refs/heads/master@{#529129}
fe3c71592ccc6fd6f3909215e326ffc8fe0c35ce
chrome
bigvul
1
null
null
null
Fix tabs sharing TEXTURE_2D_ARRAY/TEXTURE_3D data. In linux and android, we are seeing an issue where texture data from one tab overwrites the texture data of another tab. This is happening for apps which are using webgl2 texture of type TEXTURE_2D_ARRAY/TEXTURE_3D. Due to a bug in virtual context save/restore code for above texture formats, the texture data is not properly restored while switching tabs. Hence texture data from one tab overwrites other. This CL has fix for that issue, an update for existing test expectations and a new unit test for this bug. Bug: 788448 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 Change-Id: Ie933984cdd2d1381f42eb4638f730c8245207a28 Reviewed-on: https://chromium-review.googlesource.com/930327 Reviewed-by: Zhenyao Mo <[email protected]> Commit-Queue: vikas soni <[email protected]> Cr-Commit-Position: refs/heads/master@{#539111}
d128139d53e9268e87921e82d89b3f2053cb83fd
chrome
bigvul
1
null
null
null
memory-infra: split up memory-infra coordinator service into two This allows for heap profiler to use its own service with correct capabilities and all other instances to use the existing coordinator service. Bug: 792028 Change-Id: I84e4ec71f5f1d00991c0516b1424ce7334bcd3cd Reviewed-on: https://chromium-review.googlesource.com/836896 Commit-Queue: Lalit Maganti <[email protected]> Reviewed-by: Daniel Cheng <[email protected]> Reviewed-by: oysteine <[email protected]> Reviewed-by: Albert J. Wong <[email protected]> Reviewed-by: Hector Dearman <[email protected]> Cr-Commit-Position: refs/heads/master@{#529059}
b44e68087804e6543a99c87076ab7648d11d9b07
chrome
bigvul
1
null
null
null
Fix XSS in supervised user interstitial BUG=797525 Change-Id: Ib5cfa732b0f4de8645031c0166e4d67633a65c93 Reviewed-on: https://chromium-review.googlesource.com/844075 Reviewed-by: Bernhard Bauer <[email protected]> Commit-Queue: Rob Wu <[email protected]> Cr-Commit-Position: refs/heads/master@{#526158}
a296eff269063ef8daa7cdacf4483d3993214a1b
chrome
bigvul
1
null
null
null
Remove port 22 from the set of allowed FTP ports. The collision with SSH ports caused some possible concerns with being able to enumerate internal hosts. Analysis shows that Internet hosts supporting FTP over port 22 are a small fraction, and likely not accessed over the web. Bug: 767354 Change-Id: I8958b4cc818b34127fd739d2dea58f498fb073c0 Reviewed-on: https://chromium-review.googlesource.com/860753 Reviewed-by: Matt Menke <[email protected]> Commit-Queue: Christopher Thompson <[email protected]> Cr-Commit-Position: refs/heads/master@{#528461}
112756ed920162dcb74660b0bed57a3f559710c8
chrome
bigvul
1
null
null
null
Fail the web app manifest fetch if the document is sandboxed. This ensures that sandboxed pages are regarded as non-PWAs, and that other features in the browser process which trust the web manifest do not receive the manifest at all if the document itself cannot access the manifest. BUG=771709 Change-Id: Ifd4d00c2fccff8cc0e5e8d2457bd55b992b0a8f4 Reviewed-on: https://chromium-review.googlesource.com/866529 Commit-Queue: Dominick Ng <[email protected]> Reviewed-by: Mounir Lamouri <[email protected]> Reviewed-by: Mike West <[email protected]> Cr-Commit-Position: refs/heads/master@{#531121}
ffac0ee4b8b00944e2ddf23f7f4f55daff3c117e
chrome
bigvul
1
null
null
null
Fix OOB Write in QuicStreamSequencerBuffer::OnStreamData BUG=778505 Cq-Include-Trybots: master.tryserver.chromium.android:android_cronet_tester;master.tryserver.chromium.mac:ios-simulator-cronet Change-Id: I1dfd1d26a2c7ee8fe047f7fe6e4ac2e9b97efa52 Reviewed-on: https://chromium-review.googlesource.com/748282 Commit-Queue: Ryan Hamilton <[email protected]> Reviewed-by: Zhongyi Shi <[email protected]> Cr-Commit-Position: refs/heads/master@{#513144}
a96567f02a0881561c964e5c11afe9c1af17a5f7
chrome
bigvul
1
null
null
null
Roll src/third_party/pdfium/ 131c0eb2e..56ec0818c (1 commit) https://pdfium.googlesource.com/pdfium.git/+log/131c0eb2e34e..56ec0818c3ed $ git log 131c0eb2e..56ec0818c --date=short --no-merges --format='%ad %ae %s' 2017-09-11 palmer Use the right allocate and free functions in OpenJPEG. Created with: roll-dep src/third_party/pdfium BUG=762374 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 [email protected] Change-Id: Id0d43903dbc84611c3aaae9e28ca65896cf40de0 Reviewed-on: https://chromium-review.googlesource.com/660679 Reviewed-by: <[email protected]> Commit-Queue: <[email protected]> Cr-Commit-Position: refs/heads/master@{#501040}
55dc1f8189d76c7ed7d9d3878c22c08e300669e3
chrome
bigvul
1
null
null
null
Roll src/third_party/skia/ cfbbcbe52..a83b903b6 (4 commits) https://skia.googlesource.com/skia.git/+log/cfbbcbe52624..a83b903b601a $ git log cfbbcbe52..a83b903b6 --date=short --no-merges --format='%ad %ae %s' 2017-09-21 angle-deps-roller Roll skia/third_party/externals/angle2/ d48261595..f32cd0b78 (1 commit) 2017-09-21 mtklein ok, add via_skp 2017-09-21 angle-deps-roller Roll skia/third_party/externals/angle2/ 1f9d68437..d48261595 (1 commit) 2017-09-21 herb Remove unsafe align4 call Created with: roll-dep src/third_party/skia BUG=763972 Documentation for the AutoRoller is here: https://skia.googlesource.com/buildbot/+/master/autoroll/README.md If the roll is causing failures, see: http://www.chromium.org/developers/tree-sheriffs/sheriff-details-chromium#TOC-Failures-due-to-DEPS-rolls CQ_INCLUDE_TRYBOTS=master.tryserver.blink:linux_trusty_blink_rel;master.tryserver.chromium.linux:linux_optional_gpu_tests_rel;master.tryserver.chromium.mac:mac_optional_gpu_tests_rel;master.tryserver.chromium.win:win_optional_gpu_tests_rel;master.tryserver.chromium.android:android_optional_gpu_tests_rel [email protected] Change-Id: I68df7307985eac3dd532e134701f0ef14ab3b63f Reviewed-on: https://chromium-review.googlesource.com/677856 Reviewed-by: Skia Deps Roller <[email protected]> Commit-Queue: Skia Deps Roller <[email protected]> Cr-Commit-Position: refs/heads/master@{#503640}
514364c76cf143604cb3184c13cee4dc404ebfa3
chrome
bigvul
1
null
null
null
[Reland #1] Add Android OOP HP end-to-end tests. The original CL added a javatest and its dependencies to the apk_under_test. This causes the dependencies to be stripped from the instrumentation_apk, which causes issue. This CL updates the build configuration so that the javatest and its dependencies are only added to the instrumentation_apk. This is a reland of e0b4355f0651adb1ebc2c513dc4410471af712f5 Original change's description: > Add Android OOP HP end-to-end tests. > > This CL has three components: > 1) The bulk of the logic in OOP HP was refactored into ProfilingTestDriver. > 2) Adds a java instrumentation test, along with a JNI shim that forwards into > ProfilingTestDriver. > 3) Creates a new apk: chrome_public_apk_for_test that contains the same > content as chrome_public_apk, as well as native files needed for (2). > chrome_public_apk_test now targets chrome_public_apk_for_test instead of > chrome_public_apk. > > Other ideas, discarded: > * Originally, I attempted to make the browser_tests target runnable on > Android. The primary problem is that native test harness cannot fork > or spawn processes. This is difficult to solve. > > More details on each of the components: > (1) ProfilingTestDriver > * The TracingController test was migrated to use ProfilingTestDriver, but the > write-to-file test was left as-is. The latter behavior will likely be phased > out, but I'll clean that up in a future CL. > * gtest isn't supported for Android instrumentation tests. ProfilingTestDriver > has a single function RunTest that returns a 'bool' indicating success. On > failure, the class uses LOG(ERROR) to print the nature of the error. This will > cause the error to be printed out on browser_test error. On instrumentation > test failure, the error will be forwarded to logcat, which is available on all > infra bot test runs. > (2) Instrumentation test > * For now, I only added a single test for the "browser" mode. Furthermore, I'm > only testing the start with command-line path. > (3) New apk > * libchromefortest is a new shared library that contains all content from > libchrome, but also contains native sources for the JNI shim. > * chrome_public_apk_for_test is a new apk that contains all content from > chrome_public_apk, but uses a single shared library libchromefortest rather > than libchrome. This also contains java sources for the JNI shim. > * There is no way to just add a second shared library to chrome_public_apk > that just contains the native sources from the JNI shim without causing ODR > issues. > * chrome_public_test_apk now has apk_under_test = chrome_public_apk_for_test. > * There is no way to add native JNI sources as a shared library to > chrome_public_test_apk without causing ODR issues. > > Finally, this CL drastically increases the timeout to wait for native > initialization. The previous timeout was 2 * > CriteriaHelper.DEFAULT_MAX_TIME_TO_POLL, which flakily failed for this test. > This suggests that this step/timeout is generally flaky. I increased the timeout > to 20 * CriteriaHelper.DEFAULT_MAX_TIME_TO_POLL. > > Bug: 753218 > Change-Id: Ic224b7314fff57f1770a4048aa5753f54e040b55 > Reviewed-on: https://chromium-review.googlesource.com/770148 > Commit-Queue: Erik Chen <[email protected]> > Reviewed-by: John Budorick <[email protected]> > Reviewed-by: Brett Wilson <[email protected]> > Cr-Commit-Position: refs/heads/master@{#517541} Bug: 753218 TBR: [email protected] Change-Id: Ic6aafb34c2467253f75cc85da48200d19f3bc9af Reviewed-on: https://chromium-review.googlesource.com/777697 Commit-Queue: Erik Chen <[email protected]> Reviewed-by: John Budorick <[email protected]> Cr-Commit-Position: refs/heads/master@{#517850}
9d81094d7b0bfc8be6bba2f5084e790677e527c8
chrome
bigvul
1
null
null
null
Remove an unused variable. Bug: 775328 Change-Id: I96c860f729c58d3dff9893255978f72eb2bb448b Reviewed-on: https://chromium-review.googlesource.com/727039 Commit-Queue: Nico Weber <[email protected]> Reviewed-by: Dale Curtis <[email protected]> Cr-Commit-Position: refs/heads/master@{#509917}
de88bcfe43db3dd1e6f5892c706633be252e9312
chrome
bigvul
1
null
null
null
Serialize struct tm in a safe way. BUG=765512 Change-Id: If235b8677eb527be2ac0fe621fc210e4116a7566 Reviewed-on: https://chromium-review.googlesource.com/679441 Commit-Queue: Chris Palmer <[email protected]> Reviewed-by: Julien Tinnes <[email protected]> Cr-Commit-Position: refs/heads/master@{#503948}
dc5edc9c05901feeac616c075d0337e634f3a02a
chrome
bigvul
1
null
null
null
[BlobStorage] Fixing potential overflow Bug: 779314 Change-Id: I74612639d20544e4c12230569c7b88fbe669ec03 Reviewed-on: https://chromium-review.googlesource.com/747725 Reviewed-by: Victor Costan <[email protected]> Commit-Queue: Daniel Murphy <[email protected]> Cr-Commit-Position: refs/heads/master@{#512977}
11bd4bc92f3fe704631e3e6ad1dd1a4351641f7c
chrome
bigvul
1
null
null
null
Add rule to ignore manifest. When transitioning to androidx, android_core and androidx_core have conflicting manifests, so we need be able to skip including one. Bug: 1006427 Change-Id: I4fc4fac5e27cad7a3574773a62aaf0978f33f4ab Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1817335 Commit-Queue: benjamin joyce <[email protected]> Reviewed-by: Andrew Grieve <[email protected]> Cr-Commit-Position: refs/heads/master@{#699028}
46018723e07497bd7b2e1c913840f8dbfb73512c
chrome
bigvul
1
null
null
null
Roll src/third_party/skia/ 94fddf838..f40ae1a4b (5 commits) https://skia.googlesource.com/skia.git/+log/94fddf83816a..f40ae1a4b536 $ git log 94fddf838..f40ae1a4b --date=short --no-merges --format='%ad %ae %s' 2017-09-25 reed Revert "migrate to sk_sp for SkFontMgr API" 2017-09-25 benjaminwagner Specify CPU for CT Swarming tasks. 2017-09-25 reed migrate to sk_sp for SkFontMgr API 2017-09-25 mtklein Simplify / fix SkBitmap::ReadRawPixels() 2017-09-22 enne Make SkPath::readFromMemory failure silent Created with: roll-dep src/third_party/skia BUG=765858 Documentation for the AutoRoller is here: https://skia.googlesource.com/buildbot/+/master/autoroll/README.md If the roll is causing failures, see: http://www.chromium.org/developers/tree-sheriffs/sheriff-details-chromium#TOC-Failures-due-to-DEPS-rolls CQ_INCLUDE_TRYBOTS=master.tryserver.blink:linux_trusty_blink_rel;master.tryserver.chromium.linux:linux_optional_gpu_tests_rel;master.tryserver.chromium.mac:mac_optional_gpu_tests_rel;master.tryserver.chromium.win:win_optional_gpu_tests_rel;master.tryserver.chromium.android:android_optional_gpu_tests_rel [email protected] Change-Id: Id721b8de8164bd59065b7a4a5203a5689e1022a3 Reviewed-on: https://chromium-review.googlesource.com/682954 Reviewed-by: Skia Deps Roller <[email protected]> Commit-Queue: Skia Deps Roller <[email protected]> Cr-Commit-Position: refs/heads/master@{#504186}
328102d194aaaa8b8ad2bf0b93aaa8e5126d863a
chrome
bigvul
1
null
null
null
Resource Timing: Do not report subsequent navigations within subframes We only want to record resource timing for the load that was initiated by parent document. We filter out subsequent navigations for <iframe>, but we should do it for other types of subframes too. Bug: 780312 Change-Id: I3a7b9e1a365c99e24bb8dac190e88c7099fc3da5 Reviewed-on: https://chromium-review.googlesource.com/750487 Reviewed-by: Nate Chapin <[email protected]> Commit-Queue: Kunihiko Sakamoto <[email protected]> Cr-Commit-Position: refs/heads/master@{#513665}
fa17c9878dbeebf991b25ac0deb2b4635d85f1b6
chrome
bigvul
1
null
null
null
Do not use NavigationEntry to block history navigations. This is no longer necessary after r477371. BUG=777419 TEST=See bug for repro steps. Cq-Include-Trybots: master.tryserver.chromium.linux:linux_site_isolation Change-Id: I701e4d4853858281b43e3743b12274dbeadfbf18 Reviewed-on: https://chromium-review.googlesource.com/733959 Reviewed-by: Devlin <[email protected]> Reviewed-by: Nasko Oskov <[email protected]> Commit-Queue: Charlie Reis <[email protected]> Cr-Commit-Position: refs/heads/master@{#511942}
56a84aa67bb071a33a48ac1481b555c48e0a9a59
chrome
bigvul
1
null
null
null
Roll src/third_party/boringssl/src 664e99a64..696c13bd6 https://boringssl.googlesource.com/boringssl/+log/664e99a6486c293728097c661332f92bf2d847c6..696c13bd6ab78011adfe7b775519c8b7cc82b604 BUG=778101 Change-Id: I8dda4f3db952597148e3c7937319584698d00e1c Reviewed-on: https://chromium-review.googlesource.com/747941 Reviewed-by: Avi Drissman <[email protected]> Reviewed-by: David Benjamin <[email protected]> Commit-Queue: Steven Valdez <[email protected]> Cr-Commit-Position: refs/heads/master@{#513774}
a263d1cf62a9c75be6aaafdec88aacfcef1e8fd2
chrome
bigvul
1
null
null
null
Change the script mixing policy to highly restrictive The current script mixing policy (moderately restricitive) allows mixing of Latin-ASCII and one non-Latin script (unless the non-Latin script is Cyrillic or Greek). This CL tightens up the policy to block mixing of Latin-ASCII and a non-Latin script unless the non-Latin script is Chinese (Hanzi, Bopomofo), Japanese (Kanji, Hiragana, Katakana) or Korean (Hangul, Hanja). Major gTLDs (.net/.org/.com) do not allow the registration of a domain that has both Latin and a non-Latin script. The only exception is names with Latin + Chinese/Japanese/Korean scripts. The same is true of ccTLDs with IDNs. Given the above registration rules of major gTLDs and ccTLDs, allowing mixing of Latin and non-Latin other than CJK has no practical effect. In the meantime, domain names in TLDs with a laxer policy on script mixing would be subject to a potential spoofing attempt with the current moderately restrictive script mixing policy. To protect users from those risks, there are a few ad-hoc rules in place. By switching to highly restrictive those ad-hoc rules can be removed simplifying the IDN display policy implementation a bit. This is also coordinated with Mozilla. See https://bugzilla.mozilla.org/show_bug.cgi?id=1399939 . BUG=726950, 756226, 756456, 756735, 770465 TEST=components_unittests --gtest_filter=*IDN* Change-Id: Ib96d0d588f7fcda38ffa0ce59e98a5bd5b439116 Reviewed-on: https://chromium-review.googlesource.com/688825 Reviewed-by: Brett Wilson <[email protected]> Reviewed-by: Lucas Garron <[email protected]> Commit-Queue: Jungshik Shin <[email protected]> Cr-Commit-Position: refs/heads/master@{#506561}
fd34ee82420c5e5cb04459d6e381944979d8e571
chrome
bigvul
1
null
null
null