1. 18 Dec, 2017 27 commits
  2. 17 Dec, 2017 13 commits
    • Chromium WPT Sync's avatar
      Import wpt@4102aee71ff90177a4118605a5c55eef2e5c86ef · 63d294e5
      Chromium WPT Sync authored
      Using wpt-import in Chromium ba99d192.
      
      Build: https://ci.chromium.org/buildbot/chromium.infra.cron/wpt-importer/8068
      
      Note to sheriffs: This CL imports external tests and adds
      expectations for those tests; if this CL is large and causes
      a few new failures, please fix the failures by adding new
      lines to TestExpectations rather than reverting. See:
      https://chromium.googlesource.com/chromium/src/+/master/docs/testing/web_platform_tests.md
      
      Directory owners for changes in this CL:
      drott@chromium.org, kojii@chromium.org:
        external/wpt/css/css-fonts
      
      TBR=foolip
      
      No-Export: true
      Change-Id: Iac278f92a962d13def4e8b8c00e2fb0bf1265c8b
      Reviewed-on: https://chromium-review.googlesource.com/831268
      Commit-Queue: Blink WPT Bot <blink-w3c-test-autoroller@chromium.org>
      Reviewed-by: default avatarBlink WPT Bot <blink-w3c-test-autoroller@chromium.org>
      Cr-Commit-Position: refs/heads/master@{#524632}
      63d294e5
    • Piotr Swigon's avatar
      Removes piotrs@ from WATCHLIST. · e1f9263c
      Piotr Swigon authored
      Change-Id: Ib0a76cc5919b1e4242b75180c749a13cf81346a4
      Reviewed-on: https://chromium-review.googlesource.com/831371Reviewed-by: default avatarMatt Giuca <mgiuca@chromium.org>
      Reviewed-by: default avatarPiotr Swigon <piotrs@chromium.org>
      Commit-Queue: Piotr Swigon <piotrs@chromium.org>
      Cr-Commit-Position: refs/heads/master@{#524631}
      e1f9263c
    • Roman Sorokin's avatar
      Chromad: Use GetUserStatusRequest for GetUserStatus · 8a8503bb
      Roman Sorokin authored
      It is an effort to make changing API easier.
      
      BUG=chromium:785956
      
      Change-Id: If65bb11804a6ff84ea960bda4178c5a48ddae98c
      Reviewed-on: https://chromium-review.googlesource.com/829813Reviewed-by: default avatarXiyuan Xia <xiyuan@chromium.org>
      Commit-Queue: Roman Sorokin <rsorokin@chromium.org>
      Cr-Commit-Position: refs/heads/master@{#524630}
      8a8503bb
    • Findit's avatar
      Revert "Display mirroring persistency changes" · ba99d192
      Findit authored
      This reverts commit fa8dfaa6.
      
      Reason for revert:
      
      Findit (https://goo.gl/kROfz5) identified CL at revision 524627 as the
      culprit for failures in the build cycles as shown on:
      https://findit-for-me.appspot.com/waterfall/culprit?key=ag9zfmZpbmRpdC1mb3ItbWVyRAsSDVdmU3VzcGVjdGVkQ0wiMWNocm9taXVtL2ZhOGRmYWE2MjFjMTcwMWRjZTg0MWY3NmVmZmVjZDA2NGZmMzc1M2UM
      
      Sample Failed Build: https://ci.chromium.org/buildbot/chromium.chromiumos/linux-chromeos-dbg/3252
      
      Original change's description:
      > Display mirroring persistency changes
      > 
      > Changes:
      > 1. Change mirroring persistency rule to:
      > If previous mirror mode is not set (e.g. no external display in previous
      > configuration), turn on mirror mode if at least one of the external
      > displays was in mirror mode before and turn off mirror mode otherwise.
      > If previous mirror mode is set, mirror mode remains its previous value
      > as long as there are more than 1 displays.
      > For example:
      > Case 1: Connect display A; Turn on mirror mode; Connect display B. B
      > should be in mirror mode as well.
      > Case 2: Connect display A; Turn on mirror mode; Remove A; Reconnect A; A
      > should be in mirror mode.
      > Case 3: Connect display A; Turn on mirror mode; Remove A; Connect
      > display B. B should not be in mirror mode.
      > Case 4: Connect display A; Turn on mirror mode; Connect display B;
      > Remove B; Remove A; Reconnect B; B should be in mirror mode.
      > 
      > 2. Fix a bug in MirrorWindowController: mirroring source display may be
      > changed in mirror mode (e.g. Connect two external displays; Turn on
      > mirror mode; Close internal display lid; Then the internal display will
      > be replaced with one external display as the mirroring source.),
      > reflector and mirror windows should be updated in this case.
      > 
      > 3. Fix broken test.
      > 
      > Bug: 785416,792207
      > Test: MultiMirroringTest.*
      > Change-Id: Ia1da9f25df2bcc04f98ab087478a14685fff7708
      > Reviewed-on: https://chromium-review.googlesource.com/804647
      > Commit-Queue: Weidong Guo <weidongg@chromium.org>
      > Reviewed-by: Mitsuru Oshima <oshima@chromium.org>
      > Reviewed-by: Ahmed Fakhry <afakhry@chromium.org>
      > Cr-Commit-Position: refs/heads/master@{#524627}
      
      Change-Id: Ie18b8dc47d031984590ed98af331fdb659b17941
      No-Presubmit: true
      No-Tree-Checks: true
      No-Try: true
      Bug: 785416,792207
      Reviewed-on: https://chromium-review.googlesource.com/831290
      Cr-Commit-Position: refs/heads/master@{#524629}
      ba99d192
    • Morten Stenshorne's avatar
      [LayoutNG] Fragmentainer breaks between line boxes. · f410ff66
      Morten Stenshorne authored
      Constraint spaces for inline nodes also need to support block
      fragmentation, due to floats.
      
      We need to allow a (0,0) inline break token if we break before the first
      line. If there's no break token for the inline layout context, it means
      that we have finished all lines. Which is quite the opposite of being at
      the very beginning.
      
      There are some new test failures. One source is that we don't yet
      support column-span:all, and now that we break between lines, what used
      to pass by accident may no longer pass.
      
      Making floats in an inline formatting context play along was tricky, and
      I'm pretty sure that the solution I came up with needs to be improved.
      For now, skip floats associated with the line when we resume layout at.
      Floats that got broken inside will create break token children of the
      token created for the containing block node, and will be break token
      siblings of the inline break token to resume at (although they are not
      siblings, node-wise).
      
      The legacy layout write-back code doesn't work too great, especially
      with LayoutNGPaintFragments enabled (but there are problems if that flag
      is disabled too).
      
      Cq-Include-Trybots: master.tryserver.chromium.linux:linux_layout_tests_layout_ng
      Change-Id: I01634daf75a7d80a663ec24991eec8b4094aeeda
      Reviewed-on: https://chromium-review.googlesource.com/829376
      Commit-Queue: Morten Stenshorne <mstensho@chromium.org>
      Reviewed-by: default avatarEmil A Eklund <eae@chromium.org>
      Reviewed-by: default avatarKoji Ishii <kojii@chromium.org>
      Cr-Commit-Position: refs/heads/master@{#524628}
      f410ff66
    • Weidong Guo's avatar
      Display mirroring persistency changes · fa8dfaa6
      Weidong Guo authored
      Changes:
      1. Change mirroring persistency rule to:
      If previous mirror mode is not set (e.g. no external display in previous
      configuration), turn on mirror mode if at least one of the external
      displays was in mirror mode before and turn off mirror mode otherwise.
      If previous mirror mode is set, mirror mode remains its previous value
      as long as there are more than 1 displays.
      For example:
      Case 1: Connect display A; Turn on mirror mode; Connect display B. B
      should be in mirror mode as well.
      Case 2: Connect display A; Turn on mirror mode; Remove A; Reconnect A; A
      should be in mirror mode.
      Case 3: Connect display A; Turn on mirror mode; Remove A; Connect
      display B. B should not be in mirror mode.
      Case 4: Connect display A; Turn on mirror mode; Connect display B;
      Remove B; Remove A; Reconnect B; B should be in mirror mode.
      
      2. Fix a bug in MirrorWindowController: mirroring source display may be
      changed in mirror mode (e.g. Connect two external displays; Turn on
      mirror mode; Close internal display lid; Then the internal display will
      be replaced with one external display as the mirroring source.),
      reflector and mirror windows should be updated in this case.
      
      3. Fix broken test.
      
      Bug: 785416,792207
      Test: MultiMirroringTest.*
      Change-Id: Ia1da9f25df2bcc04f98ab087478a14685fff7708
      Reviewed-on: https://chromium-review.googlesource.com/804647
      Commit-Queue: Weidong Guo <weidongg@chromium.org>
      Reviewed-by: default avatarMitsuru Oshima <oshima@chromium.org>
      Reviewed-by: default avatarAhmed Fakhry <afakhry@chromium.org>
      Cr-Commit-Position: refs/heads/master@{#524627}
      fa8dfaa6
    • Rohit Rao's avatar
      [ios] Tests for nullptr before using _popupView. · 3e4254d9
      Rohit Rao authored
      When the BVC presentation experiment is enabled and the last incognito tab is
      closed, transition animations continue to run even after the incognito
      BrowserState is destroyed.  Variables that are cleared in
      |browserStateDestroyed| must be tested for nullptr before use.
      
      BUG=787821
      
      Cq-Include-Trybots: master.tryserver.chromium.mac:ios-simulator-cronet;master.tryserver.chromium.mac:ios-simulator-full-configs
      Change-Id: Ic5443690337d311e1ce3e347e563d3111cc06f5e
      Reviewed-on: https://chromium-review.googlesource.com/831095
      Commit-Queue: Justin Cohen <justincohen@chromium.org>
      Reviewed-by: default avatarJustin Cohen <justincohen@chromium.org>
      Cr-Commit-Position: refs/heads/master@{#524626}
      3e4254d9
    • Luke Sorenson's avatar
      Add Component version number to MPP API callback. · e9dca222
      Luke Sorenson authored
      Bug: 794273
      Change-Id: I340114ad83e2dcdd5fd2b8d0dea721d0705e53b3
      Reviewed-on: https://chromium-review.googlesource.com/822820Reviewed-by: default avatarToni Barzic <tbarzic@chromium.org>
      Commit-Queue: Luke Sorenson <lasoren@chromium.org>
      Cr-Commit-Position: refs/heads/master@{#524625}
      e9dca222
    • Jungshik Shin's avatar
      Exclude ar-001 and en-150 from the available locale list · a2b72993
      Jungshik Shin authored
      Bug: 789905
      Test: CrOS OOBE language menu does not have ar-001 and en-150.
      Change-Id: I5f9489edf5819e789558bf53ddb4ecbb389e6a45
      Reviewed-on: https://chromium-review.googlesource.com/828070Reviewed-by: default avatarAlexander Alekseev <alemate@chromium.org>
      Commit-Queue: Jungshik Shin <jshin@chromium.org>
      Cr-Commit-Position: refs/heads/master@{#524624}
      a2b72993
    • Koji Ishii's avatar
      [auto] Update FlagExpectations for LayoutNG · 05fe1715
      Koji Ishii authored
      Following bot results are included.
      2493 2495 2496 2498 2499 2500 2502 2505 2508 2511 2512 2513 2524 2526
      
      16 lines were removed by consecutive passes since 2485.
      
      TBR=eae@chromium.org
      NOTRY=true
      
      Bug: 591099
      Cq-Include-Trybots: master.tryserver.chromium.linux:linux_layout_tests_layout_ng
      Change-Id: I1c0ecfac97903ff168d97597290ebf7f17037de9
      Reviewed-on: https://chromium-review.googlesource.com/831309
      Commit-Queue: Koji Ishii <kojii@chromium.org>
      Reviewed-by: default avatarKoji Ishii <kojii@chromium.org>
      Cr-Commit-Position: refs/heads/master@{#524623}
      05fe1715
    • Oystein Eftevaag's avatar
      Disable system_health.desktop_common load:media:youtube on mac · acf6a918
      Oystein Eftevaag authored
      TBR=nednguyen@chromium.org
      BUG=795585
      
      Change-Id: Idbe16201235a53ad7669478d58611708e607d5bc
      Reviewed-on: https://chromium-review.googlesource.com/831508Reviewed-by: default avataroysteine <oysteine@chromium.org>
      Commit-Queue: oysteine <oysteine@chromium.org>
      Cr-Commit-Position: refs/heads/master@{#524622}
      acf6a918
    • Mikel Astiz's avatar
      Expose and sync summary of replaced navigation entries · ba9cf2fd
      Mikel Astiz authored
      We would like to sync this data in order to make sync-ed history entries
      corresponding to history.replaceState() and similar Javascript events
      distinguishable from user-initiated events (typed URLs or clicks on
      bookmarks).
      
      Most notably, this solves the problem of duplicates in the NTP for
      server-side suggestions, which otherwise may count the URL after
      replaceState() as being typed by the user and hence worth suggesting.
      
      Design Doc (accessible to Google employees only):
      https://docs.google.com/document/d/1g8w7VkLjI1V1f5N_Hkn3Lb66C3iUbV91SufFu2vEBSk/
      
      Bug: 751023
      Cq-Include-Trybots: master.tryserver.chromium.linux:linux_site_isolation
      Change-Id: I7616d5f1782c0ee9af779d2c102a29b042ce44a1
      Reviewed-on: https://chromium-review.googlesource.com/738095Reviewed-by: default avatarStefan Kuhne <skuhne@chromium.org>
      Reviewed-by: default avatarNicolas Zea <zea@chromium.org>
      Reviewed-by: default avatarCharlie Reis <creis@chromium.org>
      Commit-Queue: Mikel Astiz <mastiz@chromium.org>
      Cr-Commit-Position: refs/heads/master@{#524621}
      ba9cf2fd
    • George Burgess IV's avatar
      Add basic clang-based AFDO support. · b822aab9
      George Burgess IV authored
      This patch adds support for clang-based AFDO to Chromium.
      
      AFDO stands for Automatic Feedback Directed Optimization. In short, it
      allows you to use the postprocessed output of a special `perf` command
      to inform the compiler of hot/cold code, among other things.
      
      This allows users to easily specify a profile to use, and allows for
      platforms to specify default profiles. It turns none of this on on its
      own.
      
      At the moment, this is very sharp and pointy, since the sample profile
      isn't a dependency for anything. Ideally, anything built with AFDO
      should depend on the profile. I have a CL to make this easily possible
      (CL:827560), but think this is useful enough (given care) to get in now.
      
      (and with clang_use_default_sample_profile set to true). We built
      with profiles and failed to `gn gen`, respectively. Patch seemed to be
      a nop running on an otherwise "regular" build.
      
      Bug: 794750
      Test: Ran the build with and without clang_default_afdo_profile defined
      Change-Id: I7b2730d52875f108681232f4d8ce7e82e7570a74
      Reviewed-on: https://chromium-review.googlesource.com/828277Reviewed-by: default avataragrieve <agrieve@chromium.org>
      Commit-Queue: George Burgess <gbiv@chromium.org>
      Cr-Commit-Position: refs/heads/master@{#524620}
      b822aab9