Commit Graph

5985 Commits

Author SHA1 Message Date
Aryeh Gregor
5950f7d337 Bug 735805 - Part 3: Fix plugin mochitests that run no tests. r=roc 2012-03-20 13:18:08 -04:00
Mounir Lamouri
7061af5d83 Bug 720795 - Screen Orientation API reading and event implementation in Android. r=dougt 2012-03-20 14:09:45 +01:00
Neil Deakin
f9547aff6d 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]
f6bfd29afb Bug 720126 - Update scroll API to use ScrollAxis parameters (where and when). r=roc 2012-03-19 21:09:50 -05:00
Igor Bukanov
fbeb82e29f 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
3141d23221 Merge mozilla-central and mozilla-inbound 2012-03-19 16:47:00 -07:00
Blake Kaplan
a2929f025d 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
37fe07ac9a 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
7fdfe04ffb 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
950bae49e0 merge backout 2012-03-19 12:54:47 +01:00
Dão Gottwald
098b79e99e Backed out changeset 2cd01fd07ce8 2012-03-19 12:54:32 +01:00
Masatoshi Kimura
add7512617 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]
395f2b3456 Bug 720126 - Update scroll API to use ScrollAxis parameters (where and when). r=roc 2012-03-18 14:42:25 -05:00
Mark Finkle
c5c1e891ea 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
de969a1167 Merge last PGO-green changeset of mozilla-inbound to mozilla-central 2012-03-17 16:57:05 -07:00
Kyle Huey
f27f4a7eaf Bug 612311: Add some instrumentation. r=me 2012-03-17 13:07:28 -07:00
Ehsan Akhgari
e6fee3a547 Merge from mozilla-central 2012-03-17 12:32:28 -04:00
Vicamo Yang
4d09347d30 Bug 712933 - Part 6: Support receiving multipart SMS. r=philikon DONTBUILD because NPTOB 2012-03-16 17:02:06 -07:00
Vicamo Yang
d48f637cab Bug 712933 - Part 5: refactor GsmPDUHelper readUserData(). r=philikon 2012-03-16 16:59:58 -07:00
Vicamo Yang
60c9ef5604 Bug 712933 - Part 4: Support sending multipart SMS. r=philikon 2012-03-16 16:59:35 -07:00
Vicamo Yang
c7dc94598c Bug 712933 - Part 3: fix getNumberOfMessagesForText(). r=philikon 2012-03-16 16:57:41 -07:00
Vicamo Yang
e402af2531 Bug 712933 - Part 2: refactor calculateUserDataLength(). r=philikon 2012-03-16 16:57:06 -07:00
Vicamo Yang
8cb28b362f Bug 712933 - Part 1: Move GsmPDUHelper.calculateUserDataLength() to RadioInterfaceLayer.js. r=philikon 2012-03-16 16:47:21 -07:00
Fernando Jiménez
8eaa9d1584 Bug 733268 - B2G SMS DB: fix deleteMessage behaviour. r=philikon 2012-03-16 16:38:50 -07:00
Fernando Jiménez
d92cb6203d Bug 735536 - B2G SMS DB: Use new fangled IndexedDB string constants. r=philikon 2012-03-16 16:34:05 -07:00
Hsinyi Tsai
2a4304b4b6 Bug 736258 - WebTelephony: rename ringing event to alerting. r=philikon 2012-03-16 11:13:42 +08:00
Marco Bonardo
ff249f47c5 Merge inbound and central 2012-03-16 13:42:16 +01:00
Ms2ger
126a61ae1e Bug 722154 - Part f: Remove custom quickstubs for vertexAttrib[1-4]fv; r=bjacob 2012-03-16 10:53:41 +01:00
Ms2ger
0fa822c551 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
6c8b1e6b1c Bug 722154 - Part d: Remove custom quickstub for readPixels; r=bjacob 2012-03-16 10:50:51 +01:00
Ms2ger
9fe057f15e Bug 722154 - Part c: Remove custom quickstubs for compressedTexImage2D and compressedTexSubImage2D; r=bjacob 2012-03-16 10:50:33 +01:00
Ms2ger
475f50510f Bug 722154 - Part b: Remove custom quickstub for bufferSubData; r=bjacob 2012-03-16 10:50:18 +01:00
Ms2ger
3b2c005617 Bug 722154 - Part a: Remove custom quickstub for bufferData; r=bjacob 2012-03-16 10:50:00 +01:00
Ms2ger
90fe48b371 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
b114a45e19 Bug 550309 - Part d: Try unwrapping to nsIDOMImageData in GetImageData(); r=bz 2012-03-16 10:44:39 +01:00
Ms2ger
364d2a12d3 Bug 550309 - Part c: Implement ImageData; r=bz 2012-03-16 10:44:08 +01:00
Masayuki Nakano
12da403f4d Bug 728103 part.2 Fix new test failures r=smaug 2012-03-16 15:29:15 +09:00
Philipp von Weitershausen
903dff7081 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
5d9e76aba2 Bug 725002 - Part 6: Move SMS handling to the RIL object. r=qDot 2012-03-15 17:47:00 -07:00
Philipp von Weitershausen
776904709f 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
dd5c0763f4 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
b56bf82138 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
ef5dc10e89 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
aaf63e3fb5 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
a43b68d7e9 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
28e55ae9bd Bug 735581 - B2G RIL MSISDN follow-ups. r=qDot 2012-03-15 17:47:00 -07:00
Philipp von Weitershausen
e681f85593 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
27b0caf782 Bug 735492 - B2G 3G: Simplify data call handling in ril_worker.js. r=qDot 2012-03-15 17:47:00 -07:00
Mounir Lamouri
81b3fa1bc1 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
d0998ff48f Bug 735261 - navigator.mozConnection should be an instance of EventTarget. r=smaug 2012-03-14 19:50:11 +01:00