1. 01 May, 2017 19 commits
    • calamity's avatar
      [MD Bookmarks] Fix drag and drop on Mac. · 279fda40
      calamity authored
      This CL fixes an issue where drag and drop wouldn't work on Mac because
      the drop data was being cleared by the bookmark manager API's drop
      handler before the bookmark manager's handler had handled the drop. This
      has been fixed by adding a setTimeout to clearing the data, which was
      also in the old bookmark manager, giving the bookmark manager a chance
      to deal with the drop.
      
      BUG=716257
      CQ_INCLUDE_TRYBOTS=master.tryserver.chromium.linux:closure_compilation
      
      Review-Url: https://codereview.chromium.org/2845243003
      Cr-Commit-Position: refs/heads/master@{#468281}
      279fda40
    • sushkov's avatar
      added a headlessresourcedispatcherhostdelegate so that we do not crash when a... · e284fdd7
      sushkov authored
      added a headlessresourcedispatcherhostdelegate so that we do not crash when a website requests a client cert store
      
      BUG=714534
      
      Review-Url: https://codereview.chromium.org/2852633002
      Cr-Commit-Position: refs/heads/master@{#468280}
      e284fdd7
    • shend's avatar
      Remove the concept of 'nonproperties' from ComputedStyle generator. · a7bdae0c
      shend authored
      When we generate ComputedStyle, we differentiate between properties
      (which are meant to correspond to CSS properties) and nonproperties
      (everything else). However, this terminology is confusing:
      
      - Some nonproperties are derived from real CSS properties (e.g.
        hasSimpleUnderline).
      - The generator code contains a lot of "for property_ in nonproperties"
        which is quite confusing.
      - The name does not reveal the actual difference between properties
        and nonproperties in terms of code generation.
      
      This patch removes the field role of 'nonproperty' in favour of the
      parameter 'has_custom_compare_and_copy'. So there are only two field
      roles: 'property' (which includes flags like 'unique' and 'emptyState')
      and 'inherited_flag'.
      
      BUG=628043
      
      Review-Url: https://codereview.chromium.org/2830983003
      Cr-Commit-Position: refs/heads/master@{#468279}
      a7bdae0c
    • xiaochengh's avatar
      Use RelocatablePosition in CompositeEditCommand::MoveParagraphWithClones · a4e8fc5a
      xiaochengh authored
      Clusterfuzz found a sample where
      CompositeEditCommand::MoveParagraphWithClones() moves |before_paragraph|
      out of the DOM tree after moving the paragraph. This patch uses
      RelocatablePosition to track |before_paragraph| and |after_paragraph| so
      that the positions we track are always connected.
      
      Note: CompositeEditCommand::MoveParagraphs() is already using
      RelocatablePosition to track positions before and after the moved
      paragraphs.
      
      BUG=712510
      TEST=ApplyBlockElementCommandTest.IndentHeadingIntoBlockquote
      
      Review-Url: https://codereview.chromium.org/2850773003
      Cr-Commit-Position: refs/heads/master@{#468278}
      a4e8fc5a
    • xiaochengh's avatar
      Prune ComputeVisibleSelectionInDOMTree from Editor::Cut/Copy/Paste · e15ff1b5
      xiaochengh authored
      This patch prunes some call sites of the deprecated function to improve
      code health. The change is safe because layout has been updated a few
      lines before each call site.
      
      BUG=698633
      TEST=n/a; no behavioral change
      
      Review-Url: https://codereview.chromium.org/2847813005
      Cr-Commit-Position: refs/heads/master@{#468277}
      e15ff1b5
    • drott's avatar
      Test Variations GPOS mark to base placement · 0b70e87e
      drott authored
      Add a reftest using an additional axis VM2B in the variabletest_box
      font. The VM2B axis shifts the mark anchor to the left, leading to the
      combining mark below box shifting right when the axis parameter is
      adjusted from 0 to 1000. As the reference in the ref test, the font now
      contains two additional glyphs N and O, which have fixed base anchors at
      the middle and right position. A rendering of the M character showing
      "m2b pos", followed by COMBINING SQUARE BELOW with VM2B 0, 500, 1000
      applied must thus be equal to renderings of the N and O glyph with no
      VM2B variation values applied.
      
      BUG=693065
      R=behdad, kojii
      
      Review-Url: https://codereview.chromium.org/2850743002
      Cr-Commit-Position: refs/heads/master@{#468276}
      0b70e87e
    • kouhei's avatar
      [ES6 modules] Rethrow instantiation error when attempt to resolve instantiation failed module. · 40a4cdf9
      kouhei authored
      This CL resolves TODO(kouhei) in ScriptModuleResolverImpl to rethrow instantiation error when
      resolved module has failed to instantiate.
      
      TEST=ScriptModuleResolverImplTest.ResolveInstantiationFailedModule
      BUG=594639
      
      Review-Url: https://codereview.chromium.org/2837253002
      Cr-Commit-Position: refs/heads/master@{#468275}
      40a4cdf9
    • slangley's avatar
      Move SharedWorkerRepositoryClientImpl from web/ to core/exported/. · 2ebe3671
      slangley authored
      SharedWorkerRepositoryClientImpl implements classes defined in public/web/
      (WebSharedWorkerConnectListener, WebSharedWorkerRepositoryClient) so it is being
      moved to core/exported.
      
      SharedWorkerRepositoryClientImpl.cpp did include WebLocalFrameImpl but luckily
      enough didn't use it so we could just break this dependency.
      
      BUG=708879
      
      Review-Url: https://codereview.chromium.org/2833693002
      Cr-Commit-Position: refs/heads/master@{#468274}
      2ebe3671
    • suzyh's avatar
      Set flaky testVisualStateCa... to retry on failure · 7f022a2c
      suzyh authored
      Add @RetryOnFailure annotation for
      testVisualStateCallbackNotCalledAfterRendererGone
      
      TBR=tobiasjs@chromium.org
      BUG=716763
      
      Review-Url: https://codereview.chromium.org/2851133002
      Cr-Commit-Position: refs/heads/master@{#468273}
      7f022a2c
    • rch's avatar
      Inline two methods of QuicChromiumClientSession · 90f64ebe
      rch authored
      which are only called from one place:
      
        RecordAndCloseSessionOnError
        CloseSessionOnErrorInner
      
      Review-Url: https://codereview.chromium.org/2849823005
      Cr-Commit-Position: refs/heads/master@{#468272}
      90f64ebe
    • chrome-release-bot's avatar
      Updating trunk VERSION from 3086.0 to 3087.0 · 09d695d1
      chrome-release-bot authored
      Cr-Commit-Position: refs/heads/master@{#468271}
      09d695d1
    • alito's avatar
      Settings reset prompt: Fix crash when fetching default settings. · 2f2f39f6
      alito authored
      When the Chrome installation has a brand code, the SettingsResetPromptModel may try to fetch default settings over the network. If the fetch fails, the ProfileResetter is passed a null pointer and any attempt to reset a setting will crash.
      
      BUG=716372
      
      Review-Url: https://codereview.chromium.org/2852883002
      Cr-Commit-Position: refs/heads/master@{#468270}
      2f2f39f6
    • oka's avatar
      Compile import_controller in gyp v2 · 303d2fcb
      oka authored
      TEST=run_compiler
      BUG=636289
      CQ_INCLUDE_TRYBOTS=master.tryserver.chromium.linux:closure_compilation
      
      Review-Url: https://codereview.chromium.org/2846783006
      Cr-Commit-Position: refs/heads/master@{#468269}
      303d2fcb
    • avi's avatar
      Switch SupportsUserData uses to use unique_ptr. · 83fe36db
      avi authored
      The interface taking a raw pointer is deprecated and being removed.
      
      BUG=690937
      
      Review-Url: https://codereview.chromium.org/2847353002
      Cr-Commit-Position: refs/heads/master@{#468268}
      83fe36db
    • thestig's avatar
      Disable 2 flaky tests. · e578e69e
      thestig authored
      - NSS/ClientCertStoreTest/CertAuthorityFiltering
      - DeviceDescriptionServiceTest.TestCleanUpCacheEntries
      
      BUG=716730,716810
      TBR=mattm@chromium.org,zhaobin@chromium.org
      
      Review-Url: https://codereview.chromium.org/2850083002
      Cr-Commit-Position: refs/heads/master@{#468267}
      e578e69e
    • bashi's avatar
      Record swap metrics · 4159f36e
      bashi authored
      This CL adds SwapMetricsObserver which records swap rates and reports
      them as platform-specific metrics. The purpose of adding these metrics
      is to measure the impact of actions we take to free up memory. If we
      aggressively free up memory under high memory pressure, we may touch
      pages which are already swapped out (or compressed). In such cases
      thrashing could happen and we are making the situation worse.
      Swap rates and page compression/decompression rate would be good
      indicators of thrashing. Metrics will be recorded every 60 seconds.
      
      This CL only adds metrics for Android/ChromeOS/Linux. Follow-up CLs
      will add them for macOS.
      
      BUG=617492
      
      Review-Url: https://codereview.chromium.org/2824133002
      Cr-Commit-Position: refs/heads/master@{#468266}
      4159f36e
    • raymes's avatar
      Make media permission requests go through the PermissionManager · 96988fae
      raymes authored
      This CL adds a feature flag which, when enabled, causes media requests to call
      into PermissionManager::RequestPermissions in order to display a permission
      prompt (among other things). The feature flag is added because this results in
      the UI changing, and also won't work on Android until we have unified the
      permission request codepaths (see https://crbug.com/606138).
      
      BUG=596786
      
      Review-Url: https://codereview.chromium.org/2829123003
      Cr-Commit-Position: refs/heads/master@{#468265}
      96988fae
    • tkent's avatar
      wpt-import: Fix a failure on "git add" · 9b549cec
      tkent authored
      This CL fixes a regression since r467828. It changed the working directory, but
      it missed to update relative path in "git add" argument.
      
      BUG=710535
      TBR=jeffcarp@chromium.org
      NOTRY=true
      
      Review-Url: https://codereview.chromium.org/2848183002
      Cr-Commit-Position: refs/heads/master@{#468264}
      9b549cec
    • thestig's avatar
      Revert of Change ScopedFeatureList to overrides FeatureList not reset... · 6c14f269
      thestig authored
      Revert of Change ScopedFeatureList to overrides FeatureList not reset (patchset #6 id:140001 of https://codereview.chromium.org/2834583002/ )
      
      Reason for revert:
      Mac ASAN bots reporting use-after-free errors.
      
      Original issue's description:
      > Change ScopedFeatureList to overrides FeatureList not reset
      >
      > The current situation is that using ScopedFeatureList resets to an
      > empty feature list and then enables/disables an explicit list of
      > features.
      >
      > That's never what you want for browser tests (or other higher-level
      > tests) since it effectively overrides higher-level test configurations
      > (e.g. those in fieldtrial_testing_config.json, or a bot set up to
      > specifically test a feature).
      >
      > In this patch:
      >
      > 1. Keep SFL::Init, SFL::InitWithFeatureList,
      >    SFL::InitFromCommandLine reset to empty list but add warning to
      >    remind developer should use them with care.
      > 2. Change SFL::InitAndEnableFeature, SFL::InitAndDisableFeature and
      >    SFL::InitWithFeatures to not reset but override current FeatureList
      >    with given enables/disables.
      >
      > We also add unit tests for ScopedFeatureList.
      >
      > BUG=713390
      >
      > Review-Url: https://codereview.chromium.org/2834583002
      > Cr-Commit-Position: refs/heads/master@{#468210}
      > Committed: https://chromium.googlesource.com/chromium/src/+/9c04ed553bd7abe820a6a93c5e8981e6738881a9
      
      TBR=isherman@chromium.org,asvitkine@chromium.org,thakis@chromium.org,chaopeng@chromium.org
      # Not skipping CQ checks because original CL landed more than 1 days ago.
      BUG=713390
      
      Review-Url: https://codereview.chromium.org/2850073002
      Cr-Commit-Position: refs/heads/master@{#468263}
      6c14f269
  2. 30 Apr, 2017 13 commits
  3. 29 Apr, 2017 8 commits