Commit graph

431 commits

Author SHA1 Message Date
janekptacijarabaci
748c69d7fd Part 1: Implement ES6 function name property semantics
Issue #78
2019-02-15 23:38:44 +08:00
janekptacijarabaci
3b34f87a5b Bug 1317309: Throw a TypeError when passing a Symbol value to ToAtom
Issue #78
[Depends on] Bug 883377: Implement ES6 function "name" property
semantics
2019-02-15 23:38:42 +08:00
janekptacijarabaci
3b1c3ec605 Bug 1320042: Rename BytecodeEmitter::emitConditionallyExecuted{SOMETHING} to BytecodeEmitter::emit{SOMETHING}InBranch
Issue #78
[Depends on] Bug 883377: Implement ES6 function "name" property
semantics
2019-02-15 23:38:40 +08:00
janekptacijarabaci
e7ee7caf1e Bug 1320388: Move JSFunction::HAS_REST to JSScript and LazyScript
Issue #78
[Depends on] Bug 883377: Implement ES6 function "name" property
semantics
2019-02-15 23:38:38 +08:00
janekptacijarabaci
d3ffa46e36 Update RegExp Xray code
Issue #77
2019-02-15 23:38:37 +08:00
janekptacijarabaci
6e997648ba Handle RegExp correctly in devtools
Issue #77
2019-02-15 23:38:35 +08:00
janekptacijarabaci
e671c0357b Tests
Issue #77
2019-02-15 23:38:34 +08:00
janekptacijarabaci
d275a63a71 Use ordinary object for RegExp prototype
Issue #77
2019-02-15 23:38:32 +08:00
janekptacijarabaci
49ce6a7928 Bug 1323868: Report object allocation failure when running off-main-thread
Issue #77
[Depends on] Bug 1192038: RegExp.prototype should be an ordinary object
2019-02-15 23:38:31 +08:00
janekptacijarabaci
7f0f087cff Blocklist update (follow up for "AntiVirus for Firefox")
Issue https://github.com/MoonchildProductions/Pale-Moon/issues/1644
2019-02-15 23:38:29 +08:00
janekptacijarabaci
09ace5ee98 Add TI for error properties assigned by the initial shape (follow up) 2019-02-15 23:38:28 +08:00
janekptacijarabaci
d3df9b7b8b Bug 1320198: Land additional Error prototype test 2019-02-15 23:38:26 +08:00
janekptacijarabaci
b31e40926e Bug 1319952: Assertion failure: isNurseryAllocAllowed(), at js/src/gc/Allocator.cpp:79 2019-02-15 23:38:25 +08:00
janekptacijarabaci
74e5882176 Tests 2019-02-15 23:38:23 +08:00
janekptacijarabaci
38fabf8122 Add TI for error properties assigned by the initial shape 2019-02-15 23:38:22 +08:00
janekptacijarabaci
dd09fc2495 Simplify Error Xray code 2019-02-15 23:38:20 +08:00
janekptacijarabaci
4fad420bb8 Handle the now ordinary error prototype object in stack 2019-02-15 23:38:19 +08:00
janekptacijarabaci
105cbadae7 Use ordinary objects for Error prototypes 2019-02-15 23:38:17 +08:00
janekptacijarabaci
b0fe82b857 Set "secureConnectionStart" to 0 for pages with HTTP scheme
Issue #67
2019-02-15 23:38:16 +08:00
janekptacijarabaci
231685e644 Remove strict arguments poison pill for "caller" property per ES2017 2019-02-15 23:38:14 +08:00
janekptacijarabaci
04e171e0a4 Correctly tokenize valid JS names when using Unicode mathematical alphanumeric symbols as variable name
Issue https://github.com/MoonchildProductions/Pale-Moon/issues/1647
2019-02-15 23:38:13 +08:00
janekptacijarabaci
0e7a16c088 Bug 755821: Function() should use the parser's argument parsing code 2019-02-15 23:38:10 +08:00
janekptacijarabaci
e7fdd26fde Bug 1318017: Call GetPrototypeFromConstructor for generator/async function and Intl constructors
[Depends on] Bug 755821: Function() should use the parser's argument
parsing code
2019-02-15 23:38:09 +08:00
Pale Moon
093e83da1a Add extra check for path traversal sanity v2. 2019-02-15 23:38:07 +08:00
wolfbeast
869e2c87e5 Revert "Add extra check for path traversal sanity."
This reverts commit 41bd3e2599696771485c9dc75a7e27b94c0597fb.
2019-02-15 23:38:06 +08:00
wolfbeast
29100ca13a Bug 1426002. Bail out of document.open if beforeunload tears things down. r=mystor 2019-02-15 23:38:04 +08:00
wolfbeast
6790fd483b Be more explicit with a lock. 2019-02-15 23:38:03 +08:00
wolfbeast
01de5bc76a Add extra check for path traversal sanity. 2019-02-15 23:38:01 +08:00
wolfbeast
39e63a6981 Use origin instead of documentURI for WebRTC permission requests, when available. 2019-02-15 23:38:00 +08:00
wolfbeast
04caaa6539 Handle same-compartment wrappers in TypedArray methods.
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.
2019-02-15 23:37:58 +08:00
wolfbeast
df053b80f5 Set up the "DRM not available" messages in a saner way. 2019-02-15 23:37:57 +08:00
wolfbeast
03078aa806 Bug 1416940; r=snorp 2019-02-15 23:37:55 +08:00
Karl Tomlinson
c86a78aa94 Bug 1426603 - Fallback from audio callback to system clock driver on error only once. r=padenot, a=RyanVM
Usually, mShouldFallbackIfError has been reset to false in DataCallback()
before Stop() is called.  However, if fallback to a system clock driver due to
cubeb error had already occurred, then mShouldFallbackIfError would not have
been reset, and Stop() is still called.  With mShouldFallbackIfError still
true, a cubeb error in stop would have created another fallback thread.

