1. 10 Aug, 2018 30 commits
  2. 09 Aug, 2018 10 commits
    • Alex Moshchuk's avatar
      Remove the list of isolated origins from chrome://process-internals. · e5f283dc
      Alex Moshchuk authored
      The full list of isolated origins might include sensitive info in
      upcoming field trials, so show the number of isolated origins instead
      of actual list.
      
      Bug: 872375
      Change-Id: I944919cc9ce2afa953bbca77a489c9df62105ab8
      Reviewed-on: https://chromium-review.googlesource.com/1167962Reviewed-by: default avatarNasko Oskov <nasko@chromium.org>
      Commit-Queue: Alex Moshchuk <alexmos@chromium.org>
      Cr-Commit-Position: refs/heads/master@{#581965}
      e5f283dc
    • Min Qin's avatar
      Fix a DCHECK failure as RemoveEntry() can be called before UpdateDownloadDB · 079fa669
      Min Qin authored
      When AddOrReplaceEntry() posts a UpdateDownloadDB task, RemoveEntry()
      could be called before the posted task to get a executed.
      This will cause the DCHECK to fail.
      
      BUG=872279
      
      Change-Id: I90c19a66814b050ef4cded72ee35380790d16d4c
      Reviewed-on: https://chromium-review.googlesource.com/1169979Reviewed-by: default avatarXing Liu <xingliu@chromium.org>
      Commit-Queue: Min Qin <qinmin@chromium.org>
      Cr-Commit-Position: refs/heads/master@{#581964}
      079fa669
    • Alexei Filippov's avatar
      [sampling heap profiler] Implement CreateModuleForAddress for Win platform. · bf5264fd
      Alexei Filippov authored
      Also move the function and its helpers to ModuleCache.
      
      BUG=803276
      TBR=dcheng@chromium.org
      TBR=wittman@chromium.org
      
      Reviewed-on: https://chromium-review.googlesource.com/1166206Reviewed-by: default avatarMike Wittman <wittman@chromium.org>
      Change-Id: I28ad62df7a3f2f597f1a4f36069c51b541e7dc29
      Reviewed-on: https://chromium-review.googlesource.com/1169533Reviewed-by: default avatarAlexei Filippov <alph@chromium.org>
      Commit-Queue: Alexei Filippov <alph@chromium.org>
      Cr-Commit-Position: refs/heads/master@{#581963}
      bf5264fd
    • Muyuan Li's avatar
      assistant: fix garbage data at end of audio stream. · abdf1cba
      Muyuan Li authored
      Bug: b/112431554
      Test: Manual
      Change-Id: I10e52dad59b2989fe9ba223b3c8cf130143ea9b8
      Reviewed-on: https://chromium-review.googlesource.com/1170031
      Commit-Queue: Muyuan Li <muyuanli@chromium.org>
      Reviewed-by: default avatarXiaohui Chen <xiaohuic@chromium.org>
      Cr-Commit-Position: refs/heads/master@{#581962}
      abdf1cba
    • Trent Apted's avatar
      Make js_binary.py a thousand times faster (literally) by caching dependency subtrees. · 131641f0
      Trent Apted authored
      Targets like ui/file_manager/file_manager/foreground/js:closure_compile
      were causing js_compile.py to spend upwards of one minute of CPU time
      in Python before even invoking the closure compiler.
      
      Caching dependency subtrees takes the python CPU time down to about 50
      milliseconds. That is, a 1000x performance boost.
      
      Note the _set_ of arguments passed to closure is identical. However, the
      order can change slightly without violating dependencies specified. This
      shuffling exposed a couple of errors due to underspecified dependencies.
      (Fix them):
      
      ui/file_manager/file_manager/background/js/test_util_base.js:589:
        ERROR - Property args never defined on request
      
      chrome/browser/resources/settings/site_settings/site_data_entry.js:15:
        ERROR - Variable referenced before declaration: I18nBehavior
      
      TBR=hcarmona@chromium.org
      
      Cq-Include-Trybots: luci.chromium.try:closure_compilation
      Change-Id: I10c27bb76b404bb40828dfd54f99be059adf0fdb
      Reviewed-on: https://chromium-review.googlesource.com/1166775
      Commit-Queue: Trent Apted <tapted@chromium.org>
      Reviewed-by: default avatarNaoki Fukino <fukino@chromium.org>
      Cr-Commit-Position: refs/heads/master@{#581961}
      131641f0
    • Christopher Cameron's avatar
      RemoteMacViews: Remove most views calls from BridgedContentView · ab8d9781
      Christopher Cameron authored
      In BridgedContentView, change most calls that refer to the views::View
      hostedView_ to be routed through the BridgedNativeWidgetHost interface.
      
      Leave keyboard events, text input, and a11y unchanged for now.
      
      Add a BridgedNativeWidgetHostImpl::SetRootLayer method which now calls
      through to BridgedNativeWidget::SetRootLayer. Once the remaining uses
      of hostedView_ are removed, the BridgedNativeWidget::SetRootLayer method
      will be removed.
      
      Bug: 859152
      Change-Id: I2a010b3149357af4f9aeaec0088eb9fcde53db13
      Reviewed-on: https://chromium-review.googlesource.com/1168459
      Commit-Queue: ccameron <ccameron@chromium.org>
      Reviewed-by: default avatarElly Fong-Jones <ellyjones@chromium.org>
      Cr-Commit-Position: refs/heads/master@{#581960}
      ab8d9781
    • Nektarios Paisios's avatar
      Reland "Changed STDMETHODIMP to IFACEMETHODIMP and long to LONG where appropriate" · 477d9955
      Nektarios Paisios authored
      This reverts commit f6c63d90d7b8a6f689b135fefc181a8e539debf9.
      
      Reason for revert: Commit queue is working now.
      
      Original change's description:
      > Revert "Changed STDMETHODIMP to IFACEMETHODIMP and long to LONG where appropriate"
      > 
      > This reverts commit 641067d28a56deb5b2432a3f603eae029f461170.
      > 
      > Reason for revert: Due to Gerrit outage http://crbug.com/872722, we are reverting this CL. Please, re-land it after all clear is given. If you have questions, please ask on the bug. Sorry for the inconvenience.
      > 
      > Original change's description:
      > > Changed STDMETHODIMP to IFACEMETHODIMP and long to LONG where appropriate
      > > 
      > > 1. STDMETHODIMP is defined as
      > > HRESULT STDCALL
      > > but the new macro IFACEMETHODIMP is defined as having an additional override modifier which
      > > checks that the method we are defining or declaring is indeed an override of a method in a superclass.
      > > 2. long is the same as LONG on Windows, but in order to avoid any confusion or any linter errors, I changed all uses to the capitalized version LONG.
      > > 
      > > Advantages:
      > > A) This sends the message to developers that this is not the standard long type. It is actually an int.
      > > B) It is the same as the type used in most of the MS documentation.
      > > TBR=dtseng@chromium.org, dmazzoni@chromium.org, aleventhal@chromium.org
      > > Change-Id: Ib73dc3b362c0297f7a9038f289710d66fa5c698c
      > > Reviewed-on: https://chromium-review.googlesource.com/1169305
      > > Reviewed-by: Nektarios Paisios <nektar@chromium.org>
      > 
      > TBR=dmazzoni@chromium.org,dtseng@chromium.org,nektar@chromium.org,aleventhal@chromium.org
      > 
      > Change-Id: Ia0655ece63c2dea8819130c0041e3cc4fd24a345
      > No-Presubmit: true
      > No-Tree-Checks: true
      > No-Try: true
      > Reviewed-on: https://chromium-review.googlesource.com/1169848
      > Reviewed-by: Andrii Shyshkalov <tandrii@chromium.org>
      
      TBR=dmazzoni@chromium.org,dtseng@chromium.org,nektar@chromium.org,tandrii@chromium.org,aleventhal@chromium.org
      
      Change-Id: I997abd90e3da0f4424d4e61853fdbb17cbae0cd2
      No-Presubmit: true
      No-Tree-Checks: true
      No-Try: true
      Reviewed-on: https://chromium-review.googlesource.com/1169883Reviewed-by: default avatarNektarios Paisios <nektar@chromium.org>
      Reviewed-by: default avatarAndrii Shyshkalov <tandrii@chromium.org>
      Commit-Queue: Nektarios Paisios <nektar@chromium.org>
      Cr-Commit-Position: refs/heads/master@{#581959}
      477d9955
    • Kenneth Russell's avatar
      Suppress flaky tests on macOS 10.13.6 with AMD GPUs. · 25ed0ad3
      Kenneth Russell authored
      WebGL conformance suppressions:
        conformance2/textures/misc/tex-mipmap-levels.html
        conformance2/textures/misc/tex-base-level-bug.html
      
      Pixel test suppressions:
        Pixel_CSSFilterEffects
        Pixel_WebGLSadCanvas
      
      Tbr: ynovikov@chromium.org
      Bug: 870856, 872423
      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: I1420fe20b7a64bb40f3ba0209fd9bb08b3213b14
      Reviewed-on: https://chromium-review.googlesource.com/1168470Reviewed-by: default avatarKenneth Russell <kbr@chromium.org>
      Reviewed-by: default avatarYuly Novikov <ynovikov@chromium.org>
      Commit-Queue: Kenneth Russell <kbr@chromium.org>
      Cr-Commit-Position: refs/heads/master@{#581958}
      25ed0ad3
    • Michael Thiessen's avatar
      VR: Turn VR mode off when restoring Activity from saved instance. · a0ba0c66
      Michael Thiessen authored
      When Chrome is killed in the background while VR mode is on, we can't
      turn VR mode off (the platform doesn't respect VR mode changes for
      backgrounded apps).
      
      We also can't check whether VR mode is currently on on Android N, so
      instead this CL records whether we were in VR mode when killed using
      saved instance state, and turns VR mode off on startup when restoring.
      
      Test/Repro steps:
      1. Turn on "Don't keep activities" in developer settings
      2. Launch Chrome in VR
      3. Press the Daydream controller Home button
      4. Exit VR
      5. Use task switcher to return to Chrome.
      
      > Chrome should resume without VR mode on (the display will flicker
      if it's on)
      
      Bug: 854740
      Change-Id: I4fc8e9c076a8cb31ca2bdb74be1124bec3826193
      Reviewed-on: https://chromium-review.googlesource.com/1167116
      Commit-Queue: Michael Thiessen <mthiesse@chromium.org>
      Reviewed-by: default avatarYaron Friedman <yfriedman@chromium.org>
      Cr-Commit-Position: refs/heads/master@{#581957}
      a0ba0c66
    • Andrey Kosyakov's avatar
      Reland "Deflake inspector-protocol/input/dispatchKeyEvent-focus.js" · 8b90885e
      Andrey Kosyakov authored
      This reverts commit 4af14ca3c99bd7edbf100e05db93564b7107cc62.
      
      Reason for revert: relanding once the outage is over.
      
      Original change's description:
      > Revert "Deflake inspector-protocol/input/dispatchKeyEvent-focus.js"
      > 
      > This reverts commit 27378e0364b705643275c861f4ba64b70572dff1.
      > 
      > Reason for revert: Due to Gerrit outage http://crbug.com/872722, we are reverting this CL. Please, re-land it after all clear is given. If you have questions, please ask on the bug. Sorry for the inconvenience.
      > 
      > Original change's description:
      > > Deflake inspector-protocol/input/dispatchKeyEvent-focus.js
      > > 
      > > The keystrokes injected via Input.dispatchKeyEvent through the browser are
      > > racing against Runtime.evaluate in the renderer, so we need to wait for
      > > the async completion of the last dispatchKeyEvent before validating the
      > > tests results with evaluate.
      > > 
      > > Bug: 872081
      > > Change-Id: Ic5ef41feba6a877c76c05de2e09e019a826756a1
      > > Reviewed-on: https://chromium-review.googlesource.com/1168200
      > > Reviewed-by: Andrey Lushnikov <lushnikov@chromium.org>
      > 
      > TBR=dgozman@chromium.org,lushnikov@chromium.org,caseq@chromium.org
      > 
      > Change-Id: I6f7e8e41eab2c756875103cae24576c37784baf3
      > No-Presubmit: true
      > No-Tree-Checks: true
      > No-Try: true
      > Bug: 872081
      > Reviewed-on: https://chromium-review.googlesource.com/1169789
      > Reviewed-by: Andrii Shyshkalov <tandrii@chromium.org>
      
      TBR=dgozman@chromium.org,lushnikov@chromium.org,caseq@chromium.org,tandrii@chromium.org
      
      Change-Id: Ia8e5d3e56d923c31451474969afad7450e8e734d
      No-Presubmit: true
      No-Tree-Checks: true
      No-Try: true
      Bug: 872081
      Reviewed-on: https://chromium-review.googlesource.com/1170007Reviewed-by: default avatarAndrey Kosyakov <caseq@chromium.org>
      Commit-Queue: Andrey Kosyakov <caseq@chromium.org>
      Cr-Commit-Position: refs/heads/master@{#581956}
      8b90885e