Commit Graph

8055 Commits

Author SHA1 Message Date
Mounir Lamouri
3a48eb546d Bug 678694 - (3/7) Plug mozBattery into navigator object. r=sicking 2011-11-02 13:04:39 +01:00
Mounir Lamouri
2e9edaffd9 Bug 678694 - (2/7) BatteryManager interface. r=sicking 2011-11-02 13:05:09 +01:00
Mounir Lamouri
dcf4836f2d Bug 678694 - (1/7) Makefile boilerplate. r=sicking 2011-11-02 12:51:38 +01:00
Mounir Lamouri
2fdb2a60b7 Bug 698932 - Use rv in Navigator::JavaEnabled. r=Ms2ger 2011-11-02 12:04:28 +01:00
Mounir Lamouri
b4c7d284fb Bug 695287 - Move Navigator declaration and definition outside of nsGlobalWindow.{h,cpp}. r=Ms2ger
This patch is creating Navigator.h and Navigator.cpp and makes Navigator part
of the mozilla::dom namespace.
2011-11-02 14:44:16 +01:00
Marco Bonardo
e73129ca6c Merge mozilla-central to mozilla-inbound 2011-11-03 10:46:56 +01:00
Neil Rashbrook
c160626ea3 Bug 698217 DeCOMtaminate nsIPrefServiceInternal r=roc 2011-11-02 14:51:39 +00:00
Kyle Huey
d9fb132443 Merge m-i to m-c. 2011-11-02 08:24:41 -04:00
Doug Turner
aea182ff7f Bug 668194 - Geolocation times out and/or does not properly use wifi access points information (awful accuracy) r=mfinkle. 2011-11-01 21:04:35 -07:00
Henri Sivonen
8fd5e88e4a Bug 482921 part 3 - Highlight tree builder-level errors in View Source. r=Olli.Pettay. 2011-11-01 13:33:11 +02:00
Henri Sivonen
2df8639026 Bug 482921 part 2 - Highligh tokenizer-level errors in View Source. r=Olli.Pettay. 2011-11-01 13:33:11 +02:00
Chris Pearce
5ee29e64a4 Bug 688648 - Dispatch mozfullscreenerror event when requests for full-screen are denied. r=smaug 2011-11-02 13:02:47 +13:00
Boris Zbarsky
305d6259bc Bug 697250. When an interval is very late, just go ahead and schedule it for firing ASAP and update its target time to 'now' (the latter to prevent misbehavior when the interval is very late due to the computer being suspended, say) instead of trying to schedule it for a while from now. r=jst 2011-11-02 23:35:01 -04:00
Ed Morley
e3a9d13abe Backout eb32aca6d54d, b5c0bfd03fcf and 5675bf2c7930 (bug 692669 and bug 692669) for failing to build on all platforms 2011-11-03 01:57:48 +00:00
Ben Turner
3802431210 Bug 692669 - 'IndexedDB: remove nsIVariant from IDB* interfaces'. Fix up linux build issue. 2011-11-02 18:27:52 -07:00
Ben Turner
e9cbaf149d Bug 692629 - 'IndexedDB: Support IDBObjectStore/IDBIndex.count'. r=sicking.
--HG--
extra : transplant_source : %CC%FEE%A0%E0%FD%AC%23%E8%BB%8BrV%95%A5%1B4If7
2011-11-02 18:03:47 -07:00
Ben Turner
09728f7547 Bug 692669 - 'IndexedDB: remove nsIVariant from IDB* interfaces'. r=sicking.
--HG--
extra : transplant_source : E%E9%F9%B5%FB%88%1E%FA%C1%BE%04%1F%1E%3D%5E%EB%3C%D2%D2c
2011-11-02 18:03:15 -07:00
Chris Pearce
148c5caba1 Bug 696918 - Restrict key input in DOM full-screen mode to explicit whitelist. r=smaug 2011-11-03 08:17:32 +13:00
Benoit Girard
65b0860ab2 Bug 694039 - Follow up fix, remove printf r=jmuizelaar 2011-10-28 10:19:07 -04:00
Ricardo Palomares
d9be0fbfb5 Bug 698935 - Make errStrayStartTag say "start" instead of "end". r=hsivonen. 2011-11-02 15:14:39 +02:00
Ricardo Palomares
42ffb8f0ef Bug 698866 - Typo in errNonSpaceInTable message. r=hsivonen. 2011-11-02 15:14:39 +02:00
Kyle Huey
2c7a2e1bea Bug 698440: Implement IndexedDB optional version syntax. r=bent 2011-11-02 08:53:12 -04:00
Kyle Huey
3140fc9fd4 Bug 697247: Part 2 - Rework IDB synchronization mechanisms. r=bent 2011-11-02 08:53:12 -04:00
Kyle Huey
9951eda078 Bug 697247: Part 1 - Use atoms instead of hashes for database IDs. r=bent 2011-11-02 08:53:12 -04:00
Andreas Gal
43493514bd Bug 693212 - Fix "Assertion failure: !cx->isExceptionPending()" by adding a missing ReportPendingException() call. r=bzbarsky 2011-11-04 19:05:35 +01:00
Ben Turner
2371c2098d Bug 699857 - 'Workers: Allow data urls'. r=sicking. 2011-11-04 10:57:42 -07:00
Ben Turner
03f045162c Bug 699633 - "Inline workers broken". r=sicking, test by Jussi Kalliokoski <jussi.kalliokoski@gmail.com>. 2011-11-04 09:32:17 -07:00
Boris Zbarsky
2c572e2413 Bug 698551. When forwarding gets to the prototype in nodelists, make sure to use the right |this|. r=waldo,peterv 2011-11-04 12:18:38 -04:00
Panos Astithas
5fe53f36e1 Bug 658368 - Expand console object with time and timeEnd methods that add a simple timer implementation; r=msucan,sdwilsh sr=gavin 2011-06-01 09:33:22 +03:00
Chris Pearce
309fcdab1e Bug 691583 - Dispatch showfullscreenwarning chrome event when restricted key pressed in DOM full-screen mode. r=smaug 2011-11-01 18:11:40 +13:00
Jeff Gilbert
ff27c8a903 Bug 697168 - Removes WebGL overloads for untyped ArrayBuffers where disallowed - r=bjacob 2011-10-31 16:55:00 -07:00
Brian Smith
c70f428cda Bug 686248: Add isExtendedValidation to nsISSLStatus so it can be used by mobile, r=meyhemer
--HG--
extra : rebase_source : 6d21f2fdc3cb587874662cc23f84503e63b95ed1
2011-10-30 11:43:06 -07:00
Olli Pettay
2ba8604d78 Bug 698061 - document.importNode's deep attribute should be optional, r=sicking 2011-10-30 23:17:53 +02:00
Ms2ger
7852c8dc13 Bug 696668 - Give nsIScriptContext::CallEventHandler a JSObject scope parameter; r=mrbkap 2011-10-29 22:19:03 +02:00
Ms2ger
a4ff6e7232 Bug 696666 - Give nsIScriptContext::BindCompiledEventHandler a JSObject scope parameter; r=jst 2011-10-29 22:18:21 +02:00
Ms2ger
ff22313bf8 Bug 696663 - Make nsIJSEventListener::mScopeObject a JSObject; r=smaug 2011-10-29 22:17:43 +02:00
Ms2ger
b6e4d8c64c Bug 696665 - Give nsJSContext::JSObjectFromInterface a JSObject scope parameter; r=volkmar 2011-10-29 22:17:00 +02:00
Ms2ger
15d926b983 Bug 696661 - Make nsIJSEventListener::mHandler a JSObject; r=jst 2011-10-29 22:16:43 +02:00
Ms2ger
7834af665f Bug 694867 - Part f: Pass a JSScript to nsIScriptContext::ExecuteScript; r=volkmar 2011-10-29 22:15:43 +02:00
Ms2ger
fb9a3df8f4 Bug 694867 - Part b: Pass a JSScript to nsXULPrototypeScript::Set; r=volkmar 2011-10-29 22:13:31 +02:00
Ms2ger
38fb4a105b Bug 694867 - Part a: Pass a JSScript to nsIScriptContext::Serialize and store a JSScript in nsXULPrototypeScript::ScriptObjectHolder::mObject; r=volkmar 2011-10-29 22:12:47 +02:00
Ms2ger
8a093cd695 Bug 694838 - Make nsIScriptContext::EvaluateString's second parameter a JSObject; r=volkmar 2011-10-29 22:11:51 +02:00
Ms2ger
1f2439ff66 Bug 694781 - Make nsIScriptContext::ExecuteScript's second parameter a JSObject; r=volkmar 2011-10-29 22:10:49 +02:00
Ms2ger
a8dba5714a Bug 694769 - Remove nsIScriptContext::GetScriptGlobal in favour of GetGlobalJSObject; r=smaug 2011-10-29 22:09:04 +02:00
Ms2ger
d804dd409b Bug 694763 - Remove nsIScriptContext::DidSetDocument; r=jst 2011-10-29 22:06:42 +02:00
Ms2ger
36940470e1 Bug 694759 - Make nsIScriptContext::GetNativeGlobal return JSObject; r=jst 2011-10-29 22:06:17 +02:00
Ms2ger
6d97442563 Bug 684821 - Remove nsIDOMNSHTMLElement; r=peterv 2011-10-29 22:03:55 +02:00
Jonas Sicking
591066d996 Bug 687400: Kill Node.isSameNode. r=smaug 2011-10-28 19:52:27 -07:00
Rafael Ávila de Espíndola
eff68e2758 Bug 697992 - Use DebugOnly/NS_WARN_IF_FALSE in dom/src/storage/nsDOMStorage.cpp. r=mak. 2011-10-28 18:29:34 -04:00
Jonathan Watt
66f54fe5a4 Bug 695303 - Add a mozilla::clamped function to replace NS_CLAMP (so side affects of args are evaluated no more than once) and NS_MIN(max, NS_MAX(val, min)) (to make code clearer). r=bsmedberg. 2011-10-28 19:33:28 +01:00
Mark Banner
18642c515f Bug 693949 - Drop nsCStringArray. r=bsmedberg 2011-10-28 08:35:45 +01:00
Ed Morley
9e7a151909 Merge mozilla-central and mozilla-inbound 2011-10-28 02:11:57 +01:00
Josh Aas
90b8667157 Bug 649079: Plugin crash fix (parent process). r=bz 2011-10-27 16:00:49 -04:00
Tim Taubert
d210082852 merge the last green changeset on m-c to fx-team 2011-10-27 15:48:08 +02:00
Marco Bonardo
cc1ce66366 Merge mozilla-central and mozilla-inbound 2011-10-27 10:36:13 +02:00
Chris Pearce
b5ab4cc308 Bug 684618 - Deny requests for full-screen in documents containing windowed plugins. Exit full-screen when windowed plugin added document. r=roc 2011-10-27 15:57:09 +13:00
Timothy Nikkel
f10d3e436c Bug 658005. Part 2. Add a frame visibility API that takes into account everything we need, and use it. r=roc 2011-10-26 18:57:55 -05:00
Ed Morley
6b02cf4229 Merge last green changeset of mozilla-inbound to mozilla-central 2011-10-27 00:30:46 +01:00
Doug Sherk
942467690c Bug 656824: Implemented ARB_robustness to detect driver resets in WebGL, only on GLX for now - r=bjacob
This patch implements ARB_robustness on GLX and allows scripts to handle driver resets
through events. The changes in this patch are very sweeping; they hit almost
every NS_IMETHODIMP function within WebGLContextGL.cpp and WebGLContext.cpp.
More work must be done on this to support EGL_CONTEXT_LOST.
2011-10-26 16:00:44 -04:00
Kyle Huey
10afd322c0 Bug 697177: Disable test that's triggering some known bugs. 2011-10-26 14:59:09 -04:00
Olli Pettay
122b6baf78 Bug 291653, make window level listeners work consistently with other listeners, r=jst 2011-10-26 14:49:37 +03:00
Matt Woodrow
3043e9d166 Bug 695275 - Add CheckAndClearPaintedState to test painting. r=roc 2011-10-26 16:23:26 +13:00
Kyle Huey
6cc3c72b79 Bug 692991: Refactor some VERSION_CHANGE transaction locking stuff and disallow transaction creation before databases are completely open. r=bent 2011-10-25 08:49:31 -04:00
Panos Astithas
177786d5f7 Bug 696288 - Regression: Processing.js Performance Tests don't work; r=ddahl,smaug 2011-10-24 11:12:24 +03:00
Benoit Girard
2da377bf15 Bug 694039 - Load plugin quirks during interpose. r=jmuizelaar 2011-10-26 22:57:26 -04:00
Benoit Girard
dd00cb91c6 Bug 694039 - Add Offline Renderer support to nsCARenderer. r=jmuizelaar 2011-10-20 16:32:38 -04:00
Igor Bukanov
328fbe7fcc bug 684529 - remove script object. r=jorendorff 2011-09-22 12:08:55 +02:00
Ed Morley
b0fe31a45c Merge mozilla-inbound to mozilla-central 2011-10-22 13:58:26 +01:00
Kyle Huey
66631476a5 Bug 696362: OpenDatabaseHelper can release objects on the wrong thread. r=bent 2011-10-22 07:56:19 -04:00
Marco Bonardo
36e97f68a2 Backout cb50e96dbee0 (Bug 677079) for Win PGO mochitests failures. 2011-10-22 11:03:26 +02:00
Marco Bonardo
cc836abae5 Backout 564144b09c4b, 049ba0a8823f, 608feeb4539c, d2e6a61338cc (Bug 695275) to investigate Android Crashtests permaorange. 2011-10-21 14:19:22 +02:00
Marco Bonardo
a6e3f54ab0 Merge last green changeset from mozilla-inbound to mozilla-central 2011-10-21 10:00:11 +02:00
Matt Woodrow
fe35be1d9c Bug 695275 - Follow-up to fix review comments that I missed. 2011-10-21 14:33:00 +13:00
Matt Woodrow
00e692667f Bug 695275 - Add nsIDOMWindowUtils::CheckAndClearPaintedState to test painting. r=roc 2011-10-21 14:21:40 +13:00
Bill McCloskey
f206d1014a Bug 677079 - Remove jscntxt.h from INSTALLED_HEADERS (r=Waldo) 2011-10-20 10:14:24 -07:00
Jeff Walden
e3f1dfe121 Pick up a few straggler uses of {NS,JS}_ARRAY_LENGTH, probably added since the switch but before the deprecation announcement, and convert them to mozilla::ArrayLength. Also convert the two users of PR_ARRAY_SIZE, yet another length-computing macro, to mozilla::ArrayLength. No bug, r=sparky
--HG--
extra : rebase_source : f019e35a037516df872d0efb7262fa9c475f903c
2011-10-21 03:16:47 -07:00
Oleg Romashin
0b33ccaea4 Bug 694706 - Get rid of checkerboard for remote viewport. r=cjones 2011-10-20 15:17:09 -07:00
Kyle Huey
bee1f84b2f Bug 687361: Implement the new IndexedDB setVersion API. r=bent
--HG--
rename : dom/indexedDB/nsIIDBVersionChangeRequest.idl => dom/indexedDB/nsIIDBOpenDBRequest.idl
2011-10-20 12:10:56 -04:00
Justin Lebar
b79dd11cfa Bug 683777 - In an attempt to fix a crash in nsDocShell::InternalLoad, re-land bug 646641 with an extra null-check. r=smaug 2011-10-21 11:26:34 -04:00
Olli Pettay
4533393482 Bug 695758 - Don't limit E10s event/focus handling to xul:browser, but allow also xul:iframe, r=felipe 2011-10-20 15:11:31 +03:00
Josh Matthews
b39598295e Bug 691424 - Ensure that plugin processes that can't create a crash reporter actor abort the plugin creation process. r=bsmedberg 2011-10-19 15:32:17 -04:00
Steven Michaud
e7fcaffff2 Bug 687610 - QuickTime can't play media from the network cache when running OOP. r=bsmedberg 2011-10-19 09:46:24 -05:00
James Willcox
2f1612e0e6 Bug 692198 - Make Flash on Android draw to bitmap intead of SurfaceView directly
From 718909dd4d8c1b1ffb2e8ea72cc7d75c281e0773 Mon Sep 17 00:00:00 2001

