Commit graph

3,123 commits

Author SHA1 Message Date
Gaming4JC
b5bcbfe58c Bug 1331092 - Part 2: Implement Async Generator except yield*.
Tag #1287
2019-12-18 09:16:56 +08:00
Gaming4JC
10b93afff4 Bug 1331092 - Part 2: Implement Async Generator except yield*.
Tag #1287
2019-12-18 09:16:52 +08:00
Gaming4JC
c8d569d1b8 Bug 1331092 - Part 1: Add Symbol.asyncIterator.
Tag #1287
2019-12-18 09:16:06 +08:00
Gaming4JC
e9ad9eab15 Bug 1331092 - Part 0: Define NOMINMAX to avoid compile error from min/max macro on windows.
Tag #1287
2019-12-18 09:16:05 +08:00
Gaming4JC
22cd310e82 Bug 1317389: Change property attributes for generator and async functions to match ES2015/2017.
Tag #1287
2019-12-18 09:16:03 +08:00
Gaming4JC
086d14cb8b Bug 1344753 - Update for-of stack depth in ControlFlowGenerator::processWhileOrForInLoop.
Tag #1287
2019-12-18 09:16:02 +08:00
Gaming4JC
c9f1fa2cda Bug 1316098 - Optimize out result object allocation for await/return in async function.
Tag #1287
2019-12-18 09:16:01 +08:00
Gaming4JC
c1bdfa62fc Bug 1343481 - Part 7: Add BytecodeEmitter::emitDotGenerator and make yield/await nodes unary.
Tag #1287
2019-12-18 09:15:59 +08:00
Gaming4JC
2bbebc6ebc Bug 1343481 - Part 6: Add native functions wrapper for GetInternalError and GetTypeError.
Tag #1287
2019-12-18 09:15:58 +08:00
Gaming4JC
04ec8aaf1c Bug 1343481 - Part 5: Rename AsyncFunction-related names in Promise.cpp to explicitly say Async Function.
Tag #1287
2019-12-18 09:15:56 +08:00
Gaming4JC
bc80cb0d51 Bug 1343481 - Part 4: Add Add GeneratorObject.{isAfterYield,isAfterAwait}.
Tag #1287
2019-12-18 09:15:55 +08:00
Gaming4JC
a6872d9ea3 Bug 1343481 - Part 3: Add JSOP_AWAIT and rename {yieldIndex,yieldOffset} to {yieldAndAwaitIndex,yieldAndAwaitOffset}.
Tag #1287
2019-12-18 09:15:54 +08:00
Gaming4JC
45337018ef Bug 1343481 - Part 2: Stop using StarGegerator for async function.
Tag #1287
2019-12-18 09:15:52 +08:00
Gaming4JC
7eb5d46c11 Bug 1343481 - Part 1: Remove {JSFunction,JSScript,LazyScript}.isGenerator() method.
Tag #1287
2019-12-18 09:15:51 +08:00
Gaming4JC
4ce0bb5e0a Bug 1336705 - Part 2: Add self-hosting intrinsics for resolving/rejecting Promises and adding reactions.
Tag #1287
2019-12-18 09:15:50 +08:00
Gaming4JC
f15e675b86 Bug 336705 - Part 1: Support creating and resolving Promises without resolve/reject functions.
Useful for internally-created Promises that'll only ever be resolved/rejected internally.

Tag #1287
2019-12-18 09:15:49 +08:00
Gaming4JC
70cbae88ea Bug 1317376 - Part 2: Detect Promise self-resolution when resolving through the Promise resolving fast path.
Tag #1287
2019-12-18 09:15:47 +08:00
Gaming4JC
300f97150c Bug 1317376 - Part 1: Remove unreachable code and remnants from the self-hosted implementation.
Tag #1287
2019-12-18 09:15:46 +08:00
Roy Tam
b241d88b7d remove official brandings, closes #10. 2019-12-17 10:21:20 +08:00
wolfbeast
0d40de5915 Issue #1317 - Increase the XML nested depth limit to 2048.
- Converts from macro to static const for the limit.
- Uses a check against the declared type for the counter instead of
  a hard-coded one.

This resolves #1317.
2019-12-13 09:59:15 +08:00
wolfbeast
9bb203773c Update default bookmarks toolbar FAQ entry to redirect to forum. 2019-12-12 13:32:04 +08:00
wolfbeast
ac6ab46cad New cycle version bump 2019-12-12 13:31:59 +08:00
Matt A. Tobin
70be4df40f No Issue - Execute the precomplete command on *nix AltPackaging
Windows does not need this as mar generation is dependent on the NSIS Installer which already contains the call
2019-12-10 10:50:31 +08:00
Gaming4JC
5199f3f3b8 Bug 1571481 - Improve multipart/alternative.
w/ Fixup for 1464056 - Follow-up: rename pref to align with mailnews.p7m_external (which was already in 52.x but missing a single line)

