Gregory Szorc
ba3bc4ff01
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
be4a974b23
Bug 950523 - Part 2: Move MediaQueryList to WebIDL bindings; r=bzbarsky
2013-12-16 09:03:34 -05:00
Gregory Szorc
c2b654599f
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
dcf3207d31
Backed out changeset 203e2bcc575d (bug 949875) for Windows Bustage on a CLOSED TREE
2013-12-13 12:46:22 +01:00
Gregory Szorc
3ec0b0a106
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
6f9caffe80
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
faf292b942
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
b47eeb6ab3
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
0dd4e7e164
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
f5f63077e2
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
ac153799bd
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
6f31ec040a
Bug 949264 part 2. Support union members in generated events. r=smaug
2013-12-12 16:11:55 -05:00
Boris Zbarsky
3e0c5f04f2
Bug 949264 part 1. Share more codegen between events and CGNativeMember. r=smaug
2013-12-12 16:11:55 -05:00
Trevor Saunders
0c6e1524c9
bug 946946 - add Document.docShell r=bz
2013-12-05 16:28:21 -05:00
Andrea Marchesini
aeb5063aca
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
919668270c
Bug 887836 - URLQuery object, r=khuey
2013-12-12 19:30:10 +00:00
Steve Fink
80aa980365
Bug 937317 - Root around GC call GetIncumbentGlobal. r=bz
2013-12-11 17:51:58 -08:00
Bobby Holley
07df154678
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
1e509be87c
Bug 937317 - Return null from ToWebIDLCallback if one doesn't already exist. r=bz
2013-12-11 17:51:58 -08:00
Bobby Holley
5bd2767e3a
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
3b27d85d5f
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
d6f35ca2ac
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
7dd61e1f0b
Bug 697343 - Add slice hook to DOM bindings like NodeList. r=peterv,bhackett
2013-12-02 11:32:22 -05:00
Tom Schuster
11675716d5
Bug 697343 - Remove getElementIfPresent. r=Waldo
2013-12-05 20:07:24 +01:00
Boris Zbarsky
fc8f65ba99
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
f9ef5c917a
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
abefb320a5
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
1815e242b3
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
3440613a39
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
68b00083fd
Bug 713082 - Part 1: Remove unnecessary Util.h includes. r=Waldo
2013-12-08 21:52:33 -05:00
Masayuki Nakano
062916b7a5
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
cacf62c269
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
cdf05d42a4
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
2b39e7a2d7
Bug 937317 - Return null from ToWebIDLCallback if one doesn't already exist. r=bz
2013-12-06 12:01:42 -08:00
Bobby Holley
78f90c96fa
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
d29d61de41
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
96186598dc
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
2f0f6d99a7
Backed out changeset f65970fe598f (bug 937317) WinXP Build Bustage on a CLOSED TREE
2013-12-06 08:42:48 +01:00
Carsten "Tomcat" Book
25d7777933
Backed out changeset 1156b23f333f (bug 937317) WinXP Build Bustage on a CLOSED TREE
2013-12-06 08:42:07 +01:00
Carsten "Tomcat" Book
928b1a0621
Backed out changeset 767065f0560b (bug 937317) WinXP Build Bustage on a CLOSED TREE
2013-12-06 08:41:59 +01:00
Carsten "Tomcat" Book
7ad96865a6
Backed out changeset 17c47c036980 (bug 937317) WinXP Build Bustage on a CLOSED TREE
2013-12-06 08:41:50 +01:00
Carsten "Tomcat" Book
076ec87e09
Backed out changeset 374e44c835a8 (bug 937317) WinXP Build Bustage on a CLOSED TREE
2013-12-06 08:41:42 +01:00
Bobby Holley
901b658c25
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
ee0e38d892
Bug 937317 - Return null from ToWebIDLCallback if one doesn't already exist. r=bz
2013-12-05 21:34:17 -08:00
Bobby Holley
cff106e954
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
e23b983161
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
62118215d7
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
5c07e15985
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
4174f51d65
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
574377e72d
Bug 697343 - Add slice hook to DOM bindings like NodeList. r=peterv,bhackett
2013-12-02 11:32:22 -05:00
Tom Schuster
922370489e
Bug 697343 - Remove getElementIfPresent. r=Waldo
2013-12-05 20:07:24 +01:00
Boris Zbarsky
21df6dd5cf
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
34c58c980f
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
1b79433e39
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
7cea1234f6
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
be8f33b2af
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
a55415242a
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
3c9332eaf8
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
da56c38e0b
Bug 942631 part 1. Add support for a [Cached] WebIDL annotation. r=peterv
2013-12-04 08:02:17 -05:00
Boris Zbarsky
4ffa18ba5a
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
69a8f7bb18
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
ad649152bc
Bug 929885 - Implement web components ShadowRoot style sheet behavior. r=mrbkap
2013-12-02 02:26:12 -08:00
Ms2ger
9d06a0c27f
Merge mozilla-inbound to mozilla-central.
2013-11-29 09:54:12 +01:00
Ms2ger
a4f80d66d9
Bug 935362 - Part b: Remove customTrace support; r=khuey
2013-11-28 15:03:15 +01:00
Ms2ger
5c3ce5df59
Bug 935362 - Part a: Remove nativeOwnership = 'worker' support; r=khuey
2013-11-28 15:03:15 +01:00
Ehsan Akhgari
466c09adb4
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
2ad7b8f672
Additional fix for Bug 943613, r=bz
...
--HG--
extra : rebase_source : 5a635b26e6ee26d20de88f056136d4a3d0a8e0fe
2013-11-27 18:21:00 +02:00
Olli Pettay
6729b9e7ff
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
9d54e7a157
Merge b2g-inbound to m-c
2013-11-26 19:34:07 -06:00
Andrew McCreight
ebd19c8e62
Bug 878447 - Don't include nsIDOMGlobalPropertyInitializer.h in generated DOM bindings. r=bz
2013-11-26 14:29:39 -05:00
Randy Lin
2392de7e85
Bug 854753 - [B2G][Audio] Implement SpeakerManager API. r=amarchesini, sr=jonas
2013-11-25 12:50:03 +13:00
Boris Zbarsky
3df9d7aaed
Bug 938294 part 2. Store information about argument types in jitinfo. r=peterv,efaust
2013-11-25 20:59:39 -05:00
Boris Zbarsky
5cf0773f3d
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
5ff8a34707
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
7618cffabd
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
ddb0fa4d92
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
740b35f91a
Bug 935855 part 2. Store isSlot information in jitinfo. r=peterv,efaust
2013-11-25 20:59:37 -05:00
Boris Zbarsky
60a3c87fe7
Bug 935855 part 1. Add a [StoreInSlot] WebIDL annotation to bindings. r=peterv
2013-11-25 20:59:34 -05:00
Boris Zbarsky
cc88075602
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
6e5bac2f16
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
5e7893b429
Bug 933447 - Use new weakRef to JSImpl feature. r=smaug, r=mccr8, r=abr
2013-11-08 19:45:59 -05:00
Ryan VanderMeulen
aff6efccdc
Merge m-c to inbound.
2013-11-21 11:37:10 -05:00
Carsten "Tomcat" Book
b696d7931d
merge mozilla-inbound to mozilla-central
2013-11-21 14:20:21 +01:00
Olli Pettay
0432fe5230
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
299e9bc2b3
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
ae8b4cf576
Bug 941437 part 1. Remove the unused cx argument from dom::UnwrapObject. r=smaug
2013-11-21 07:51:15 -05:00
Edgar Chen
32a51f2f8c
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
4968c7d3f1
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
d39381a161
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
90980a53e9
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
015d6acf3d
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
e6e1a53979
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
58ddbab782
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
604163999d
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
dd160d493c
Bug 940727 - Fix rooting hazard in DOMProxyHandler::GetAndClearExpandoObject() r=bholley
2013-11-20 15:37:30 +00:00
Bobby Holley
d149235527
Bug 939166 - Stop going through nsIScriptGlobalObject in CallSetup. r=bz
2013-11-20 08:48:00 -08:00
Ed Morley
799cc7ec2d
Backed out changeset 17ca97e65aa5 (bug 940727)
2013-11-20 16:37:55 +00:00
Jon Coppeard
6a9fcb306c
Bug 940727 - Fix rooting hazard in DOMProxyHandler::GetAndClearExpandoObject() r=bholley
2013-11-20 15:37:30 +00:00
Peter Van der Beken
794b2d6bd9
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
97c1353a69
Bug 938131 - Simplify dom::ErrorResult::ReportJSExceptionFromJSImplementation. r=bz.
...
--HG--
extra : rebase_source : db7b8edd1aec3aff7240b1323c00546d2e332112
2013-10-18 13:22:09 +02:00
Nathan Froyd
7b9a9d912c
Bug 940573 - make the global's ProtoAndIfaceArray an actual object; r=bz
2013-11-19 14:28:09 -05:00
Kyle Huey
facf7517b4
Bug 940071: Free the proto and iface cache for generated globals. r=bz
2013-11-19 14:05:42 +08:00
Kyle Huey
492d0e235c
Bug 936327. r=bent
2013-11-19 14:05:41 +08:00
Mike Hommey
2812d11fce
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
e06d795c71
Bug 939074 - Remove most LIBXUL_LIBRARY. rs=gps
2013-11-19 11:48:10 +09:00
Mike Hommey
e80e877ab7
Bug 939044 - Remove most definitions of MODULE. r=mshal
2013-11-19 11:47:39 +09:00
Mike Hommey
ffe0380912
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
4478f5b384
Bug 933834 - Rename and handlify JS_ValueToString. r=terrence,bz
2013-11-16 13:31:36 +01:00
Ms2ger
cca4d45da6
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
bc757ef965
Bug 933834 - Rename and handlify JS_ValueToString. r=terrence,bz
2013-11-16 13:31:36 +01:00
Boris Zbarsky
8b79e34549
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
44a1bbf863
Bug 936634. Drop support for [TreatUndefinedAs] in WebIDL. r=peterv
2013-11-17 00:10:18 -05:00
Ryan VanderMeulen
98ea4dada0
Merge m-c to inbound on a CLOSED TREE.
2013-11-14 20:58:52 -05:00
Phil Ringnalda
3fce5b8128
Back out ce7c0c133cc2 (bug 936327) for crashtest GC crashes and assertions
...
CLOSED TREE
2013-11-12 20:09:28 -08:00
Kyle Huey
ecf3d29c3b
Bug 936327. r=bent
2013-11-13 10:33:44 +08:00
Bobby Holley
a17328e5cc
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
351d9df61e
Bug 814629 - Part 1: MozMobileConnectionArray webidl. f=hsinyi r=khuey
2013-11-13 16:50:11 +08:00
Ms2ger
0fdc697b63
No bug - Fix some style issues in DOM code.
2013-11-11 09:04:41 +01:00
Ms2ger
4fe918bb7b
Bug 931459 - Move LOCAL_INCLUDES to moz.build in dom/; r=mshal
2013-11-11 09:04:11 +01:00
Ms2ger
1cc6b62713
Bug 921718 - Part b: Move MediaList to WebIDL; r=bz
2013-11-11 09:03:17 +01:00
Jeff Walden
3e47e0b069
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
a470038314
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
70d3f7a789
Backed out changeset 471db633b20c (bug 903332) for B2G desktop mochitest-1 failures.
2013-11-07 16:10:21 -05:00
Jeff Walden
407d6806e9
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
b9e845fc40
Bug 835143: Implement StkCommandEvent using event generator. f=vyang. r=smaug
2013-07-18 07:18:00 +08:00
Andrew McCreight
a60808cc93
Bug 932505 - Add some basic checking for Bindings.conf r=bz
2013-10-31 15:28:22 -07:00
Kyle Huey
020d8b6c36
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
c236dbbb74
Bug 925531: Worker URL harmonization. r=bent
2013-11-05 22:16:25 +08:00
Kyle Huey
e034802efa
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
6a145a3bfd
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
821c4d7a3f
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
c9cb6d04fe
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
395356226a
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
b8de97a9a9
Bug 933966 - Fix reindentation in CGWrapper. r=bz
2013-11-01 16:48:35 -07:00
Reuben Morais
741f1170ee
Bug 929491 - Include dictionary and object types in union construction error messages. r=bz
2013-11-02 16:18:35 -02:00
Ryan VanderMeulen
f452f08c1d
Merge b2g-inbound to m-c.
2013-11-01 14:45:07 -04:00
Reuben Morais
3a1212943a
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
f4971d6f32
Bug 932886 - Stop doing slow getService bits in dom::GetCurrentJSStack, r=bz
2013-11-01 14:55:35 +02:00
Ed Morley
339e4d3302
Backed out changeset e697e7dcc321 (bug 932322)
2013-11-01 11:14:30 +00:00
Peter Van der Beken
af8c9a9b08
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
0fb4099fa8
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
a4fe40c32e
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
7763b195d4
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
45644e6916
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
120ff6b66e
Bug 925737. Allow copy-constructing owning unions with safe enough members. r=peterv
2013-10-31 22:07:10 -04:00
Boris Zbarsky
20b04d6057
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
98d74fb3cb
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
9253bde16b
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
a2f07bbb8a
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
98ec75f9e6
Bug 930048 - Remove need to read objects directly when optimizing singleton accesses, r=jandem.
2013-10-29 16:10:59 -06:00
Terrence Cole
98b63a224d
Bug 926779 - Do not try to mark null TypedArrays; r=efaust
2013-10-28 09:37:58 -07:00
Boris Zbarsky
38d1832bb2
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
2eefafb740
Bug 930896 - Keep track of files generated by a build backend. r=gps
2013-10-29 08:00:30 +09:00
Birunthan Mohanathas
98f3b9652a
Bug 784739 - Switch from NULL to nullptr in dom/ (1/2); r=ehsan
2013-10-28 10:04:12 -04:00
Carsten "Tomcat" Book
afc42a1576
Merge mozilla-central to mozilla-inbound
2013-10-28 13:03:52 +01:00
Eddy Bruel
1ed81b38c5
Bug 880330 - Refactor dom to use the new options API (2/2); r=khuey
2013-10-28 12:51:05 +01:00
Boris Zbarsky
97c2bf7f74
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
f158da18a1
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
dfc2297bd8
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
127ebf3721
Bug 930782 - Handlify JS_WrapValue. r=terrence
2013-10-26 18:19:05 +02:00
Ms2ger
7cd50d2f15
Backout changeset 2e466ccc7bd0 for devtools test failures.
2013-10-26 17:02:20 +02:00
Peter Van der Beken
e01445a2df
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
f1399b6633
[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
24546ae68c
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
70d1256549
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
9c9d71fddb
Bug 928709 - Convert chromium-config.mk to mozbuild, r=mshal
2013-10-02 13:17:55 -04:00
Mike Hommey
59a17d0f20
Bug 921492 - Make StrictOrderingOnAppendList use actual alphabetical sorting. r=mshal,r=gps
2013-10-24 08:05:43 +09:00
Ed Morley
ef2d7c5fe8
Backed out changeset 64a19bc0e198 (bug 922159) for compilation failures on a CLOSED TREE
2013-10-23 15:51:48 +01:00
Ed Morley
6f61723ac5
Backed out changeset 7ba9be5d51df (bug 918351)
2013-10-23 15:51:24 +01:00
Peter Van der Beken
11a4bbcd00
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
538eed5d23
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
4e7cf109f8
Bug 911333 - Only set customTrace to true on workers. r=khuey
2013-10-17 06:24:22 -07:00
Bobby Holley
1083a8c306
Bug 928476 - Add telemetry to measure cross-global adopts. r=mrbkap,nfroyd
2013-10-23 14:02:42 +02:00
Wes Kocher
16d6e76b4e
Merge inbound to m-c
2013-10-22 18:11:06 -04:00
Vicamo Yang
ff610008af
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
c29760731a
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
67e6559698
bug 922566 - kill dom-config.mk r=gps
2013-10-11 12:02:41 -04:00
Steve Fink
076b103a07
Bug 925916 - Revert computThis() to thisv(). r=bz
...
--HG--
extra : rebase_source : 9de03d5a7c8867f92984eee80a185ca3f3c0f764
2013-10-21 10:52:22 -07:00
Tom Schuster
fe82cf2d65
Bug 884410 - Remove JS_ValueToNumber. r=terrence
2013-10-19 18:39:52 +02:00
Andrea Marchesini
7fae1b5078
Bug 927735 - TypeError check for URL API. r=ehsan
2013-10-18 10:17:03 -04:00
Tareq Khandaker
54c85e8f1c
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
1b7c5fcec0
Bug 925916 - Random minor code cleanups, r=smaug
2013-10-15 15:34:13 -07:00
Steve Fink
a484573cac
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
42d8ea0ae4
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
2dcd8b769e
Bug 922009 - MOZ_CRASH when trying to transplant objects with SCSWs. r=mrbkap
2013-10-17 10:00:02 +02:00
Mike Hommey
ea02dbea59
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
7fddf413ca
Backed out changeset f8e64e91e443 (bug 843668) for webgl test failures
2013-10-16 15:18:20 +01:00
Dan Glastonbury
93f44b676a
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
1faae39271
Bug 8844105 - Handlify JS_WrapObject. r=terrence
2013-10-15 20:02:23 -04:00
Wes Kocher
a63e876e08
Merge m-c to b-i
2013-10-14 19:12:25 -07:00
Deian Stefan
915d0c5a88
Bug 919209 - Throw re-reports exception onto context. r=bholley
2013-10-09 14:43:15 -07:00
Ryan VanderMeulen
9abde8f9b2
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
c850e0a16b
Merge latest green inbound changeset and mozilla-central
2013-10-14 17:39:02 +01:00
Ed Morley
ed709a7977
Backed out changeset 877a227c502f (bug 882541) for causing bug 926305
2013-10-14 17:31:06 +01:00
Ed Morley
b0477b5369
Backed out changeset d8636e485e85 (bug 882541)
2013-10-14 17:30:49 +01:00
Ed Morley
3a77b8b1b1
Backed out changeset 61092280cb2a (bug 882541)
2013-10-14 17:30:46 +01:00
Ed Morley
0f6d579260
Backed out changeset ccf11ae08ba2 (bug 882541)
2013-10-14 17:30:43 +01:00
Kyle Huey
30ab732153
Bug 919885: Move Worker to WebIDL and thread-agnostic event dispatch. r=bent,bz
2013-10-14 19:58:05 +08:00
Phil Ringnalda
5c6d197b06
Backed out 2 changesets (bug 915757, bug 919885) for xpcshell bustage
...
Backed out changeset 5d17d90b838d (bug 915757)
Backed out changeset 91495d3a91c8 (bug 919885)
2013-10-13 21:59:58 -07:00
Kyle Huey
93bec3955c
Bug 919885: Move Worker to WebIDL and thread-agnostic event dispatch. r=bent,bz
2013-10-14 11:10:43 +08:00