• Clemens Backes's avatar
    [asm] Fix importing monkey-patched objects · 4b6ee115
    Clemens Backes authored
    This fixes a long-standing TODO to disallow importing receivers that
    have "toString" or "valueOf" patched. Calling those methods could have
    observable side effects, so allowing that would require bigger
    refactorings to ensure that we only call each such function exactly once
    per import, and in the right order.
    Since this use case is rare, we just forbid importing such receivers.
    
    R=jkummerow@chromium.org
    
    Bug: chromium:1248677
    Change-Id: I99bbd7db950ec3c7ac9cc1f59e8c476688e7d7b6
    Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/3190475Reviewed-by: 's avatarJakob Kummerow <jkummerow@chromium.org>
    Commit-Queue: Clemens Backes <clemensb@chromium.org>
    Cr-Commit-Position: refs/heads/main@{#77149}
    4b6ee115
Name
Last commit
Last update
..
regress-1223839.js Loading commit data...
regress-1248677.js Loading commit data...
regress-1252747.js Loading commit data...
regress-575364.js Loading commit data...
regress-592352.js Loading commit data...
regress-599719.js Loading commit data...
regress-599825.js Loading commit data...
regress-608630.js Loading commit data...
regress-613928.js Loading commit data...
regress-617525.js Loading commit data...
regress-617526.js Loading commit data...
regress-617529.js Loading commit data...
regress-618608.js Loading commit data...
regress-6196.js Loading commit data...
regress-6298.js Loading commit data...
regress-6431.js Loading commit data...
regress-6700.js Loading commit data...
regress-673297.js Loading commit data...
regress-6838-1.js Loading commit data...
regress-6838-2.js Loading commit data...
regress-6838-3.js Loading commit data...
regress-6838-4.js Loading commit data...
regress-743622.js Loading commit data...
regress-775710.js Loading commit data...
regress-7893.js Loading commit data...
regress-8377.js Loading commit data...
regress-8505.js Loading commit data...
regress-9022.js Loading commit data...
regress-crbug-1006592.js Loading commit data...
regress-crbug-714971.js Loading commit data...
regress-crbug-715455.js Loading commit data...
regress-crbug-719384.js Loading commit data...
regress-crbug-721835.js Loading commit data...
regress-crbug-722348.js Loading commit data...
regress-crbug-759327.js Loading commit data...
regress-crbug-771428.js Loading commit data...
regress-crbug-898974.js Loading commit data...
regress-crbug-934138.js Loading commit data...
regress-crbug-969368.js Loading commit data...
regress-crbug-976934.js Loading commit data...
regress-wasm-crbug-599413.js Loading commit data...
regress-wasm-crbug-618602.js Loading commit data...