Kyle Huey
eacb809d5f
Bug 1274114: Factor out main thread specific parts of event processing. r=froydnj
2016-05-22 08:30:03 -04:00
Kyle Huey
231aeec2d9
Bug 1274435: Don't bother tracking the main thread in SharedBufferManagerParent. r=sotaro
2016-05-22 08:28:07 -04:00
Andrea Marchesini
bc5d7ec31f
Bug 1274364 - BroadcastChannel.postMessage should throw an InvalidStateError DOMException when channel is closed, r=smaug
2016-05-22 13:22:52 +02:00
Andrea Marchesini
cbf578c96e
Bug 1274362 - BroadcastChannel should throw DataCloneError when StructuredCloneAlgorithm fails, r=smaug
2016-05-22 13:22:06 +02:00
Jonathan Kew
1d578125d7
Bug 1274368 - Reftest for resizers on elements with vertical writing modes. r=dholbert
2016-05-22 10:39:49 +01:00
Jonathan Kew
72fc68048e
Bug 1274368 - Draw resizer as RTL for elements with vertical-rl writing mode. r=dholbert
2016-05-21 13:59:25 +01:00
Jon Coppeard
96a387c2b5
Bug 1274065 - Fix possible assertion failure in pre-barrier verifier r=terrence
2016-05-22 09:28:20 +01:00
Mike Hommey
8855262939
Bug 1269171 - Change how mozalloc.h is hooked in STL wrappers. r=froydnj
...
Since the introduction of the STL wrappers, they have included
mozalloc.h, and multiple times, we've hit header reentrancy problems,
and worked around them as best as we could.
Taking a step back, all mozalloc.h does is:
- declare moz_* allocator functions.
- define inline implementations of various operator new/delete variants.
The first only requires the functions to be declared before they are used,
so mozalloc.h only needs to be included before anything that would use
those functions.
The second doesn't actually require a specific order, as long as the
declaration for those functions comes before their use, and they are
either declared in <new> or implicitly by the C++ compiler.
So all in all, it doesn't matter that mozalloc.h is included before the
wrapped STL headers. What matters is that it's included when STL headers
are included. So arrange things such that mozalloc.h is included after
the first wrapped STL header is fully preprocessed (and all its includes
have been included).
2016-05-22 08:32:40 +09:00
Mike Hommey
60564d7bff
Bug 1269171 - Backout ccff1c4580ab (bug 1270832) because it doesn't actually work properly and blocks upcoming changes. r=froydnj
...
It turns out that, since we're including <new> before setting
_GLIBCXX_DEBUG, the debug parts of c++config.h are not activated, and
that has an impact of how much of the debug features of the STL are
activated.
In contrast, the upcoming changes to the STL wrappers are avoiding the
include of <new> before _GLIBCXX_DEBUG is set, which in turn breaks the
build because, as we link things that use STL wrappers with things that
don't, they end up with a different state of STL debugging, and have
mismatching symbols.
2016-05-22 08:32:33 +09:00
bd339
c01768d2a8
Bug 1056381 - When a layer transaction comes in, only update the hit testing tree when necessary. r=botond
...
MozReview-Commit-ID: KdLNEMxqtDU
--HG--
extra : rebase_source : ca21e15eabacd8e50d002f53c4635887f173fac3
extra : amend_source : fcbfee71267c2b1db44f646409e480c1b31bf201
2016-05-16 20:53:44 +02:00
Sebastian Hengst
bcf24386ee
Backed out changeset 6e043a8ce335 (bug 996060) for cgc test failure in testCall.js. r=backout
2016-05-22 00:00:13 +02:00
Sebastian Hengst
14189e51f1
Backed out changeset d53726702252 (bug 996060)
2016-05-22 00:00:03 +02:00
Sebastian Hengst
04ea41e959
Backed out changeset 932ebd50f385 (bug 996060)
2016-05-21 23:59:55 +02:00
Nick Fitzgerald
59c05a06a8
Bug 1273647 - Elucidate reference counting of SharedImmutableStringsCache; r=jimb
2016-05-21 13:27:08 -07:00
Nick Fitzgerald
aaa95cb85e
Bug 1269451 - Part 6: Remove the unused `compressedHash` member from SourceCompressionTask; r=jimb
2016-05-21 13:27:07 -07:00
Nick Fitzgerald
a1aed1753f
Bug 1269451 - Part 5: SourceCompressionTask should use UniquePtr rather than raw pointers; r=jimb
2016-05-21 13:27:07 -07:00
Nick Fitzgerald
3bb22ebfcb
Bug 1269451 - Part 3: Stop doing DEBUG-only hashing to catch incorrect mutations to SharedImmutableString's chars; r=jimb
...
DEBUG tests keep timing out with these enabled.
2016-05-21 13:27:07 -07:00
Nick Fitzgerald
728d4fed84
Bug 1269451 - Part 1: SharedImmutableString should hold a pointer to the cache's entry; r=jimb
...
This commit changes SharedImmutableString from holding its cache's entry's chars
and length directly, to holding a pointer to its cache's entry. This allows us
to avoid a table lookup and the full string hashing that entails in the
destructor.
2016-05-21 13:27:07 -07:00
Nick Fitzgerald
3883b80862
Bug 1269451 - Part 0: Add an extra indirection around entries in the SharedImmutableStringsCache; r=jimb
2016-05-21 13:27:07 -07:00
Botond Ballo
57c1a0f283
Bug 1273250
- Simplify logic for determining whether a display item should be fixed to thew viewport. r=mstange
...
MozReview-Commit-ID: 3tXhaBnNa0K
--HG--
extra : rebase_source : 2e894c9dd444cf49606a4a4381e86a5b9f11669b
extra : amend_source : ba114ec32272b696c3b29d45d42c4a36ad3854fb
extra : histedit_source : 7f40ea44e8983191bc3a1b15ab2ddedbe5fc2cbe
2016-05-16 19:49:49 -04:00
Botond Ballo
bdb7838ac2
Bug 1273250
- Set a layer clip rather than a scroll clip for fixed background layers if the clip moves with the layer. r=mstange
...
This patch also removes the earlier workaround added in bug 1272525.
MozReview-Commit-ID: HR2wF2BGsKl
--HG--
extra : rebase_source : b561f8721d91c930bced7664f11a331552b97a5e
extra : histedit_source : d57e430f76851ce252416aa77fdaad0897d03756
2016-05-16 17:20:23 -04:00
Botond Ballo
8320a4382b
Bug 1273250
- Expand the visible rect of fixed background display items instead of special-casing them in FrameLayerBuilder. r=mstange
...
MozReview-Commit-ID: DT3Mh8ordzQ
--HG--
extra : rebase_source : 5da55ed6ec733ff10c2c855c95bf4109fdbbe4b5
extra : histedit_source : e002d39c9d4df54468d66fd13a9663db799d490f
2016-05-16 17:14:29 -04:00
Botond Ballo
4b2d2e68d3
Bug 1273250
- Factor out a helper function to calculate the viewport rect. r=mstange
...
MozReview-Commit-ID: ACJayEWplCY
--HG--
extra : rebase_source : 22ef189053bd80e3f8faaa10fb239031f8010587
extra : histedit_source : 510dbd0887b2cecc5366d0be1cb380ec7efb3d0d
2016-05-16 17:13:19 -04:00
Jan de Mooij
56733050cb
Bug 1261308 - Ensure Ion optimizes getgname constants exactly like Baseline. r=shu
...
--HG--
extra : rebase_source : 73f2472dbbeadd70064029fe2cf308ee54c0dd13
2016-05-21 20:08:54 +02:00
Jan de Mooij
69cdac665d
Bug 1271609 - Make ReleaseAllJITCode call Zone::discardJitCode instead of duplicating it. r=jonco
...
--HG--
extra : rebase_source : fb6f46e2c85b9696876bf2d4d90a83e95bfdc369
2016-05-21 19:54:04 +02:00
Christoph Kerschbaumer
d7757bf8dd
Bug 1273364 - Trying to set a CSP on a SystemPrincipal should return NS_ERROR (r=njn)
2016-05-21 19:36:24 +02:00
Christoph Kerschbaumer
52a84afc5c
Bug 1273418
- CSP: Test evaluate upgrade-insecure-requests before block-all-mixed-content (r=tanvi)
2016-05-21 19:36:02 +02:00
Christoph Kerschbaumer
3713fd6352
Bug 1273418
- CSP: Evaluate upgrade-insecure-requests before block-all-mixed-content (r=tanvi)
2016-05-21 19:35:45 +02:00
Nick Fitzgerald
6cb53b2637
Bug 996060 - Follow up: Add missing "js::" namespace qualification on a CLOSED TREE; r=me
2016-05-21 10:40:17 -07:00
Sebastian Hengst
63e3ff7608
Backed out changeset 2a2a4005e935 (bug 1274404) for Asan bustage: use of undeclared identifier 'CrashReporter'. r=backout on a CLOSED TREE
2016-05-21 19:36:27 +02:00
Nick Fitzgerald
4777b6ccda
Bug 996060 - Part 2: Add a testing function and jit test for pending exception's stacks; r=sfink
2016-05-21 10:15:25 -07:00
Nick Fitzgerald
d83fd413a3
Bug 996060 - Part 1: Save a stack on JSContext::setPendingException; r=sfink
...
This commit captures the JS stack in `JSContext::setPendingException` and
exposes a new JSAPI function for getting the stack:
`JS::GetPendingExceptionStack`. This stack is cleared out when the pending
exception is cleared.
2016-05-21 10:15:24 -07:00
Eric Rahm
32c7d12a03
Bug 1261304 - Part 3: Avoid rebuilding real word list if possible. r=ehsan
...
We can avoid rebuilding the real word list if the begin and end nodes have not
changed. This can help with heap churn and possibly speed things up.
2016-05-21 10:07:16 -07:00
Eric Rahm
af7d64ab20
Bug 1261304 - Part 2: Shrink RealWord struct. r=ehsan
2016-05-21 10:07:15 -07:00
Eric Rahm
60cbdf73f4
Bug 1261304 - Part 1: Make word splitting fallible. r=ehsan
2016-05-21 10:07:13 -07:00
Eric Rahm
5e7354d86b
Bug 1236923 - Check int for overflow. r=peterv
2016-05-21 10:05:05 -07:00
Eric Rahm
ff177872a0
Bug 1274404 - Annotate IPC message name and size when crashing due to message size. r=mccr8
2016-05-20 14:30:39 -07:00
Kartikaya Gupta
d6c154f454
Bug 1274397 - Small optimization to use a RegionBuilder. r=tnikkel
...
MozReview-Commit-ID: 6Yro9uDIIEd
2016-05-21 00:06:44 -04:00
Jan de Mooij
d54ca15369
Bug 1269319 followup - Don't swap an entry with itself to avoid Variant self assignment. r=bustage
...
--HG--
extra : rebase_source : 0bf8331f4aba57502bbff07df478c1aeb91c2fc6
2016-05-21 18:08:30 +02:00
Tooru Fujisawa
02977947a6
Bug 1274393 - Check the pattern syntax again when adding unicode flag to RegExp object in RegExp constructor. r=till
2016-05-22 00:42:10 +09:00
Alexandre Lissy
e787353d06
Bug 1273947 - Update ResetDecode() to ResetDecode(TargetQueue) r=jya
...
MozReview-Commit-ID: A32znxwP5gb
--HG--
extra : rebase_source : 0ebf1c01e7efc3c9d34ca77fdf5123458c7eee27
2016-05-18 18:27:14 +02:00
Bob Owen
9d7707097f
Bug 1271601: If a child process fails to duplicate a TransportDescriptor pipe handle then send it anyway and get the target to duplicate. r=gabor
...
MozReview-Commit-ID: 5CKrQdDxGrg
2016-05-21 16:16:33 +01:00
Heiher
132da39aba
Bug 1272934 - IonMonkey: MIPS: Implement WasmTruncateToInt32. r=bbouvier
...
---
.../jit/mips-shared/CodeGenerator-mips-shared.cpp | 96 ++++++++++++++++++++++
js/src/jit/mips-shared/CodeGenerator-mips-shared.h | 4 +
2 files changed, 100 insertions(+)
2016-05-21 23:05:17 +08:00
Heiher
a0aa401368
Bug 1272934 - IonMonkey: MIPS: Implement Assembler::as_truncld/as_truncls. r=arai
...
---
js/src/jit/mips-shared/Assembler-mips-shared.cpp | 12 ++++++++++++
js/src/jit/mips-shared/Assembler-mips-shared.h | 2 ++
2 files changed, 14 insertions(+)
2016-05-21 23:05:16 +08:00
Heiher
e1290d9b2a
Bug 1272934 - IonMonkey: MIPS: Implement Assembler::as_ctc1/as_cfc1. r=arai
...
---
js/src/jit/mips-shared/Assembler-mips-shared.cpp | 12 ++++++++++++
js/src/jit/mips-shared/Assembler-mips-shared.h | 13 +++++++++++++
2 files changed, 25 insertions(+)
2016-05-21 23:05:14 +08:00
Jan de Mooij
eb2ea5c544
Bug 1269319 - Make AlignedStorage/AlignedStorage2 non-copyable to fix strict aliasing issues. r=Waldo
2016-05-19 20:57:36 +02:00
Benjamin Bouvier
12b06802d9
Bug 1272640: Implement wasm copysign opcode; r=sunfish
...
MozReview-Commit-ID: GT0Znmk0Dkl
--HG--
extra : rebase_source : 205140ab0f22c82d29d4a5a35c707c451ee7caa2
2016-05-18 19:03:57 +02:00
Benjamin Bouvier
71c7696397
Bug 1272640: Implement wasm opcodes trunc/nearestint; r=sunfish
...
MozReview-Commit-ID: 5g9KwkTM36k
--HG--
extra : rebase_source : 1bcf9863bb895fb7d7ddf44fb2704db58ed4df4b
2016-05-19 15:48:29 +02:00
Benjamin Bouvier
258bdc0148
Bug 1272640: Apply meta-patches to fdlibm/; r=arai
...
MozReview-Commit-ID: 3NNw1d0zF3k
--HG--
extra : rebase_source : e326698dfd32bf4e8734596ffabbfc2b390088c0
2016-05-19 16:05:34 +02:00
Benjamin Bouvier
65bc0f401d
Bug 1272640: Update patches in modules/fdblim/patches/; r=arai
...
MozReview-Commit-ID: HkQ223HMuMv
--HG--
extra : rebase_source : 00d78978498113f8a4d519247421675e3926e0a6
2016-05-19 16:04:14 +02:00