Commit Graph

23362 Commits

Author SHA1 Message Date
Jason Orendorff
30f843bf05 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
2c14065f80 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
1a1cc411ff Bug 1028588 - Fix dangerous public destructors in dom/bindings - r=bz 2014-06-23 14:49:08 -04:00
Nils Ohlmeier [:drno]
630d8d7c05 Bug 1027372 - Only use info() if it has been loaded. r=gmealer 2014-06-18 17:27:00 -04:00
Bob Owen
a454a46847 Bug 1023969 - Part 7: Replace |AutoPushJSContext|s in bluetooth2 BluetoothDevice::SetPropertyByValue. r=bholley 2014-06-21 18:44:36 +01:00
Bob Owen
5daf8a17bc Bug 1023969 - Part 6: Replace |AutoPushJSContext|s in bluetooth2 BluetoothAdapter::SetPropertyByValue. r=bholley 2014-06-21 18:42:28 +01:00
Bob Owen
79258189c7 Bug 1023969 - Part 5: Replace AutoPushJSContext in bluetooth2 BluetoothAdapter GetDevicesTask::ParseSuccessfulReply. r=bholley 2014-06-21 18:39:08 +01:00
Bob Owen
e193d7fb7a Bug 1023969 - Part 4: Replace |AutoPushJSContext|s in BluetoothDevice::SetPropertyByValue. r=bholley 2014-06-20 14:42:33 +01:00
Bob Owen
96c16f60ff Bug 1023969 - Part 3: Replace AutoPushJSContext in BluetoothManager GetAdapterTask::ParseSuccessfulReply. r=bholley 2014-06-19 20:17:59 +01:00
Bob Owen
3fbaac6efc Bug 1023969 - Part 2: Replace |AutoPushJSContext|s in BluetoothAdapter::SetPropertyByValue. r=bholley 2014-06-19 20:14:32 +01:00
Bob Owen
9fe35d7da0 Bug 1023969 - Part 1: Replace AutoPushJSContext in BluetoothAdapter GetDevicesTask::ParseSuccessfulReply. r=bholley 2014-06-19 20:09:03 +01:00
Nick Fitzgerald
89c96462f2 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
43961b871e 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
01dc8001fb Bug 979134 (follow-up): convert test_mobile_signal_strength.js to Promise. r=vicamo 2014-06-19 19:02:48 +08:00
Edgar Chen
5f08de3cad Bug 979134 (follow-up): convert test_mobile_set_radio.js to Promise. r=vicamo 2014-06-19 18:43:48 +08:00
Edgar Chen
deb029e8d0 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
7b0506551d Bug 979134 (follow-up): convert test_mobile_icc_change.js to Promise. r=vicamo 2014-06-19 18:11:51 +08:00
Edgar Chen
476e9b1593 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
d4e7ab6dd0 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
6a5cd449a7 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
26e704f207 Bug 1027552 - Align values in BluetoothAttributeEvent.attrs with webidl, r=btian 2014-06-23 10:32:58 +08:00
James Lal
e54b0805b7 Bug 1027458 - Correctly cleanup after canceling a mozapp download. r=fabrice 2014-06-21 01:32:15 +02:00
Ed Morley
6b50337161 Merge latest green inbound changeset and mozilla-central; a=merge 2014-06-20 17:42:16 +01:00
Ms2ger
e67cb5f1e0 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
b7bd12c68c Bug 1026739 - Remove unused INTERFACE_CHAIN macro; r=bz 2014-06-20 12:32:50 +02:00
Ms2ger
431ce684f3 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
6a7f549221 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
ff678301d0 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
86c99290c8 Bug 1028046 - NFC testcase failure with error message "setTagData undefined". r=yoshi 2014-06-20 16:41:07 +08:00
Mike Hommey
9043509fe6 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
566caf7f01 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
cb7008fb72 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
e8f755d67a Bug 1020300 - Dispatch part of AdapterStateChangedCallback to main thread. r=btian 2014-06-20 12:07:23 +08:00
Hsin-Yi Tsai
2672e0090a 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
c46bed2510 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
5e4e216987 Merge m-c to inbound despite the CLOSED TREE 2014-06-19 18:29:15 -07:00
Wes Kocher
42fd42b2b8 Merge inbound to m-c a=merge 2014-06-19 18:07:43 -07:00
Wes Kocher
6b2d91e1b6 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
8429be6885 Bug 1026008 Incorrect XBL behaviour with multiple insertion points r=mrbkap 2014-06-19 23:57:42 +01:00
Ed Morley
aaf8fb069a Merge mozilla-central and b2g-inbound 2014-06-19 17:20:14 +01:00
Ed Morley
e280390eae Merge latest green inbound changeset and mozilla-central; a=merge 2014-06-19 15:34:42 +01:00
Fernando Jiménez
0bad224a81 Bug 1006237 - Unify permissions check in nsIDataStore.checkPermission. r=baku, ehsan 2014-06-19 16:03:54 +02:00
Mike Habicher
71be9e575f Bug 990122 - move prefs used by camera to CameraPreferences, r=ehsan 2014-06-19 09:20:49 -04:00
Ed Morley
8d59b9aa4e Bug 1023341 - Disable test_networkstats_alarms.html on B2G for too many intermittent test failures
--HG--
extra : rebase_source : 11cc5584e6bb765587ca988531c8f131055c08d5
2014-06-19 09:50:50 +01:00
Ben Tian
d1b38d7423 Bug 1026454 - Fire PropertyChanged when discovery state changes, r=echou 2014-06-19 15:47:03 +08:00
Jocelyn Liu
15098aabc5 Bug 1019544 - Patch2: Fire onattributechanged to gaia while BluetoothAdapter received PropertyChanged event. r=btian, r=bz 2014-06-19 12:03:12 +08:00
Jocelyn Liu
30b13b8485 Bug 1019544 - Patch1: Revise BluetoothAttributeEvent to fire a single event for multiple attribute changes, r=bz 2014-06-19 12:03:09 +08:00
Ryan VanderMeulen
04275e35e2 Merge b2g-inbound to m-c. a=merge 2014-06-18 15:59:37 -04:00
Maksim Lebedev
8f2b7229d4 Bug 1018113 - Do correct behavior of pen after pointer_up event. r=smaug 2014-06-18 01:12:00 -04:00
Carmen Jimenez
9f9f9a040a Bug 1014517 - Execute the single variant customization the first time a configured SIM is inserted. r=ferjm 2014-06-17 05:00:00 -04:00