Commit Graph

26574 Commits

Author SHA1 Message Date
Vicamo Yang
cfd9bda0f6 Bug 958782: follow-up for bug 1029866, rename AutoJSAPI::InitUsingWin() to Init(). CLOSED TREE 2014-06-25 23:24:22 +08:00
Carsten "Tomcat" Book
d9163b2931 Merge mozilla-central to mozilla-inbound 2014-06-25 15:42:28 +02:00
Olli Pettay
67c5293976 Bug 1029866 - Rename InitUsingWin(...) to Init(...), r=bobowencode
--HG--
extra : rebase_source : e04aac99fe64270f283cf49ed52b8f7512a2fa3b
2014-06-25 13:17:17 +03:00
Gene Lian
84cdf45c41 Bug 1024362 - Correct the Alarm API's coding style. r=henry 2014-06-12 16:33:56 +08:00
Szu-Yu Chen [:aknow]
b1f59cc47c Bug 1027996 - Part 3: For tests: No need to check emulator OK result. r=hsinyi 2014-06-23 06:25:00 -04:00
Szu-Yu Chen [:aknow]
aab931c982 Bug 1027996 - Part 2: For tests: Rename emulator.run to emulator.runWithCallback. r=hsinyi 2014-06-23 06:25:00 -04:00
Szu-Yu Chen [:aknow]
9e5aae8d3e Bug 1027996 - Part 1: Change emulator.run to promise version. r=hsinyi 2014-06-23 06:24:00 -04:00
Chuck Lee
2c4e446c07 Bug 1023115 - Add retry count for EAP connection error. r=vchang 2014-06-20 10:37:43 +08:00
Jan de Mooij
21cfe56f5f Bug 1027528 part 15 - Make structured clone work with Latin1 strings. r=jorendorff,bent 2014-06-25 08:05:41 +02:00
Andrea Marchesini
6d0dd6f4e3 Bug 1027172 - patch 1 - AudioChannelService should send notifications at the same way in IPC or not., r=mchen 2014-06-24 22:15:12 -07:00
Jim Blandy
7e20285e70 Bug 914753: Make Emacs file variable header lines correct, or at least consistent. DONTBUILD r=ehsan
The -*- file variable lines -*- establish per-file settings that Emacs will
pick up. This patch makes the following changes to those lines (and touches
nothing else):

 - Never set the buffer's mode.

   Years ago, Emacs did not have a good JavaScript mode, so it made sense
   to use Java or C++ mode in .js files. However, Emacs has had js-mode for
   years now; it's perfectly serviceable, and is available and enabled by
   default in all major Emacs packagings.

   Selecting a mode in the -*- file variable line -*- is almost always the
   wrong thing to do anyway. It overrides Emacs's default choice, which is
   (now) reasonable; and even worse, it overrides settings the user might
   have made in their '.emacs' file for that file extension. It's only
   useful when there's something specific about that particular file that
   makes a particular mode appropriate.

 - Correctly propagate settings that establish the correct indentation
   level for this file: c-basic-offset and js2-basic-offset should be
   js-indent-level. Whatever value they're given should be preserved;
   different parts of our tree use different indentation styles.

 - We don't use tabs in Mozilla JS code. Always set indent-tabs-mode: nil.
   Remove tab-width: settings, at least in files that don't contain tab
   characters.

 - Remove js2-mode settings that belong in the user's .emacs file, like
   js2-skip-preprocessor-directives.
