-
Notifications
You must be signed in to change notification settings - Fork 28
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
polyfill: durations accept fractional time values (#1179)
* polyfill: durations accept fractional time values Fixes: tc39/proposal-temporal#938 * fixup! polyfill: durations accept fractional time values * fixup! polyfill: durations accept fractional time values * spec: add spec for handling fractional durations * Code review suggestions - Fix order-of-operations tests (which used 1.7 as a value for durations and relied upon it being truncated to 1, which we probably don't want regardless of the state of this) - Remove Duration.from subclass-invalid-arg test, which is no longer valid; the subclass constructor is never called with a non-float argument - Fix ecmarkup linter errors Co-authored-by: Philip Chimento <pchimento@igalia.com>
- Loading branch information
Showing
3 changed files
with
163 additions
and
27 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters