Commit Graph

21467 Commits

Author SHA1 Message Date
Jan Varga
ad7713c9a2 Bug 856921 - Ensure that all quota failures are exposed to JS as QuotaExceededError. r=bent 2014-04-02 19:14:14 +02:00
Ed Morley
a96b4fa90f Merge mozilla-central and inbound 2014-04-02 18:24:05 +01:00
Daniel Holbert
d7bc9bd2fc Bug 984786 part 4: Give NS_INLINE_DECL_*REFCOUNTING classes private/protected destructor & MOZ_FINAL annotation where appropriate, in /dom. r=smaug 2014-04-02 09:21:03 -07:00
Jon Coppeard
3e811f8ee0 Bug 959787 - Handlify remaining JS APIs r=sfink r=bholley r=smaug 2014-04-02 15:28:03 +01:00
Boris Zbarsky
b522c797fb Bug 985536 followup: mark argument that should be optional as optional. r=orange 2014-04-04 00:21:24 -04:00
Boris Zbarsky
bed9b485be Bug 991753. Make sure we're in the right compartment before we try wrapping our Promise in Promise::GetOrCreateWrapper. r=bholley 2014-04-03 23:32:11 -04:00
Boris Zbarsky
e10e715648 Bug 985536. Go back to allowing optional any with no default value in WebIDL, but treat it as having a default value of undefined. r=khuey 2014-04-03 23:32:11 -04:00
Shu-yu Guo
66303a7e33 Bug 989509 - Part 2: dom/, netwerk/, startupcache/, and xpcom/ (r=aklotz,bent,gvselto,mayhemer,Mossop) 2014-04-03 19:29:40 -07:00
Matthew Gregan
5979b051e5 Bug 927245 - Remove deprecated Audio Data API implementation. r=cajbir,smaug 2014-04-03 10:53:39 +13:00
Randell Jesup
0fceb0db63 Backed out 965c62289427:cb894b5d342f for perma-orange on b2g emulator M10 r=backout 2014-04-02 17:11:12 -04:00
Chuck Lee
b5381dfa98 Bug 966925 - Filter scan result based on platform property. r=vchang 2014-03-20 14:39:21 +08:00
Carsten "Tomcat" Book
cf86a7b7d8 Merge mozilla-central to b2g-inbound 2014-03-31 12:56:11 +02:00
Gene Lian
f98bd19437 Bug 988787 - Should fire "handle-system-messages-done" at a correct time point. r=fabrice 2014-03-31 16:14:52 +08:00
Gene Lian
7482d09827 Bug 988129 - Correct the chaotic naming styles in system message codes (part 4, alignment). r=fabrice 2014-03-31 16:04:42 +08:00
Gene Lian
ef988a9700 Bug 988129 - Correct the chaotic naming styles in system message codes (part 3, s/uri/pageURL). r=fabrice 2014-03-31 16:04:36 +08:00
Gene Lian
3d7539977a Bug 988129 - Correct the chaotic naming styles in system message codes (part 2, s/manifest/manifestURL). r=fabrice 2014-03-31 16:04:29 +08:00
Gene Lian
76b80b59a8 Bug 988129 - Correct the chaotic naming styles in system message codes (part 1, remove function name). r=fabrice 2014-03-31 16:04:11 +08:00
Ehsan Akhgari
49f9689c4b Bug 983956 - Double the test timeout 2014-03-30 09:59:07 -04:00
Phil Ringnalda
8b68d74cfd Merge b-i to m-c 2014-03-29 09:18:08 -07:00
Vicamo Yang
155a8d99d4 Bug 978709 - 6/6: test cases. r=hsinyi 2014-03-29 15:18:27 +08:00
Vicamo Yang
cdf964dedb Bug 978709 - 5/6: really add an IPV4V6 option. r=hsinyi 2014-03-29 15:18:26 +08:00
Edgar Chen
2fc8f9200b Bug 978709 - 4.h/6: NetworkInterfaceListService changes. r=vicamo 2014-03-29 15:18:25 +08:00
Jessica Jong
c6c4217db6 Bug 978709 - 4.g/6: WifiNetworkInterface changes. r=vicamo 2014-03-29 15:18:24 +08:00
Jessica Jong
127df38224 Bug 978709 - 4.f/6: P2pNetworkInterface changes. r=vicamo 2014-03-29 15:18:23 +08:00
Jessica Jong
0cb92ca61e Bug 978709 - 4.e/6: nsIRILNetworkInterface changes. r=vicamo 2014-03-29 15:18:22 +08:00
Jessica Jong
723face563 Bug 978709 - 4.d/6: secondary routes changes to support IPv4v6. f=echen, r=vicamo 2014-03-29 15:18:20 +08:00
Jessica Jong
c8544cb2c2 Bug 978709 - 4.c/6: NetworkUtils changes to support IPv4v6. f=echen, r=vicamo 2014-03-29 15:18:19 +08:00
Jessica Jong
899fec8702 Bug 978709 - 4.b/6: NetworkService changes to support IPv4v6. f=echen r=vicamo 2014-03-29 15:18:18 +08:00
Jessica Jong
e7b797a003 Bug 978709 - 4.a/6: idl changes to support IPv4v6. f=echen r=vicamo 2014-03-29 15:18:17 +08:00
Vicamo Yang
42e98bca9c Bug 978709 - 3.b/6: support multiple addresses in ril_worker. r=hsinyi 2014-03-29 15:18:16 +08:00
Vicamo Yang
2651a589d5 Bug 978709 - 3.a/6: RIL_Data_Call_Response_v5 has also DNS server list. r=hsinyi 2014-03-29 15:18:15 +08:00
Vicamo Yang
e08eee5c24 Bug 978709 - 2.e/6: remove unused data call enumeration stuff. r=hsinyi 2014-03-29 15:18:14 +08:00
Vicamo Yang
c763a82d83 Bug 978709 - 2.d/6: don't throw in _deliverDataCallCallback loop. r=hsinyi 2014-03-29 15:18:13 +08:00
Vicamo Yang
3284f1c5d5 Bug 978709 - 2.c/6: completely remove nsIRILDataCallback. r=hsinyi 2014-03-29 15:18:12 +08:00
Vicamo Yang
ef958c57b3 Bug 978709 - 2.b/6: don't use nsIRILDataCallback in GonkGPSGeolocationProvider. r=kanru
nsIRILDataCallback has been abused in RadioInterfaceLayer.js and is
becoming an RIL internal utility.  Besides, nsIRILDataCallback has
also racing problem as described in bug 976897.  We should really use
NetworkManager observer events to replace the notification mechanism
here.
2014-03-29 15:18:11 +08:00
Vicamo Yang
8dd297dbbc Bug 978709 - 2.a/6: remove nsIRILDataCallback::receiveDataCallList. r=hsinyi
nsIRILDataCallback::receiveDataCallList has been obsoleted for a long
long time and all the existing classes that implement
nsIRILDataCallback leave the function body empty.  Since we're going
to change the object layout of a |datacall| JS object, removing
related but obsoleted functions saves us some time.
2014-03-29 15:18:10 +08:00
Vicamo Yang
3c86c42f4c Bug 978709 - 1/6: remove nsINetworkInterface::broadcast. r=hsinyi 2014-03-29 15:18:09 +08:00
Masatoshi Kimura
62ca863526 Bug 988122 - Expose Promise on non-window non-worker globals. r=bholley sr=bz 2014-03-29 15:55:53 +09:00
Boris Zbarsky
d4a40b2bea Bug 987112. Remove the redundant and somewhat annoying parentObject argument to dictionary ToObject() methods. r=bholley 2014-03-29 01:45:10 -04:00
Wes Kocher
3e4da18062 Merge b2g-inbound to m-c 2014-03-28 16:38:35 -07:00
Wes Kocher
1488da5db2 Merge inbound to m-c 2014-03-28 16:15:59 -07:00
Daniel Holbert
d010bcac24 Bug 988699: Remove custom NS_LOG_ADDREF / NS_LOG_RELEASE definitions in CameraCommon.h. r=mikeh 2014-03-28 17:58:31 -07:00
Wes Kocher
ab88e0d360 Merge m-c to inbound 2014-03-28 17:04:03 -07:00
Ed Morley
8676037458 Backed out changeset 3e7c91f7f31e (bug 985481) for failures in test_bug975472.html 2014-03-28 18:19:04 +00:00
Ed Morley
a6281e4423 Backed out changeset f86715f86157 (bug 984495) for something in the push causing test_bug470212.html failures; CLOSED TREE 2014-03-28 17:15:36 +00:00
Ed Morley
442425ab86 Backed out changeset 8059895497c1 (bug 988363) 2014-03-28 17:14:53 +00:00
Ed Morley
94240a402d Backed out changeset a3d1c00b6592 (bug 984919) for causing bug 988979 2014-03-28 17:03:17 +00:00
Ed Morley
2b63bd9117 Backed out changeset 7dcecf85a869 (bug 984919) 2014-03-28 17:03:00 +00:00
Terrence Cole
ee6744d6f0 Bug 987666 - Follow to remove a SkipRoot that leaked into the browser; r=bustage ON A CLOSED TREE 2014-03-28 12:01:50 -04:00
Fredrik Lanker
1721bf4f37 Bug 985481 - [Camera][Gecko] Make sure that a supported video size is set. r=dhylands 2014-03-28 11:29:57 -04:00
Marco Castelluccio
47ee37b2ca Bug 972927 - Re-enable dom/apps tests on b2g. r=RyanVM 2014-03-28 11:29:57 -04:00
Wes Kocher
7d471d658b Merge b2g-inbound to m-c 2014-03-27 19:37:17 -07:00
William Chen
bdec492916 Bug 987031 - Use kNamespaceID_Unknown to match any namespace in the web components custom element registry. r=mrbkap 2014-03-27 11:55:44 -07:00
William Chen
50b5e6ff14 Bug 984712 - Associate document with existing custom elements registry as specified. r=mrbkap 2014-03-27 11:55:44 -07:00
Andrew McCreight
8d50ef262c Bug 988570 - Initialize nsXBLBinding::mUsingXBLScope. r=bholley 2014-03-27 09:24:33 -04:00
Bevis Tseng
e3e30cd25c Bug 981077 - Part 4: Add test case for SIM_NOT_MATCHED_ERROR while manually retrieving MMS message. r=vyang 2014-03-25 15:06:09 +08:00
Bevis Tseng
a33d1467f5 Bug 981077 - Part 3: Remove unused method of getClientIdByIccId(). r=vyang 2014-03-25 15:04:33 +08:00
Nikhil Marathe
9892fb5884 Bug 956197 - Tests to check Promises can accept iterators. r=bz
--HG--
extra : amend_source : 7989612b44c67393de7f74fdd0054587722cc79a
2014-03-28 08:17:53 -07:00
Kartikaya Gupta
31afc0a194 Bug 948377 - Remove unwanted rounding in CalculateCompositedRectInCssPixels; add a CalculateCompositedSizeInCssPixels also. r=botond 2014-03-28 10:36:47 -04:00
Bevis Tseng
2e466c59d8 Bug 981077 - Part 2: Define MmsService-owned getConnByIccId() to identify NO_SIM_CARD_ERROR and SIM_NOT_MATCHED_ERROR. r=vyang 2014-03-21 12:00:09 +08:00
Bevis Tseng
06ca945bcd Bug 981077 - Part 1: Add new error type SIM_NOT_MATCHED_ERROR. r=vyang 2014-03-21 10:52:05 +08:00
Bevis Tseng
4cebd5a07b Bug 981577 - Part 3: Add Test case to verify RadioDisabledError. r=vyang 2014-03-20 15:14:07 +08:00
Bevis Tseng
840c115c25 Bug 981577 - Part 2: Check Radio State in prior to the ICC Id. r=vyang 2014-03-20 12:24:42 +08:00
Bevis Tseng
e9ea0170f1 Bug 981577 - Part 1: Refactor fetching ril.radio.disabled preference into getRadioDisabledState(). r=vyang 2014-03-20 12:15:49 +08:00
Carsten "Tomcat" Book
7d912c9fbb Merge mozilla-central to b2g-inbound 2014-03-27 16:03:36 +01:00
Thomas Zimmermann
c9dc7ab17c Bug 983576: Annotate all assertions for non-main threads in BlueZ backend, r=echou
This patch adds an annotation to each assertion for non-main threads in
the BlueZ backend of Bluetooth. This should make is easy and obvious to
see in which context a method or function is expected to run.
2014-03-27 11:43:49 +01:00
Thomas Zimmermann
3613f3d91e Bug 983576: Annotate global BlueZ variables, r=echou
The global variables in BluetoothDBusService.cpp are now annotated
for their multi-threading access. Some code still seems to access
some of these variables in an unprotected manner. Follow-up patches
should clean this up.