2014-06-24 22:12:07 -07:00
Boris Zbarsky
0608bd7d04 Bug 1029102. Don't drop webidlyacc.py files caching the webidl grammar in the source dir when running webidl parser tests. r=gps 2014-06-24 23:36:39 -04:00
Wes Kocher
0fc14e9e28 Merge m-c to inbound a=merge on a CLOSED TREE 2014-06-24 18:39:27 -07:00
Marco Castelluccio
32f517a322 Bug 922187 - Properly catch exceptions in checkInstalled and fire the error callback on the DOM request. r=myk 2014-06-25 01:51:28 +02:00
William Chen
9e3dccff15 Bug 1025638 - Traverse and unlink nsXBLPrototypeResources members. r=mccr8 2014-06-23 19:09:36 -07:00
Wes Kocher
4c297ef8c0 Merge m-c to inbound a=merge 2014-06-23 18:59:54 -07:00
Wes Kocher
5f0227f1b9 Backed out changeset e5e0bb1653b5 (bug 922187) for mochitest-4 bustage on a CLOSED TREE 2014-06-23 16:49:12 -07:00
Bill McCloskey
64b94c4b6d Bug 1017310 - Associate JS compartments with add-on chrome XBL (r=bholley) 2014-06-23 16:33:37 -07:00
Marco Castelluccio
8fba853f1e Bug 922187 - Properly catch exceptions in checkInstalled and fire the error callback on the DOM request. r=myk 2014-06-24 00:40:56 +02:00
Boris Zbarsky
e62870aedd Bug 1027667. Allow MozMap in unions. r=peterv 2014-06-23 16:03:58 -04:00
Boris Zbarsky
99a6b76589 Bug 1023762 part 2. Add basic support for sequences of non-containers to event codegen. r=smaug 2014-06-23 16:03:58 -04:00
Boris Zbarsky
0c98e10404 Bug 1023762 part 1. Factor out the IDL-to-C++ type mapping for event codegen into a separate function. r=smaug 2014-06-23 16:03:58 -04:00
Boris Zbarsky
ddcf724011 Bug 767924 part 4. Allow [] as a default value for sequences in unions. r=peterv 2014-06-23 16:03:58 -04:00
Boris Zbarsky
764c9e0b63 Bug 767924 part 3. Allow sequences in unions. r=peterv 2014-06-23 16:03:57 -04:00
Boris Zbarsky
a06ee077f0 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
432701a26d 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
f8dc563a90 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
6c70fe8c81 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
1c9ae3ed33 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
ec742680c8 Bug 1028588 - Fix dangerous public destructors in the rest of dom/ - r=ehsan 2014-06-23 15:56:07 -04:00
Jason Orendorff
76d9f6e407 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
db7aa8370b 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
7c35ffa41a Bug 1028588 - Fix dangerous public destructors in dom/bindings - r=bz 2014-06-23 14:49:08 -04:00
Henry Chang
f78bc538eb Bug 1015901 - Add test cases for "update_config=1". f=vyang, r=vchang 2014-06-04 17:07:05 +08:00
Yuan Xulei
9ba876b57a Bug 975276 - Fix cursor parameter mistake of setComposition. r=masayuki 2014-06-17 12:05:49 +08:00
Shawn Ku
c10b819ab6 Bug 944635 - B2G RIL: Exception in updateDisplayCondition() ... "TypeError: RIL.operator is null". r=HsinYi 2014-06-23 11:47:33 +08:00
Bevis Tseng
6ddf5a1ea6 Bug 921326 - Part 4: Add Test case to verify CB message received in Multi-SIM devices. r=htsai 2014-06-12 17:49:20 +08:00
Bevis Tseng
3a0fef3001 Bug 921326 - Part 3: Support to Receive Cellbroadcast Messages from different serviceId. r=htsai 2014-06-12 12:04:48 +08:00
Bevis Tseng
1bb639f3f7 Bug 921326 - Part 2: Support to Toggle CellBroadcast Service per SIM. r=htsai 2014-06-10 13:46:57 +08:00
Bevis Tseng
7c58c5cd6a Bug 921326 - Part 1: Support to Set Search List for Each SIM. r=htsai 2014-06-13 16:35:24 +08:00
Ryan VanderMeulen
309490fe46 Merge m-c to b2g-inbound. a=merge 2014-06-23 10:58:47 -04:00
Ryan VanderMeulen
1ea076bea7 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
Carsten "Tomcat" Book
723aa94650 Backed out changeset 033708b53979 (bug 958782) for bustage on a CLOSED TREE
--HG--
rename : dom/webidl/MozMobileMessageManager.webidl => dom/webidl/MobileMessageManager.webidl
2014-06-23 15:38:32 +02:00
Carsten "Tomcat" Book
87dcb8380c Backed out changeset 15a281081b97 (bug 958782) for bustage on a CLOSED TREE 2014-06-23 15:38:17 +02:00
Carsten "Tomcat" Book
17802cced9 Backed out changeset 731f37afb649 (bug 958782) for bustage on a CLOSED TREE 2014-06-23 15:38:04 +02:00
Carsten "Tomcat" Book
6caf1f3057 Backed out changeset f06d2ba57fb3 (bug 958782) for bustage on a CLOSED TREE 2014-06-23 15:37:48 +02:00
Carsten "Tomcat" Book
c8e49575e2 Backed out changeset 29a1c6a34550 (bug 958782) for bustage on a CLOSED TREE 2014-06-23 15:36:57 +02:00
Vicamo Yang
f8a82ffac1 Bug 973024 - 3/3: split test_ril_worker_mmi.js into several parts. r=yoshi 2014-06-23 20:56:07 +08:00
Vicamo Yang
cba502b061 Bug 973024 - 2/3: split test_ril_worker_icc.js into several parts. r=yoshi 2014-06-23 20:56:05 +08:00
Vicamo Yang
b0309cc3ae Bug 973024 - 1.b/3: share newInterceptWorker. r=yoshi 2014-06-23 20:56:03 +08:00
Vicamo Yang
caed8b2542 Bug 973024 - 1.a/3: share newUint8Worker. r=yoshi 2014-06-23 20:56:02 +08:00
Vicamo Yang
ff0e54e1e0 Bug 958782 - 3/3: fix test cases. r=gene,khuey 2014-06-23 20:56:01 +08:00
Vicamo Yang
1b37777dd8 Bug 958782 - 2.c/3: remove unused headers and sort. r=khuey 2014-06-23 20:55:59 +08:00
Vicamo Yang
15789e631c Bug 958782 - 2.b/3: WebIDL implementation. f=Ms2ger,bzbarsky,bz,r=khuey 2014-06-23 20:55:58 +08:00
Vicamo Yang
295d813c56 Bug 958782 - 2.a/3: refactoring, alignments. f=Ms2ger,r=khuey 2014-06-23 20:55:56 +08:00
Vicamo Yang
e96522dbf9 Bug 958782 - 1/3: B2G SMS - Move MozMobileMessage to WebIDL. XPIDL & WebIDL changes. f=Ms2ger,r=khuey
--HG--
rename : dom/webidl/MobileMessageManager.webidl => dom/webidl/MozMobileMessageManager.webidl
2014-06-23 20:55:55 +08:00
Edgar Chen
8a6324de06 Bug 979134 (follow-up): convert test_mobile_signal_strength.js to Promise. r=vicamo 2014-06-19 19:02:48 +08:00
Edgar Chen
2fac38de55 Bug 979134 (follow-up): convert test_mobile_set_radio.js to Promise. r=vicamo 2014-06-19 18:43:48 +08:00
Edgar Chen
13458abe0d 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
8f4c632679 Bug 979134 (follow-up): convert test_mobile_icc_change.js to Promise. r=vicamo 2014-06-19 18:11:51 +08:00
Edgar Chen
53a55d8520 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
93d7376651 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
b5003d0c2c 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
b9397c68ff Bug 1027552 - Align values in BluetoothAttributeEvent.attrs with webidl, r=btian 2014-06-23 10:32:58 +08:00
James Lal
d79fec32fc Bug 1027458 - Correctly cleanup after canceling a mozapp download. r=fabrice 2014-06-21 01:32:15 +02:00
Ed Morley
a310e9ec99 Merge latest green inbound changeset and mozilla-central; a=merge 2014-06-20 17:42:16 +01:00
Ms2ger
451c7edf83 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
14960387c2 Bug 1026739 - Remove unused INTERFACE_CHAIN macro; r=bz 2014-06-20 12:32:50 +02:00
Ms2ger
3796687d26 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
9fb7f507f0 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
2cee701353 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
def0bdbf3c Bug 1028046 - NFC testcase failure with error message "setTagData undefined". r=yoshi 2014-06-20 16:41:07 +08:00
Mike Hommey
441a542e17 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
2104e9ca52 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
463eb667c1 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
eb8a5e3410 Bug 1020300 - Dispatch part of AdapterStateChangedCallback to main thread. r=btian 2014-06-20 12:07:23 +08:00
Hsin-Yi Tsai
4f379ab9eb 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
b1e3198eed 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
960e3291d5 Merge m-c to inbound despite the CLOSED TREE 2014-06-19 18:29:15 -07:00
Wes Kocher
af6ad08f86 Merge inbound to m-c a=merge 2014-06-19 18:07:43 -07:00
Wes Kocher
c640e2a966 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
58426e8e0c Bug 1026008 Incorrect XBL behaviour with multiple insertion points r=mrbkap 2014-06-19 23:57:42 +01:00
Ed Morley
798f1d2efc Merge mozilla-central and b2g-inbound 2014-06-19 17:20:14 +01:00
Ed Morley
7b532947c7 Merge latest green inbound changeset and mozilla-central; a=merge 2014-06-19 15:34:42 +01:00
Fernando Jiménez
87b8290faf Bug 1006237 - Unify permissions check in nsIDataStore.checkPermission. r=baku, ehsan 2014-06-19 16:03:54 +02:00
Mike Habicher
7b53c87c00 Bug 990122 - move prefs used by camera to CameraPreferences, r=ehsan 2014-06-19 09:20:49 -04:00
Ed Morley
8952df18cd 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
5ba7d7443a Bug 1026454 - Fire PropertyChanged when discovery state changes, r=echou 2014-06-19 15:47:03 +08:00
Jocelyn Liu
7082677c66 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
447208c6bc 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
e82c0b9a23 Merge b2g-inbound to m-c. a=merge 2014-06-18 15:59:37 -04:00
Maksim Lebedev
e5c790bcb3 Bug 1018113 - Do correct behavior of pen after pointer_up event. r=smaug 2014-06-18 01:12:00 -04:00
Carmen Jimenez
ef55a81fc4 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
Shawn Huang
72f81139b3 Bug 989976 - [bluedroid] Hit SIGBUS on unaligned access while doing AdapterPropertiesChangeCallback. r=echou 2014-06-17 01:38:00 -04:00
Cameron McCormack
16b3810558 Bug 1025725 - And one more followup.
--HG--
extra : rebase_source : 42911b48b19e6625adfd5d8615752eb76c4033f4
2014-06-19 18:02:14 +10:00
Cameron McCormack
0afdb19cf7 Bug 1025725 - Followup build fix. 2014-06-19 17:28:47 +10:00
Cameron McCormack
66ae57c571 Bug 1025725 - Part 3: Encapsulate nsXBLPrototypeResources::mStyleSheetList. r=bzbarsky 2014-06-19 17:02:56 +10:00
Cameron McCormack
7a0031cc61 Bug 1025725 - Part 2: Encapsulate nsXBLPrototypeResources::mRuleProcessor. r=bzbarsky 2014-06-19 17:02:56 +10:00
Cameron McCormack
85da33c00b Bug 1025725 - Part 1: Give nsXBLPrototypeResources::mRuleProcessor a more concrete type. r=bzbarsky 2014-06-19 17:02:56 +10:00
"Kan-Ru Chen (陳侃如)"
093e2092b9 Bug 1024470 - Make sure we run InitOnContentProcessCreated in all cases. r=khuey 2014-06-19 01:22:05 +08:00