Tag #1311
2019-12-10 10:50:22 +08:00
Gaming4JC
0c908247d6 Bug 1482248 - don't crash on empty file name in nsMsgLocalStoreUtils::nsShouldIgnoreFile.
Tag #1311
2019-12-10 10:50:20 +08:00
Gaming4JC
a5aa1c26bf Bug 1509685 - Add more bounds checking in nsMsgDBView::UpdateDisplayMessage() to avoid crashes
Tag #1311
2019-12-10 10:50:19 +08:00
wolfbeast
d4b247abb3 Add missing call to WaitForIsDebuggerRegistered 2019-12-07 06:55:12 +08:00
Craig Disselkoen
b7f6024e34 [NSS] Bug 1586176 - EncryptUpdate should use maxout not block size. 2019-12-07 06:55:10 +08:00
Christian Holler
39c9c5849b Check return value of PeerConnectionImpl::GetFingerprint. 2019-12-07 06:55:08 +08:00
J.C. Jones
0916deba59 [NSS] Bug 1508776 - Remove unneeded refcounting from SFTKSession
SFTKSession objects are only ever actually destroyed at PK11 session
closure, as the session is always the final holder -- and asserting
refCount == 1 shows that to be true. Because of that, NSC_CloseSession
can just call `sftk_DestroySession` directly and leave
`sftk_FreeSession` as a no-op to be removed in the future.
2019-12-07 06:55:07 +08:00
wolfbeast
72e5396dfa Initialize all fields of GdkEvents in nsClipboard.cpp 2019-12-06 22:46:50 +08:00
wolfbeast
5a102074d1 Fix incorrect values for saving ordered lists as text. 2019-12-06 22:46:48 +08:00
wolfbeast
39cc10dde8 Update identifier map entries and notify if they get removed.
This can happen through DestroyElementMaps()
Based on work by Markus Stange and Edgar Chen.
2019-12-06 22:46:47 +08:00
Jonathan Kew
c0a28dbd30 Check if we're already at the end of the frame's content. 2019-12-06 22:46:45 +08:00
Valentin Gosu
38439fd244 Use mutex in PACResolver when accessing mRequest from multiple threads. 2019-12-06 22:46:44 +08:00
David Parks
db34f0e7be Properly detect failure in receiving plugin NPObjects.
Properly handles NPError reporting and makes sure that, in the case of
failure, it does not return junk for the NPObject.
2019-12-06 22:46:42 +08:00
wolfbeast
e26dc7595a Issue #1313 - Bump Firefox compatMode version to 68.9
This resolves #1313.
2019-12-06 07:30:57 +08:00
wolfbeast
edb91248b1 Issue #1307 - Part 8: Remove deprecated sysctl.h inclusion. 2019-12-06 07:30:48 +08:00
wolfbeast
758d4d320e Issue #1307 - Part 7: Add missing MALLOC_STATS 2019-12-06 07:30:46 +08:00
wolfbeast
62e392725c Issue #1307 - Part 6: Remove dead code behind PTHREAD_MMAP_UNALIGNED_TSD 2019-12-06 07:30:44 +08:00
wolfbeast
8cd5f01ad5 Issue #1307 - Part 5: Remove allocation tracing.
Pointless for debugging and a major performance sink.
2019-12-06 07:30:43 +08:00
wolfbeast
442f6b3252 Issue #1307 - Part 4: Stop using variable-length arrays.
"USING VLA'S IS ACTIVELY STUPID! It generates much more code, and much
slower code (and more fragile code), than just using a fixed key size
would have done." -- Linus Torvalds
2019-12-06 07:30:41 +08:00
wolfbeast
252a22d066 Issue #1307 - Part 3: Assume MOZ_MEMORY is always enabled.
We never use jemalloc without MOZ_MEMORY surrounding code (mostly a
FreeBSD concession which doesn't work anyway). This allows us to get rid
of the "poor man's mutex" (CPU-based spinlock) in mozjemalloc.
2019-12-06 07:30:40 +08:00
wolfbeast
724b852a34 Issue #1307 - Part 2: Remove disabled code blocks 2019-12-06 07:30:38 +08:00
wolfbeast
2224bed064 Issue #1307 - Part 1: Remove MALLOC_VALIDATE
This basic validation is hard-set to always-on, so no point in keeping
it conditional since we basically always want this rudimentary pointer
validation to be done.
2019-12-06 07:30:36 +08:00
Matt A. Tobin
36914a3c5c No Issue - Add checking in platform/ for clobber.py because it can only know hardcoded values in comm-style configurations 2019-12-02 15:46:28 +08:00
Matt A. Tobin
2d24edf3c2 No Issue - Don't use a hard coded path for win_srcdir in comm-style configurations 2019-12-02 15:46:27 +08:00
Matt A. Tobin
a4b95f5c0a Issue #1306 - Move bundled fonts to toolkit 2019-12-02 15:46:26 +08:00
wolfbeast
4630022115 Issue #1309 - Fix handling of display rows where the elements are not
forming a monotonically increasing sequence (e.g. with position:sticky)

Relative positioning can cause table parts to move, which can cause
issues with the cursor position to know which rows can be skipped.
To make this work, use the max difference between the frame's rect and
the union of the frame's "normal" position and the overflow rect to
cover the area of relatively positioned elements even if they are out of
order.

This resolves #1309.
2019-12-02 15:46:02 +08:00
wolfbeast
75d291480c Issue #1308 - Create nsDisplayTableBackgroundColor to avoid display
list collisions when processing the background color of a table.

This is effectively #146 Part 3c to go along with the other 2 there.

This resolves #1308.
2019-12-02 15:46:00 +08:00