Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Discard current interval if 'end' attribute change renders it invalid #19641

Merged
merged 1 commit into from Oct 12, 2019

Commits on Oct 12, 2019

  1. Discard current interval if 'end' attribute change renders it invalid

    If a mutation of the 'end' attribute ended up introducing an offset
    value that was before or at the begin time for the current interval,
    we'll no longer have a valid interval (unresolved active duration).
    In this case do what ResolveInterval() does and discard the current
    interval.
    
    Bug: 1013365
    Change-Id: I871c2c235f179dabb31c2347c47f83c53d44b1d9
    Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1855963
    Reviewed-by: Stephen Chenney <schenney@chromium.org>
    Commit-Queue: Fredrik Söderquist <fs@opera.com>
    Cr-Commit-Position: refs/heads/master@{#705397}
    Fredrik Söderquist authored and chromium-wpt-export-bot committed Oct 12, 2019
    Copy the full SHA
    f288acc View commit details
    Browse the repository at this point in the history