Chromium Code Reviews
DescriptionUse stricter type checks in Intl's bound methods
This patch ensures that Intl bound method getters can't be retargeted
to other Intl types. If that were to happen, then a RUNTIME_ASSERT
would trigger later. This patch throws a TypeError instead, as the
specification requires.
BUG=v8:4870
Committed: https://crrev.com/29bd8286ee98d7ac8524d98e10892f108e814c7b
Cr-Commit-Position: refs/heads/master@{#36330}
Patch Set 1 #
Messages
Total messages: 12 (5 generated)
|
|||||||||||||||||||||||||||||||||||||