| Commit message (Collapse) | Author | Age | Lines |
| |
|
|\ |
|
| |
| |
| |
| | |
RegExpBuiltinExec per ES2017
|
| |
| |
| |
| |
| |
| | |
ToLength(lastIndex) for non-global RegExp and handle recompilations
[Depends on] Bug 1317397: Implement RegExp.lastIndex changes from ES2017
|
| |
| |
| |
| |
| |
| | |
for-of
Issue #74
|
|/
|
|
| |
Issue #74
|
|\
| |
| |
| |
| |
| | |
This resolves #78.
Merged remote-tracking branch 'janek/js_function_name_1'
|
| |
| |
| |
| | |
Issue #78
|
| |
| |
| |
| |
| |
| | |
Issue #78
[Depends on] Bug 883377: Implement ES6 function "name" property
semantics
|
|/
|
|
| |
Issue #77
|
|\
| |
| |
| |
| |
| | |
This resolves #75.
Merged remote-tracking branch 'janek/js_function_new_1'
|
| |
| |
| |
| |
| |
| |
| | |
and Intl constructors
[Depends on] Bug 755821: Function() should use the parser's argument
parsing code
|
|\ \
| |/
|/| |
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
CallTypedArrayMethodIfWrapped (and the CallNonGeneric machinery throughout the
engine) unwraps the `this` argument, but the other arguments are only rewrapped
for the target compartment.
The pattern being used before this patch to get the length of a TypedArray or
possible TypedArray wrapper is:
`callFunction(CallTypedArrayMethodIfWrapped, O, O, "TypedArrayLength")`
The first `O` is the `this` value and the second is an argument. If `O` is a
cross-compartment wrapper, this works fine. The first `O` is unwrapped, revealing
the actual TypedArray object; the second `O` is rewrapped for that TypedArray's
compartment, producing the same TypedArray.
However, if `O` is a same-compartment wrapper, this doesn't work. The first `O` is
unwrapped, revealing the actual TypedArray object in the same compartment;
rewrapping the other `O` does nothing to it, since it is already an object in the
target compartment. Thus TypedArrayLength receives a `this` value that's an
unwrapped TypedArray, but an argument that is still a wrapper.
The fix is to have CallTypedArrayMethodIfWrapped targets only expect `this`
to be an unwrapped TypedArray.
|
| |
| |
| |
| | |
Issue #17
|
| |
| |
| |
| | |
Issue #17
|
|/
|
|
| |
Issue #17
|
|
|
|
|
| |
--HG--
extra : rebase_source : cb9ac8a678b6f565091f6d7733b6cd86afde0da7
|
| |
|
| |
|
| |
|
|
|
|
| |
UXP repo issue #8
|
|
|