I expect that resetting mShouldFallbackIfError in Stop() would also be an
effective alternative solution, but resetting on StateCallback() happens
earlier, which would be an advantage if any additional errors could possibly
be reported to StateCallback().

MozReview-Commit-ID: E9j7PQmS3O4
2019-02-15 23:37:54 +08:00
janekptacijarabaci
69b9980815 Deleting "secureConnectionStart" from a test file
Issue #69
2019-02-15 23:37:52 +08:00
janekptacijarabaci
2884c049cd Round down to the nearest 2ms (instead of 1ms)
Issue #67

https://github.com/MoonchildProductions/UXP/pull/34/commits/c8355b22c047c9737e32f096b816edbb8b0fa181

a32b7f7c4e

f0b727eac2
2019-02-15 23:37:51 +08:00
janekptacijarabaci
4cb956bb3b Close iterator after error in Promise.{all,race}
Issue #17
2019-02-15 23:37:49 +08:00
janekptacijarabaci
93ffbd46a9 Close iterator after error in Array.from
Issue #17
2019-02-15 23:37:47 +08:00
janekptacijarabaci
a32ecd025a Close iterator after error in {Map,Set,WeakMap,WeakSet} constructors
Issue #17
2019-02-15 23:37:46 +08:00
NTD
3271333633 Fix mozbuild looking for .cargo 2019-02-15 23:37:44 +08:00
Ralph Giles
e021f1fe42 Bug 1443865 - Use 16-bit eobs count. r=kinetik, a=RyanVM
MozReview-Commit-ID: 4lfBbvSTNPO

--HG--
extra : source : a628b2125a1b860c6d8124387040ec9589c219ab
extra : intermediate-source : e9128973a480c8aedf3a2e1c67d3e168613fa17c
2019-02-15 23:37:42 +08:00
Tom Ritter
e1f9388ba1 Bug 1437105 - Remove flaky timing tests from ESR branch that sometimes fail with time clamping. r=baku, a=test-only
Because we hardcode time clamping in ESR (as opposed to having a pref) I
don't see a way to guarentee that this test won't fail when we lose the
race and clamp downwards.