As a side effect, this patch makes several variables as constant,
which improves correctness of the code.
2014-03-27 11:43:49 +01:00
Thomas Zimmermann
866006ef98 Bug 983576: Fail if sDBusConnection is not set, r=echou
Until now, we had corner cases in Bluetooth where DBus messages might
have been received on connections that are shutting down. This can't
happen any longer and this patch replaces the respective tests with
assertions.
2014-03-27 11:43:49 +01:00
Thomas Zimmermann
92743c5ab4 Bug 983576: Refactor BlueZ start/stop code, r=echou
With this patch, the start code of Bluetooth's BlueZ back mostly
runs on the I/O thread. Only the loading of the BT firmware and
the blocking connection setup is done on the BT thread.

The stop code has been moved to the I/O thread, except for some
initial waiting and the final cleanup of the firmware. The code
doesn't wait for errors anymore when cleaning up the connection
to DBus. This makes it run completely non-blocking. The initial
waiting may later be replaced by something more sophisticated.
2014-03-27 11:43:48 +01:00
Thomas Zimmermann
a0cd2b4846 Bug 983576: Move DispatchToBtThread to mozilla::bluetooth namespace, r=echou
This patch moves DispatchToBtThread to mozilla::bluetooth, so that
it is available on the I/O thread.
2014-03-27 11:43:48 +01:00
Thomas Zimmermann
ea2c4302bc Bug 986440: Add missing field |number| for REQUEST_QUERY_CALL_FORWARD_STATUS, r=htsai
The field |number| is missing when REQUEST_QUERY_CALL_FORWARD_STATUS
gets invoked from RilContentHelper.js. This patch adds a test to the
function |queryCallForwardingStatus| for handling this case.

