Boris Zbarsky
0e8c9f6887
Bug 946909. For a [Cached] or [StoreInSlot] attribute with a setter, clear the cache on set. r=peterv
2013-12-05 16:31:04 -05:00
Boris Zbarsky
8eccd295bf
Bug 946898. Make sure to not accidentally store COWs in the slot for [Cached] properties. r=peterv
2013-12-05 16:07:33 -05:00
Gregory Szorc
d41dc9d48b
Bug 950736 - Don't use target of included file to perform WebIDL codegen; r=ted
...
Make blissfully ignores failures when processing targets of "include"
directives. This was causing failures of WebIDL codegen to be ignored
and causing make to get in a loop.
--HG--
extra : rebase_source : 1231255705315319b308b4303bc3fc41237fbfa0
extra : amend_source : cfd801d7a3490a2a712994a60e548e3482a4992e
2013-12-16 09:33:22 -08:00
Ehsan Akhgari
c5a5de09b4
Bug 950523 - Part 2: Move MediaQueryList to WebIDL bindings; r=bzbarsky
2013-12-16 09:03:34 -05:00
Gregory Szorc
0504c2e35a
Bug 950370 - Capture WebIDL example interfaces in moz.build; r=glandium
...
Previously, the set of WebIDL example interfaces to build was hardcoded
in the mozwebidlcodegen Python package. Unfortunately, the example
interfaces in that set were dependent on test-only bindings files,
resulting in build failures when tests were disabled (because those
test-only bindings were defined in a test directory).
In this patch, we now declare example interfaces in moz.build files
so the set of example interfaces lives next to the set of defined
bindings files. The example interfaces are defined in a test moz.build
file - in the same file declaring the bindings files that contain the
interfaces - so the example interfaces only get picked up if the
corresponding bindings are defined.
We could probably switch WebIDL moz.build variables to use lists with
flags. That would be good followup fodder. For now, let's fix the build.
--HG--
extra : rebase_source : 00070a6d560625bc84ab9b10d6848ea037f8f5ed
extra : amend_source : 0890ecef444ba58533fcfaa333773d78deafd7f3
2013-12-15 11:43:47 -08:00
Carsten "Tomcat" Book
5a3894b20b
Backed out changeset 203e2bcc575d (bug 949875) for Windows Bustage on a CLOSED TREE
2013-12-13 12:46:22 +01:00
Gregory Szorc
848b58067a
Bug 928195 - Part 6: Add docs for WebIDL and the build system; r=froydnj
...
--HG--
extra : rebase_source : cee29c0bf5c050d73ef02d6ad933802b8fad21e0
2013-11-13 15:41:22 -08:00
Gregory Szorc
8f1cd94c0c
Bug 949875 - Delay import some WebIDL modules; r=glandium
...
This prevents excessive dependencies on config.status. Those extra
dependencies make WebIDL developer workflow inefficient.
--HG--
extra : rebase_source : 37ba82773fe6d873e25fc8b61fef44ec9f191ebe
extra : amend_source : 3fa0796f096efdbe6a74138ea0258f68cbcf4071
2013-12-13 15:12:29 +09:00
Gregory Szorc
d83d451b7e
Bug 928195 - Part 5: mach command for generating WebIDL example files; r=froydnj
...
--HG--
extra : rebase_source : c74d5f9556ca866622b7fefd4711e96fe4e4e020
2013-11-14 10:34:55 -08:00
Gregory Szorc
d53d3b5e5e
Bug 928195 - Part 4: Rewrite WebIDL build system integration; r=bz, r=glandium
...
WebIDL build system integration has been rewritten from the ground up.
Changes:
* GlobalGen.py, BindingGen.py, and ExampleGen.py have been removed in
favor of mozwebidl.py.
* Static .webidl files are now processed directly in their original location
and aren't copied to the object directory.
* Generated events <stem>.cpp files are now compiled into the unified
sources. Previously, only the <stem>Binding.cpp files were compiled
into unified sources.
* Exported .h files are now generated directly into their final location.
Previously, they were generated into the local directory then
installed in their final location.
* The list of globalgen-generated files now lives in Python and isn't
duplicated in 3 places.
* The make dependencies are much simpler as a result of using a single
command to perform all code generation. The auto-generated .pp file from
code generation sets up all dependencies necessary to reinvoke code
generation and Python takes care of dependency management.
--HG--
extra : rebase_source : e4918878274b22a412329c7cb18cc7138daf5dc6
2013-12-12 16:26:38 +09:00
Gregory Szorc
c97cea6fe6
Bug 928195 - Part 3: Consolidate all WebIDL Python logic into mozwebidl module; r=bz, froydnj
...
--HG--
extra : rebase_source : 050f1c3eb3bccdf369164be4e58c59fa71c19060
2013-11-18 13:02:11 -08:00
Boris Zbarsky
e330cbbc35
Bug 949271. Fix callback and JS-implemented codegen for sequence-of-union and variadic-union arguments. r=smaug
2013-12-12 16:11:56 -05:00
Boris Zbarsky
8b72627c9d
Bug 949264 part 3. Use aRetVal for the outparam return value for CGNativeMember. r=smaug
2013-12-12 16:11:55 -05:00
Boris Zbarsky
2069fcca32
Bug 949264 part 2. Support union members in generated events. r=smaug
2013-12-12 16:11:55 -05:00
Boris Zbarsky
36f9f0caa0
Bug 949264 part 1. Share more codegen between events and CGNativeMember. r=smaug
2013-12-12 16:11:55 -05:00
Trevor Saunders
ca597b70d4
bug 946946 - add Document.docShell r=bz
2013-12-05 16:28:21 -05:00
Andrea Marchesini
cd35fe13b6
Bug 887836 - URLSearchParams and URL, r=ehsan, r=bz, r=smaug
...
--HG--
rename : dom/workers/test/urlSearchparams_worker.js => dom/workers/test/urlSearchParams_worker.js
2013-12-12 19:30:27 +00:00
Andrea Marchesini
f3f5a6c47c
Bug 887836 - URLQuery object, r=khuey
2013-12-12 19:30:10 +00:00
Steve Fink
aabce3a3e5
Bug 937317 - Root around GC call GetIncumbentGlobal. r=bz
2013-12-11 17:51:58 -08:00
Bobby Holley
c2e3e33a71
Bug 937317 - Replace all instance of null cx pushing with AutoSystemCaller. r=bz
...
This is an easy bonus chunk of the work to phase out cx pushing in the browser.
2013-12-11 17:51:58 -08:00
Bobby Holley
8840559af7
Bug 937317 - Return null from ToWebIDLCallback if one doesn't already exist. r=bz
2013-12-11 17:51:58 -08:00
Bobby Holley
7f8af296c3
Bug 937317 - When invoking a callback object, restore the incumbent script settings object from when the callback was created. r=bz
...
See the 'incumbent script' stuff in the WebIDL spec.
2013-12-11 17:51:58 -08:00
Bobby Holley
61de78ecb2
Bug 937317 - Pass the entire CallbackObject to CallSetup. r=bz
...
We need this so that we can grab the incumbent global that we stashed on the
CallbackObject.
2013-12-11 17:51:57 -08:00
Bobby Holley
b0193d7cfc
Bug 937317 - Factor out the shareable parts of CallSetup into AutoEntryScript and AutoIncubentScript. r=bz
2013-12-11 17:51:57 -08:00
Boris Zbarsky
2c468e084a
Bug 697343 - Add slice hook to DOM bindings like NodeList. r=peterv,bhackett
2013-12-02 11:32:22 -05:00
Tom Schuster
aa96007c5a
Bug 697343 - Remove getElementIfPresent. r=Waldo
2013-12-05 20:07:24 +01:00
Boris Zbarsky
edf7535090
Bug 946564 part 2. Make window._content chromeonly and define it in WebIDL. r=peterv
2013-12-09 10:34:04 -05:00
Boris Zbarsky
bb9192847a
Bug 946067 part 3. Adjust codegen to allow cross-origin this values based on WebIDL annotations. r=peterv
2013-12-09 10:34:04 -05:00
Boris Zbarsky
849cdbd771
Bug 946067 part 2. Generate Window's access checks in XPConnect based on WebIDL access annotations. r=bholley,peterv
2013-12-09 10:34:03 -05:00
Boris Zbarsky
1f07cce354
Bug 946067 part 1. Add support for WebIDL extended attributes to allow annotating allowed cross-origin access. r=peterv
2013-12-09 10:34:03 -05:00
Birunthan Mohanathas
58325c73be
Bug 713082 - Part 2: Rename Util.h to ArrayUtils.h. r=Waldo
...
--HG--
rename : mfbt/Util.h => mfbt/ArrayUtils.h
2013-12-08 21:52:54 -05:00
Birunthan Mohanathas
bd0f161288
Bug 713082 - Part 1: Remove unnecessary Util.h includes. r=Waldo
2013-12-08 21:52:33 -05:00
Masayuki Nakano
33de2ed01c
Bug 930374 part.1 Event.defaultPrevented should be false even if preventDefault() has been called by default action handler r=smaug
2013-12-09 00:51:16 +09:00
Phil Ringnalda
d1ba8751f2
Back out 35371620801a:bf2019278b77 (bug 937317) for gaia-ui-test bustage and frequent timeouts in its own test
2013-12-07 11:08:56 -08:00
Bobby Holley
9fc70d3f91
Bug 937317 - Replace all instance of null cx pushing with AutoSystemCaller. r=bz
...
This is an easy bonus chunk of the work to phase out cx pushing in the browser.
2013-12-06 12:01:42 -08:00
Bobby Holley
d44149963e
Bug 937317 - Return null from ToWebIDLCallback if one doesn't already exist. r=bz
2013-12-06 12:01:42 -08:00
Bobby Holley
b548f86f52
Bug 937317 - When invoking a callback object, restore the incumbent script settings object from when the callback was created. r=bz
...
See the 'incumbent script' stuff in the WebIDL spec.
2013-12-06 12:01:42 -08:00
Bobby Holley
9a98dbf586
Bug 937317 - Pass the entire CallbackObject to CallSetup. r=bz
...
We need this so that we can grab the incumbent global that we stashed on the
CallbackObject.
2013-12-06 12:01:42 -08:00
Bobby Holley
d741772187
Bug 937317 - Factor out the shareable parts of CallSetup into AutoEntryScript and AutoIncubentScript. r=bz
2013-12-06 12:01:41 -08:00
Carsten "Tomcat" Book
7ce9485f88
Backed out changeset f65970fe598f (bug 937317) WinXP Build Bustage on a CLOSED TREE
2013-12-06 08:42:48 +01:00
Carsten "Tomcat" Book
4fb73f42d6
Backed out changeset 1156b23f333f (bug 937317) WinXP Build Bustage on a CLOSED TREE
2013-12-06 08:42:07 +01:00
Carsten "Tomcat" Book
8797042644
Backed out changeset 767065f0560b (bug 937317) WinXP Build Bustage on a CLOSED TREE
2013-12-06 08:41:59 +01:00
Carsten "Tomcat" Book
5f78db1159
Backed out changeset 17c47c036980 (bug 937317) WinXP Build Bustage on a CLOSED TREE
2013-12-06 08:41:50 +01:00
Carsten "Tomcat" Book
abe0ad0b33
Backed out changeset 374e44c835a8 (bug 937317) WinXP Build Bustage on a CLOSED TREE
2013-12-06 08:41:42 +01:00
Bobby Holley
f6b033e681
Bug 937317 - Replace all instance of null cx pushing with AutoSystemCaller. r=bz
...
This is an easy bonus chunk of the work to phase out cx pushing in the browser.
2013-12-05 21:34:17 -08:00
Bobby Holley
67c5e26898
Bug 937317 - Return null from ToWebIDLCallback if one doesn't already exist. r=bz
2013-12-05 21:34:17 -08:00
Bobby Holley
2e847fca05
Bug 937317 - When invoking a callback object, restore the incumbent script settings object from when the callback was created. r=bz
...
See the 'incumbent script' stuff in the WebIDL spec.
2013-12-05 21:34:17 -08:00
Bobby Holley
3cb3d78d8b
Bug 937317 - Pass the entire CallbackObject to CallSetup. r=bz
...
We need this so that we can grab the incumbent global that we stashed on the
CallbackObject.
2013-12-05 21:34:17 -08:00
Bobby Holley
04c4f10a48
Bug 937317 - Factor out the shareable parts of CallSetup into AutoEntryScript and AutoIncubentScript. r=bz
2013-12-05 21:34:16 -08:00
Ryan VanderMeulen
ee16665294
Backed out changesets 22770b30545b, 0809370fabdb, 4ef4764c1b55, and bfe768b87464 (bug 697343) due to Gaia UI test bustage.
...
CLOSED TREE
2013-12-05 16:19:47 -05:00
Nathan Froyd
0b960b9239
Bug 922094 - part 2 - make nsGlobalWindow report its proto/iface cache size, if appropriate; r=bz
2013-11-20 08:55:09 -05:00
Boris Zbarsky
d9fddbe1ad
Bug 697343 - Add slice hook to DOM bindings like NodeList. r=peterv,bhackett
2013-12-02 11:32:22 -05:00
Tom Schuster
b053653c80
Bug 697343 - Remove getElementIfPresent. r=Waldo
2013-12-05 20:07:24 +01:00
Boris Zbarsky
109a5700f1
Bug 945788. Add support for dictionary return values to example codegen and js-implemented codegen. r=smaug
2013-12-05 11:39:50 -05:00
Boris Zbarsky
373e688e4f
Bug 942631 part 7. Move INSTANCE_RESERVED_SLOTS into the C++, so it's closer to the things it depends on. r=peterv
2013-12-04 08:02:19 -05:00
Boris Zbarsky
6e8c13b735
Bug 942631 part 6. Fix performance regression in the imagedata getter due to using MaybeWrapValue on a non-DOM object. r=peterv
2013-12-04 08:02:18 -05:00
Boris Zbarsky
5948f54d3e
Bug 942631 part 5. Add C++ API for clearing the cached value of a [Cached] property or regetting a [StoreInSlot] property. r=peterv
2013-12-04 08:02:18 -05:00
Boris Zbarsky
2ccbfd5863
Bug 942631 part 4. Allow WebIDL attributes to return a sequence if it's cached. r=peterv
2013-12-04 08:02:18 -05:00
Boris Zbarsky
3d0aaf3090
Bug 942631 part 3. Preserve the wrapper when caching things in its slots if we're an nsWrapperCache. r=peterv
2013-12-04 08:02:18 -05:00
Boris Zbarsky
daded4df04
Bug 942631 part 2. Make getters for cached properties check and set the reserved slot as needed. r=peterv
2013-12-04 08:02:17 -05:00
Boris Zbarsky
f916e39018
Bug 942631 part 1. Add support for a [Cached] WebIDL annotation. r=peterv
2013-12-04 08:02:17 -05:00
Boris Zbarsky
de73ba3093
Bug 938355 part 2. Relax the restriction on [Pure] not mixing with [Throws] and annotate some more things as [Pure]. r=peterv
2013-12-02 09:50:34 -05:00
Boris Zbarsky
02d5a6f4f3
Bug 938355 part 1. Refactor jitinfo to separate out the concepts of side-effects and movability. r=efaust
2013-12-02 09:50:34 -05:00
William Chen
a0e58e725d
Bug 929885 - Implement web components ShadowRoot style sheet behavior. r=mrbkap
2013-12-02 02:26:12 -08:00
Ms2ger
cf53814bbc
Merge mozilla-inbound to mozilla-central.
2013-11-29 09:54:12 +01:00
Ms2ger
8df9a94962
Bug 935362 - Part b: Remove customTrace support; r=khuey
2013-11-28 15:03:15 +01:00
Ms2ger
42c34f4b81
Bug 935362 - Part a: Remove nativeOwnership = 'worker' support; r=khuey
2013-11-28 15:03:15 +01:00
Ehsan Akhgari
4f4eb23279
Bug 943355 - Build some of the code in dom/bindings in unified mode; r=gps
2013-11-28 08:35:22 -05:00
Olli Pettay
9a97a941a1
Additional fix for Bug 943613, r=bz
...
--HG--
extra : rebase_source : 5a635b26e6ee26d20de88f056136d4a3d0a8e0fe
2013-11-27 18:21:00 +02:00
Olli Pettay
5b2b222312
Bug 943613 - Notify JS implemented Event Target when an event listener is added / removed, r=bz
...
--HG--
extra : rebase_source : 3285e318ca454297f4a9f06c86e733ddf70f4cf8
2013-11-27 17:22:16 +02:00
Wes Kocher
5517bc7312
Merge b2g-inbound to m-c
2013-11-26 19:34:07 -06:00
Andrew McCreight
204e61c5d0
Bug 878447 - Don't include nsIDOMGlobalPropertyInitializer.h in generated DOM bindings. r=bz
2013-11-26 14:29:39 -05:00
Randy Lin
4f9eb8e54d
Bug 854753 - [B2G][Audio] Implement SpeakerManager API. r=amarchesini, sr=jonas
2013-11-25 12:50:03 +13:00
Boris Zbarsky
e1140c8d87
Bug 938294 part 2. Store information about argument types in jitinfo. r=peterv,efaust
2013-11-25 20:59:39 -05:00
Boris Zbarsky
bc942a6e74
Bug 938294 part 1. Allow the [Pure] annotation on non-throwing DOM methods. r=peterv
2013-11-25 20:59:39 -05:00
Boris Zbarsky
3da11ce4ff
Bug 935855 part 6. Add friend API exposing the max number of fixed slots, and some static asserts that we're not going past it. r=jorendorff
2013-11-25 20:59:38 -05:00
Boris Zbarsky
4c3c790795
Bug 935855 part 4. Codegen a function that updates all the members-in-reserved-slots values for an interface and call it when we finish wrapping an object. r=peterv
2013-11-25 20:59:38 -05:00
Boris Zbarsky
b207193f9f
Bug 935855 part 3. Compute the right slot indices to use for members we want to store in slots and save then in the data model the WebIDL parser outputs. r=peterv
2013-11-25 20:59:38 -05:00
Boris Zbarsky
a9759bf016
Bug 935855 part 2. Store isSlot information in jitinfo. r=peterv,efaust
2013-11-25 20:59:37 -05:00
Boris Zbarsky
5d9137eda5
Bug 935855 part 1. Add a [StoreInSlot] WebIDL annotation to bindings. r=peterv
2013-11-25 20:59:34 -05:00
Boris Zbarsky
613a76cab0
Bug 941776. Fix up our includes a bit when a dictionary contains a dictionary from another .webidl file. r=smaug
2013-11-25 20:57:25 -05:00
Nikhil Marathe
032ec015cc
Bug 942256 - ThreadSafeCheckIsChrome() checks UsesSystemPrincipal() for Workers. r=bz
...
--HG--
extra : rebase_source : 756edcea9860c22b06820ef505f51e7741cd5442
2013-11-22 14:08:38 -08:00
Jan-Ivar Bruaroey
758fc8ce90
Bug 933447 - Use new weakRef to JSImpl feature. r=smaug, r=mccr8, r=abr
2013-11-08 19:45:59 -05:00
Ryan VanderMeulen
4e2f345770
Merge m-c to inbound.
2013-11-21 11:37:10 -05:00
Carsten "Tomcat" Book
04f396a0c7
merge mozilla-inbound to mozilla-central
2013-11-21 14:20:21 +01:00
Olli Pettay
88e59b00f1
Bug 928535, Support WeakRef's from c++ to JSImplemented webidl objects, r=mccr8
...
--HG--
extra : rebase_source : 05736af7ab2d11b10e7e6e917b8647a58e2c2108
2013-11-20 23:42:16 +02:00
Boris Zbarsky
a7501e7c35
Bug 941437 part 2. Remove the unused cx argument from UNWRAP_OBJECT and UNWRAP_WORKER_OBJECT. r=smaug
2013-11-21 07:51:16 -05:00
Boris Zbarsky
7ab66366d5
Bug 941437 part 1. Remove the unused cx argument from dom::UnwrapObject. r=smaug
2013-11-21 07:51:15 -05:00
Edgar Chen
6c08e67fcb
Bug 814637 - Part 3: DOM changes for IccManager support multiple sim. f=hsinyi. r=smaug
2013-10-09 17:40:12 +08:00
Edgar Chen
677f6635ab
Bug 814637 - Part 1: Interface changes for iccManager support multiple sim. r=allstars.chh,hsinyi,smaug
2013-10-09 16:02:59 +08:00
Gregory Szorc
f8426fa8ea
Backed out 4 changesets (c0e8f2c0465f::608c663f691f) (bug 928195) for landing prematurely
...
--HG--
extra : rebase_source : fa42534ef50a0373738349f17b2ca57510bdd6ac
2013-11-19 10:16:51 -08:00
Gregory Szorc
0c46a02708
Bug 928195 - Part 6: Rewrite WebIDL build system integration
...
WebIDL build system integration has been rewritten from the ground up.
Changes:
* GlobalGen.py, BindingGen.py, and ExampleGen.py have been removed in
favor of mozwebidl.py.
* Static .webidl files are now processed directly in their original location
and aren't copied to the object directory.
* Generated events <stem>.cpp files are now compiled into the unified
sources. Previously, only the <stem>Binding.cpp files were compiled
into unified sources.
* Exported .h files are now generated directly into their final location.
Previously, they were generated into the local directory then
installed in their final location.
* The list of globalgen-generated files now lives in Python and isn't
duplicated in 3 places.
* The make dependencies are much simpler as a result of using a single
command to perform all code generation. The auto-generated .pp file from
code generation sets up all dependencies necessary to reinvoke code
generation and Python takes care of dependency management.
--HG--
extra : rebase_source : bde37d7aab3bd224ca8611f3ba4aaf6311e2faab
2013-11-14 09:52:49 -08:00
Gregory Szorc
550c43d34d
Bug 928195 - Part 4: mach command for generating WebIDL example files; r=froydnj
...
--HG--
extra : rebase_source : c2c2667cae91eae9e444f9d7cbd2750a5207af5d
2013-11-14 10:34:55 -08:00
Gregory Szorc
7cc8d3fa67
Bug 928195 - Part 3: Consolidate all WebIDL Python logic into mozwebidl module; r=bz, froydnj
...
--HG--
extra : rebase_source : 0d8f664ecda7a92b6fba768a0dd0fd867c7d0ed3
2013-11-18 13:02:11 -08:00
Gregory Szorc
1f0a95eb80
Bug 928195 - Part 2: Provide a mach command to run WebIDL parser tests; r=bz
...
--HG--
extra : rebase_source : ff200d7a77532dae9e022d03cccc624ea1f77c63
2013-11-14 14:34:50 -08:00
Gregory Szorc
a0e610f0e5
Bug 928195 - Part 1: Remove trailing whitespace from Codegen.py; r=bz
...
--HG--
extra : rebase_source : 09a7ed7933ef3c6efac617d3300b709ac2b3f26e
2013-11-14 14:31:58 -08:00
Jon Coppeard
6ab18f1654
Bug 940727 - Fix rooting hazard in DOMProxyHandler::GetAndClearExpandoObject() r=bholley
2013-11-20 15:37:30 +00:00
Bobby Holley
86629121be
Bug 939166 - Stop going through nsIScriptGlobalObject in CallSetup. r=bz
2013-11-20 08:48:00 -08:00
Ed Morley
58ac75dfe2
Backed out changeset 17ca97e65aa5 (bug 940727)
2013-11-20 16:37:55 +00:00
Jon Coppeard
3d07a3a88d
Bug 940727 - Fix rooting hazard in DOMProxyHandler::GetAndClearExpandoObject() r=bholley
2013-11-20 15:37:30 +00:00
Peter Van der Beken
f592ecfe0e
Bug 938544 - Add support for a Chrome-only constructor in WebIDL. r=bz.
...
--HG--
extra : rebase_source : e36fef0090d57947ceae6c2fc11bea8b115423e4
2013-08-12 16:45:33 +02:00
Peter Van der Beken
942e6b4680
Bug 938131 - Simplify dom::ErrorResult::ReportJSExceptionFromJSImplementation. r=bz.
...
--HG--
extra : rebase_source : db7b8edd1aec3aff7240b1323c00546d2e332112
2013-10-18 13:22:09 +02:00
Nathan Froyd
7a55485352
Bug 940573 - make the global's ProtoAndIfaceArray an actual object; r=bz
2013-11-19 14:28:09 -05:00
Kyle Huey
0d9571cd68
Bug 940071: Free the proto and iface cache for generated globals. r=bz
2013-11-19 14:05:42 +08:00
Kyle Huey
017986a69c
Bug 936327. r=bent
2013-11-19 14:05:41 +08:00
Mike Hommey
931cb49886
Bug 939632 - Remove LIBRARY_NAME for leaf libraries. r=gps
...
Landing on a CLOSED TREE.
2013-11-19 11:50:54 +09:00
Mike Hommey
db9e5129bc
Bug 939074 - Remove most LIBXUL_LIBRARY. rs=gps
2013-11-19 11:48:10 +09:00
Mike Hommey
f0d1cd1e10
Bug 939044 - Remove most definitions of MODULE. r=mshal
2013-11-19 11:47:39 +09:00
Mike Hommey
f81885e53b
Bug 935881 - Use FINAL_LIBRARY for all (fake) libraries that end up linked in a single other library. r=gps
2013-11-19 11:47:14 +09:00
Tom Schuster
f052cdba92
Bug 933834 - Rename and handlify JS_ValueToString. r=terrence,bz
2013-11-16 13:31:36 +01:00
Ms2ger
29adada2a2
Backout changesets ded0d64f6786:03f041d03f24 and 30cbd1abde1a (bug 935696, bug 933834 and bug 939194) for build bustage.
2013-11-17 16:39:25 +01:00
Tom Schuster
a12aa024e6
Bug 933834 - Rename and handlify JS_ValueToString. r=terrence,bz
2013-11-16 13:31:36 +01:00
Boris Zbarsky
abad3a19e5
Bug 938246. Don't try to tell the JIT that our booleans are 32-bit integers, when they're actually booleans. r=efaust
2013-11-17 00:10:19 -05:00
Boris Zbarsky
0c9f30d0e5
Bug 936634. Drop support for [TreatUndefinedAs] in WebIDL. r=peterv
2013-11-17 00:10:18 -05:00
Ryan VanderMeulen
f90de9eccd
Merge m-c to inbound on a CLOSED TREE.
2013-11-14 20:58:52 -05:00
Phil Ringnalda
0db97dc79f
Back out ce7c0c133cc2 (bug 936327) for crashtest GC crashes and assertions
...
CLOSED TREE
2013-11-12 20:09:28 -08:00
Kyle Huey
e8fcc99296
Bug 936327. r=bent
2013-11-13 10:33:44 +08:00
Bobby Holley
a0b4f0df4e
Bug 840488 - Remove CheckFunctionAccess. r=bz
...
\o/
Aside from checking whether script is enabled, all the other work this function
does is silly.
2013-11-12 16:43:32 -08:00
Jessica Jong
932c040803
Bug 814629 - Part 1: MozMobileConnectionArray webidl. f=hsinyi r=khuey
2013-11-13 16:50:11 +08:00
Ms2ger
786aa40195
No bug - Fix some style issues in DOM code.
2013-11-11 09:04:41 +01:00
Ms2ger
bd6c1c7dc9
Bug 931459 - Move LOCAL_INCLUDES to moz.build in dom/; r=mshal
2013-11-11 09:04:11 +01:00
Ms2ger
2d2f7fa030
Bug 921718 - Part b: Move MediaList to WebIDL; r=bz
2013-11-11 09:03:17 +01:00
Jeff Walden
f775bf0ab0
Bug 903332 - Make watch/unwatch into proxy hooks and such, and make watching/unwatching work on DOM proxies and windows (or at least work as much as it ever did, which is to say kinda-sorta-ish). r=bhackett, r=efaust
...
--HG--
extra : rebase_source : 58dc71e7e58208a2cfa12b265adca7b189e5e5bd
2013-10-29 16:39:09 -07:00
Mike Hommey
91af4c88d7
Bug 935305 - Move preprocessor to mozbuild.action. r=gps
...
--HG--
rename : config/Preprocessor.py => python/mozbuild/mozbuild/preprocessor.py
rename : config/tests/unit-Expression.py => python/mozbuild/mozbuild/test/test_expression.py
rename : config/tests/unit-LineEndings.py => python/mozbuild/mozbuild/test/test_line_endings.py
rename : config/tests/unit-Preprocessor.py => python/mozbuild/mozbuild/test/test_preprocessor.py
2013-11-09 10:35:44 +09:00
Ryan VanderMeulen
2cd9baaad6
Backed out changeset 471db633b20c (bug 903332) for B2G desktop mochitest-1 failures.
2013-11-07 16:10:21 -05:00
Jeff Walden
ed9fef3e20
Bug 903332 - Make watch/unwatch into proxy hooks and such, and make watching/unwatching work on DOM proxies and windows (or at least work as much as it ever did, which is to say kinda-sorta-ish). r=bhackett, r=efaust
...
--HG--
extra : rebase_source : b5bae3832b7718b579abb7c09f36c9c46907d7cc
2013-10-29 16:39:09 -07:00
Vicamo Yang
a59bce9b5b
Bug 835143: Implement StkCommandEvent using event generator. f=vyang. r=smaug
2013-07-18 07:18:00 +08:00
Andrew McCreight
712caa1d7a
Bug 932505 - Add some basic checking for Bindings.conf r=bz
2013-10-31 15:28:22 -07:00
Kyle Huey
a754cd2b5a
Bug 928312: Convert the worker global object and all remaining EventTargets to new DOM bindings. r=bent,peterv,smaug
2013-11-05 22:16:26 +08:00
Kyle Huey
2e23ecc690
Bug 925531: Worker URL harmonization. r=bent
2013-11-05 22:16:25 +08:00
Kyle Huey
f8c3be104e
Bug 919885: Move Worker to WebIDL and thread-agnostic event dispatch. r=bent,bz
2013-11-05 22:16:24 +08:00
Peter Van der Beken
1f5317edd4
Bug 932322 - Make Window's WebIDL properties be own properties of window. r=bz.
...
--HG--
extra : rebase_source : 5595267a420f81f20e5e227712886c9329bec473
2013-10-08 18:18:40 +02:00
Dan Glastonbury
442a70f72a
Bug 843668 - Implement WebGL -draft- extension EXT_sRGB. r=jgilbert
...
https://www.khronos.org/registry/webgl/extensions/EXT_sRGB/
See content/canvas/test/webgl/conformance/extensions/ext-sRGB.html for example
usage.
OSX 10.6 has a failure when reading back the results from an sRGB format
texture attached to an FBO. Blacklist MacOSX 10.6 and all lower versions.
2013-11-04 16:05:04 -05:00
Ryan VanderMeulen
6cddc919e9
Backed out 3 changesets (bug 932309, bug 932322) for Linux mochitest-bc timeouts on a CLOSED TREE.
...
Backed out changeset aea34e69d171 (bug 932322)
Backed out changeset 2b99a0f6ff1b (bug 932309)
Backed out changeset 0e3bcb78784e (bug 932309)
2013-11-04 14:31:21 -05:00
Peter Van der Beken
86a3955c9b
Bug 932322 - Make Window's WebIDL properties be own properties of window. r=bz.
...
--HG--
extra : rebase_source : b8ce4fedf7fc46b14a1d01663945d1b0e22bdcdd
2013-10-08 18:18:40 +02:00
Andrew McCreight
535833ef5d
Bug 933966 - Fix reindentation in CGWrapper. r=bz
2013-11-01 16:48:35 -07:00
Reuben Morais
50740465ab
Bug 929491 - Include dictionary and object types in union construction error messages. r=bz
2013-11-02 16:18:35 -02:00
Ryan VanderMeulen
d6769d613c
Merge b2g-inbound to m-c.
2013-11-01 14:45:07 -04:00
Reuben Morais
c90295cbba
Bug 933054 - Allow the toJSON identifier to be used in WebIDL interfaces again. r=peterv
...
--HG--
extra : rebase_source : 83c7724f97d0b2ce709092f2aaf7e15e682c3d90
2013-11-01 14:01:00 -02:00
Olli Pettay
05466579d2
Bug 932886 - Stop doing slow getService bits in dom::GetCurrentJSStack, r=bz
2013-11-01 14:55:35 +02:00
Ed Morley
f5bf135341
Backed out changeset e697e7dcc321 (bug 932322)
2013-11-01 11:14:30 +00:00
Peter Van der Beken
ee8349f313
Bug 932322 - Make Window's WebIDL properties be own properties of window. r=bz.
...
--HG--
extra : rebase_source : 0225f25a61d1bffdae8eac4f82d7fe725a3af2df
2013-10-08 18:18:40 +02:00
Peter Van der Beken
3f0768ba00
Bug 932320 - Use JS_DefineProperty for replaceable properties. r=bz.
...
--HG--
extra : rebase_source : 89afe3e605ca66914912e1718e1558c8e266be32
2013-10-08 17:51:03 +02:00
Peter Van der Beken
a348044a35
Bug 932315 - Throw a different error when this-unwrapping fails for security reasons. r=bz.
...
--HG--
extra : rebase_source : a92639be64d8d591ea4c97955bc04e6047e0d027
2013-10-16 18:11:25 +02:00
Boris Zbarsky
792f1ad7f6
Bug 933087. Make sure we don't violate stack discipline for Rooted, even when playing Maybe<Rooted> games. r=khuey
2013-10-31 22:07:11 -04:00
Boris Zbarsky
6699bfa524
Bug 932998. Don't try to codegen code that keeps alive objects with 'owned' nativeOwnership, since we have no way to do that. r=smaug
2013-10-31 22:07:11 -04:00
Boris Zbarsky
dd5c49ee18
Bug 925737. Allow copy-constructing owning unions with safe enough members. r=peterv
2013-10-31 22:07:10 -04:00
Boris Zbarsky
7690d94087
Bug 882541 part 4. Treat undefined as missing for optional WebIDL arguments. r=khuey,ms2ger
2013-10-11 12:28:24 -04:00
Boris Zbarsky
b4b08a6e79
Bug 882541 part 3. Rework the overload resolution algorithm to WebIDL spec changes in handling of optional arguments. r=khuey
...
The major changes are as follows:
1) The new algorithm no longer adjusts "argcount" based on the
interaction of trailing undefined and [TreatUndefinedAs=Missing]
arguments. We never implemented this; just asserted that we didn't
have to deal with this situation.
2) If the distinguishing argument is undefined and there is an
overload that has an optional argument at the distinguishing
argument index, that overload is selected.
2013-10-11 12:28:24 -04:00
Boris Zbarsky
c0b03f21a5
Bug 882541 part 2. Fix a bug that crept in with overloading a string and a nullable number and then passing in null, due to the number conversion being conditional on the input type in that case. r=khuey
...
Also removes a footgun conversion operator on Nullable that was causing it to silently convert to int32_t.
2013-10-11 12:28:23 -04:00
Boris Zbarsky
877e9ac717
Bug 882541 part 1. Don't require all arguments after an optional argument to be optional. r=khuey
2013-10-11 12:28:23 -04:00
Brian Hackett
dc28fb0d43
Bug 930048 - Remove need to read objects directly when optimizing singleton accesses, r=jandem.
2013-10-29 16:10:59 -06:00
Terrence Cole
9d043da8c4
Bug 926779 - Do not try to mark null TypedArrays; r=efaust
2013-10-28 09:37:58 -07:00
Boris Zbarsky
70192ce8ff
Bug 924402. When an object that can only be returned from [NewObject] methods is used in a dictionary, just skip generating a ToObject for that dictionary. r=peterv
2013-10-28 19:34:08 -04:00
Mike Hommey
cf2b1d71d9
Bug 930896 - Keep track of files generated by a build backend. r=gps
2013-10-29 08:00:30 +09:00
Birunthan Mohanathas
7b51758e7a
Bug 784739 - Switch from NULL to nullptr in dom/ (1/2); r=ehsan
2013-10-28 10:04:12 -04:00
Carsten "Tomcat" Book
e8e8b45530
Merge mozilla-central to mozilla-inbound
2013-10-28 13:03:52 +01:00
Eddy Bruel
874a5f30e3
Bug 880330 - Refactor dom to use the new options API (2/2); r=khuey
2013-10-28 12:51:05 +01:00
Boris Zbarsky
77ea872b8d
Bug 929512. Fix null default values for non-nullable unions containing a nullable type. r=dzbarsky, r=smaug pending
2013-10-28 00:33:15 -04:00
Jan-Ivar Bruaroey
65c121dae3
Bug 929530 - Remove peerConnection functionality deprecated w/warnings since 24 r=jesup,jib
2013-10-27 10:36:34 -04:00
Peter Van der Beken
69e7c5ae55
Bug 918345 - Turn on WebIDL binding generation for Window and hook it up to quickstubs. r=bz.
...
--HG--
extra : rebase_source : 7bde7ddfe297e189ffa678ca1d9c34000bc904ec
2013-10-08 17:51:42 +02:00
Tom Schuster
ce701cf26f
Bug 930782 - Handlify JS_WrapValue. r=terrence
2013-10-26 18:19:05 +02:00
Ms2ger
88bbf03777
Backout changeset 2e466ccc7bd0 for devtools test failures.
2013-10-26 17:02:20 +02:00
Peter Van der Beken
45ef6c1adc
Bug 918345 - Turn on WebIDL binding generation for Window and hook it up to quickstubs. r=bz.
...
--HG--
extra : rebase_source : 673c08ef093339e6bfb1418366af5cc5fabe7c4d
2013-10-08 17:51:42 +02:00
Trevor Saunders
e4cd176c9e
[PATCH] bug 922566 - kill dom-config.mk
...
From 6681eaa8bb47ddb4756fd71738771c4c437101c0 Mon Sep 17 00:00:00 2001
---
content/media/webspeech/recognition/Makefile.in | 1 -
content/media/webspeech/recognition/moz.build | 5 +-
content/media/webspeech/synth/Makefile.in | 1 -
content/media/webspeech/synth/pico/Makefile.in | 3 --
dom/alarm/Makefile.in | 2 -
dom/apps/src/Makefile.in | 1 -
dom/base/Makefile.in | 2 -
dom/base/moz.build | 26 ++++++++++-
dom/battery/Makefile.in | 1 -
dom/bindings/Makefile.in | 3 --
dom/bindings/moz.build | 17 ++++++-
dom/bindings/test/Makefile.in | 5 +-
dom/bluetooth/Makefile.in | 2 -
dom/bluetooth/moz.build | 7 ++-
dom/browser-element/Makefile.in | 3 --
dom/browser-element/moz.build | 6 ++-
dom/camera/Makefile.in | 1 -
dom/camera/moz.build | 5 +-
dom/devicestorage/Makefile.in | 1 -
dom/dom-config.mk | 61 -------------------------
dom/encoding/Makefile.in | 1 -
dom/fmradio/Makefile.in | 2 -
dom/fmradio/ipc/Makefile.in | 1 -
dom/fmradio/ipc/moz.build | 5 +-
dom/fmradio/moz.build | 5 +-
dom/icc/src/Makefile.in | 4 --
dom/media/Makefile.in | 3 --
dom/media/moz.build | 6 ++-
dom/mobilemessage/src/Makefile.in | 1 -
dom/mobilemessage/src/moz.build | 5 +-
dom/network/src/Makefile.in | 2 -
dom/plugins/base/Makefile.in | 1 -
dom/plugins/base/moz.build | 8 +++-
dom/power/Makefile.in | 1 -
dom/quota/Makefile.in | 1 -
dom/system/gonk/Makefile.in | 2 -
dom/telephony/Makefile.in | 1 -
dom/time/Makefile.in | 1 -
dom/wifi/Makefile.in | 5 --
39 files changed, 85 insertions(+), 123 deletions(-)
delete mode 100644 dom/dom-config.mk
delete mode 100644 dom/wifi/Makefile.in
2013-10-23 17:20:55 -04:00
Peter Van der Beken
0a9c8db8f7
Bug 918351 - Support Replaceable WebIDL properties. r=bz.
...
--HG--
extra : rebase_source : 1b3ca397aa15641c1ee4c49912148d0a3bb5a640
2013-09-15 23:04:08 +02:00
Peter Van der Beken
18359b69c9
Bug 922159 - Rename Creator WebIDL extended attribute to NewObject. r=bz.
...
--HG--
extra : rebase_source : 80791f28acbf8e2cc21946b0d62bb8555b53fc99
2013-09-30 18:32:22 +02:00
Brian O'Keefe
0cbcd904c7
Bug 928709 - Convert chromium-config.mk to mozbuild, r=mshal
2013-10-02 13:17:55 -04:00
Mike Hommey
80c623bb6a
Bug 921492 - Make StrictOrderingOnAppendList use actual alphabetical sorting. r=mshal,r=gps
2013-10-24 08:05:43 +09:00
Ed Morley
68a54dcb54
Backed out changeset 64a19bc0e198 (bug 922159) for compilation failures on a CLOSED TREE
2013-10-23 15:51:48 +01:00
Ed Morley
050838bb2e
Backed out changeset 7ba9be5d51df (bug 918351)
2013-10-23 15:51:24 +01:00
Peter Van der Beken
36133ae0ce
Bug 918351 - Support Replaceable WebIDL properties. r=bz.
...
--HG--
extra : rebase_source : 8c87e06ddb168d76e300d71b4784d1fb508e398a
2013-09-15 23:04:08 +02:00
Peter Van der Beken
985a143c28
Bug 922159 - Rename Creator WebIDL extended attribute to NewObject. r=bz.
...
--HG--
extra : rebase_source : 2c09c54f42a111d27b0d57346ca7d80f440eca09
2013-09-30 18:32:22 +02:00
Andrew McCreight
111f7ebdfa
Bug 911333 - Only set customTrace to true on workers. r=khuey
2013-10-17 06:24:22 -07:00
Bobby Holley
d23fe1a7b3
Bug 928476 - Add telemetry to measure cross-global adopts. r=mrbkap,nfroyd
2013-10-23 14:02:42 +02:00
Wes Kocher
348cfdc998
Merge inbound to m-c
2013-10-22 18:11:06 -04:00
Vicamo Yang
8095b80694
Bug 814556 - 1/2: Move mozilla::dom::icc::* to mozilla::dom. r=khuey, f=Ms2ger
2013-10-22 19:23:00 +08:00
Trevor Saunders
d33d8939a0
Backed out changeset 99b17c404db2 and e40a964458f8 for landing stuff that shouldn't have and then backing out stuff that should have stayed on a CLOSED TREE
...
--HG--
extra : amend_source : 54312955270ea4098a3add3cd0708866de2e40bb
2013-10-21 18:58:14 -04:00
Trevor Saunders
aba3fa9503
bug 922566 - kill dom-config.mk r=gps
2013-10-11 12:02:41 -04:00
Steve Fink
aa953866aa
Bug 925916 - Revert computThis() to thisv(). r=bz
...
--HG--
extra : rebase_source : 9de03d5a7c8867f92984eee80a185ca3f3c0f764
2013-10-21 10:52:22 -07:00
Tom Schuster
c4c16b0062
Bug 884410 - Remove JS_ValueToNumber. r=terrence
2013-10-19 18:39:52 +02:00
Andrea Marchesini
f703a01ee7
Bug 927735 - TypeError check for URL API. r=ehsan
2013-10-18 10:17:03 -04:00
Tareq Khandaker
c7ac49717a
Bug 924397 - WebIDL parser doesn't specify file when encountering syntax error at end of file. r=jdm
2013-10-18 10:17:00 -04:00
Steve Fink
4c4942bd9b
Bug 925916 - Random minor code cleanups, r=smaug
2013-10-15 15:34:13 -07:00
Steve Fink
bb8984ec75
Bug 925916 - Add some handles to dom/bindings, r=bz
...
--HG--
extra : rebase_source : 2443d2b988dea432c4961e8b042b0288e1dc7016
2013-10-11 22:02:39 -07:00
Andy Wingo
c9977b2ad9
Bug 919948 - Convert Array.prototype.@@iterator to use new iteration protocol. r=jorendorff
...
--HG--
extra : rebase_source : d67252851178e66e8d7ef82ef83edddf79535a4e
2013-10-17 12:10:02 +02:00
Bobby Holley
5c32c180a4
Bug 922009 - MOZ_CRASH when trying to transplant objects with SCSWs. r=mrbkap
2013-10-17 10:00:02 +02:00
Mike Hommey
346ab641f4
Bug 924992 - Use an absolute path for DIST for webidl generated headers install. r=gps
2013-10-17 07:55:18 +09:00
Ed Morley
78777d624f
Backed out changeset f8e64e91e443 (bug 843668) for webgl test failures
2013-10-16 15:18:20 +01:00
Dan Glastonbury
560bce12ae
Bug 843668 - Implement WebGL -draft- extension EXT_sRGB. r=jgilbert
...
https://www.khronos.org/registry/webgl/extensions/EXT_sRGB/
See content/canvas/test/webgl/conformance/extensions/ext-sRGB.html for example
usage.
2013-10-16 08:27:59 -04:00
Tom Schuster
f59a4cd93b
Bug 8844105 - Handlify JS_WrapObject. r=terrence
2013-10-15 20:02:23 -04:00
Wes Kocher
61d5ac3528
Merge m-c to b-i
2013-10-14 19:12:25 -07:00
Deian Stefan
1f5d2eef71
Bug 919209 - Throw re-reports exception onto context. r=bholley
2013-10-09 14:43:15 -07:00
Ryan VanderMeulen
a80b1ea22a
Backed out 2 changesets (bug 915757, bug 919885) for frequent Android Armv6 mochitest-8 crashes.
...
Backed out changeset 04610078280c (bug 915757)
Backed out changeset db9190b3ce60 (bug 919885)
2013-10-14 14:38:54 -04:00
Ed Morley
d9879cd4ec
Merge latest green inbound changeset and mozilla-central
2013-10-14 17:39:02 +01:00
Ed Morley
2b3f157d86
Backed out changeset 877a227c502f (bug 882541) for causing bug 926305
2013-10-14 17:31:06 +01:00
Ed Morley
b578555c28
Backed out changeset d8636e485e85 (bug 882541)
2013-10-14 17:30:49 +01:00
Ed Morley
225d596527
Backed out changeset 61092280cb2a (bug 882541)
2013-10-14 17:30:46 +01:00
Ed Morley
da83085a5c
Backed out changeset ccf11ae08ba2 (bug 882541)
2013-10-14 17:30:43 +01:00
Kyle Huey
c3788e3653
Bug 919885: Move Worker to WebIDL and thread-agnostic event dispatch. r=bent,bz
2013-10-14 19:58:05 +08:00