Commit Graph

2147 Commits

Author SHA1 Message Date
Jared Wein
61ab14237c 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
Masayuki Nakano
cd68fdc428 Bug 672175 part.15 Add new API nsIDOMWindowUtils.sendNativeMouseScrollEvent() r=roc, sr=smaug 2012-03-22 09:59:12 +09:00
Henri Sivonen
f2d3f89eb7 Bug 737417 part 1 - Split charset source constants out of nsIParser.h. r=smaug. 2012-03-22 16:42:42 +02:00
Marco Bonardo
49bd1f22b0 Merge central to inbound 2012-03-22 13:09:22 +01:00
Boris Zbarsky
4d4ac90393 Bug 622491. Make the global scope polluter work in standards mode too. r=jst 2012-03-22 00:10:50 -04:00
Blake Kaplan
81959516d4 Bug 737029 - Use DOMRequestHelper.jsm in DOMWifiManager.js. r=fabrice DONTBUILD 2012-03-20 16:59:38 +01: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
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
Hessam Salehi
25b8143afe Bug 474505 - Replace uses of nsVoidPtrHashkey with nsPtrHashKey<T>; r=bsmedberg 2012-03-21 14:07:31 -04:00
Eric Chou
85cd3d3dea Bug 730990 - Device object boilerplate for DOM Bluetooth - r=qDot 2012-03-23 14:58:12 -07:00
Kyle Machulis
233b8a5ed9 Backing out a44ac6895a2f 2012-03-23 14:50:47 -07:00
Eric Chou
5fc8781e5d Bug 730990 - Device object boilerplate for DOM Bluetooth - r=qDot 2012-03-23 14:18:03 -07:00
Jared Wein
3c05f07191 Backed out changeset 5f79a3dd45ff (bug 730318) r=bustage 2012-03-23 11:11:31 -07:00
Mark Capella
1e7fdd17b2 Bug 734023 - Remove language arguments from nsIScriptGlobalObject methods, r=jst, f=ms2ger 2012-03-23 18:13:29 +01:00
Shriram Kunchanapalli
05c95fc3b7 Bug 150073 - Remove nsCRT:: in nsCRT::strlen. f=sgautherie, r=dougt 2012-02-18 19:17:01 +05:30
Kan-Ru Chen
99047503ac Bug 710135 - Move screen.enabled/brightness to mozPower. r=jlebar,mounir sr=cjones,sicking 2012-04-03 01:51:00 -04: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
Steve Fink
c7e97d8358 Bug 730208 - UnmarkGray fixups for globals and contexts. r=billm
A common source of potential black -> gray edges is JSAPI calls made on objects with gray globals or contexts holding gray globals. (The call could potentially update a black object with a pointer to that global.) This patch mostly traps places where contexts are used, and unmarks their globals. It also includes some more global unmarking.

--HG--
extra : rebase_source : 1286bdbc4c337956242c292e0fa385629ee8850b
2012-03-14 09:32:58 -07:00
Steve Fink
0f3ecde4b7 Bug 730208 - UnmarkGray various JS objects to prevent them from being used to create black -> gray edges. r=smaug
--HG--
extra : rebase_source : 00bd6f20a900e97173fafa9f5512e2ebbd3a0cac
2012-03-20 21:29:47 -07:00
Masatoshi Kimura
7a010701c4 Bug 744910 - Remove FileException from workers. r=bent 2012-04-24 19:50:00 -04:00
Mark Capella
329ec5f3aa Bug 744332 - Remove nsXULPrototypeScript::ScriptObjectHolder::mLangID. r=jst, f=Ms2ger 2012-04-24 18:31:28 -04:00
Timothy Nikkel
5fce132cd1 Bug 732016 Allow override of the scroll port size used for clamping scroll positions. r=roc 2012-04-24 13:52:35 -05:00
Matt Brubeck
a82726585c Bug 739038 - Disable window.print on Fennec [r=jst] 2012-04-13 12:45:06 -07:00
Boris Zbarsky
32c7f6e634 Bug 742217. Reduce the use of nested namespaces in our binding code. r=peterv,bent
In the new setup, all per-interface DOM binding files are exported into
mozilla/dom.  General files not specific to an interface are also exported into
mozilla/dom.

In terms of namespaces, most things now live in mozilla::dom.  Each interface
Foo that has generated code has a mozilla::dom::FooBinding namespace for said
generated code (and possibly a mozilla::bindings::FooBinding_workers if there's
separate codegen for workers).

IDL enums are a bit weird: since the name of the enum and the names of its
entries all end up in the same namespace, we still generate a C++ namespace
with the name of the IDL enum type with "Values" appended to it, with a
::valuelist inside for the actual C++ enum.  We then typedef
EnumFooValues::valuelist to EnumFoo.  That makes it a bit more difficult to
refer to the values, but means that values from different enums don't collide
with each other.

