• Yuki Shiino's avatar
    v8bindings: Fix History.state === PopStateEvent.state · bea128dc
    Yuki Shiino authored
    "history.state === popStateEvent.state" should be evaluated to
    true, however, the result changes depending on their evaluation
    order.  See the bug for details.
    
    This patch removes the custom bindings of PopStateEvent.state
    and reimplements History.state and PopStateEvent.state in a
    less hacky way, moving caching with V8 private property from
    Blink-V8 bindings into Blink implementation.
    
    WPT failures in this patch are expected.  I'll send a fix of
    WPT separately.
    
    Bug: 1070938
    Change-Id: Iaf9bdbc6545cdbe18d8f3542944dfce61c443da1
    Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2147488Reviewed-by: default avatarKentaro Hara <haraken@chromium.org>
    Commit-Queue: Yuki Shiino <yukishiino@chromium.org>
    Cr-Commit-Position: refs/heads/master@{#759223}
    bea128dc
bindings.gni 11.3 KB