• John Chen's avatar
    [ChromeDriver] Remove unused shadow DOM object cache · 4fe92e6c
    John Chen authored
    ChromeDriver uses object caches for use while calling JavaScript
    functions. The data structure was designed to allow a separate cache for
    each shadow DOM, but that feature was never used, and objects in shadow
    DOMs have always been stored in the main page cache. This CL removes
    unused code, and resolves differences between test expectancies and
    actual code behavior. It prepares for future changes to make the object
    cache standard compliant.
    
    Bug: chromedriver:1461
    Change-Id: I10fcd94a7fd2359cc43fe6bc7241d36647e9d744
    Reviewed-on: https://chromium-review.googlesource.com/c/1485011
    Commit-Queue: John Chen <johnchen@chromium.org>
    Reviewed-by: default avatarCaleb Rouleau <crouleau@chromium.org>
    Cr-Commit-Position: refs/heads/master@{#635754}
    4fe92e6c
call_function.js 9.36 KB