Commit Graph

23369 Commits

Author SHA1 Message Date
Boris Zbarsky
9f2a71b4c5 Bug 767924 part 3. Allow sequences in unions. r=peterv 2014-06-23 16:03:57 -04:00
Boris Zbarsky
c6565944fa Bug 767924 part 2. Introduce both const and non-const versions of GetAs* methods on unions, with the former returning the public-facing type and the latter returning the internal type. r=peterv 2014-06-23 16:03:57 -04:00
Boris Zbarsky
6e9a88a012 Bug 767924 part 1. Add support for holders with nonempty holderArgs in unions. r=peterv 2014-06-23 16:03:57 -04:00
Boris Zbarsky
92435b16f9 Bug 1026080 part 2. Add binding codegen support for [] as a default value for sequence arguments and dictionary entries. r=khuey 2014-06-23 16:03:57 -04:00
Boris Zbarsky
ebe88d39c2 Bug 1026080 part 1. Add WebIDL parser support for [] as a default value for sequence arguments and dictionary entries. r=khuey 2014-06-23 16:03:56 -04:00
Boris Zbarsky
eaf8eb1b2a Bug 1026706. Stop pickling our yacc grammar in the WebIDL parser, because now it's apparently faster to recreate it than to unpickle it. r=khuey 2014-06-23 16:03:56 -04:00
Benoit Jacob
747dcfc8a0 Bug 1028588 - Fix dangerous public destructors in the rest of dom/ - r=ehsan 2014-06-23 15:56:07 -04:00
Jason Orendorff
f427cf7043 Bug 645416, part 22 - Remove JSCompartment::wrapId. r=terrence.
This is unnecessary now that object jsids no longer exist. Both string and
symbol jsids point only to GC things in the atoms compartment, which are safe
to pass to any compartment without wrapping.

--HG--
extra : rebase_source : 82c21e8474df05b1bb42c14d872c981205bbe879
2014-06-23 10:57:02 -05:00
Jason Orendorff
58ffd8ea68 Bug 645416, part 5 - Add the Symbol constructor and Symbol wrapper objects. r=efaust.
This exposes a new primitive type to scripts for the first time since
JavaScript first shipped in Netscape 2, over 13 years ago.

The tests focus on identity, equality, and being able to pass a symbol around
as a value. Of course the point of symbols is that they can be property keys,
but that will have to wait for a later patch in this series.