--HG--
extra : rebase_source : c56474a2023434ac3658c7771244c6380ca2a6e0
2014-03-27 10:35:30 +01:00
Thomas Zimmermann
2e711b04a9 Bug 986440: Check for |radioTech| in |voiceRegistrationState|, r=htsai
When starting up RIL, |radioTech| in |voiceRegistrationState| is not
defined before we received REQUEST_VOICE_REGISTRATION_STATE. This
patch adds an extra test to avoid the respective error message.

--HG--
extra : rebase_source : 19927ec9a3892606d81f3209ea470ce297d927d7
2014-03-27 10:35:24 +01:00
Thomas Zimmermann
a2623c2ab0 Bug 986440: Test for |options.rilMessageType| in REQUEST_GET_SMSC_ADDRESS handler, r=htsai
The response handler for REQUEST_GET_SMSC_ADDRESS expects the field
|rilMessageType| to be present in its options. This is not the case
if the request was generated from within ril_worker.js.

This patch handles this case by adding an extra test for the existance
of the field. The response handler will return without sending a reply
to the content helper. This is not a problem since the content handler
did not invoke the request anyway.

--HG--
extra : rebase_source : 211d5f4dc29dd99b745bc29d856c291175f156f1
2014-03-27 10:35:17 +01:00
Thomas Zimmermann
c217994116 Bug 986440: Return 'null' from RIL-worker function, r=htsai
One of the functions in ril_worker.js is supposed to return 'null'
on errors, but returns 'undefined' instead. This patch fixes the
problem.

