Commit Graph

5984 Commits

Author SHA1 Message Date
Mounir Lamouri
71d5cfc5d5 Bug 720795 - Screen Orientation API reading and event implementation in Android. r=dougt 2012-03-20 14:09:45 +01:00
Neil Deakin
6c9d8bc0e7 Bug 605991, prevent drops on a parent content page from a child frame from a different domain, r=smaug 2012-03-20 11:21:41 -04:00
Adam Dane [:hobophobe]
3c986b3780 Bug 720126 - Update scroll API to use ScrollAxis parameters (where and when). r=roc 2012-03-19 21:09:50 -05:00
Igor Bukanov
5542df3342 bug 730221 - delegating serialization of script principals to the embedding. r=:luke,:bz
Currently to serialize principals stored in JSScript we have a rather complex
schema. First there is the transcode callback that the embedding must provide
to transcode principals using XDR API. Second we use rather complex glue code
to implement that callback in terms of writing/reading nsIObjectOutputStream/
nsIObjectInputStream. This glue code is duplicated in 3 places. All this can
be avoided if we simply delegate transcoding of principals to the caller. In
addition, at least in the case of the cached startup scripts we do not even
need to transcode the principals as the the cached scripts always have the
system principal so we can skip all the transcode complexity there.

The patch implemnts this idea. In particular, the code in JS engine
responsible for transcoding of principals is replaced by the single API
function JS_XDRSetPrincipals that the embedding can use to set principals for
decoded scripts and functions. Then the startup cache uses this to set the
principals for the decoded script to the system principals. The other two
places in nsJSContext::Serialize and  XBL_SerializeFunction that need to
serialize principals together with a function or script now uses common
utilities in nsXPConnect so the serialization complexity resides in the single
 place.
