Jeff Walden
9251e2a1da
Bug 1285649 - Replace an ellipsis function, whose last non-ellipsis argument was subject to integer promotions, with a variadic template function so as not to invoke C++ undefined behavior, because that would be Bad. r=froydnj
2016-07-20 15:06:48 -07:00
Jeff Walden
d6391c60ea
Backed out changeset 1a2627378a0d, didn't tag the reviewer correctly.
2016-07-26 11:12:21 -07:00
Mike Taylor
e18289c5e2
Bug 1246796. Allow getting/setting dashed attributes that start with "-", for web compatibility. r=bz
2016-07-26 11:23:36 -05:00
Jeff Walden
b0edcf1fb1
Bug 1285649 - Replace an ellipsis function, whose last non-ellipsis argument was subject to integer promotions, with a variadic template function so as not to invoke C++ undefined behavior, because that would be Bad. NOT REVIEWED YET
...
--HG--
extra : rebase_source : 4b2fe5fbf7baaf599026f916e8969862c053a64c
2016-07-20 15:06:48 -07:00
Boris Zbarsky
a42390b506
Bug 1288581 followup. Remove a bogus comment. DONTBUILD.
2016-07-22 17:20:49 -04:00
Boris Zbarsky
25504e4a0d
Bug 1288581 part 1. Start tracing the expando object, if any, inside the ExpandoAndGeneration of a shadowing DOM proxy from that proxy's trace hook. r=smaug
2016-07-22 16:19:52 -04:00
Carsten "Tomcat" Book
8b6316ec5f
Merge mozilla-central to mozilla-inbound
2016-07-22 11:59:06 +02:00
Carsten "Tomcat" Book
336105a0de
merge mozilla-inbound to mozilla-central a=merge
2016-07-22 11:58:02 +02:00
Andrew McCreight
623b56a3f1
Bug 1287143
- Remove the window argument to SpecialPowers.exactGC(). r=jmaher
...
Cu.forceCC() is the same as DOMWindowUtils.cycleCollect(), but does
not require a window.
2016-07-19 13:13:00 +08:00
Boris Zbarsky
13a6409e22
Bug 1280818 part 2. Change console to capture the first non-self-hosted subsumed frame when it just needs a caller location, instead of capturing the first frame and then possibly failing to get useful location info out of it because it's self-hosted. r=baku
2016-07-21 23:41:02 -04:00
Nick Fitzgerald
ea16cfab73
Bug 1280818 part 1 - Add the ability to capture the stack until the first non-self-hosted frame with the given principals; r=bz,jimb
...
Before this commit, one could either capture all stack frames (by passing
maxFrameCount = 0) or a maximum of N frames (by passing maxFrameCount = N). This
commit introduces the ability to capture the first frame (by default ignoring
self hosted frames) with some target principals. This new option required
replacing the `unsigned maxFrameCount` parameter with the introduction of a new
sum type to describe the stack capturing behavior:
StackCapture = AllFrames
| MaxFrames(unsigned n)
| FirstSubsumedFrame(JSPrincipals* p, bool ignoreSelfHosted)
This is obviously more wordy in C++ than we'd like, but does make the stack
capturing more explicit rather than relying on the sentinal 0 to stand in for
infinity.
2016-07-21 23:40:59 -04:00
Tom Tromey
5538d692d3
Bug 1286877 - do not set c-basic-offset for python-mode; r=gps
...
This removes the unnecessary setting of c-basic-offset from all
python-mode files.
This was automatically generated using
perl -pi -e 's/; *c-basic-offset: *[0-9]+//'
... on the affected files.
The bulk of these files are moz.build files but there a few others as
well.
MozReview-Commit-ID: 2pPf3DEiZqx
--HG--
extra : rebase_source : 0a7dcac80b924174a2c429b093791148ea6ac204
2016-07-14 10:16:42 -06:00
Till Schneidereit
f8bc4fae19
Bug 911216 - Part 30: Enable SpiderMonkey Promise implementation. r=bz,efaust,bholley,Paolo,tromey,shu
...
Also contains folded version of the following patches that have to land at the same time with enabling the new implementation (or be backed out at the same time, if it comes to that):
Add Promise checks to test_xrayToJS.xul. r=bholley
Change Promise debugger hook tests to use Promise ctor instead of makeFakePromise. r=shu
Change DOM interface tests to assume Promise is an ES builtin, not a DOM one. r=bz
Remove some PromiseDebugging references. r=bz
Adapt promise rejections test to new xray-unwrapping error. r=bz
Fix expectations in browser_timelineMarkers tests. r=tromey
2016-07-21 12:06:30 +02:00
Brad Lassey
b3e11b9f98
Bug 1186948 - remove plugins that are click-to-play from navigator.plugins (restricted to Flash). r=jst,mconley,mrbkap
2015-08-03 19:24:35 -04:00
Carsten "Tomcat" Book
0b2b46fcdb
Merge mozilla-central to mozilla-inbound
2016-07-18 17:10:52 +02:00
Carsten "Tomcat" Book
331d217bba
merge autoland to mozilla-central a=merge
2016-07-18 17:05:46 +02:00
Carsten "Tomcat" Book
779d97cbaf
Backed out changeset a80fdfc128b0 (bug 911216) for high crash-rate on developers - RyanVM request
2016-07-18 16:14:59 +02:00
Jan de Mooij
b68d3ea4c4
Bug 1285134 part 1 - Move the runtime private to the context. r=efaust
2016-07-18 14:36:13 +02:00
Carsten "Tomcat" Book
a0992595d6
merge mozilla-inbound to mozilla-central a=merge
2016-07-17 10:08:08 +02:00
Brian Birtles
dca0a51347
Bug 1277456 part 4 - Use the document associated with an AnimationEffectTiming object as the context for parsing easing rather than the current realm document; r=bz
...
MozReview-Commit-ID: 4LhbIUIz6Vd
--HG--
extra : rebase_source : 817d59a42876d2c28455fece896e0648fbff551e
2016-07-13 13:22:13 +09:00
Boris Zbarsky
c100c511bf
Bug 933378 part 4. Change the ErrorResult destructor to suppress the exception, after asserting that it's already suppressed. r=bkelly
2016-07-15 22:35:13 -04:00
Boris Zbarsky
de3dccf7da
Bug 933378 part 2. Introduce a FastErrorResult class that bindings can use internally instead of ErrorResult. r=bkelly
2016-07-15 22:35:13 -04:00
Boris Zbarsky
e3b8194f3f
Bug 933378 part 1. Introduce a TErrorResult class that will serve as a base class for various ErrorResult-like subclasses. No actual behavior changes so far. r=bkelly
2016-07-15 22:35:13 -04:00
Till Schneidereit
3a9eed06fe
Bug 911216 - Part 30: Enable SpiderMonkey Promise implementation. r=bz,efaust,bholley,Paolo,tromey,shu
...
Also contains folded version of the following patches that have to land at the same time with enabling the new implementation (or be backed out at the same time, if it comes to that):
Add Promise checks to test_xrayToJS.xul. r=bholley
Change Promise debugger hook tests to use Promise ctor instead of makeFakePromise. r=shu
Change DOM interface tests to assume Promise is an ES builtin, not a DOM one. r=bz
Remove some PromiseDebugging references. r=bz
Adapt promise rejections test to new xray-unwrapping error. r=bz
Fix expectations in browser_timelineMarkers tests. r=tromey
2016-07-16 15:05:12 +02:00
Emilio Cobos Álvarez
12929ea07e
Bug 1224664 - Assert if an ErrorResult is accessed on a thread different than the one it's created on, r=khuey
2016-07-15 22:35:13 -04:00
Carsten "Tomcat" Book
255d05f484
Backed out changeset 03362dd7616d (bug 1224664)
2016-07-16 10:03:12 +02:00
Carsten "Tomcat" Book
2abd5d3f18
Backed out changeset dd2d38b7c16b (bug 933378)
2016-07-16 10:03:11 +02:00
Carsten "Tomcat" Book
b2d35d7ca3
Backed out changeset 1c2bd3bdebd6 (bug 933378)
2016-07-16 10:03:10 +02:00
Carsten "Tomcat" Book
dfb4a51bab
Backed out changeset ed38780a242c (bug 933378)
2016-07-16 10:03:08 +02:00
Carsten "Tomcat" Book
10cd9bcc48
Backed out changeset 7fef388bc6cf (bug 1224664)
2016-07-16 10:03:07 +02:00
Boris Zbarsky
8f9cd3e3f5
Bug 1224664 followup: NS_ASSERT_OWNINGTHREAD needs to be #ifdef DEBUG if our NS_DECL_OWNINGTHREAD is.
2016-07-15 23:40:19 -04:00
Boris Zbarsky
a522fa79b7
Bug 933378 part 4. Change the ErrorResult destructor to suppress the exception, after asserting that it's already suppressed. r=bkelly
2016-07-15 22:35:13 -04:00
Boris Zbarsky
38d0ae9c0c
Bug 933378 part 2. Introduce a FastErrorResult class that bindings can use internally instead of ErrorResult. r=bkelly
2016-07-15 22:35:13 -04:00
Boris Zbarsky
4e44fce24b
Bug 933378 part 1. Introduce a TErrorResult class that will serve as a base class for various ErrorResult-like subclasses. No actual behavior changes so far. r=bkelly
2016-07-15 22:35:13 -04:00
Emilio Cobos Álvarez
c5ce5bdb84
Bug 1224664 - Assert if an ErrorResult is accessed on a thread different than the one it's created on, r=khuey
2016-07-15 22:35:13 -04:00
Edgar Chen
3c4e6a930e
Bug 1286548 - SecureContext makes sense for interface with NoInterfaceObject, since it is also propagated to interface members; r=bz
...
MozReview-Commit-ID: K7Z3r2YRt7M
--HG--
extra : rebase_source : 5ebb9cd09de4a42690bac6cd04208f108da50731
2016-07-14 17:48:20 +08:00
Alexandre Lissy
6798f02654
Bug 1286530 - Clean AvailableIn, CheckAnyPermissions and CheckAllPermissions from WebIDL r=bz,fabrice
...
MozReview-Commit-ID: 6EQfBM09xUE
--HG--
rename : dom/contacts/tests/test_contacts_cache.xul => dom/contacts/tests/test_contacts_a_cache.xul
rename : dom/contacts/tests/test_contacts_shutdown.xul => dom/contacts/tests/test_contacts_a_shutdown.xul
rename : dom/contacts/tests/test_contacts_upgrade.xul => dom/contacts/tests/test_contacts_a_upgrade.xul
rename : dom/mobilemessage/tests/mochitest/mochitest.ini => dom/mobilemessage/tests/mochitest/chrome.ini
extra : rebase_source : 5f708f2a927fafff66626367ef07080785ba9f55
2016-04-21 15:48:59 +02:00
Andrew McCreight
1d1ce1020c
Bug 1283636 - Use CallbackPreserveColor() less. r=bz
...
Some places call CallbackPreserveColor() because they know the object
must have already been marked black. This patch replaces those calls
with a new function CallbackKnownNotGray() which documents and
dynamically checks this assumption.
2016-07-13 13:28:00 +02:00
Boris Zbarsky
efc4dcf284
Bug 1275315 part 2. Use the new Realm getters in binding code. r=peterv
2016-07-09 00:19:52 -04:00
Chris Peterson
43c2748f66
Bug 1277775 - Replace MOZ_CONSTEXPR{_VAR,_TMPL} with constexpr. r=froydnj
2016-07-08 14:39:53 -07:00
Boris Zbarsky
1ed92648d1
Bug 1257037 part 15. Get rid of the wantsXrays configuration annotation. Just set bindings to want Xrays if they're exposed in Window. r=khuey
2016-07-08 00:37:55 -04:00
Boris Zbarsky
8c00d2132b
Bug 1257037 part 14. Remove the now-unused skipGen bits from binding code. r=khuey
2016-07-08 00:37:55 -04:00
Boris Zbarsky
d959247e48
Bug 1257037 part 13. Get rid of the concept of worker vs non-worker descriptors. r=khuey
2016-07-08 00:37:55 -04:00
Boris Zbarsky
4813a875a7
Bug 1257037 part 12. Simplify CGRegisterWorkerBindings now that there are no more worker descriptors. r=khuey
2016-07-08 00:37:55 -04:00
Boris Zbarsky
f3fde63185
Bug 1257037 part 11. Get rid of getRelevantProviders, since all the places that use it have a Configuration. r=khuey
2016-07-08 00:37:55 -04:00
Boris Zbarsky
584c6019b6
Bug 1257037 part 10. Store only one descriptor per interface name in the configuration. r=khuey
2016-07-08 00:37:54 -04:00
Boris Zbarsky
67d015d59c
Bug 1257037 part 9. Get rid of the concept of mainthread callbacks or worker callbacks; just codegen all the callbacks. r=khuey
2016-07-08 00:37:54 -04:00
Boris Zbarsky
ca29b3c56a
Bug 1257037 part 8. Remove Configuration.getDescriptorProvider. r=khuey
2016-07-08 00:37:54 -04:00
Boris Zbarsky
f719b4d8e4
Bug 1257037 part 7. Make the binding Configuration a non-workers DescriptorProvider. r=khuey
2016-07-08 00:37:54 -04:00
Boris Zbarsky
fc26f41e40
Bug 1257037 part 6. Simplify the toBindingNamespace function now that there are no worker bindings. r=khuey
2016-07-08 00:37:54 -04:00