Luke Wagner
fee7952e0d
Bug 755186 - s/JS_NewCompartmentAndGlobalObject/JS_NewGlobalObject/ (r=jorendorff)
...
--HG--
extra : rebase_source : f1ead9226915f72473a01db0a1019cdbe50c8e92
2012-06-20 08:57:29 -07:00
Ed Morley
4992a5b7b4
Merge mozilla-central to mozilla-inbound
2012-06-21 08:38:39 +01:00
Ms2ger
56a3842ca1
Bug 765468 - Use a dictionary for the argument to the XMLHttpRequest constructor; r=bz
2012-06-21 09:21:55 +02:00
Bobby Holley
4c113368e0
Bug 765168 - Remove js context parameter from XHR.send call chain. r=smaug
2012-06-20 12:18:39 +02:00
Masatoshi Kimura
98ef9db613
Bug 764916 - Replace nsDOMClassInfo::ThrowJSException with xpc::Throw. r=mrbkap
2012-06-19 19:01:10 -04:00
Julian Seward
eb71d57a7d
Bug 763842 - Fix uninitialised value use in dosprintf(SprintfStateStr*, char const*, std::__va_list). r=njn
2012-06-19 19:01:10 -04:00
Ehsan Akhgari
d8df82ca0f
Bug 758992 - Make the classes which use the XPCOM nsISupports implementation macros final, to avoid the warning about deleting using a pointer to a base class with virtual functions and no virtual dtor (dom parts); r=bzbarsky
2012-06-14 22:31:55 -04:00
Boris Zbarsky
86ff83d74b
Bug 764104. Avoid collisions with C++ reserved words by using initial-caps for WebIDL enum values. r=peterv
2012-06-15 16:25:51 -04:00
Honza Bambas
41779e1714
Bug 720778 - Important threads should have a name for better debugability, r=bsmith, sr=bsmedberg+glandium
2012-06-12 19:06:20 +02:00
Philipp von Weitershausen
9d771da697
Bug 692677 - Relax same-origin XHR restrictions for privileged applications. r=sicking
...
--HG--
extra : rebase_source : 9e8e8cf2e03b6f3d148503d92630ee898bf835bb
2012-06-07 11:28:33 -07:00
Jason Orendorff
47aab0a000
Bug 753542 - Add prefs to enable/disable E4X (javascript.options.xml.content and .chrome). r=bsmedberg, sr=jst.
2012-06-06 21:52:14 -05:00
Boris Zbarsky
b4e6056558
Bug 761707 part 2. Drop the vestigial jsclass argument to UnwrapDOMObject. r=bholley
2012-06-06 15:59:46 -04:00
Boris Zbarsky
1cf783e451
Bug 761707 part 1. Rip out the various infrastructure for allowing different slot indices on different DOMJSClass instances. r=bholley
2012-06-06 15:59:46 -04:00
Peter Van der Beken
c2751f6c3e
Fix for bug 743666 (Add back deprecated XHR.onuploadprogress). r=bzbarsky
2012-06-04 21:29:56 -04:00
Boris Zbarsky
3f887fdbe1
Bug 748266. Switch the WebGL canvas context to new DOM bindings. r=peterv
2012-05-31 14:16:48 -04:00
Boris Zbarsky
fddc56821d
Backed out changeset f96e0f078b49 (bug 748266) because the test suite is bogus and we're failing a crashtest too.
2012-05-31 16:20:49 -04:00
Boris Zbarsky
c46a9a1068
Bug 748266. Switch the WebGL canvas context to new DOM bindings. r=peterv
2012-05-31 14:16:48 -04:00
Jason Orendorff
9ec40fdc02
Bug 753885 - Part 2: Add JSOPTION_ALLOW_XML, making E4X support optional per-context. r=Waldo.
2012-05-30 15:05:59 -05:00
Gervase Markham
d4eb7d5782
Bug 759095 - upgrade license to MPL 2, and other licensing cleanups.
...
--HG--
extra : rebase_source : da55a4937383eda2baf7c9a362501da8ee664146
2012-05-29 16:52:43 +01:00
Boris Zbarsky
f4767d734a
Bug 743906 part 2. Use Optional<> for optional arguments that don't have default values. r=peterv
2012-05-29 23:45:18 -04:00
Boris Zbarsky
4282e2d242
Bug 749864. Codegen for typed array and arraybuffer arguments. r=peterv
2012-05-25 01:07:03 -04:00
Peter Van der Beken
1196e09714
Fix for bug 741263 (Paris bindings constructors shouldn't abuse reserved identifiers). r=bz.
...
--HG--
extra : rebase_source : cec6a0ffc58f3d7d262dc9658d52aac424ec715a
2012-04-26 22:57:33 +02:00
Gervase Markham
ca171eec44
Bug 716478 - update licence to MPL 2.
2012-05-21 12:12:37 +01:00
Brian Hackett
c07eaa0e3e
Use handles in API object hooks where possible, bug 750733. r=billm
2012-05-19 15:03:45 -07:00
Brian Hackett
9ae1966596
Backed out changeset 5fc7462dd394 for android orange.
2012-05-19 11:52:55 -07:00
Brian Hackett
a863456144
Use handles in API object hooks where possible, bug 750733. r=billm
2012-05-19 09:48:09 -07:00
Benjamin Smedberg
4f91700da9
Bug 734847 part 2 - treewide changes resulting from the default-infallibility of hashtables; either remove useless result checks, or use the fallible version of APIs, depending on context, r=jlebar
...
--HG--
extra : rebase_source : 844b008c5167e6ca39a7ba9eeec8b30672938704
2012-05-18 13:30:49 -04:00
Ms2ger
5623a92079
Bug 754968 - Part c: Make BindingUtils.h not require private xpconnect headers; r=bholley
2012-05-18 10:29:40 +02:00
Masatoshi Kimura
7d3bc384fb
Bug 752402 - Support ArrayBufferView as a member of blobParts parameter. r=sicking
2012-05-17 17:53:44 -04:00
Kyle Huey
1be094212a
Bug 725499. r=bent
2012-05-14 11:29:41 -07:00
Tom Schuster
fb630ae705
Bug 752226 - Remove any use of JSVAL_IS_OBJECT. r=luke,Ms2ger
2012-05-11 17:46:26 +02:00
Ed Morley
79899a6f75
Backout 9b0fcaacb788 & bf3fef257e68 (bug 752226) for mochitest-other orange
2012-05-11 18:25:52 +01:00
Tom Schuster
1941fb1bb4
Bug 752226 - Remove any use of JSVAL_IS_OBJECT. r=luke,Ms2ger
...
--HG--
extra : rebase_source : edf2077f8b8bad1970eab6ebe9996e761d4e596c
2012-05-11 17:46:26 +02:00
David Rajchenbach-Teller
50cef29c5b
Bug 739740 - Export libc constants to JS. r=khuey
2012-05-09 12:00:48 +02:00
Boris Zbarsky
90b5c814e8
Bug 749485. Switch new DOM bindings to using a struct for keeping track of failures for fallible methods. r=peterv,bent
...
ErrorResult is in a separate header file so it can be included from all over the
place without having to pull in mozilla/dom/Utils.h and all the xpconnect gunk
that needs.
2012-05-05 21:15:11 -04:00
Phil Ringnalda
ce8665a6aa
Back out 1907bf7e6d7c (bug 749485) for build bustage
2012-05-05 20:33:59 -07:00
Boris Zbarsky
1833a29c14
Bug 749485. Switch new DOM bindings to using a struct for keeping track of failures for fallible methods. r=peterv,bent
...
ErrorResult is in a separate header file so it can be included from all over the
place without having to pull in mozilla/dom/Utils.h and all the xpconnect gunk
that needs.
2012-05-05 21:15:11 -04:00
Ms2ger
3b04c7d79e
Bug 741245 - Remove nsresult return value from nsXPConnect::GetSafeJSContext(); r=bholley
2012-05-05 11:00:05 +02:00
Boris Zbarsky
6dbb365bb0
Bug 751458. Don't let DOM workers confuse the slow-script time accounting and trigger slow script dialogs. r=bent
2012-05-04 03:22:18 -04:00
Ryan VanderMeulen
270738f819
Back out b5fd22efe23d (bug 739740) due to bustage. r=TryFTW
2012-05-03 18:51:14 -04:00
David Rajchenbach-Teller
256ca5f4b1
Bug 739740 - Export libc constants to JS. r=khuey,glandium
2012-04-30 12:14:38 +02:00
Peter Van der Beken
25970d2711
Fix for bug 744772 (Trace the DOM interface object array). r=bz.
...
--HG--
extra : rebase_source : c9f27bed0eab0e6db03295050176ef986cf0b59b
2012-05-02 14:49:43 +02:00
Boris Zbarsky
32c7f6e634
Bug 742217. Reduce the use of nested namespaces in our binding code. r=peterv,bent
...
In the new setup, all per-interface DOM binding files are exported into
mozilla/dom. General files not specific to an interface are also exported into
mozilla/dom.
In terms of namespaces, most things now live in mozilla::dom. Each interface
Foo that has generated code has a mozilla::dom::FooBinding namespace for said
generated code (and possibly a mozilla::bindings::FooBinding_workers if there's
separate codegen for workers).
IDL enums are a bit weird: since the name of the enum and the names of its
entries all end up in the same namespace, we still generate a C++ namespace
with the name of the IDL enum type with "Values" appended to it, with a
::valuelist inside for the actual C++ enum. We then typedef
EnumFooValues::valuelist to EnumFoo. That makes it a bit more difficult to
refer to the values, but means that values from different enums don't collide
with each other.
The enums with the proto and constructor IDs in them now live under the
mozilla::dom::prototypes and mozilla::dom::constructors namespaces respectively.
Again, this lets us deal sanely with the whole "enum value names are flattened
into the namespace the enum is in" deal.
The main benefit of this setup (and the reason "Binding" got appended to the
per-interface namespaces) is that this way "using mozilla::dom" should Just
Work for consumers and still allow C++ code to sanely use the IDL interface
names for concrete classes, which is fairly desirable.
--HG--
rename : dom/bindings/Utils.cpp => dom/bindings/BindingUtils.cpp
rename : dom/bindings/Utils.h => dom/bindings/BindingUtils.h
2012-05-03 00:35:38 -04:00
Peter Van der Beken
7d387b6e1a
Fix for bug 741267 (UserScript's XMLHttpRequest is undefined in 20120401 nightly).
...
Pass two objects when creating a DOM interface object, the global used to cache
the DOM interface objects and a receiver object on which the named property is
that points to the DOM interface object.
--HG--
extra : rebase_source : b462393e7376fdb68f3b279ccd08b3ab25ac154a
2012-04-23 16:10:56 +02:00
Masatoshi Kimura
0452126e19
Bug 744910 - Remove FileException from workers. r=bent
2012-04-24 19:50:00 -04:00
Matt Brubeck
2993d5d45a
Back out a0bc511b1d75 (bug 744910) and c85d6a254baa (bug 673752) on suspicion of causing Win debug "make check" hangs
2012-04-24 20:47:13 -07:00
Masatoshi Kimura
d2d5226e3b
Bug 745507 - test_location.html fails if it is executed alone. r=bent
2012-04-24 19:50:00 -04:00
Masatoshi Kimura
7a010701c4
Bug 744910 - Remove FileException from workers. r=bent
2012-04-24 19:50:00 -04:00
Bobby Holley
a65a297734
Bug 743615 - Hook up worker ImageData to the structured clone stream. r=bent
2012-04-24 12:58:08 +02:00
Bobby Holley
4f1637c5e8
Bug 743615 - Introduce the ImageData object/constructor in workers. r=bent
2012-04-24 12:58:08 +02:00