MozReview-Commit-ID: IMwejbOBmDu
2019-02-15 23:37:40 +08:00
Jeff Muizelaar
9a47c23711 Bug 1438425 - Delete DocumentRenderer. r=jesup, r=jgilbert, a=RyanVM
It is unused.
2019-02-15 23:37:39 +08:00
Jeff Gilbert
e0a60672a5 Bug 1442504 - Disable disjoint timer queries. r=milan, a=RyanVM
MozReview-Commit-ID: IurPcGHzAoQ

--HG--
extra : source : bef3db82d7ca31a188f902e317713c88001938ed
extra : intermediate-source : aeb9e1be02d26d4e21717368755b63821dc2d222
2019-02-15 23:37:37 +08:00
Steve Fink
1baa793518 Bug 1434384 - Mark v1 structured clone data as cross-process. r=jorendorff, a=RyanVM
--HG--
extra : source : d85679eb427513cb18650f3d4e7d37a6ccbefbab
extra : intermediate-source : 5c286cc709dfcaca7269b88516e6f71626c98496
2019-02-15 23:37:36 +08:00
wolfbeast
30a101ad73 Revert "Bug 1438425 - Delete DocumentRenderer. r=jesup, a=RyanVM"
This reverts commit 5b69e05939c7fd3f917e2dd0f399774b3b15c886.
2019-02-15 23:37:34 +08:00
Tom Ritter
8b096e70d2 Bug 1442127 - Allow timestamps to be equal in video delay. r=baku, a=test-only
MozReview-Commit-ID: LsNy7E3bFv6

--HG--
extra : transplant_source : %B4t%00u%DB%EE%86%BD2%81%AA%CD%88X%BF%BC%AE%E8%3D%B7
extra : histedit_source : a16c98faab76929e32d9153b288f4ec5c92a0ba6
2019-02-15 23:37:33 +08:00
Tom Ritter
af7e635176 Bug 1442127 - Allow function call times to occur at the same time in browser_profiling-canvas.js for ESR branch. r=baku, a=test-only
MozReview-Commit-ID: Fev1JqBwJYO

--HG--
extra : transplant_source : %ADG%83%28%3B%94f%98%EAO%80%08%8A%DFs%D4%24C9%A8
extra : histedit_source : 4859a7fdd7b324e0c0231feb4e13437f836bdb9c
2019-02-15 23:37:31 +08:00
Jan de Mooij
514c90e37c Bug 1437450 - Disable Ion no-clone optimization for regexps if the graph contains try blocks. r=nbp, a=RyanVM
--HG--
extra : source : 61b461277369e0cec89c79d8526a82c575818e94
extra : intermediate-source : 806696d494300c8c09ad2c0c3141194b5418a706
extra : histedit_source : e38bbe5c22bace744f6da0b8ff39462b64fe5a95
2019-02-15 23:37:30 +08:00
Henri Sivonen
ce764cb994 Bug 1425520. r=smaug, a=abillings
MozReview-Commit-ID: IoZeR5BGjmQ

--HG--
extra : source : e20052aa341d6da4505eb84be6e061bb7f37de51
extra : intermediate-source : a330f1d4d12a7c144797f3686f35a99c37b0755e
extra : histedit_source : 6d3684d36b39fd065f742ceb577d8b6db4735bcf
2019-02-15 23:37:28 +08:00
Jeff Muizelaar
a64b1808c0 Bug 1438425 - Delete DocumentRenderer. r=jesup, a=RyanVM
It is unused.

--HG--
extra : histedit_source : b7af9f250f0330f90547114184873ae9971f20fc
2019-02-15 23:37:27 +08:00