--HG--
extra : rebase_source : 01bc243a06d5470b559c8c892425d7918b5a7de3
2011-10-05 14:44:19 -04:00
James Willcox
53f52b3cc9 Bug 692200 - Make 'plugins.force.wmode' pref override any other wmode
From 1c3c36534accbc956a5b88278ebc165626c8a8f0 Mon Sep 17 00:00:00 2001
This also enables the preference on Android. We need this because
the fix for bug 692200 breaks 32bit support, which is used
in 'transparent' (and probably other) wmodes. We force it
to 'opaque' to avoid this.

--HG--
extra : rebase_source : 9f9a555577090cafb7245c26d6eee09a37d5d964
2011-10-05 14:43:16 -04:00
Marco Bonardo
93cda556c0 Merge mozilla-central to mozilla-inbound 2011-10-19 11:50:01 +02:00
Marco Bonardo
ea7024ac8c Merge last green changeset from mozilla-inbound to mozilla-central 2011-10-19 11:47:57 +02:00
Joel Maher
3b5c4e36d3 Bug 675245 - cleanup pluginutils and SimpleTest.executeSoon() to utilize specialpowers. r=ted 2011-10-19 05:35:05 -04:00
Olli Pettay
5a92aedb22 Bug 682420 - Rename nsINode::GetOwnerDoc to nsINode::OwnerDoc, part 2, r=jst
--HG--
extra : rebase_source : 53dc2ec386f6e4147587e6be3c53d297ad71d57a
2011-10-18 14:19:44 +03:00
Olli Pettay
2c2da3099f Bug 682420 - Rename nsINode::GetOwnerDoc to nsINode::OwnerDoc, part 1, r=jst
--HG--
extra : rebase_source : baf1a25cdea68d499a7673fdf96e27b5a12dc83c
2011-10-18 13:53:36 +03:00
Ehsan Akhgari
5231396c42 Bug 695243 - Cast the 32-bit integers to 16-bit ones explicitly in order to fix clang builds; r=benwa
This is fine since the dimensions of a plugin cannot be more than USHRT_MAX.
2011-10-17 21:42:07 -04:00
Justin Lebar
8a9b2241c2 Back out rev 571224f5f4e5 (bug 683777) due to Android b-c orange. 2011-10-17 21:09:17 -04:00
Justin Lebar
84c0c28718 Bug 683777 - Back out bug 646641 on suspicion of causing crashes. rs=smaug 2011-10-12 20:15:28 -04:00
Oleg Romashin
c7bbdd04ae Bug 693930 - Release layer tree for inactive tabs. r=roc 2011-10-18 15:28:39 -04:00
Blake Kaplan
b41bdd602b Bug 665279 - Resolve interface constants properly through Xray wrappers. r=peterv 2011-09-21 19:16:50 -07:00
Benoit Girard
3805b3cd62 Bug 691354 - Enable test fix by changes. r=jmuizelaar 2011-10-17 13:09:03 -07:00
Peter Van der Beken
506577d2e0 Fix for bug 693258 (Fixes for test failures when turning off new list DOM bindings). r=bz/Waldo.
--HG--
extra : rebase_source : f0b6f8443cc29098ce75c114ff5a343597d9f38c
2011-10-13 15:36:09 +02:00
Peter Van der Beken
591866c51a Fix for bug 669096 (Injecting function from chrome extends the lifetime of navigated-away inner window). r=mrbkap.
--HG--
extra : rebase_source : 3375132c3e507e09dd79e63d277769090040f6bf
2011-08-30 16:22:01 +02:00
Justin Lebar
6ac6233eb1 Bug 683777 - Back out bug 646641 on suspicion of causing crashes. rs=smaug 2011-10-12 20:15:28 -04:00
Ehsan Akhgari
92064e6d3f Bug 690892 - Replace PR_TRUE/PR_FALSE with true/false on mozilla-central; rs=dbaron
Landing on a CLOSED TREE
2011-10-17 10:59:28 -04:00
Benoit Girard
d519615a52 Bug 692759 - Fix Non-InvalidatingCoreAnimation refresh timer for async layers plugins. r=smichaud
--HG--
extra : rebase_source : 3017218abbe7897aa34b7a868cc63e49550246ce
2011-10-14 14:00:44 -04:00