Commit Graph

1980 Commits

Author SHA1 Message Date
Jared Wein
97c6f75ef3 Bug 730318 - Implement a way for chrome js to enumerate the plugin objects on a page for activation. r=khuey 2012-03-22 13:53:59 -07:00
Henri Sivonen
31192f4b01 Bug 737417 part 1 - Split charset source constants out of nsIParser.h. r=smaug. 2012-03-22 16:42:42 +02:00
Marco Bonardo
6947cbd545 Merge central to inbound 2012-03-22 13:09:22 +01:00
Marco Bonardo
f222385695 Merge last green PGO from inbound to central 2012-03-22 13:04:29 +01:00
Neil Rashbrook
77b06e9e21 Bug 737022 Re-enable strict warnings when parsing XUL r=jst 2012-03-22 08:36:36 +00:00
Boris Zbarsky
85ec231192 Bug 622491. Make the global scope polluter work in standards mode too. r=jst 2012-03-22 00:10:50 -04:00
Masayuki Nakano
c670feb072 Bug 672175 part.15 Add new API nsIDOMWindowUtils.sendNativeMouseScrollEvent() r=roc, sr=smaug 2012-03-22 09:59:12 +09:00
Blake Kaplan
92a89cb369 Bug 737029 - Use DOMRequestHelper.jsm in DOMWifiManager.js. r=fabrice DONTBUILD 2012-03-20 16:59:38 +01:00
Mounir Lamouri
d07b010629 Bug 720795 - Screen Orientation API reading and event implementation in Android. r=dougt 2012-03-20 14:09:45 +01:00
Adam Dane [:hobophobe]
a4e77c0d40 Bug 720126 - Update scroll API to use ScrollAxis parameters (where and when). r=roc 2012-03-19 21:09:50 -05:00
Hessam Salehi
2bda7efc98 Bug 474505 - Replace uses of nsVoidPtrHashkey with nsPtrHashKey<T>; r=bsmedberg 2012-03-21 14:07:31 -04:00
Igor Bukanov
c8154dcd0e 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
Mounir Lamouri
59aa9eab92 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
10a8599d4e Bug 735261 - navigator.mozConnection should be an instance of EventTarget. r=smaug 2012-03-14 19:50:11 +01:00
Mounir Lamouri
02a6895e14 Bug 720799 - Don't use mDocShell in nsScreen. r=jst,jlebar 2012-03-14 19:14:53 +01:00
Mounir Lamouri
e38116e0a4 Bug 720794 - Part 2 (DOM) - Implement reading and event parts of Screen Orientation API. r=jst sr=sicking 2012-03-14 11:10:48 +01:00
Mounir Lamouri
37b6a6d4ef Bug 720794 - Part 1 (HAL) - Implement reading and event parts of Screen Orientation API. r=cjones 2012-03-13 17:42:46 +01:00
Dão Gottwald
6483ef2ee1 Backed out changeset 2cd01fd07ce8 2012-03-19 12:54:32 +01:00
Adam Dane [:hobophobe]
2c3301cdb1 Bug 720126 - Update scroll API to use ScrollAxis parameters (where and when). r=roc 2012-03-18 14:42:25 -05:00
Mark Finkle
5d52d341f9 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
Mounir Lamouri
60b9c2f2bd 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
f974a6f245 Bug 735261 - navigator.mozConnection should be an instance of EventTarget. r=smaug 2012-03-14 19:50:11 +01:00
Mounir Lamouri
74b8e96361 Bug 720799 - Don't use mDocShell in nsScreen. r=jst,jlebar 2012-03-14 19:14:53 +01:00
Mounir Lamouri
7948b3ca37 Bug 720795 - Screen Orientation API reading and event implementation in Android. r=dougt 2012-03-16 19:43:10 +01:00
Mounir Lamouri
b3a3f89b0d Bug 720794 - Part 2 (DOM) - Implement reading and event parts of Screen Orientation API. r=jst sr=sicking 2012-03-14 11:10:48 +01:00
Mounir Lamouri
dac48325a5 Bug 720794 - Part 1 (HAL) - Implement reading and event parts of Screen Orientation API. r=cjones 2012-03-13 17:42:46 +01:00
Bill McCloskey
65e1d5406f Bug 736643 - Add timestamp support to GC/CC JSON output (r=terrence) 2012-03-16 16:36:26 -07:00
Bobby Holley
aaaa3c0e75 Bug 734910 - Enter the compartment of the new global before calling FinishInitForNewWrappedGlobal. r=mrbkap 2012-03-16 12:47:20 -07:00
Peter Van der Beken
efadad15ae Fix for bug 736229 (Stop storing expando objects in the wrapper cache, store the proxy instead). r=jst. 2012-03-14 15:22:10 +01:00
Ms2ger
8874969471 Bug 550309 - Part d: Try unwrapping to nsIDOMImageData in GetImageData(); r=bz 2012-03-16 10:44:39 +01:00
Ms2ger
b47d7ff113 Bug 550309 - Part c: Implement ImageData; r=bz 2012-03-16 10:44:08 +01:00
Ed Morley
9424dfaf15 Merge last PGO-green changeset of mozilla-inbound to mozilla-central 2012-03-15 12:42:01 +00:00
Bill McCloskey
f53ee14ad8 Bug 735916 - Fix javascript.options.mem.log (r=terrence) 2012-03-14 16:50:35 -07:00
Blake Kaplan
8ce35f8916 Bug 732982 - Expose a wifi API to the DOM. The API is very much a work in progress and will change soon. r=cjones/fabrice/vigntetun DONTBUILD
--HG--
extra : rebase_source : c44979e32dfffc46502f21c59c691a13e0319cad
2012-03-14 21:39:15 +01:00
Kartikaya Gupta
a96a6f4142 Bug 725095 - Merge off-main-thread compositor from Maple. IGNORE BAD COMMIT MESSAGES 2012-03-14 11:18:15 -04:00
Benoit Girard
dc6ea71b7e Merge mc->Maple 2012-03-13 11:05:28 -04:00
Marco Bonardo
720c67a69d Merge last green PGO from inbound to central 2012-03-13 11:17:21 +01:00
Masatoshi Kimura
cdb0659415 Bug 721569 - Implement Blob constructor. r=sicking 2012-03-12 21:44:56 -07:00
Jonas Sicking
a2be3ad884 Bug 735094: Implement new string values (rather than numeric constants) for IndexedDB. r=bent 2012-03-12 21:44:45 -07:00
Olli Pettay
08fc2403d5 Bug 734057 - Make nsDOMEventTargetHelper to not have strong pointer to window, part2, r=jst 2012-03-13 02:56:20 +02:00
Olli Pettay
b063392a27 Bug 734057 - Make nsDOMEventTargetHelper to not have strong pointer to window, r=jst,bent 2012-03-13 02:56:07 +02:00
Ali Juma
4d8312dbab Bug 732091 - Part 2: Add {set,get}IsFirstPaint to nsIDOMWindowUtils and nsIPresShell. r=ehsan 2012-03-12 11:50:11 -04:00
Ms2ger
1442c59d93 Bug 734481 - Make nsIJSArgArray inherit from nsIArray; r=jst 2012-03-11 09:53:05 +01:00
Ms2ger
1c8f3fe8f8 Bug 734473 - Remove nsIScriptContext::FinalizeContext; r=jst 2012-03-11 09:51:22 +01:00
Ms2ger
41880c8da4 Bug 734472 - Pass JSObject to nsIScriptContext::SetProperty; r=jst 2012-03-11 09:50:22 +01:00
Ms2ger
37fbbb6164 Bug 734468 - Make SetTerminationFunction return void; r=jst 2012-03-11 09:49:15 +01:00
Ms2ger
babbbefd65 Bug 732769 - Remove FileError; r=sicking 2012-03-11 09:47:38 +01:00
Igor Bukanov
524dbd7e47 bug 728250 - remove JSPrincipals::codebase. r=:luke,:bz
In just 2 cases where JSPrincipals::codebase is used it can be reconstructed from the values stored in the associated nsJSPrincipal. In addition the patch makes nsJSprincipals to inherit both from nsIPrincipal and JSPrincipals allowing to use static_cast to convert between nsIPrincipal and JSPrincipals pointers and to drop many cases of manual JSPrincipal reference counting.
2012-03-09 10:48:50 +01:00
Kan-Ru Chen
da32eeb89d Bug 697132 - Use nsCOMPtr constructor. r=Ms2ger 2012-03-14 18:00:29 -04:00
Nicholas Nethercote
a4e916975c Bug 732843 - Handle Callback() failures in memory multi-reporters. r=jlebar.
--HG--
extra : rebase_source : 54af85a1ef839922d5443cdc36f601611258944a
2012-03-04 15:26:30 -08:00