--HG--
extra : rebase_source : c22cf4b774cca8e7c9f6c757079e054a6eb0f307
2014-06-23 10:55:52 -05:00
Benoit Jacob
960f977388 Bug 1028588 - Fix dangerous public destructors in dom/bindings - r=bz 2014-06-23 14:49:08 -04:00
Nils Ohlmeier [:drno]
eab26254c1 Bug 1027372 - Only use info() if it has been loaded. r=gmealer 2014-06-18 17:27:00 -04:00
Bob Owen
835b0d6248 Bug 1023969 - Part 7: Replace |AutoPushJSContext|s in bluetooth2 BluetoothDevice::SetPropertyByValue. r=bholley 2014-06-21 18:44:36 +01:00
Bob Owen
a352de6fc6 Bug 1023969 - Part 6: Replace |AutoPushJSContext|s in bluetooth2 BluetoothAdapter::SetPropertyByValue. r=bholley 2014-06-21 18:42:28 +01:00
Bob Owen
07b75c6f25 Bug 1023969 - Part 5: Replace AutoPushJSContext in bluetooth2 BluetoothAdapter GetDevicesTask::ParseSuccessfulReply. r=bholley 2014-06-21 18:39:08 +01:00
Bob Owen
e76d054e70 Bug 1023969 - Part 4: Replace |AutoPushJSContext|s in BluetoothDevice::SetPropertyByValue. r=bholley 2014-06-20 14:42:33 +01:00
Bob Owen
b828377db3 Bug 1023969 - Part 3: Replace AutoPushJSContext in BluetoothManager GetAdapterTask::ParseSuccessfulReply. r=bholley 2014-06-19 20:17:59 +01:00
Bob Owen
4b4458afd0 Bug 1023969 - Part 2: Replace |AutoPushJSContext|s in BluetoothAdapter::SetPropertyByValue. r=bholley 2014-06-19 20:14:32 +01:00
Bob Owen
a39259183d Bug 1023969 - Part 1: Replace AutoPushJSContext in BluetoothAdapter GetDevicesTask::ParseSuccessfulReply. r=bholley 2014-06-19 20:09:03 +01:00
Nick Fitzgerald
f79fcccd5f Bug 1000967 - Add source notes for |new| expression and function calls to improve source maps and debugging. r=ejpbruel 2014-06-20 13:09:00 -04:00
Ryan VanderMeulen
b9d5670093 Merge b2g-inbound to m-c. a=merge
--HG--
rename : layout/style/nsCSSStyleSheet.cpp => layout/style/CSSStyleSheet.cpp
rename : layout/style/nsCSSStyleSheet.h => layout/style/CSSStyleSheet.h
2014-06-23 10:56:03 -04:00
Edgar Chen
4a01d103e6 Bug 979134 (follow-up): convert test_mobile_signal_strength.js to Promise. r=vicamo 2014-06-19 19:02:48 +08:00
Edgar Chen
945015f820 Bug 979134 (follow-up): convert test_mobile_set_radio.js to Promise. r=vicamo 2014-06-19 18:43:48 +08:00
Edgar Chen
1ff0e8b981 Bug 979134 (follow-up): convert test_mobile_last_known_network.js to Promise. r=vicamo 2014-06-19 18:38:47 +08:00
Edgar Chen
a94fa3439f Bug 979134 (follow-up): convert test_mobile_icc_change.js to Promise. r=vicamo 2014-06-19 18:11:51 +08:00
Edgar Chen
3bdbc53b10 Bug 979134 (follow-up): convert test_call_barring_set_error.js to Promise. r=vicamo 2014-06-19 17:10:38 +08:00
Edgar Chen
1775e96607 Bug 979134 (follow-up): convert test_call_barring_get_option.js to Promise. r=vicamo 2014-06-19 16:48:14 +08:00
Edgar Chen
2347eea350 Bug 979134 (follow-up): convert test_call_barring_change_password.js to Promise. r=vicamo 2014-06-19 16:27:15 +08:00
Jocelyn Liu
76947bb503 Bug 1027552 - Align values in BluetoothAttributeEvent.attrs with webidl, r=btian 2014-06-23 10:32:58 +08:00
James Lal
bb7f3320de Bug 1027458 - Correctly cleanup after canceling a mozapp download. r=fabrice 2014-06-21 01:32:15 +02:00
Ed Morley
3f06054776 Merge latest green inbound changeset and mozilla-central; a=merge 2014-06-20 17:42:16 +01:00
Ms2ger
1ab8344d82 Backout revision 308e51eae10c for build bustage.
--HG--
rename : layout/style/CSSStyleSheet.cpp => layout/style/nsCSSStyleSheet.cpp
rename : layout/style/CSSStyleSheet.h => layout/style/nsCSSStyleSheet.h
2014-06-20 13:00:08 +02:00
Ms2ger
ac277f03ae Bug 1026739 - Remove unused INTERFACE_CHAIN macro; r=bz 2014-06-20 12:32:50 +02:00
Ms2ger
3c8082c257 Bug 974327 - Cleanup nsJSContext::GetGlobalObject(); r=bholley
The removed code is never reached, as GetWindowProxy() returns a JSObject
with OuterWindowProxyClass as its JSClass, and this will test false for
IsDOMClass and
(~c->flags) & (JSCLASS_HAS_PRIVATE | JSCLASS_PRIVATE_IS_NSISUPPORTS).
2014-06-20 12:32:50 +02:00
Ms2ger
530bc74c8d Bug 1022855 - Rename nsCSSStyleSheet to mozilla::CSSStyleSheet; r=heycam
--HG--
rename : layout/style/nsCSSStyleSheet.cpp => layout/style/CSSStyleSheet.cpp
rename : layout/style/nsCSSStyleSheet.h => layout/style/CSSStyleSheet.h
2014-06-20 12:32:49 +02:00
Ghislain 'Aus' Lacroix
2c75bc2e0d bug 983747 - Follow-up. Correct bad commit. r=kanru (from original patch, which had the correct code.) 2014-06-20 03:17:34 -07:00
Dimi Lee
6c49290162 Bug 1028046 - NFC testcase failure with error message "setTagData undefined". r=yoshi 2014-06-20 16:41:07 +08:00
Mike Hommey
5a73acd832 Bug 1027440 - Build test plugins when building with --enable-default-toolkit=cairo-gtk3. r=mshal 2014-06-20 17:32:16 +09:00
Edgar Chen
d251caacf4 Bug 1026727 - Part 2: Fixing the "Unknown" state is displayed instead of "Connected" during manual network selection. r=hsinyi 2014-06-18 17:17:52 +08:00
Edgar Chen
df7dc8c6ae Bug 1026727 - Part 1: The attributes of MozMobileNetworkInfo could be null, so the parameters of constructor should be nullable. r=hsinyi,smaug 2014-06-18 15:54:01 +08:00
Jamin Liu
fe59e68db4 Bug 1020300 - Dispatch part of AdapterStateChangedCallback to main thread. r=btian 2014-06-20 12:07:23 +08:00
Hsin-Yi Tsai
b6c46aab2f Bug 981519 - number and name presentation - part 4b - fix ril typo during rebasing. r=me 2014-06-20 11:25:18 +08:00
Kyle Huey
fcaab74dfe Bug 737976: Remove nsINodeInfo. r=smaug
--HG--
rename : content/base/src/nsNodeInfo.cpp => dom/base/NodeInfo.cpp
rename : content/base/public/nsINodeInfo.h => dom/base/NodeInfo.h
rename : content/base/src/nsNodeInfo.h => dom/base/NodeInfoInlines.h
2014-06-19 19:01:40 -07:00
Wes Kocher
08b6cf7c19 Merge m-c to inbound despite the CLOSED TREE 2014-06-19 18:29:15 -07:00
Wes Kocher
0581005adc Merge inbound to m-c a=merge 2014-06-19 18:07:43 -07:00
Wes Kocher
dff4f03174 Backed out 2 changesets (bug 1026008, bug 1025264) for debug crashtest leaks on a CLOSED TREE
Backed out changeset d7ab14487c62 (bug 1026008)
Backed out changeset 0b04aefdd3e3 (bug 1025264)
2014-06-19 17:13:12 -07:00
Neil Rashbrook
25e86d415e Bug 1026008 Incorrect XBL behaviour with multiple insertion points r=mrbkap 2014-06-19 23:57:42 +01:00
Ed Morley
f3a3d4c30e Merge mozilla-central and b2g-inbound 2014-06-19 17:20:14 +01:00
Ed Morley
98a497fe64 Merge latest green inbound changeset and mozilla-central; a=merge 2014-06-19 15:34:42 +01:00
Fernando Jiménez
bf91e66eac Bug 1006237 - Unify permissions check in nsIDataStore.checkPermission. r=baku, ehsan 2014-06-19 16:03:54 +02:00
Mike Habicher
012314ddc7 Bug 990122 - move prefs used by camera to CameraPreferences, r=ehsan 2014-06-19 09:20:49 -04:00