• Trent Apted's avatar
    Switch chrome://media-app to the new createWritable() API method. · ae4cf7c1
    Trent Apted authored
    The `Save` operation in chrome://media-app started failing after
    r749464. Console errors like `createWriter` is undefined.
    
    r749464 tore out the old API and replaced it with a new one.
    Unfortunately, this only changed IDL files, and not the externs file
    that JS needs to compile against.
    
    This change updates the externs file to match the IDL file, making the
    regression detectable at compile time.
    
    Filed b/151394309 to investigate ways to detect when the externs file
    does not match the idl files and complain about it.
    
    The externs file is verbatim from cl/300232012.
    
    Bug: 1061813
    Change-Id: I2de55447b640aec3338640db75a323a877beffde
    Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2103011Reviewed-by: default avatarBugs Nash <bugsnash@chromium.org>
    Commit-Queue: Trent Apted <tapted@chromium.org>
    Cr-Commit-Position: refs/heads/master@{#750852}
    ae4cf7c1
driver.js 2.57 KB