• danakj's avatar
    Remove GCController dependency on BlinkTestRunner · c989ac71
    danakj authored
    Rather than passing a BlinkTestRunner unrelated to the current frame
    to GCController, we drop its dependency on BlinkTestRunner, as it can
    get the task runner from its own WebLocalFrame directly.
    
    Renames BindTo() methods to Install() as they are all there to install
    JS bindings, and forward through to other Install() methods.
    
    Moves the GCController binding installation out to the frame, as it is
    done per-frame, instead of going through the "global" TestInterfaces.
    
    R=nasko@chromium.org
    
    Bug: 866140, 1069111
    Change-Id: I75325ee908d31dca7d9dcd8a5b7673d999dd891d
    Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2150396Reviewed-by: default avatarNasko Oskov <nasko@chromium.org>
    Commit-Queue: danakj <danakj@chromium.org>
    Cr-Commit-Position: refs/heads/master@{#759396}
    c989ac71
test_interfaces.cc 5.89 KB