2012-02-13 14:10:04 +01:00
Matt Brubeck
3057ab345d Merge mozilla-central and mozilla-inbound 2012-03-19 16:47:00 -07:00
Blake Kaplan
d1573b5903 Bug 736087 - Remove the ns prefix from the WifiWorker component. r=philikon DONTBUILD
--HG--
rename : dom/wifi/nsWifiWorker.h => dom/wifi/WifiWorker.h
rename : dom/wifi/nsWifiWorker.js => dom/wifi/WifiWorker.js
rename : dom/wifi/nsWifiWorker.manifest => dom/wifi/WifiWorker.manifest
2012-03-16 18:05:28 +01:00
Blake Kaplan
5a931ecced Bug 736087 - Rename nsDOMWifiManager to DOMWifiManager. r=philikon
--HG--
rename : dom/wifi/nsDOMWifiManager.js => dom/wifi/DOMWifiManager.js
rename : dom/wifi/nsDOMWifiManager.manifest => dom/wifi/DOMWifiManager.manifest
2012-03-16 17:51:05 +01:00
Blake Kaplan
5b06006a35 Bug 736196 - Fix a small bug in internal dhcp notifications (clear dhcpInfo when we don't have any). Don't write out fake passwords in our configs. Make sure that we enable networks upon creation so they're enabled in the config file. r=cjones 2012-03-16 14:56:38 +01:00
Dão Gottwald
5491bf2ad2 merge backout 2012-03-19 12:54:47 +01:00
Dão Gottwald
6a83ce299e Backed out changeset 2cd01fd07ce8 2012-03-19 12:54:32 +01:00
Masatoshi Kimura
8d714490ee Bug 736687 - Warn on use of MozBlobBuilder. r=sicking
--HG--
rename : layout/reftests/svg/as-image/img-blobBuilder-1.html => layout/reftests/svg/as-image/img-blobURI-1.html
rename : layout/reftests/svg/as-image/img-blobBuilder-2.html => layout/reftests/svg/as-image/img-blobURI-2.html
2012-03-19 12:00:43 +01:00
Adam Dane [:hobophobe]
1157561543 Bug 720126 - Update scroll API to use ScrollAxis parameters (where and when). r=roc 2012-03-18 14:42:25 -05:00
Mark Finkle
2f256bcc57 Backout 7e28d1a2c648, 330b210f503d, 2421d39e0ab3, aa978ffa44bc, 38a71ae7e06d, b94319584a7a, 7e8278f5e814, 0b4e3c7608ab, 329c07609ca8, 0d61a0d8dba4, Due to Ts regression on Android 2012-03-17 21:51:39 -04:00
Phil Ringnalda
532bb57e36 Merge last PGO-green changeset of mozilla-inbound to mozilla-central 2012-03-17 16:57:05 -07:00
Kyle Huey
72854663bd Bug 612311: Add some instrumentation. r=me 2012-03-17 13:07:28 -07:00
Ehsan Akhgari
9fb965340a Merge from mozilla-central 2012-03-17 12:32:28 -04:00
Vicamo Yang
4d4eee53e6 Bug 712933 - Part 6: Support receiving multipart SMS. r=philikon DONTBUILD because NPTOB 2012-03-16 17:02:06 -07:00
Vicamo Yang
b12711e279 Bug 712933 - Part 5: refactor GsmPDUHelper readUserData(). r=philikon 2012-03-16 16:59:58 -07:00
Vicamo Yang
1c0911e800 Bug 712933 - Part 4: Support sending multipart SMS. r=philikon 2012-03-16 16:59:35 -07:00
Vicamo Yang
74ecaeab3d Bug 712933 - Part 3: fix getNumberOfMessagesForText(). r=philikon 2012-03-16 16:57:41 -07:00
Vicamo Yang
d47e664ef9 Bug 712933 - Part 2: refactor calculateUserDataLength(). r=philikon 2012-03-16 16:57:06 -07:00
Vicamo Yang
362799bca7 Bug 712933 - Part 1: Move GsmPDUHelper.calculateUserDataLength() to RadioInterfaceLayer.js. r=philikon 2012-03-16 16:47:21 -07:00
Fernando Jiménez
03a91e6e61 Bug 733268 - B2G SMS DB: fix deleteMessage behaviour. r=philikon 2012-03-16 16:38:50 -07:00
Fernando Jiménez
0a5c782cfa Bug 735536 - B2G SMS DB: Use new fangled IndexedDB string constants. r=philikon 2012-03-16 16:34:05 -07:00
Hsinyi Tsai
631b0f0dfe Bug 736258 - WebTelephony: rename ringing event to alerting. r=philikon 2012-03-16 11:13:42 +08:00
Marco Bonardo
312ed3ed80 Merge inbound and central 2012-03-16 13:42:16 +01:00
Ms2ger
a494664e3f Bug 722154 - Part f: Remove custom quickstubs for vertexAttrib[1-4]fv; r=bjacob 2012-03-16 10:53:41 +01:00
Ms2ger
3456d2d5e4 Bug 722154 - Part e: Remove custom quickstubs for uniform[1-4][i,f]v and uniformMatrix[2-4]fv; r=bjacob 2012-03-16 10:52:42 +01:00
Ms2ger
d5d2b74974 Bug 722154 - Part d: Remove custom quickstub for readPixels; r=bjacob 2012-03-16 10:50:51 +01:00
Ms2ger
58d4fde71b Bug 722154 - Part c: Remove custom quickstubs for compressedTexImage2D and compressedTexSubImage2D; r=bjacob 2012-03-16 10:50:33 +01:00
Ms2ger
3850828e22 Bug 722154 - Part b: Remove custom quickstub for bufferSubData; r=bjacob 2012-03-16 10:50:18 +01:00
Ms2ger
b3ff1e4405 Bug 722154 - Part a: Remove custom quickstub for bufferData; r=bjacob 2012-03-16 10:50:00 +01:00
Ms2ger
090a26ea3d Bug 550309 - Part e: Remove custom quickstub for getImageData and return an actual ImageData; r=bz 2012-03-16 10:48:55 +01:00
Ms2ger
2d3c91199c Bug 550309 - Part d: Try unwrapping to nsIDOMImageData in GetImageData(); r=bz 2012-03-16 10:44:39 +01:00
Ms2ger
7ea9d494ee Bug 550309 - Part c: Implement ImageData; r=bz 2012-03-16 10:44:08 +01:00
Masayuki Nakano
5f93695680 Bug 728103 part.2 Fix new test failures r=smaug 2012-03-16 15:29:15 +09:00
Philipp von Weitershausen
83919705c4 Bug 725002 - Part 7: Merge the remaining 'Phone' functionality into RIL. r=qDot DONTBUILD because NPTOTB 2012-03-15 18:01:24 -07:00
Philipp von Weitershausen
a0bb014818 Bug 725002 - Part 6: Move SMS handling to the RIL object. r=qDot 2012-03-15 17:47:00 -07:00
Philipp von Weitershausen
b9267ad6be Bug 725002 - Part 5: Move datacall state handling to the RIL object. r=qDot 2012-03-15 17:47:00 -07:00
Philipp von Weitershausen
1d264962b6 Bug 725002 - Part 4: Move call state handling to the RIL object. r=qDot 2012-03-15 17:47:00 -07:00
Philipp von Weitershausen
8d7a58b2f9 Bug 725002 - Part 3: Move radio, card, registration state handlers to the RIL object. r=qDot 2012-03-15 17:47:00 -07:00
Philipp von Weitershausen
e946fc9a11 Bug 725002 - Part 2: Remove a bunch of empty RIL request handlers. r=qDot 2012-03-15 17:47:00 -07:00
Philipp von Weitershausen
3795f99fa2 Bug 725002 - Part 1: Convert most RIL methods to simply take the 'options' message object. r=qDot 2012-03-15 17:47:00 -07:00
Philipp von Weitershausen
2291765f53 Bug 735958 - B2G 3G: Typo in datacall management causes leaks and inconsistent state. r=qDot 2012-03-15 17:47:00 -07:00
Philipp von Weitershausen
aee5e0fe86 Bug 735581 - B2G RIL MSISDN follow-ups. r=qDot 2012-03-15 17:47:00 -07:00
Philipp von Weitershausen
dc8a383ff9 Bug 735499 - B2G RIL: Leaking "options" object when rild responds with an error. r=qDot 2012-03-15 17:47:00 -07:00
Philipp von Weitershausen
c4fd834183 Bug 735492 - B2G 3G: Simplify data call handling in ril_worker.js. r=qDot 2012-03-15 17:47:00 -07:00
Mounir Lamouri
675be045de Bug 735781 - Make sure nsScreen don't call RemoveObserver twice in a row. r=jlebar 2012-03-15 10:58:56 +01:00
Mounir Lamouri
e545a790d6 Bug 735261 - navigator.mozConnection should be an instance of EventTarget. r=smaug 2012-03-14 19:50:11 +01:00
Mounir Lamouri
bbc1329098 Bug 720799 - Don't use mDocShell in nsScreen. r=jst,jlebar 2012-03-14 19:14:53 +01:00