Sebastian Hengst
c213b3dd0c
Backed out changeset 06101225c145 (bug 1257042) for bustage. r=backout on a CLOSED TREE
2016-03-16 20:30:32 +01:00
Kyle Huey
24341cb722
Bug 1257042: Remove the worker descriptor for PushEvent and PushMessageData. r=bz
2016-03-16 11:51:11 -07:00
Kyle Huey
9b06834782
Bug 1257039: Remove the worker descriptor for FileReaderSync. r=bz
2016-03-16 11:51:11 -07:00
Kyle Huey
348998b290
Bug 1257038: Remove the worker descriptor for WorkerLocation. r=bz
...
--HG--
rename : dom/workers/Location.cpp => dom/workers/WorkerLocation.cpp
rename : dom/workers/Location.h => dom/workers/WorkerLocation.h
2016-03-16 11:51:11 -07:00
Nicholas Nethercote
666b54a97d
Bug 1255655 - Const-ify mozilla::dom::ErrorFormatString. r=baku.
...
--HG--
extra : rebase_source : 0f8d74ff1043835c54d68eb4002d72c2f94921cd
2016-03-11 13:05:10 +11:00
Steve Fink
517605b022
Bug 1246804 - Switch to using in-source annotations. Use C++ inheritance information when describing GC types. Add a test suite., r=terrence
...
MozReview-Commit-ID: HCcG2k8Wyb9
--HG--
extra : rebase_source : 732ef6ecc52f0e528d38b8c42e442919eba9b5ae
extra : source : 901b1c651c982ccbf42604231c723d168e1cde69
2015-09-29 13:39:33 -07:00
Steve Fink
57bca06b15
Backed out changeset 901b1c651c98 (bug 1246804)
...
--HG--
extra : rebase_source : d80a34f467275bf74672b87fd09a254b39ee20a1
2016-03-14 21:58:31 -07:00
Steve Fink
2dada4b1a0
Bug 1246804 - Switch to using in-source annotations. Use C++ inheritance information when describing GC types. Add a test suite., r=terrence
...
MozReview-Commit-ID: HCcG2k8Wyb9
--HG--
extra : rebase_source : 4b048fdcb150662c82e1b623e455551cc7281251
2015-09-29 13:39:33 -07:00
Wes Kocher
168746512d
Backed out changeset ee3c99e6f676 (bug 1177488) for LeakSanitizer failures
...
MozReview-Commit-ID: FFfF4u2vOrS
--HG--
extra : rebase_source : 0c7f5e290b388b2f35837a5f757f2d962b973da3
2016-03-14 13:15:21 -07:00
Nathan Froyd
6b6c2a1fcd
Bug 1177488 - use |const char*| for representing async call reasons; r=bz,fitzgen
...
Using a simple |const char*| is more memory-efficient than allocating a
JS string. We still have to allocate the JS string for passing things
into JS, but ideally we will be able to move the point of allocation
much closer to where it's actually needed, rather than indiscriminantly
doing it all the time.
2016-03-08 16:29:25 -05:00
Ehsan Akhgari
38d1ffea4e
Bug 1043562 - Hide the Contacts API from the contexts that lack sufficient privileges, such as Firefox desktop and Android; r=smaug
2016-03-13 15:17:54 -04:00
Boris Zbarsky
20514713f3
Bug 1255718. Remove the unused JSContext argument of AudioBuffer::Create. r=ehsan
2016-03-11 16:43:31 -05:00
Boris Zbarsky
57fc0e989c
Bug 1255709. Simplify the JSContext/GlobalObject handling in ServiceWorkerRegistrationMainThread::GetPushManager a bit. r=bkelly
2016-03-11 16:43:31 -05:00
Boris Zbarsky
ab1c6dbdb0
Bug 1255706 part 2. Remove JSContext argument from WorkerPrivate::Terminate. r=khuey
2016-03-11 16:43:30 -05:00
Sebastian Hengst
7045a40a0f
Backed out changeset 50c03319c341 (bug 1246091) for mochitest failures. r=backout
2016-03-11 20:16:19 +01:00
Andrea Marchesini
c4e620f562
Bug 1246091 - Expose ConsoleEvents to Worker Debugger Actors via Console object directly, r=ejpbruel
2016-03-11 17:59:52 +01:00
Tom Schuster
c1175e55e5
Bug 1253866 - Remove Proxy.create from crash tests. r=bz
2016-03-11 13:32:26 +01:00
Ehsan Akhgari
09a89f85f6
Bug 1255636 - Give a better error message when the Request constructor fails because of a cross-origin referrer URL; r=bkelly
2016-03-10 21:11:30 -05:00
Kyle Huey
9eea75a6f5
Bug 1252268: If the slow script dialog aborts an interval timer callback, don't schedule it again. r=bz
2016-03-10 01:50:56 -08:00
Boris Zbarsky
c1e007e11b
Bug 1255181. Remove AutoJSAPI::InitWithLegacyErrorReporting. r=bholley
2016-03-09 19:02:25 -05:00
Boris Zbarsky
36d4079be7
Bug 1254847 part 3. Make AutoEntryScript always take ownership of error reporting. r=bholley
2016-03-09 19:02:03 -05:00
Andrea Marchesini
a3cd53613f
Bug 1255099 - XHR CTOR doesn't need to use implicitJSContext, r=bz
2016-03-09 20:28:33 +01:00
Boris Zbarsky
3d39097c61
Bug 1254293. Fix dom::GetArrayIndexFromId to actually follow the spec for large indices (i.e. ones that don't fit in in int32_t). r=peterv
2016-03-08 17:21:40 -05:00
Morgan Phillips
d95ecfa483
Bug 1245877
- Expose error message names via the debugger object; r=jorendorff
...
--HG--
extra : rebase_source : 87a2c2f682285048be1c57c280f4e3af48b9d524
2016-03-04 12:21:57 -08:00
Nathan Froyd
f1c0aa7371
Bug 1170045 - part 2 - use SegmentedVector in the DeferredFinalize implementation; r=mccr8
...
This change ought to make the necessary allocations for many deferred
finalizations smaller, at the cost of some extra space usage and
slightly slower walking over the array.
2016-03-04 12:06:06 -05:00
sakshi
1af0b67296
Bug 1197311 - Remove PR_snprintf calls in dom/ r=froydnj
2016-02-17 14:23:39 -05:00
Ehsan Akhgari
38637e2005
Bug 1251872 - Part 1: Implement Request.referrerPolicy; r=jdm
2016-03-03 16:43:55 -05:00
Ehsan Akhgari
36207d26f5
Bug 1251448 - Add support for RequestInit.referrer; r=jdm
2016-03-02 18:18:27 -05:00
Boris Zbarsky
4d888c1249
Bug 1250949. Add some better documentation to the dictionary init codegen. r=ehsan
2016-03-02 12:38:24 -05:00
Boris Zbarsky
69924c14ce
Bug 1252123. Remove some unnecessary JSContext arguments from worker ScriptLoader methods. r=khuey
2016-02-29 14:52:42 -05:00
Jan de Mooij
7692130d1e
Bug 1221421 part 2 - Add test. r=bz
2016-02-27 17:32:42 +01:00
Boris Zbarsky
60b1a3f005
Bug 1251045 part 6. Remove the JSContext argument from some worker debugger methods that no longer need it. r=khuey
2016-02-26 15:23:12 -05:00
Ehsan Akhgari
afaabe46dc
Bug 1250985 - Part 1: Add a way to identify whether a WebIDL dictionary has any members present; r=bzbarsky
2016-02-25 19:49:06 -05:00
Boris Zbarsky
38ed0f626b
Bug 1249652 part 1. Add a method on ErrorResult to steal an exception, if any, from a JSContext. r=khuey
2016-02-24 10:38:31 -05:00
Gregory Szorc
503851935a
Bug 1249858 - Stop processing IPDL and WebIDL files during artifact builds; r=glandium
...
We don't process IPDL and WebIDL files during artifact builds. The
backend shouldn't need to care about them.
Before: 2001 total backend files; 2001 created; 0 updated; 0 unchanged; 0 deleted
After: 1945 total backend files; 1945 created; 0 updated; 0 unchanged; 0 deleted
After this change, we no longer write any .cpp files to the objdir
during config.status for artifact builds.
As part of this, we stopped generated webidlsrcs.mk and the build broke
because of an unguarded use in a Makefile.
After this change, only 102/3366 files in the objdir after
`mach configure` are not a) in _virtualenv b) named backend.mk
c) named Makefile (~950 each of backend.mk and Makefile).
MozReview-Commit-ID: 11AIn1i4x4f
--HG--
extra : rebase_source : ac90bb9f6be8b7b986aa0a61b3ccc203a18346a6
2016-02-19 21:46:29 -08:00
Carsten "Tomcat" Book
839ce412a8
merge fx-team to mozilla-central a=merge
2016-02-23 16:54:50 +01:00
Eddy Bruel
dae2755a45
Bug 1119490 - Expose the URL constructor to WorkerDebuggerGlobalScope;r=khuey
2016-02-22 10:41:09 +01:00
Andrew McCreight
b80e656e9e
Bug 1247679, part 3 - Replace NS_IMPL_CYCLE_COLLECTION_TRACE_JSVAL_MEMBER_CALLBACK with JS_MEMBER. r=smaug
2016-02-22 10:11:02 -08:00
Boris Zbarsky
6f8f413e72
Bug 1216751 part 5. Remove the now-unnecessary value iterator infrastructure, since it's entirely handled via the %ArrayPrototype% methods now. r=qdot
2016-02-17 22:58:07 -05:00
Boris Zbarsky
6f458fb1f3
Bug 1216751 part 4. Implement forEach for iterable interfaces. r=qdot
2016-02-17 22:58:04 -05:00
Boris Zbarsky
ac58157b15
Bug 1216751 part 3. For pair iterators, @@iterator should be an alias for "entries". Similarly for maplikes and "entries" and setlikes and "values". r=qdot
2016-02-17 22:58:02 -05:00
Boris Zbarsky
dcb6669fbd
Bug 1216751 part 2. For value iterators, "entries", "keys", and "values" must just come from Array.prototype. r=qdot
2016-02-17 22:58:00 -05:00
Boris Zbarsky
a7cbbd23ab
Bug 1216751 part 1. Restrict value iterators to interfaces that have indexed properties and pair iterators to interfaces that do not have indexed properties. r=qdot
2016-02-17 22:57:57 -05:00
Boris Zbarsky
8c34247af6
Bug 1248233. Make js::ReportOutOfMemory respect the autoJSAPIOwnsErrorReporting() flag on the context options. r=luke
2016-02-17 22:56:42 -05:00
Boris Zbarsky
3dba4c9b72
Bug 1248719. Fix things so that taking ownership of error reporting on an AutoJSAPI on a worker is OK even if that AutoJSAPI was initialized without an explicit global. r=bholley
2016-02-17 22:56:36 -05:00
Kyle Huey
31dabb4558
Bug 1247117: De-namespace much of IndexedDB. r=baku
2016-02-16 13:46:08 -08:00
Boris Zbarsky
7f1e8d6111
Bug 1247346. Slot indices on IDL interface members that get a slot should be per-interface, not a single per-member number. r=peterv
...
This matters when a [Cached] attribute appears on an interface, call it C,
which is a consequential interface for both A and B. There is no a priori
reason that A and B would have identical numbers of their own [Cached]
attributes, which will come before the members of consequential interfaces in
the member array, so in general the attribute may have different slot indices in A
and B.
The approach taken here is to keep things simple and make the slot index of an
interface member either None or a dict mapping interface name to the slot
index. In the common case of only one interface being involved this is a
little wasteful, but it keeps things simple for consumers, and one extra dict
per [Cached] attribute is not a big deal in the grand scheme of the data
structures the Web IDL parser produces. Another option would be to store None,
a number (if there is only one interface involved), or a dict (if there are
several interfaces involved). If we did that, we'd probably want to add some
method to get the slot index for a given interface, because the logic for doing
that would get a bit more complicated.
2016-02-12 21:29:49 -05:00
Deepthi Venkitaramanan
008e6b8991
Bug 1244328 - Merge the functionality of DOMSettableTokenList into DOMTokenList and make everything that used to refer to DOMSettableTokenList refer to DOMTokenList instead. r=bzbarsky
2016-02-11 17:50:42 -05:00
Boris Zbarsky
98fb58a90f
Bug 1241349 part 5. Start using binding_detail::UnprivilegedJunkScopeOrWorkerGlobal in dictionary ToJSON conversions. r=bholley
2016-02-10 23:31:33 -05:00
Boris Zbarsky
e25e4580b2
Bug 1241349 part 4. Start using binding_detail::UnprivilegedJunkScopeOrWorkerGlobal in maplike/setlike code. r=bholley
2016-02-10 23:31:33 -05:00
Boris Zbarsky
b0e7faec5a
Bug 1241349 part 3. Add a binding_detail::UnprivilegedJunkScopeOrWorkerGlobal function which returns a global object that can be used for some bindings things. r=bholley
2016-02-10 23:31:33 -05:00
Boris Zbarsky
9f63f6adc2
Bug 1241349 part 2. Restrict generation of ToJSON methods on dictionaries to only dictionaries we can safely stringify with JS::ToJSONMaybeSafely. r=bholley
2016-02-10 23:31:33 -05:00
Tom Schuster
9c44f6d73e
Bug 1246318 - Make the proxy enumerate trap non-standard. r=efaust
2016-02-10 00:12:24 +01:00
Boris Zbarsky
24566ec012
Bug 1243001 part 7. Stop wrappercaching dom::Promise when SPIDERMONKEY_PROMISE is defined. r=peterv
...
nsWrapperCache expects the object it stores to have an ObjectMoved op that will
notify the wrapper cache when the object is moved. SpiderMonkey promises don't
have a way to do this.
The XPCConvert changes are needed to allow code that passes around Promise
objects as nsISupports to continue working instead of ending up with
double-wrapped nsISupports (XPCWrappedNative for an nsISupports XPCWrappedJS)
around the SpiderMonkey Promise.
2016-02-09 17:40:31 -05:00
Boris Zbarsky
fbe6dcf99f
Bug 1243001 part 6. Implement Promise::AppendNativeHandler in the SPIDERMONKEY_PROMISE world. r=peterv
...
This patch introduces a fake IDL interface just to get the benefits of
cycle collection for the JS-to-C++ link we now need for PromiseNativeHandler
(because the SpiderMonkey Promise somehow needs to point to the
PromiseNativeHandler). Now in practice a bunch of our PromiseNativeHandlers
are not cycle collected. That kinda freaks me out, but spot-checking a few
suggests they do not in fact leak (either because they don't form cycles or
because the Promise they're observing always settles and then releases them).
Either way, that's a problem that exists with or without this patch...
2016-02-09 17:40:31 -05:00
Boris Zbarsky
3366af6c39
Bug 1243001 part 5. Get rid of most of the dom::Promise methods when SPIDERMONKEY_PROMISE is defined, and reimplement the rest in terms of SpiderMonkey Promise. r=peterv
...
This is the bulk of the new dom::Promise implementation. It's using the APIs
that bug 911216 part 1 adds.
2016-02-09 17:40:31 -05:00
Boris Zbarsky
7fd3989391
Bug 1243001 part 2. Make Promise an empty [NoInterfaceObject] interface when SPIDERMONKEY_PROMISE is defined. r=peterv
...
The idea is to not define a "Promise" property on the global and not generate
any of the methods, since SpiderMonkey will implement all of those, but to keep
some of the conversion to/from JS logic and the IDL parser validation bits that
we have right now. Once we can assume SPIDERMONKEY_PROMISE we can probably
change how the "Promise" identifier is handled by the IDL parser and how the
resulting type is handled by codegen, but for now we're aiming for minimal
changes.
2016-02-09 17:40:30 -05:00
Myk Melez
a6aff185d2
Bug 1238576 - disable mozApps API on desktop/Android; r=ehsan,ochameau,bz,mcmanus,jmaher,marco
2016-02-08 11:24:22 -08:00
Kit Cambridge
d977630d47
Bug 1243781 - Push methods called from a worker should reject with a `DOMException`. r=mt
...
--HG--
extra : commitid : GyMrfLbnMVY
extra : rebase_source : a68422c66ede9f3eaca14de1d966be75ebd622b9
2016-01-28 08:23:29 -08:00
Ben Kelly
1de96897ae
Bug 1244764 P1 Make Cache .add()/.addAll() fail if a Response.ok() is false. r=ehsan
2016-02-04 07:59:52 -08:00
Daniel Holbert
842b5dc8ae
Bug 1241021 part 2: Make GenerateCSS2PropertiesWebIDL.py produce capitalized as well as uncapitalized WebkitFoo/webkitFoo DOM style accessors. r=bz
2016-02-03 20:17:45 -08:00
Daniel Holbert
7555a4a195
Bug 1241021 part 1: Refactor GenerateCSS2PropertiesWebIDL.py to invoke a helper function for each line. r=bz
2016-02-03 20:17:44 -08:00
Birunthan Mohanathas
690e6fe38b
Bug 1235261 - Part 3: Switch remaining uses of AutoFallibleTArray to AutoTArray. r=froydnj
...
This is effectively a no-op because the affected array operations already use
`mozilla::fallible`.
2016-02-02 17:36:30 +02:00
Birunthan Mohanathas
d7371d07d0
Bug 1235261 - Part 1: Rename nsAutoTArray to AutoTArray. r=froydnj
2016-02-02 17:36:30 +02:00
Jeff Walden
5af86098d3
Bug 1216150 - Split xpc::InitGlobalObject into an options-setting component and a global-object-modifying component, with the options-setting component being called before global object creation in all callers. r=bz
2016-02-01 12:48:03 -08:00
Carsten "Tomcat" Book
0cc03eb73c
Backed out changeset 6d13649d2f01 (bug 1243781)
2016-02-01 12:40:36 +01:00
Kyle Huey
91efc5a86c
Bug 1241764: Replace nsPIDOMWindow with nsPIDOMWindowInner/Outer. r=mrbkap,smaug
2016-01-30 09:05:36 -08:00
Kit Cambridge
cb042fa9d8
Bug 1243781 - Push methods called from a worker should reject with a `DOMException`. r=mt
...
--HG--
extra : commitid : 8agVK4llzMA
extra : rebase_source : 9f646dee24cc980bef4b01a86550e4e0f12bba14
2016-01-28 08:23:29 -08:00
Boris Zbarsky
c7fe6eed14
Bug 1243438. Don't try to include the filename '<unknown>' when including headers for unions that have a built-in typedef they're referenced by. r=peterv
2016-01-29 16:56:04 -05:00
Tom Schuster
4d6aaf2f25
Bug 1242214 - Rename JSPropertyDescriptor JS::PropertyDescriptor everywhere else. r=smaug
2016-01-28 11:28:04 +01:00
Ehsan Akhgari
46cedd4e9b
Bug 1242211 - Mark MozMapRooter as final; r=baku
2016-01-25 10:15:45 -05:00
Ehsan Akhgari
4923320e0a
Bug 1242210 - Mark RootedTypedArray as final; r=baku
2016-01-25 10:15:45 -05:00
Boris Zbarsky
d4db9bedd0
Bug 1242054. Get rid of AbortablePromise, so we can move Promise into SpiderMonkey more easily. r=khuey
2016-01-23 00:37:44 -05:00
Jakob Stoklund Olesen
da78ae7e9b
Bug 1238679 - Put JSJitInfo::depth in anonymous union. r=nbp
...
Add a JSJitInfo::nativeOp field which will be used to identify SIMD operations.
2016-01-20 12:50:06 -08:00
Chris Peterson
b4090821b2
Bug 1240592 - Remove unnecessary -Wno-uninitialized from dom/bindings. r=khuey
2016-01-15 23:40:24 -08:00
Ehsan Akhgari
d08dcc913c
Bug 1209081 - Part 1: Implement the "navigate" value for RequestMode; r=bkelly
2016-01-19 17:46:10 -05:00
Carsten "Tomcat" Book
b5e5b490e9
Merge mozilla-central to mozilla-inbound
2016-01-15 11:48:08 +01:00
Carsten "Tomcat" Book
7e52b24fab
merge mozilla-inbound to mozilla-central a=merge
2016-01-15 11:46:47 +01:00
Gregory Szorc
4a8a6a844e
Bug 1239210 - Don't process WebIDL files when not compiling; r=glandium
...
The output of WebIDL codegen is a bunch of .h and .cpp files. These
aren't relevant when not compiling.
This change appears to shave ~3-4s off the "export" tier time for
--disable-compile-environment builds on my i7-6700K because WebIDL
codegen is currently a long pole in that tier. After this patch,
artifact clobber builds are ~43.5s.
--HG--
extra : rebase_source : 95c96e1631ddb8d2efc89d8462fe0f8ade1ecf1f
2016-01-14 23:14:58 -08:00
Ehsan Akhgari
a35b970c9e
Bug 1239788 - Don't include non-main-thread assertions in the constructor enabled check for [Exposed=System] WebIDL interfaces; r=bzbarsky
2016-01-14 16:55:50 -05:00
Olli Pettay
996520ebd1
Bug 1157469 - null check wrapper in case WrapNode fails, r=bholley
2016-01-11 20:32:12 +02:00
Lars T Hansen
1b2551c10b
Bug 1231337 - part 2, conditionally enable shared memory for dedicated workers. r=khuey
...
--HG--
extra : rebase_source : 9da6daa1211937d0fe1ca11eccce4ea90ca0e637
extra : histedit_source : 4d08c392a2766d46dcb41b14dea24d4c4f9be855
2016-01-06 16:31:38 +01:00
Terrence Cole
3a07971436
Bug 1238786 - Part 2: We no longer need to null check before using trace APIs; r=smaug
...
--HG--
extra : rebase_source : 5fdbdaa7be739afd93294b729d878ed33c55b5ce
2016-01-12 13:07:54 -08:00
Terrence Cole
fd0fcea703
Bug 1235923 - Part 2: Use new Root tracing APIs in Gecko; r=smaug
2015-12-30 11:31:16 -08:00
Morris Tseng
1ae8baf23c
Bug 917505 - Add WEBGL_compressed_texture_es3 support. r=jgilbert r=smaug
...
--HG--
extra : commitid : 96pBvjbX0be
2016-01-08 10:12:22 +08:00
Andrea Marchesini
4fd7346fa1
Bug 1237674 - Rename nsFormData to mozilla::dom::FormData, r=smaug
...
--HG--
rename : dom/base/nsFormData.cpp => dom/base/FormData.cpp
rename : dom/base/nsFormData.h => dom/base/FormData.h
2016-01-07 19:30:36 +00:00
Terrence Cole
97c4c6520f
Backout 7621c3ea95cb11e1c376a9f705accc0f90057c0a (bug 1235923) for build bustage on a CLOSED TREE.
...
--HG--
extra : rebase_source : 6c54aa7e1af75c270ab2b6833b56c780c537e297
2016-01-06 12:05:06 -08:00
Terrence Cole
d38e840e6f
Bug 1235923 - Part 2: Use new Root tracing APIs in Gecko; r=smaug
2015-12-30 11:31:16 -08:00
Tooru Fujisawa
88d3b3ecc6
Bug 1180290 - Part 5: Remove getter/setter variant for ThrowInvalidThis message. r=bz
2016-01-06 17:54:00 +09:00
Tooru Fujisawa
0063cbce8a
Bug 1180290 - Part 2: Handle prefix in DefinePropertyById. r=till,smaug
2016-01-05 03:21:24 +09:00
Terrence Cole
bb224242a8
Bug 1235598 - Part 2: Use TraceEdge exclusively in Gecko; r=smaug
...
--HG--
extra : rebase_source : 27afd7eecd5a13f8d28b888b64d5e44b3c4a74a5
2015-12-30 08:52:14 -08:00
Tom Tromey
e385bd20d9
Bug 1235636 - rewrite PCToLineNumber; r=fitzgen
2016-01-04 09:18:56 -07:00
Wes Kocher
a69ea37914
Backed out 2 changesets (bug 1235598) for linux reftest bustage
...
Backed out changeset 3bcd3c276785 (bug 1235598)
Backed out changeset 80cd10a8b3d7 (bug 1235598)
--HG--
extra : commitid : DZRlFy6bH2m
extra : rebase_source : 3479cd1146e58115883f2329861647a962d162cc
2015-12-31 15:51:13 -08:00
Terrence Cole
9d97726f6c
Bug 1235598 - Part 2: Use TraceEdge exclusively in Gecko; r=smaug
...
--HG--
extra : rebase_source : c18f7e97d09f0cd91d0d837d2cdc65926cd3de64
2015-12-30 08:52:14 -08:00
Olli Pettay
5ca565690e
Bug 1120016 - Allocate short lived JS wrappers in the Nursery, r=mccr8,terrence
2015-12-31 15:21:49 +02:00
Wes Kocher
792ca14825
Backed out changeset 0d55a6e4e98e (bug 1120016) for 980 b2g hazards
...
--HG--
extra : commitid : 27OIHVsa17S
2015-12-30 16:34:18 -08:00
Mike Hommey
c2d36c7522
Bug 1235676 - Replace $(abspath $(DIST)) with $(ABS_DIST). r=mshal
2015-12-31 08:10:02 +09:00
Terrence Cole
2d98949f4f
Backout Bug 1235598 Part 2 because of merge bustage on a CLOSED TREE
2015-12-30 15:05:24 -08:00
Terrence Cole
4710ce6d97
Bug 1235598 - Part 2: Use TraceEdge exclusively in Gecko; r=smaug
...
--HG--
extra : rebase_source : fba9dbd3f6bc7b36074f58d11c411deb84c1ff1e
2015-12-30 08:52:14 -08:00
Jeff Walden
5be7be38a1
Bug 1235615 - Split JS::CompartmentOptions into JS::CompartmentCreationOptions that are immutable characteristics of a compartment, and JS::CompartmentBehaviors that may be changed after the compartment's been created. r=terrence
...
--HG--
extra : rebase_source : f08c380ae247d3308d4c36788ac765de1b75af50
2015-12-28 16:15:52 -06:00
Olli Pettay
2066f6d7b3
Bug 1120016 - Allocate short lived JS wrappers in the Nursery, r=mccr8,terrence
...
--HG--
extra : rebase_source : 3d51b7fc9962a93eb6071328db84b5b327225246
2015-12-30 19:16:13 +02:00
Tom Schuster
0adeb23681
Bug 603201 - Tests: Enable primitive receivers in [[Get]]. r=jorendorff
2015-12-21 23:43:06 +01:00
Nicholas Nethercote
550252abf1
Bug 1231256 (part 3) - Remove unused parameter from TryToOuterize(). r=roc.
...
--HG--
extra : rebase_source : 0376ed10b93d69cd6545acdd20315610f4d2833c
2015-12-07 14:03:18 -08:00
Catalin Badea
6e247e4c81
Bug 1221992 - Fix test using GetMostRecentWindow from the child process. r=smaug
2015-12-11 13:32:15 -05:00
Jan de Mooij
1762bca503
Bug 1225396 part 4 - Remove @@iterator workaround in Codegen.py. r=bz
2015-12-09 22:56:17 -05:00
Andrea Marchesini
f503703375
Bug 1231094 - patch 1 - nsDOMFileReader to mozilla::dom::FileReader, r=sicking
...
--HG--
rename : dom/base/nsDOMFileReader.cpp => dom/base/FileReader.cpp
rename : dom/base/nsDOMFileReader.h => dom/base/FileReader.h
2015-12-09 06:22:40 -05:00
Mike Hommey
158e08c29b
Bug 1230355 - Remove include_deps. r=mshal
...
We used to use include_deps to trigger a fast-path in pymake, but we don't
use pymake anymore, so we can use normal includes now.
2015-12-09 19:23:53 +09:00
Sebastian Hengst
114ca318d6
Backed out 2 changesets (bug 1221992) for almost permafailing M-e10s(2) on Linux debug. r=backout
...
Backed out changeset ad20808dd3c4 (bug 1221992)
Backed out changeset 7cdcda3e65fb (bug 1221992)
2015-12-05 21:13:41 +01:00
Catalin Badea
78b73592a0
Bug 1221992 - Fix test using GetMostRecentWindow from the child process. r=smaug
2015-12-04 19:14:44 +02:00
Boris Zbarsky
affdb545dd
Bug 1230291. Correctly include nsContentUtils when generating a manual hasInstance with nsIDOM* stuff or when we have a JS-implemented interface with clearable cached attrs
2015-12-04 09:51:04 -05:00
Wes Kocher
bfbadfd96d
Backed out 2 changesets (bug 1221992) for windows debug assertions in browser_perf-categories-js-calltree.js
...
Backed out changeset bcd90e591038 (bug 1221992)
Backed out changeset 6affaa386b9b (bug 1221992)
--HG--
extra : commitid : 4w08gUrbqQr
2015-12-03 15:56:59 -08:00
Catalin Badea
6c1a994648
Bug 1221992 - Fix test using GetMostRecentWindow from the child process. r=smaug
2015-12-03 23:19:29 +02:00
Peter Van der Beken
426b1b699a
Bug 1227987: Simplify CGDOMJSClass::define. r=bz.
...
--HG--
extra : rebase_source : aaf309c651b97ec750c56c2fbdf635529718fa14
2015-11-25 16:31:42 +01:00
Nathan Froyd
c381a6b86c
Bug 1218454 - part 2 - don't #include nsContentUtils.h from CallbackObject.h; r=bz
...
We used to need nsContentUtils.h here for nsCxPusher, but since that got
moved to ScriptSettings.h, we no longer need nsContentUtils.h for
anything.
2015-10-26 12:14:47 -04:00
Boris Zbarsky
89a6485e7f
Bug 1172246. Make sure CallSetup's handling of exceptions it wants to deal with itself works even when the callable is a JSNative that uses the JS_Report*Error APIs instead of throwing exceptions in the usual way. r=bholley
2015-06-08 16:16:27 -04:00
Lars T Hansen
b62493634b
Bug 1176214 - Part 11: Changes to DOM, except for WebGL. r=bz, r=clb
...
--HG--
extra : rebase_source : 9c9d3f493822d68be20597d9974292ed5ec4ab70
2015-11-25 19:04:50 +01:00
Boris Zbarsky
e4fd35820f
Bug 1048695 part 2. Make interface members not be exposed based on their nonExposedGlobals. r=peterv
2015-12-01 12:02:36 -05:00
Boris Zbarsky
09e35c652a
Bug 1048695 part 1. Pass the set of globals where a member should NOT be exposed to MemberCondition. r=peterv
2015-12-01 12:02:33 -05:00
Nathan Froyd
df330eaf5c
Bug 1229176 - make check for ChromeOnly interfaces for header inclusion more complete; r=bz
...
If an interface has a {Chrome,}Constructor(), it doesn't show up as a
normal member. If the interface has a ChromeConstructor, we need to
include nsContentUtils.h in the generated file for a
ThreadsafeIsCallerChrome check. There is an existing check for a
descriptor's ChromeOnly-ness in CGBindingRoot; this check is used to
determine whether nsContentUtils.h is included in the generated file.
But the check in descriptorHasChromeOnly doesn't detect this
(ChromeOnly) constructor, and so nsContentUtils.h won't be included if
there are no other ChromeOnly members, or if the interface itself is not
ChromeOnly.
Therefore, we need to take the constructor of the interface (if any)
into account when checking for ChromeOnly-ness.
2015-11-30 20:57:57 -05:00
Boris Zbarsky
8ed93afa4c
Bug 1229031. Make sure to not init binding pref var caches on worker threads. r=smaug
2015-11-30 22:04:20 -05:00
Boris Zbarsky
73208ce2f3
Bug 1228707. Add a away to call Web IDL callbacks while ignoring any errors from them, and use it in a few places. r=smaug
2015-11-30 22:04:09 -05:00
Boris Zbarsky
4cb14db1a1
Bug 1170760 part 13. Add subclassing support to Promise::Then/Catch. r=baku,efaust
2015-11-25 15:48:10 -05:00
Boris Zbarsky
bc6a0c8f1c
Bug 1170760 part 12. Rip out the promise-resolved-with-promise fast path. r=baku
2015-11-25 15:48:09 -05:00
Boris Zbarsky
0baeed7ed3
Bug 1170760 part 10. Add subclassing support to Promise::Resolve. r=baku,efaust
2015-11-25 15:48:09 -05:00
Boris Zbarsky
52d7142a8e
Bug 1170760 part 9. Stop using Promise::Resolve in the bindings for PromiseDebugging. r=baku
2015-11-25 15:48:09 -05:00
Boris Zbarsky
7c7786c7ac
Bug 1170760 part 7. Add subclassing support to Promise::Race. r=baku,efaust
...
Note that the web platform tests don't actually have quite the behavior they're
expected to per the spec yet. They will get adjusted later on as we add
subclassing support to Promise.resolve and Promise.prototype.then.
2015-11-25 15:48:09 -05:00
Boris Zbarsky
7e919bdf2d
Bug 1170760 part 5. Implement NewPromiseCapability which can either return a PromiseCapability as in the spec, or one that has a native promise and maybe resolve/reject functions if the consumer asked for them. r=baku,efaust
2015-11-25 15:48:09 -05:00
Boris Zbarsky
c9985b9298
Bug 1170760 part 4. Change Promise::Constructor to run in the Xray compartment when new Promise happens over Xrays. r=peterv
2015-11-25 15:48:08 -05:00
Boris Zbarsky
7229385d25
Bug 1170760 part 3. Add an @@species getter on Promise. r=peterv
2015-11-25 15:48:08 -05:00
Boris Zbarsky
64186b5b76
Bug 1170760 part 2. Pass in the 'this' value to Promise static methods. r=peterv
2015-11-25 15:48:08 -05:00
Phil Ringnalda
53745073f0
Back out 13 changesets (bug 1170760) for Gu bustage in homescreen/test/unit/apps_test.js
...
CLOSED TREE
Backed out changeset 5d84599a8846 (bug 1170760)
Backed out changeset 6104fe33d5f5 (bug 1170760)
Backed out changeset 1dfb229da01d (bug 1170760)
Backed out changeset f380faddfdd8 (bug 1170760)
Backed out changeset 541831dc6b57 (bug 1170760)
Backed out changeset 6a5b7dfab882 (bug 1170760)
Backed out changeset ee514a256922 (bug 1170760)
Backed out changeset 3c2c1acc34ee (bug 1170760)
Backed out changeset dc2a7f5dc5d6 (bug 1170760)
Backed out changeset b312a08fbab5 (bug 1170760)
Backed out changeset cb6aba9b8497 (bug 1170760)
Backed out changeset 39e4f5b1ba40 (bug 1170760)
Backed out changeset 7d79cce3630a (bug 1170760)
2015-11-25 21:02:55 -08:00
Boris Zbarsky
d71fb767c8
Bug 1170760 part 13. Add subclassing support to Promise::Then/Catch. r=baku,efaust
2015-11-25 15:48:10 -05:00
Boris Zbarsky
f1d0f460ff
Bug 1170760 part 12. Rip out the promise-resolved-with-promise fast path. r=baku
2015-11-25 15:48:09 -05:00
Boris Zbarsky
93faa5b1b0
Bug 1170760 part 10. Add subclassing support to Promise::Resolve. r=baku,efaust
2015-11-25 15:48:09 -05:00
Boris Zbarsky
a623100bc3
Bug 1170760 part 9. Stop using Promise::Resolve in the bindings for PromiseDebugging. r=baku
2015-11-25 15:48:09 -05:00
Boris Zbarsky
df222dfc09
Bug 1170760 part 7. Add subclassing support to Promise::Race. r=baku,efaust
...
Note that the web platform tests don't actually have quite the behavior they're
expected to per the spec yet. They will get adjusted later on as we add
subclassing support to Promise.resolve and Promise.prototype.then.
2015-11-25 15:48:09 -05:00
Boris Zbarsky
aaff15aaaa
Bug 1170760 part 5. Implement NewPromiseCapability which can either return a PromiseCapability as in the spec, or one that has a native promise and maybe resolve/reject functions if the consumer asked for them. r=baku,efaust
2015-11-25 15:48:09 -05:00
Boris Zbarsky
56a0511eb4
Bug 1170760 part 4. Change Promise::Constructor to run in the Xray compartment when new Promise happens over Xrays. r=peterv
2015-11-25 15:48:08 -05:00
Boris Zbarsky
c1ba24a868
Bug 1170760 part 3. Add an @@species getter on Promise. r=peterv
2015-11-25 15:48:08 -05:00
Boris Zbarsky
b4cbee7794
Bug 1170760 part 2. Pass in the 'this' value to Promise static methods. r=peterv
2015-11-25 15:48:08 -05:00
Mike Hommey
ca5e376580
Bug 1227380 - Move LOCAL_INCLUDES and CXXFLAGS to moz.build in dom/bindings/. r=mshal
2015-11-25 08:23:17 +09:00
Chris Pearce
220ccc0478
Bug 1223980 - Add iterable<ArrayBuffer,MediaKeyStatus> to MediaKeyStatusMap. r=bz
2015-11-24 13:13:21 +13:00
Sunny Sidhu
268b906ced
Bug 1225782 - Removes GlobalPropertiesAreOwn(). r=bz
2015-11-20 10:00:00 +01:00
Boris Zbarsky
35f1292e72
Bug 1225603. Codegen ToJSValue overloads for Web IDL enums. r=smaug,jib
2015-11-21 12:15:11 -05:00
Boris Zbarsky
888bc2d651
Back out bug 1172246 because of mochitest-JP bustage. Who needs tests that we care about running on try anyway?
2015-11-20 18:00:27 -05:00
Boris Zbarsky
bc25c907d6
Bug 1172246. Make sure CallSetup's handling of exceptions it wants to deal with itself works even when the callable is a JSNative that uses the JS_Report*Error APIs instead of throwing exceptions in the usual way. r=bholley
2015-06-08 16:16:27 -04:00
Boris Zbarsky
72f8befdf5
Bug 979591. Disallow calling WebIDL constructors as functions even for system callers in release builds. r=peterv
2015-11-20 16:29:41 -05:00
Boris Zbarsky
71b052b436
Bug 1224007 part 6. Change MaybeSetPendingException to set the ErrorResult state to "not failed", just like SuppressException and StealNSResult already do, and assert in the destructor that the ErrorResult is not Failed().
...
This is not quite as strong as being able to assert that all codepaths that might
lead to failure call one of the above methods, but being able to assert that
would involve a lot of extra noise at callsites. Or at least changing the
signature of StealNSResult to use an outparam and return a boolean indicating
whether the ErrorResult was failure or not, or something, so StealNSResult
can be usefully called on successful ErrorResults too.
2015-11-20 16:29:41 -05:00
Boris Zbarsky
c3bc1cdc40
Bug 1224007 part 5. Get rid of ErrorResult::StealJSException. r=peterv
2015-11-20 16:29:41 -05:00
Boris Zbarsky
fb747879e0
Bug 1224007 part 3. Push down WouldReportJSException into MaybeSetPendingException, since anyone calling the latter will propagate the JS exception as needed. r=peterv
2015-11-20 16:29:41 -05:00