--HG--
extra : rebase_source : 0f0c1cc06fb4bcb6fe034ab3c88890b351a6cad6
2014-03-27 10:35:09 +01:00
Ryan VanderMeulen
3e14ec93b2 Merge m-c to inbound. 2014-03-26 23:09:54 -04:00
Ryan VanderMeulen
4dc5242df5 Merge inbound to m-c. 2014-03-26 20:58:31 -04:00
Ryan VanderMeulen
0581431d4c Merge fx-team to m-c. 2014-03-26 20:51:01 -04:00
Ryan VanderMeulen
bff11409a3 Merge b2g-inbound to m-c. 2014-03-26 20:46:47 -04:00
Randell Jesup
c349c2420d Bug 986764: don't leak a thread for every getUserMedia doorhanger r=jib 2014-03-26 17:57:46 -04:00
Carsten "Tomcat" Book
9cb216684f Backed out changeset 246f001547ac (bug 981085) 2014-03-26 11:09:16 +01:00
Wes Kocher
0d58e41dd9 Merge fx-team to m-c 2014-03-25 20:03:13 -07:00
Wes Kocher
622986d217 Merge inbound to m-c 2014-03-25 19:54:55 -07:00
Marco Castelluccio
4e70d25fc5 Bug 981085 - Stop using OS.File in apps code. r=fabrice 2014-03-25 09:14:06 -04:00
Yoshi Huang
c6f6c3646f Bug 987595 - B2G NFC: onpeerready isn't called. r=dimi 2014-03-25 19:14:41 +08:00
Marco Castelluccio
0dbb5d4be6 Bug 981085 - Stop using OS.File in apps code. r=fabrice 2014-03-25 09:14:06 -04:00
Henry Chang
7985bcb622 Bug 986360 - Add nullity check to |flags|. r=chulee 2014-03-21 17:00:38 +08:00
Jocelyn Liu
9b2b4705a6 Bug 986375 - Use defined constants for HFP result code to avoid typo. r=echou 2014-03-26 19:08:00 +01:00
Carsten "Tomcat" Book
1f5510b09f Merge mozilla-central to b2g-inbound on a CLOSED TREE 2014-03-26 14:03:43 +01:00
Fabrice Desré
564fd419ad Bug 982491 - Group apps in activities chains in the same process r=cervantes,gene 2014-03-25 21:56:35 -07:00
Wei Deng
2da14f8552 Bug 960946 - Correct events which can be generated and sent repeatedly from longpressing a key. r=yxl 2014-03-25 15:46:52 +08:00
Carsten "Tomcat" Book
8e00ba28c8 Merge mozilla-central to b2g-inbound 2014-03-25 13:47:41 +01:00
Carsten "Tomcat" Book
e474cca713 merge b2g-inbound to mozilla-central 2014-03-25 13:23:10 +01:00
Ehsan Akhgari
75b3c6a6dd Bug 986993 - Remove the classinfo on the inputmethod API classes because they are already ported to WebIDL; r=bzbarsky
This patch also removes the mention to some non-existent interfaces.
2014-03-24 21:59:33 -04:00
Tatiana Meshkova
c33a649a4a Bug 985817 - Move some TabChild functionality into base class to be reusable in Embedlite implementation. r=kats 2014-03-24 19:28:46 -07:00
Ehsan Akhgari
af614574f6 Bug 986980 - Remove the classinfo from WifiGeoCoordsObject and WifiGeoPositionObject; r=bzbarsky
These objects are not exposed to Web content, so they don't need the
classinfo.
2014-03-24 23:39:23 -04:00
Mike Habicher
4e8158e480 Bug 985125 - remove unnecessary indirection from DOM error handler, r=dhylands 2014-03-24 17:32:31 -04:00
Ryan VanderMeulen
85d2cbd02e Merge inbound to m-c. 2014-03-24 16:47:07 -04:00
Ryan VanderMeulen
131f3139eb Merge m-c to inbound. 2014-03-24 16:51:09 -04:00
Doug Turner
308efc43ed Bug 987019 - Shutdown Wifi scanning after geolocation request has completed. r=kanru 2014-03-24 12:40:42 -07:00
Ms2ger
593a960690 Bug 860731 - Part c: Move LockedFile to WebIDL; r=janv 2014-03-24 16:10:27 +01:00
Bobby Holley
7f56c979e3 Bug 986940 - Remove Cu.createArrayIn. r=gabor 2014-03-24 11:30:20 -03:00
Carsten "Tomcat" Book
e7f441136c Merge mozilla-central to mozilla-inbound 2014-03-24 15:23:49 +01:00
Carsten "Tomcat" Book
cb6a1cbb68 merge b2g-inbound to mozilla-central 2014-03-24 15:13:24 +01:00
Rik Cabanier
5ef249b3be Bug 985257 - Add implementation for Path2D constructor that takes an SVG path string. r=roc 2014-03-24 09:31:19 -04:00
Thomas Zimmermann
3de553dd1d Bug 985949: Correctly forget pointer references in Bluedroid backend, r=echou
This patch fixes a regression from bug 967364. An nsRefPtr is now
correctly cleared by |forget| without causing a crash.
2014-03-24 10:44:29 +01:00
Thomas Zimmermann
4aaccae2b5 Bug 985949: Fix pointer handling in BlueZ backend, r=echou
This is caused by bug 967364. We need to hand over data structures
to DBus operations and forget about them if the operation returned
success. Until now, we could just tell their nsRefPtrs to |forget|
about them, but with bug 967364 applied we need to swap an empty
value into the pointer.
2014-03-24 10:44:28 +01:00
L. David Baron
7715383653 Bug 986409 - Skip fewer entire reftest directories on B2G. r=roc 2014-03-23 18:44:50 -07:00
Phil Ringnalda
bd5dc6100a Merge m-c to m-i 2014-03-23 08:43:23 -07:00
Phil Ringnalda
bc10396233 Merge b-i to m-c 2014-03-23 08:28:09 -07:00
Bobby Holley
99b8111093 Bug 975042 - Create NetworkStats dates in the window's scope. r=fabrice 2014-03-23 11:02:14 -03:00
Ehsan Akhgari
762d150c8f Bug 983845 follow-up: Move the header to content/base and enable BrowserFeedWriter for xulrunner as well 2014-03-22 21:34:02 -04:00
Phil Ringnalda
4d2c10d566 Merge m-c to b-i 2014-03-22 17:50:05 -07:00
Reuben Morais
b97b186ca2 Bug 949537 - Setup substring matching for Chilean numbers. r=gwagner 2014-03-22 16:07:44 -03:00
Ehsan Akhgari
0b275ae564 Bug 985796 - Port the permission settings API to WebIDL; r=bzbarsky 2014-03-22 09:58:24 -04:00
Ehsan Akhgari
3a71461211 Bug 986475 - Remove the classinfo from SettingsService and SettingsServiceLock; r=bzbarsky
These objects are not exposed to Web content, so they don't need the
classinfo.
2014-03-22 09:56:17 -04:00
Ehsan Akhgari
5605246beb Bug 985812 - Make a ActivityRequestHandler.source a pure cached frozen dictionary; r=bzbarsky 2014-03-22 09:54:40 -04:00
Ehsan Akhgari
7a1c2562be Bug 903873 - Finish porting Web Activities to WebIDL; r=bzbarsky
This patch ports over the ActivityRequestHandler interface.