The enums with the proto and constructor IDs in them now live under the
mozilla::dom::prototypes and mozilla::dom::constructors namespaces respectively.
Again, this lets us deal sanely with the whole "enum value names are flattened
into the namespace the enum is in" deal.

The main benefit of this setup (and the reason "Binding" got appended to the
per-interface namespaces) is that this way "using mozilla::dom" should Just
Work for consumers and still allow C++ code to sanely use the IDL interface
names for concrete classes, which is fairly desirable.

--HG--
rename : dom/bindings/Utils.cpp => dom/bindings/BindingUtils.cpp
rename : dom/bindings/Utils.h => dom/bindings/BindingUtils.h
2012-05-03 00:35:38 -04:00
Myk Melez
f1228220a9 bug 746645 - Adding the white-list for myapps (or stage-myapps) has no effect with a clean FF profile; r=fabrice, a=mfinkle 2012-04-21 14:15:06 -07:00
Josh Matthews
c119292173 Bug 677194 - Change assertion to an early-return bailout. r=jst, a=akeybl 2012-02-29 12:11:03 -05:00
Boris Zbarsky
516d09b4a2 Bug 740811. Make SVGElement.prototype be Element.prototype again. r=peterv, a=akeybl 2012-04-20 21:44:35 -04:00
Mounir Lamouri
220849f37b 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
753a764c6f Bug 735261 - navigator.mozConnection should be an instance of EventTarget. r=smaug 2012-03-14 19:50:11 +01:00
Mounir Lamouri
573bc8fb91 Bug 720799 - Don't use mDocShell in nsScreen. r=jst,jlebar 2012-03-14 19:14:53 +01:00
Mounir Lamouri
fe9374bc32 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
9dc7a97d56 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
098b79e99e Backed out changeset 2cd01fd07ce8 2012-03-19 12:54:32 +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
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
Mounir Lamouri
52ab7f4c5b Bug 720799 - Don't use mDocShell in nsScreen. r=jst,jlebar 2012-03-14 19:14:53 +01:00
Mounir Lamouri
3be7d6c979 Bug 720795 - Screen Orientation API reading and event implementation in Android. r=dougt 2012-03-16 19:43:10 +01:00
Mounir Lamouri
390107621f 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
d69485a4f2 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
2898570725 Bug 736643 - Add timestamp support to GC/CC JSON output (r=terrence) 2012-03-16 16:36:26 -07:00
Jared Wein
883053cd10 Bug 730318 - Implement a way for chrome js to enumerate the plugin objects on a page for activation. r=khuey 2012-03-27 13:50:50 -07:00
Bobby Holley
ff990375c6 Bug 738956 - Wrap values in nsStructuredCloneContainer::InitFromVariant before passing them to JS_WriteStructuredClone. r=khuey 2012-03-27 11:43:11 -07:00
Bobby Holley
92d741e6a0 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
526e189372 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
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
Ed Morley
efdc9a5382 Merge last PGO-green changeset of mozilla-inbound to mozilla-central 2012-03-15 12:42:01 +00:00
Bill McCloskey
bfb7513cfa Bug 735916 - Fix javascript.options.mem.log (r=terrence) 2012-03-14 16:50:35 -07:00
Blake Kaplan
867e18420d 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
314843ddd5 Bug 725095 - Merge off-main-thread compositor from Maple. IGNORE BAD COMMIT MESSAGES 2012-03-14 11:18:15 -04:00
Benoit Girard
188ca471f6 Merge mc->Maple 2012-03-13 11:05:28 -04:00
Marco Bonardo
3e58667468 Merge last green PGO from inbound to central 2012-03-13 11:17:21 +01:00
Masatoshi Kimura
e441461b51 Bug 721569 - Implement Blob constructor. r=sicking 2012-03-12 21:44:56 -07:00
Jonas Sicking
39ecbe97e4 Bug 735094: Implement new string values (rather than numeric constants) for IndexedDB. r=bent 2012-03-12 21:44:45 -07:00
Olli Pettay
85ef818664 Bug 734057 - Make nsDOMEventTargetHelper to not have strong pointer to window, part2, r=jst 2012-03-13 02:56:20 +02:00
Olli Pettay
339e88ba7e Bug 734057 - Make nsDOMEventTargetHelper to not have strong pointer to window, r=jst,bent 2012-03-13 02:56:07 +02:00
Ali Juma
cc0282e9e5 Bug 732091 - Part 2: Add {set,get}IsFirstPaint to nsIDOMWindowUtils and nsIPresShell. r=ehsan 2012-03-12 11:50:11 -04:00
Ms2ger
f86aa6d879 Bug 734481 - Make nsIJSArgArray inherit from nsIArray; r=jst 2012-03-11 09:53:05 +01:00
Ms2ger
51265ab0b6 Bug 734473 - Remove nsIScriptContext::FinalizeContext; r=jst 2012-03-11 09:51:22 +01:00
Ms2ger
584d05b577 Bug 734472 - Pass JSObject to nsIScriptContext::SetProperty; r=jst 2012-03-11 09:50:22 +01:00
Ms2ger
7aad511ab7 Bug 734468 - Make SetTerminationFunction return void; r=jst 2012-03-11 09:49:15 +01:00
Ms2ger
6dbbe95646 Bug 732769 - Remove FileError; r=sicking 2012-03-11 09:47:38 +01:00
Igor Bukanov
30d3de8268 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
0463d2d1c5 Bug 697132 - Use nsCOMPtr constructor. r=Ms2ger 2012-03-14 18:00:29 -04:00
Nicholas Nethercote
55f276020a Bug 732843 - Handle Callback() failures in memory multi-reporters. r=jlebar.
--HG--
extra : rebase_source : 54af85a1ef839922d5443cdc36f601611258944a
2012-03-04 15:26:30 -08:00
Fabrice Desré
5b3cde6f1c Bug 697006 - Add desktop support for the Open Web Apps API - Part 1 : enable mozApps on desktop [r=gavin] 2012-03-12 17:33:10 -07:00
Fabrice Desré
733a03739b Bug 735109 - unregister message listeners on shutdown in Webapps.jsm [r=felipe] 2012-03-12 17:33:10 -07:00
Bill McCloskey
d7a654d0c5 Bug 735014 - Wait longer for PAGE_HIDE GCs (r=smaug) 2012-03-12 16:25:03 -07:00
Justin Lebar
0dbaf73150 Bug 729940 - Part 2: Stop using crappy hash functions in Gecko. r=bz
--HG--
extra : rebase_source : 6fa267a89878cc1a766d8618569debcea9b12e48
2012-03-12 18:53:18 -04:00
David Anderson
67bb3e5986 Remove JS_GetScriptedCaller (bug 732652, r=luke,mrbkap,bholley,smaug,bent). 2012-03-06 15:33:12 -08:00
Ehsan Akhgari
50c889808a Merge mozilla-central into mozilla-inbound 2012-03-14 13:40:34 -04:00
Blake Kaplan
7a4eeff601 Bug 727884 - Make nsWrapperCache::WrapObject take a JSObject scope instead of XPCWrappedNativeScope. r=peterv 2012-03-14 16:25:40 +01:00
Johnny Stenback
7baa140a51 backout Bug 679971 - remove Navigator.taintEnabled() 2012-01-05 18:24:10 +02:00
Nicholas Nethercote
4ecf193683 Bug 713799 - Rearrange the "window-objects" sub-tree in about:memory to make per-tab memory usage more obvious. r=jst.
--HG--
extra : rebase_source : f4e9407ad9a5c20ae8523d2ec087b4ee99c43877
2012-03-12 23:00:18 -07:00
Doug Turner
e323518614 Bug 733652 - Remove geolocation address handling (v2). Little adoption, costly implementation r=jdm 2012-03-08 22:16:25 -08:00
Ed Morley
12222d2d31 Backout 8b74d5ae78c3 & c619bbb2951f (bug 734391), 772c994fa869 (bug 734324), fd23ff0f9dd1 (bug 734325), d1e037a9390e (bug 733653), 3a7bf79b5b2d (bug 733650) & 9d9392fce538 (bug 733652) for OS X M1 & M3 orange 2012-03-13 22:29:29 +00:00
Terrence Cole
620f254a87 Bug 531396 - Expose detailed GC timing information API; r=smaug,billm
Extensions such as MemChaser would really like an easier to parse and more
complete record of GC events than what can be gleaned from the message console.
This patch adds GC and CC observer messages formatted as JSON containing
detailed statistics.
2012-03-05 15:33:24 -08:00
Doug Turner
d89616f66d Bug 733652 - Remove geolocation address handling (v2). Little adoption, costly implementation r=jdm 2012-03-08 22:16:25 -08:00
Peter Van der Beken
c3b954ffff Add new DOM binding for SVG list classes. r=jst.
--HG--
extra : rebase_source : ce84f9457d7b9a14a0a65db5c643938d0e0e05bc
2011-08-22 11:14:13 +02:00
Peter Van der Beken
96b0afb0da Fix for bug 734508 (Add new DOM binding for SVG list classes). r=jst.
--HG--
extra : rebase_source : c32d2fd124093ae437f000655bba7f3a5f17d99d
2011-08-22 11:14:13 +02:00
Peter Van der Beken
7d36526803 Backout 790be8926d50 to fix commit message
--HG--
extra : rebase_source : 930b7802b35784ef5d70ed359d5d9932013ad62d
2012-03-12 21:13:23 +01:00
Jacob Holzinger
acfe99c129 Bug 696242 - Convert NS_RegisterStaticAtoms and nsCSSScanner::ReportUnexpectedParams to take an array-reference rather than a pointer and length, making it impossible to pass a pointer/length that are inconsistent. r=jwalden
--HG--
extra : rebase_source : 882b5b4d500b1fa242c0a3cfa3084e4171cbaa9d
2012-03-08 18:22:57 -08:00
Matt Brubeck
465b97cf40 Merge mozilla-central to mozilla-inbound 2012-03-08 16:27:40 -08:00
Olli Pettay
4d4b25de9e Bug 730891, event ctor for StorageEvent, r=sicking,kyle 2012-03-08 23:27:05 +02:00
Rob Campbell
b13d39e0b9 merge fx-team to m-c 2012-03-08 10:30:11 -04:00
Bill McCloskey
1a94b8704e Bug 730853 - Make sure we occasionally CC with lots of incremental GCs (r=smaug,mccr8) 2012-03-08 15:37:13 -08:00
Gregor Wagner
342cbbae2a Bug 733599 - mozContacts should use DOMRequestIpcHelper. r=fabrice 2012-03-07 13:45:24 -08:00
Kan-Ru Chen
255811e424 Bug 697132 - Implement wakelock interfaces. r=jlebar 2012-03-07 12:03:25 +01:00
Bobby Holley
e6b5d5e506 Bug 733606 - Only call FinishInitForWrappedGlobal when we just created a global. r=mrbkap
Without this patch, we call the above when restoring things out of the bfcache, which is bad. It must be called exactly once.
2012-03-08 09:33:30 -08:00
Daniel Holbert
3f2d277287 Bug 732877: Remove no-longer-used variable 'oldPrincipal' from nsGlobalWindow.cpp. r=jst 2012-03-08 13:06:38 +01:00
Fabrice Desré
1cb9507de7 Bug 720415 - update navigator.mozApps m-c implementation - DOM + repo [r=gwagner] 2012-03-06 11:50:58 -08:00
Tim Taubert
71e4bec105 Bug 731726 - Moving the parentNode of a focused DOM node does not remove the node's focus ring; r=Enn 2012-03-05 20:59:50 +01:00
Justin Lebar
d77dae5390 Bug 725796 - Make window.{top,parent,frameElement} respect <iframe mozbrowser>. r=bz 2012-03-04 11:02:00 -05:00
Aryeh Gregor
dbb888ac63 Bug 711047 Part 2 - Remove RangeException in favor of DOMException. r=sicking 2012-03-01 13:35:48 -05:00
Bobby Holley
87d7f5f353 Bug 720580 - Do the last bit of wrapped global initialization once the dust has settled. r=mrbkap 2012-03-05 15:22:45 -08:00
Bobby Holley
ccb745bc93 Bug 720580 - Stop passing aExtraPtr to InitClassesWithNewWrapedGlobal. r=mrbkap
We only ever pass null here anyway, and this whole infrastructure is going away real soon now.
2012-03-05 15:22:44 -08:00
Bobby Holley
2cb54e998b Bug 720580 - Remove unnecessary aIID parameter from nsIXPConnect::InitClassesWithNewWrappedGlobal. r=mrbkap 2012-03-05 15:22:44 -08:00
Bobby Holley
f43e9eb936 Bug 720580 - Introduce a flag for global natives and assert that we have it. r=mrbkap 2012-03-05 15:22:44 -08:00
Andrew McCreight
7c84ed2c56 Bug 728460, part 2: remove childless nodes in slice before CC. r=smaug 2012-03-05 13:48:33 -08:00
Ed Morley
d27ab2302c Backout afeafc02c1de, dfae37833c9b & f9f51c726fa7 (bug 729940 parts 1-3) for talos regressions 2012-03-05 15:22:28 +00:00
Eric Chou
8f17971cf6 Bug 729991: fix followup problems of bug 713116, r=ben 2012-03-04 19:54:01 -08:00
Justin Lebar
e1a9198917 Bug 729940 - Part 3: Stop using crappy hash functions in Gecko. r=bz 2012-03-04 15:58:06 -05:00
Justin Lebar
8f94cc1764 Back out bug 729940 (a108aee:d75775d) due to 32-bit red. 2012-03-04 14:20:34 -05:00
Justin Lebar
169d0f30f5 Bug 729940 - Part 3: Stop using crappy hash functions in Gecko. r=bz 2012-03-04 13:49:42 -05:00
Matheus Kerschbaum
89b7db65ac Bug 687579 part 1: Remove globalStorage implementation. r=jst
Bug 687579 part 1: Remove globalStorage implementation. r=jst
2011-10-09 22:14:00 -04:00
David Mandelin
8984e21021 Bug 732306: Remove typedef jsint, r=luke
--HG--
extra : rebase_source : 4d15a8514dbd698c114fa688461e533afab68ffa
2012-03-01 18:54:01 -08:00
Peter Van der Beken
52dc54f3e9 Fix for bug 732175 (Generate DOM list bindings that aren't controlled by the dom.new_bindings pref and remove old bindings for NodeList/HTMLCollection/HTMLOptionsCollection). r=jst.
--HG--
extra : rebase_source : 2eeeec059fe3467769ebcc5af01c8d472c2afbb6
2012-02-27 18:02:47 +01:00
Nicholas Nethercote
9d7b189319 Bug 730181 (part 2) - Rename nsDOMMemoryReporter. r=khuey.
--HG--
rename : dom/base/nsDOMMemoryReporter.cpp => dom/base/nsWindowMemoryReporter.cpp
rename : dom/base/nsDOMMemoryReporter.h => dom/base/nsWindowMemoryReporter.h
extra : rebase_source : f3aca3b1829e03e6f8a5a0607eb437322eb62f7d
2012-02-23 18:43:33 -08:00
Nicholas Nethercote
52e0347a64 Bug 730181 (part 1) - Merge the "dom+style" and "layout" memory reporter trees. r=khuey.
--HG--
extra : rebase_source : dabcf525d823639c5ff465c7a21de8ae533e82ff
2012-02-21 07:10:11 -08:00
Nicholas Nethercote
726ecd352b Bug 723799 - Use mallocSizeOf in the DOM memory reporters. r=mounir.
--HG--
extra : rebase_source : 2eb96d2f901bbe4cc1ff6dbccdec4dc4099b08fc
2012-02-01 13:58:01 -08:00
Bas Schouten
4a81f55553 Bug 651192 - Part 6: Implement the AsyncBitmapSurface drawing model support. r=roc 2012-02-16 04:30:22 +01:00
Bas Schouten
a001434e6c Bug 651192 - Part 2: Update interface and stub implementors which don't have support. r=roc 2012-02-16 04:08:41 +01:00
Bobby Holley
664a6c0d5e Bug 691178 - Refuse to wrap windows that are on the way out. r=jst 2012-02-29 18:09:16 -08:00
Igor Bukanov
3732e3e290 bug 730281 - remove cx argument from GC and compartment related functions. r=:billm 2012-02-29 13:18:16 +01:00
David Mandelin
0be0db4666 Bug 730511: remove obsolete typedefs intN, uintN, r=luke 2012-02-28 15:11:11 -08:00
Peter Van der Beken
b3213dcf89 Fix for bug 637099 (Remove JS_ClearScope calls on windows). r=mrbkap.
--HG--
extra : rebase_source : 8bdadc72a0b28c78e21758fab8f1035ee1dd9f3d
2011-03-15 12:06:39 +01:00
Peter Van der Beken
28f90dc67b Fix for bug 731227 (Fix script object ownership in IDBWrapperCache/IDBCursor). r=bent.
--HG--
extra : rebase_source : 86074980306682ebe1c4df8e09c4c2f3c51c4bf2
2012-02-27 17:52:19 +01:00
Ed Morley
bbbd8658b5 Merge mozilla-central to mozilla-inbound 2012-02-28 02:55:32 +00:00
Olli Pettay
ae2af798ac Bug 730753, call CC after full GC, r=mccr8 2012-02-27 16:49:59 +02:00
Wes Johnston
f236dbc153 Bug 725458 - Dispatch touch events notification, even if window isn't focused. r=felipe,smaug 2012-02-27 13:23:06 -08:00
David Mandelin
59dcf8cdf7 Bug 725550: remove obsolete typedef jsdouble, r=jwalden 2012-02-24 14:19:52 -08:00
Marco Bonardo
74afb56c79 Backout 4fc2f49371a8 (bug 725550) for build failures 2012-02-25 00:16:47 +01:00
David Mandelin
ad7cda83f5 Bug 725550: remove obsolete typedef jsdouble, r=jwalden
--HG--
extra : rebase_source : 772c2982184d7b3d1680737323395365e6b218da
2012-02-24 14:19:52 -08:00
Jonas Sicking
5e2c35737e Bug 722626: Implement DOMRequest object. r=mrbkap 2012-02-24 14:19:49 +01:00
Andrew McCreight
0439fbfdb6 Bug 697115 - return detailed CC results. r=smaug 2012-02-23 20:16:37 -08:00
Vivien Nicolas
0bb1089192 Bug 729430 - Expose screen.mozEnabled, screen.mozBrightness to whitelisted applications r=jlebar 2012-02-24 02:55:44 +01:00
Neil Deakin
e74745aeb4 Bug 653230, add panels with focusable elements into the document tab navigation order, r=smaug 2012-02-23 16:02:33 -05:00
Ben Turner
7af9098625 Backed out changeset 1f3643b7de2d 2012-02-23 07:09:11 -08:00
Ben Turner
3dc2527e7f Bug 717414 - 'Telephony: Make calls array live'. r=sicking. 2012-02-23 03:48:35 -08:00
Florian Boesch
fc9e33241d Bug 728354 - Implement WebGL EXT_texture_filter_anisotropic extension *proposal* - r=bjacob
The spec proposal for this extension is at
  https://cvs.khronos.org/svn/repos/registry/trunk/public/webgl/extensions/proposals/EXT_texture_filter_anisotropic/index.html

This adds a conformance test as well, that will have to be merged upstream.
2012-02-23 08:43:57 -05:00
Luke Wagner
7a0444dc60 Bug 720289 - Back out most of bug 699974 (r=jst) 2012-02-22 19:39:29 -08:00
Ed Morley
ef395cb269 Merge mozilla-central to mozilla-inbound 2012-02-23 01:03:16 +00:00
Masatoshi Kimura
d1bbe6a3ba Bug 720208 - Implement DOM4 DOMException types and codes. r=smaug,ms2ger 2012-02-23 01:34:14 +01:00
Olli Pettay
6c798e3681 Bug 728577 - nsGlobalWindow::mFocusedNode seems to keep documents alive longer than needed, r=Enn 2012-02-22 19:08:40 +02:00
Ed Morley
ec5a7c5b3d Merge last PGO-green changeset of mozilla-inbound to mozilla-central 2012-02-21 11:59:33 +00:00
Ms2ger
a8e72a0529 Bug 726968 - Fix some dom/ build warnings; r=mounir 2012-02-21 10:34:01 +01:00
Olli Pettay
77efecd0c1 Backout Bug 704623, a=dromaeo regression
--HG--
extra : rebase_source : ab8b467e3aac40a56b5df6d56477603dacfc7c69
2012-02-20 14:54:45 +02:00
Ed Morley
efe21ddd01 Merge last PGO-green changeset of mozilla-inbound to mozilla-central 2012-02-20 12:08:28 +00:00
Chris Pearce
b683a7c0e3 Bug 727303 - Add nsPIDOMWindow::SetFullScreenInteral. r=roc 2012-02-20 10:02:08 +13:00
Olli Pettay
21bbe4cd7b Bug 728547 - Increase the forgetSkippable timer value, r=mccr8 2012-02-19 20:36:06 +02:00
Robert Longson
58b3d6c3ae Bug 728665 - SVGTests interface missing from foreignObject elements. r=jwatt 2012-02-20 19:34:04 +00:00
Kyle Machulis
0ec84a60d2 Bug 711601 - B2G Bluetooth Boiler Plate r=bent 2012-02-20 16:15:19 +01:00
Ed Morley
9615249973 Merge mozilla-central to mozilla-inbound 2012-02-18 00:36:09 +00:00
Kyle Machulis
fc01ae2278 Back out bug 711601 (changeset 4c8aa2b0ca1c) due to qemu breakage 2012-02-17 15:54:27 -08:00
Bill McCloskey
c6cd982f05 Bug 641025 - Incremental GC (r=igor,smaug,roc,cdleary,gregor) 2012-02-17 14:35:20 -08:00
Kyle Machulis
2fed82f6c6 Bug 711601 - Bluetooth Implementation on B2G - patch 1: Boilerplate code for creating navigator.mozBluetooth object. r=bent 2012-02-15 13:37:13 -08:00
Kyle Machulis
55bf17714a Bug 711601 - Bluetooth Implementation on B2G - patch 1: Boilerplate code for creating navigator.mozBluetooth object. r=bent 2012-02-14 17:51:52 -08:00
Olli Pettay
e87ef6bf98 Bug 726007 - Add telemetry probes for forgetSkippable, r=mccr8
--HG--
extra : rebase_source : aa3a24a53fc95c41bbe460bba732cc5e024107dc
2012-02-11 01:30:20 +02:00
Ed Morley
04d8171793 Merge last PGO-green changeset of mozilla-inbound to mozilla-central 2012-02-10 12:14:39 +00:00
Ms2ger
e7718fdf3a Bug 718287 - Remove plugins ForceRedraw functions; r=bz 2012-02-10 11:04:45 +01:00
Igor Bukanov
18e6a2e079 bug 724310 - drop cx argument from JSObject field and fixed slots infallible API. r=:Waldo
--HG--
extra : rebase_source : b78519db2ff008eb5143676d2db47935f0e89f45
2012-02-05 21:07:23 +01:00
Igor Bukanov
eb3cfce3dc backout merge for bug 724310. r=irc 2012-02-09 21:28:22 +01:00
Igor Bukanov
efe64d22c0 bug 723517 - drop cx argument from JSObject field and fixed slots infallible API. r=:Waldo
--HG--
extra : rebase_source : c461dfc0e0e0462ab262cc01c2a771d3bb0971cc
2012-02-05 21:07:23 +01:00
Ed Morley
7307ed3da9 Backout 1ca8d5a931ac (bug 720799), e4781b684008 (bug 720795), 8a4e12d93a23 & 1fc8123a2ea4 (bug 720794) for bustage 2012-02-09 16:42:07 +00:00
Mounir Lamouri
62a283786d Bug 720799 - Don't use mDocShell in nsScreen. r=jst 2012-02-06 16:31:16 +01:00
Mounir Lamouri
d7b22aa947 Bug 720795 - Screen Orientation API reading and event implementation in Android. r=dougt 2012-02-09 11:29:44 +01:00
Mounir Lamouri
78778ee58e Bug 720794 - Part 2 (DOM) - Implement reading and event parts of Screen Orientation API. r=jst sr=sicking 2012-02-09 16:55:54 +01:00
Mounir Lamouri
9a91fc2028 Bug 720794 - Part 1 (HAL) - Implement reading and event parts of Screen Orientation API. r=cjones 2012-02-07 13:23:45 +01:00
Ed Morley
08ace01a8b Backout 79121553f728 (bug 720799), 4a763183482f (bug 720795), e965486f4b50 & 4a7c7c6b9b11 (bug 720794) for failing to build on any platform 2012-02-09 12:06:50 +00:00
Mounir Lamouri
c8c04772bd Bug 720799 - Don't use mDocShell in nsScreen. r=jst 2012-02-06 16:31:16 +01:00
Mounir Lamouri
8ad303fbe4 Bug 720795 - Screen Orientation API reading and event implementation in Android. r=dougt 2012-02-09 11:29:44 +01:00
Mounir Lamouri
78ec05a20b Bug 720794 - Part 2 (DOM) - Implement reading and event parts of Screen Orientation API. r=jst sr=sicking 2012-02-09 11:29:09 +01:00
Mounir Lamouri
d14a9f14d3 Bug 720794 - Part 1 (HAL) - Implement reading and event parts of Screen Orientation API. r=cjones 2012-02-07 13:23:45 +01:00
Edmund Wong
5d7814eb00 Bug 693172 - Moved all subclasses of nsDOMEventTargetWrapperCache to nsDOMEventTargetHelper and then merged the classes. r=smaug 2012-02-08 10:53:33 +08:00
Saint Wesonga
dd27ef3bf5 Bug 394769. Remove the additional lateness argument for timeouts and intervals. r=jst 2012-02-07 15:28:08 -05:00
Neil Deakin
cb7c3c2729 Bug 707382, merge nsIDOMDataTransfer and nsIDOMNSDataTransfer, r=jonas 2012-02-07 13:02:32 -05:00
Johnny Stenback
742aa9d9eb Bug 704623, part 1. Track orphan DOM nodes so that they can be reported in about:memory. r=smaug 2012-02-14 15:13:19 -08:00
Chris Leary
355fa9c5a4 Bug 700822: Randomize JIT VirtualAlloc location on win32, sans XP. (r=dmandelin)
--HG--
extra : rebase_source : 155b9cf9bb9fc6e70efd5ca4a2b20e76f3526fc5
2012-02-13 21:36:11 -08:00
Neil Deakin
62ea709480 Bug 670317, add a focus manager flag to restrict tab navigation to the same frame, r=smaug 2012-02-13 14:24:28 -05:00
Nicholas Nethercote
ddd936d488 Bug 689583 - Add names for memory multi-reporters. r=jlebar.
--HG--
extra : rebase_source : adb3fb2cbbb8a07b60edd48c7dc9a3a4a4763b79
2012-02-06 17:02:59 -08:00
Igor Bukanov
afb57a37a5 bug 723517 - Drop cx argumrent from JS_GetClass(cx, obj). r=luke 2012-02-04 01:54:57 +01:00
Jonathan Kew
d5eafc2a16 backout c18523b51058 (bug 716014) on suspicion of causing Win Debug reftest timeouts. 2012-02-03 14:01:35 +00:00
Olli Pettay
9aeadab10e Bug 716014 - Use CompartmentGC more often, r=billm,mccr8 2012-02-02 22:34:53 +02:00
Matt Brubeck
7e74c1f71e Merge mozilla-central and mozilla-inbound 2012-02-01 17:09:34 -08:00
Olli Pettay
a47dc45e07 Bug 723157 - Call forgetSkippable more often, r=mccr8
--HG--
extra : rebase_source : fdbca61ec4ef1d5898539f24248dd19f2767103e
2012-02-01 19:44:03 +02:00
Olli Pettay
d584597795 Bug 723064 - Many debug xpcshell-tests show leaks of 1 each of Mutex, ReentrantMonitor, nsTArray_base, nsThread, nsTimerImpl, r=mccr8
--HG--
extra : rebase_source : 7ec508569cf5a64cea12fb5f085f4feb1f9234bd
2012-02-01 19:41:17 +02:00
Ed Morley
348060a7c3 Merge last PGO-green changeset of mozilla-inbound to mozilla-central 2012-02-01 10:55:34 +00:00
Josh Aas
b0e5e866d9 Bug 90268: Change plugin instance ownership from layout to content. r=roc r=bsmedberg 2012-01-31 16:55:54 -05:00
Ed Morley
d5d841cf5b Merge last PGO-green changeset of mozilla-inbound to mozilla-central 2012-01-31 10:52:29 +00:00
Olli Pettay
ec071d2d29 Bug 721543 - Call forgetSkippable before CC, r=mccr8
--HG--
extra : rebase_source : 4be50f8bcab1418c563394379abb6b4f074697b3
2012-01-30 22:06:18 +02:00
Felipe Gomes
4528bd7e5a Bug 714276. NodesFromRect should be a chrome-only API. r=smaug
--HG--
rename : dom/tests/mochitest/general/489127.html => dom/tests/mochitest/chrome/489127.html
rename : dom/tests/mochitest/general/test_nodesFromRect.html => dom/tests/mochitest/chrome/test_nodesFromRect.html
2012-01-27 16:54:03 -08:00
Peter Van der Beken
17cd65acea Back out 570dd369e02a, bc777c65c5ca and 12a483042e9a to fix bustage 2012-01-27 15:34:30 +01:00
Wes Johnston
651bf81f36 Bug 722627 - Send window with touch event listener notification. r=smaug 2012-01-31 09:48:54 -08:00
Kan-Ru Chen
faa9dbdd99 Bug 709585 - Part 4, Dummy PowerManager DOM code. r=sicking
--HG--
extra : rebase_source : 57ff9f770d39551bf72f421166acbe21dc38ac23
2012-01-19 22:24:00 -05:00
Kan-Ru Chen
c5f795e4f8 Bug 709585 - Part 3, Plug mozPower into navigator object. r=sicking
--HG--
extra : rebase_source : 8382e9c044feca9b2e511e022a3bb4fe64ca0d4b
2012-01-19 22:24:00 -05:00
Jonathan Watt
2b3483249b Bug 722071 - Implement array style indexing for SVGStringList. r=mrbkap. 2012-01-31 13:18:08 +00:00
Nathan Froyd
8e520a8e46 Bug 715953 - add telemetry for recent background timers; r=bz 2012-01-18 09:35:05 -08:00
Scott Johnson
d896cba482 Backout 648e5e5b9dd3 for bustage on windows. 2012-01-30 18:49:33 -06:00
Scott Johnson
71fdb90d5d Backout 656500fc5e79 for windows bustage. 2012-01-30 18:48:33 -06:00
Kan-Ru Chen
c3d70d243a Bug 709585 - Part 4/6, Dummy PowerManager DOM code. r=sicking
--HG--
extra : rebase_source : f83eef1e296a6c006032a7e30e26bd7ca32b4490
2012-01-30 17:02:49 -06:00
Kan-Ru Chen
b7447a1204 Bug 709585 - Part 3/6, Plug mozPower into navigator object. r=sicking
--HG--
extra : rebase_source : ec26dca3f0adf92da1940a42e80b6dc4398bf12b
2012-01-30 17:02:46 -06:00
Ed Morley
df5e69d443 Backout 0e6b1dfaa99c (bug 720208) for M1 orange 2012-02-01 12:58:07 +00:00
Peter Van der Beken
234f42c6e0 Fix for bug 693811 ("Assertion failure: shouldCacheProtoShape(cx, proto, &shouldCache) && shouldCache" in ListBase::nativeGet). r=mrbkap.
--HG--
extra : rebase_source : 191e550e9aac822f82e771a5a21fe74f90f728cb
2011-10-14 23:29:36 +02:00
Christian Holler (:decoder)
d6e6498fe1 Bug 703912 - Avoid format string problem in window.dump on mobile; r=blassey 2012-01-26 11:46:48 -08:00
Marco Bonardo
650ada821b Merge mozilla-central to mozilla-inbound 2012-01-26 19:34:35 +01:00
Olli Pettay
5a5b5fea2b Bug 720808 - Add nsJSEventListener and nsGlobalWndow to BBP, r=mccr8
--HG--
extra : rebase_source : e6512fe1b8b19b3ddd959b992ce0f2672b0b072f
2012-01-26 16:03:21 +01:00
Bill McCloskey
b5b7133e4b Bug 706227 - Add way for JS_GC API users to give detailed reason for invocation (r=mccr8) 2012-01-25 10:59:55 -08:00
Ms2ger
924b63075d Merge m-c to m-i. 2012-01-25 11:06:40 +01:00