• Anupam Snigdha's avatar
    Fixed use after poison and memory leaks in EditContext · dca621cb
    Anupam Snigdha authored
    -The Trace method was missing EventTargetWithInlineData::Trace call
    -Using ActiveScriptWrappable now so EditContext wrapper object remains alive
    till the execution context is valid and when the composition events arrive,
    they can be processed properly by the event listeners for the EditContext.
    - Also removed an invalid test case that had a global reference to EditContext
    which was causing memory leaks
    
    Test: run_web_tests web_tests/editing/input/edit-context.html
    
    Bug: 1023351, 1023242
    
    Change-Id: If7e9d7ebea195095b0ac5048cd0864d3e0b730f2
    Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1911280Reviewed-by: default avatarKent Tamura <tkent@chromium.org>
    Commit-Queue: Anupam Snigdha <snianu@microsoft.com>
    Cr-Commit-Position: refs/heads/master@{#714523}
    dca621cb
LeakExpectations 7.27 KB