1. 24 Feb, 2015 39 commits
  2. 23 Feb, 2015 1 commit
    • fsamuel's avatar
      <webview>: Fix SrcAttribute and Cleanup · cab37f85
      fsamuel authored
      SrcAttribute.setValueIgnoreMutation was calling takeRecords() prior to applying the operation,
      which meant it didn't actually do the right thing. Mutation callbacks would still get queued
      up by the mutation observer. This wasn't noticed because WebViewImpl.onLoadCommit only called
      setValueIgnoreMutation if there was a change in value, and so the mutation observer would not
      trigger any mutations. This CL fixes this issue and simplifies the code in WebViewImpl.onLoadCommit
      a bit.
      
      This CL moves setting NameAttribute details from WebViewImpl and into the NameAttribute object.
      
      This CL also fixes some attribute changes to make sure their mutation handlers don't fire.
      
      Finally, this CL moves setupEventProperty to web_view_events.js where it makes more sense to be.
      
      BUG=none
      TBR=lazyboy@chromium.org
      
      Review URL: https://codereview.chromium.org/954543002
      
      Cr-Commit-Position: refs/heads/master@{#317682}
      cab37f85