Unfortunately the original design of the interface specifies that
ActivityRequestHandler.source should be of type ActivityOptions which is
a dictionary.  This is not expressible in WebIDL, so for now we're just
using the type 'object' for that.
2014-03-22 09:52:21 -04:00
Tatiana Meshkova
769642980a Bug 985814 - Skia cannot compile properly for Qt Widget backend. r=gw280 2014-03-22 05:38:40 -07:00
Doug Turner
1b505adf19 Bug 977725 - MLS Geolocation seeding GONK GPS Provider. r=kanru 2014-03-22 00:42:55 -07:00
Anvas
4f44593e24 Bug 946897 - Report a more helpful error message when there is a name collision between an IDLExternalInterface and some other named IDL object. r=khuey 2014-03-22 00:25:40 -04:00
Ryan VanderMeulen
a361d3f8f1 Merge m-c to inbound. 2014-03-21 16:49:07 -04:00
Ehsan Akhgari
27a82cef75 Backed out 2 changesets (bug 957431) because we decided we're keeping Attr.ownerElement in the end
Backed out changeset ab12a8416a1d (bug 957431)
Backed out changeset 188d1e255d40 (bug 957431)
2014-03-21 16:04:09 -04:00
Ehsan Akhgari
9ec4e7397c Backed out 2 changesets (bug 957652) because bug 957431 is being backed out
Backed out changeset 92efd61cfca5 (bug 957652)
Backed out changeset 9d405c64a7bf (bug 957652)
2014-03-21 16:02:21 -04:00
Carsten "Tomcat" Book
db6c6a7648 Merge mozilla-central to fx-team 2014-03-24 15:38:14 +01:00
Marco Castelluccio
f258044304 Bug 986493 - Lazily load some modules in Webapps.jsm. r=felipe 2014-03-24 09:37:27 -04:00
Ryan VanderMeulen
e9fc16e201 Backed out changeset 463fa756b43b (bug 886110) for causing various regressions. 2014-03-21 14:44:05 -04:00
Bobby Holley
8d474077e8 Bug 986304 - Remove the scope object machinery attached to nsIJSEventListener. r=bz,f=smaug 2014-03-21 23:31:03 -03:00
Bobby Holley
5b7986dd28 Bug 986304 - Stop using (and kill) BindCompileEventHandler. r=bz 2014-03-21 23:31:02 -03:00
Bobby Holley
2cf2909a97 Bug 986304 - Compile the event handler directly with the target as the scope object. r=bz 2014-03-21 23:31:02 -03:00
Bobby Holley
b15cefbe5b Bug 986304 - Enter the compartment of the target directly. r=bz 2014-03-21 23:31:02 -03:00
Bobby Holley
beec0651c3 Bug 986304 - MOZ_ASSERT the need for compilation in CompileEventHandlerInternal, and remove useless conditionals. r=bz
The unindentations here are clean - no changes.
2014-03-21 23:31:02 -03:00
Brian O'Keefe
25b4df93c6 Bug 883092 - Move mochitest support files from Makefile.in to a manifest; r=gps f=Ms2ger 2014-03-21 16:25:55 -07:00
Carsten "Tomcat" Book
75d237800b Merge mozilla-central to b2g-inbound 2014-03-21 15:26:20 +01:00
Carsten "Tomcat" Book
4a1fc1f0da merge b2g-inbound to mozilla-central 2014-03-21 15:18:04 +01:00
Shawn Huang
b214332845 Bug 986352 - [bluedroid] Fix hfp-fallback build break due to miss Reset() for BluetoothHfpManager, r=echou 2014-03-21 17:12:16 +08:00
Boris Zbarsky
59f8f0e2d4 Another bug 985827 followup. Make sure to not cache things wrapped in an Xray compartment on the navigator object. r=khuey 2014-03-21 03:25:21 -04:00
Jeff Walden
d3340fc45f Bug 985687 - Remove vestigial tinyid/shortid references, as well as the field in JSPropertySpec. Followup to bug 975069. r=luke
--HG--
extra : rebase_source : 9e4bd270925efb155dacb91470b617f169526824
2014-03-20 23:24:21 -07:00
Boris Zbarsky
1e5414ed2f Bug 985827 followup. Remove shadowing variable that confuses things. r=bustage 2014-03-21 00:55:50 -04:00
Masatoshi Kimura
017a04a06a Bug 981237 - Remove DataContainerEvent dependency from Plugin crash handler. r=jst,johns 2014-03-21 13:00:00 +09:00
Srirakshith Betageri
209a660012 Bug 955860. Implement the CSS.escape API for escaping CSS identifiers from script. r=bzbarsky 2014-03-20 23:19:43 -04:00
Boris Zbarsky
571a9a2aa5 Bug 985827. Make Navigator::DoNewResolve not double-create objects no matter what JS is doing. r=khuey 2014-03-20 23:19:43 -04:00
Boris Zbarsky
a8103d552c Bug 983261. Improve example codegen for non-leaf and non-root interfaces. r=khuey 2014-03-20 23:19:43 -04:00
Boris Zbarsky
0708700fcb Bug 976305. Use the callee, not the irrelevant this value, to figure out the GlobalObject for a static WebIDL method. r=bholley 2014-03-20 23:19:43 -04:00
Olli Pettay
8caa64631b Bug 985988, event handlers should update preventDefault flag similar way to event.preventDefault(), r=masayuki
--HG--
extra : rebase_source : f82af82dfd290fbba851eda5dceebcd1911ef72b
2014-03-21 19:46:15 +02:00
John Schoenick
6e3494979d Bug 985859 - navigator.mimeTypes access should be case-insensitive. r=bsmedberg 2014-03-21 10:50:25 -07:00
Andrea Marchesini
23d928823f Bug 986379 - Console crash for a mTimer set to null, r=ehsan 2014-03-21 16:57:54 +00:00
Boris Zbarsky
f8115c0dde Bug 983300 part 4. Convert exceptions in static methods returning promises into rejected promises. r=khuey,efaust 2014-03-21 12:18:24 -04:00
Boris Zbarsky
51d9175a36 Bug 983300 part 3. Convert exceptions in specialized methods returning promises into rejected promises. r=khuey, efaust 2014-03-21 12:18:24 -04:00
Boris Zbarsky
4b7f853a76 Bug 983300 part 2. Introduce a GenericPromiseReturningBindingMethod for methods that return Promise return value. r=khuey,bholley
This method effectively catches exceptions from GenericBindingMethod and converts them into rejected promises.  This handles calls to Promise-returning APIs from everything except Ion fast paths.
2014-03-21 12:18:24 -04:00
Boris Zbarsky
7a7054f72d Bug 983300 part 1. Disallow Promise as a return type for legacy callers and enforce all overloads for a method either returning promises or not returning promises. r=khuey 2014-03-21 12:18:24 -04:00