• Camillo Bruni's avatar
    Reland "[d8] Verify host-defined options" · e24bdb6e
    Camillo Bruni authored
    This is a reland of 0446ab7c
    
    Additional fix:
    Manually set the host-defined options on deserialised scripts in d8.
    
    Original change's description:
    > [d8] Verify host-defined options
    >
    > d8 never checked what the actual value of the host-defined options are.
    > We now properly very that the host-defined options is a specific object
    > so we we don't end up accidentally ignoring a wrong options object.
    >
    > Drive-by-fix:
    > - Convert %AbortJS argument to string
    >
    > Bug: chromium:1244145
    > Change-Id: If0ed128d215682bcf066592418420548b06eb6a1
    > Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/3259655
    > Commit-Queue: Camillo Bruni <cbruni@chromium.org>
    > Reviewed-by: Shu-yu Guo <syg@chromium.org>
    > Cr-Commit-Position: refs/heads/main@{#77699}
    
    Bug: chromium:1244145
    Change-Id: I8ddfdba27d84c36862323ab9e1aba14b2ff932a4
    Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/3259539
    Auto-Submit: Camillo Bruni <cbruni@chromium.org>
    Reviewed-by: 's avatarShu-yu Guo <syg@chromium.org>
    Commit-Queue: Shu-yu Guo <syg@chromium.org>
    Cr-Commit-Position: refs/heads/main@{#77716}
    e24bdb6e