Commit Graph

4968 Commits

Author SHA1 Message Date
Ben Turner
594a9b2961 Bug 692671: IndexedDB: remove timeout in database operations. r=sicking. 2011-11-08 09:43:00 -08:00
Ed Morley
5eaf370364 Bug 700166 - Hg rm dom/interfaces/threads/ since it's no longer built; r=bent 2011-11-07 15:44:11 +00:00
Peter Van der Beken
8d5dca787e Bug 695867 - Crash [@ LookupPropertyById] with getPropertyDescriptor returning a NodeList. r=bz.
--HG--
extra : rebase_source : 7647c232594ab918b9c4488e8cb56d77dfea9b42
2011-10-27 19:31:37 +02:00
Peter Van der Beken
bb6a88ad96 Bug 699810 - nsJSTimeoutHandler DEBUG_CC code should null-check result of calling JS_GetObjectFunction. r=jst.
--HG--
extra : rebase_source : b55f8b50db84abd135d98c881ba9ee7e0b9f73d8
2011-11-07 13:55:59 +01:00
Peter Van der Beken
2c7841a5b9 Bug 697643 - Crash [@ JS_IsExceptionPending] modifying a live NodeList. r=bz.
--HG--
extra : rebase_source : 1d2e5e17c76a04a88468d976e89576d127e4e54f
2011-10-27 19:39:03 +02:00
Peter Van der Beken
cd29bc9d13 Fix for bug 696817 - Cycle-collect nsDOMWindowUtils. r=jst.
--HG--
extra : rebase_source : d85456750c86290cec8debc9b369a8d6136b4356
2010-11-08 15:50:44 +01:00
Henri Sivonen
c15e2dd532 Bug 699753 - Remove duplicate copy of errNcrControlChar from htmlparser.properties. r=smaug. 2011-11-07 11:29:18 +02:00
Henri Sivonen
02166bddb5 Bug 699752 - Remove stray preposition from parser error reporting. r=smaug. 2011-11-07 11:29:18 +02:00
Ed Morley
722161f5df Merge last green changeset of mozilla-inbound to mozilla-central 2011-11-06 13:21:58 +00:00
Olli Pettay
a6b0b55ae2 Bug 699925 - support event.stopImmediatePropagation in workers, r=bent 2011-11-05 23:41:16 +02:00
Ben Turner
06cb7a08f0 Bug 698860 - 'Workers: Cycle collector calls DOM worker from wrong thread'. r=sicking. 2011-11-05 12:45:35 -07:00
Ben Turner
a447a07205 Bug 687216 - 'XHR in worker to bogus URI leads to Assertion failure'. r=sicking. 2011-11-05 12:30:56 -07:00
Ed Morley
345c2b06c0 Merge mozilla-central and mozilla-inbound 2011-11-05 18:46:28 +00:00
Ed Morley
6a998be2c5 Backout 4997c6f8b24d (bug 616542) for causing locally run mochitest-browser-chrome test runs to fail 2011-11-05 18:35:59 +00:00
Josh Aas
7608d88aa5 Bug 656006: Fix crash in nsPluginStreamListenerPeer::OnStartRequest. r=bz 2011-11-05 12:42:59 -04:00
Rob Campbell
1fb65676a4 merge m-c to fx-team 2011-11-05 10:11:34 -03:00
Matheus Kerschbaum
fb722a61dd Bug 698630 - Remove --disable-smil build option; r=dholbert 2011-11-05 10:32:52 +00:00
Rafael Ávila de Espíndola
306af67699 Bug 697989 - don't use domstorage-flush-timer test_bug624047.html. r=mak77.
Use a new domstorage-flush-force message for testing calling
FlushAndDeleteTemporaryTables with a 'true' argument. We want to add more
work to profile-before-change and that would interfere with the testing
in dom/tests/mochitest/localstorage/test_bug624047.html.

Also move the NS_DOMSTORAGE_FLUSH_TIMER_OBSERVER define to the .cpp file
since that is the only place it is used and rename it to end in _TOPIC.
2011-11-04 18:27:59 -04:00
Rail Aliiev
364e83c545 Bug 616542 - Shorten file path length of mochitest; r=ted 2011-11-04 21:13:42 +00:00
Marco Bonardo
c48ef6e9ea Merge mozilla-central to mozilla-inbound 2011-11-04 21:56:10 +01:00
Olli Pettay
e36091a737 Bug 698929 - Implement event.stopImmediatePropagation, r=jst
--HG--
extra : rebase_source : 76d19175a58a4ac8113b144a19f9d7679ad54dd0
2011-11-04 19:17:19 +02:00
Henri Sivonen
6578e60cbf Bug 699749 - Avoid the term "astral" in error messages. r=l10n. 2011-11-04 15:36:29 +02:00
Henri Sivonen
5c0571af9d Bug 699745 - Use UTF-8 instead of escapes in htmlparser.properties. r=l10n. 2011-11-04 15:36:29 +02:00
Henri Sivonen
0d4f001013 Bug 698935 addendum - Rename the errStrayStartTag string key because the value changed. r=l10n. 2011-11-04 15:36:29 +02:00
Ben Turner
d612e0e995 Bug 687220 - 'XHR POST in worker with null body and upload load event listener leads to Assertion failure'. r=mrbkap. 2011-11-03 19:51:33 -07:00
Mounir Lamouri
c82259a3f3 Bug 699459 - Add a pref to disable Battery API. r=sicking 2011-11-04 00:31:32 +01:00
Ben Turner
8802ea7670 Bug 694145 - 'IndexedDB: various methods should accept both keys and KeyRanges'. r=sicking.
--HG--
extra : transplant_source : R%0C%DA%D7%EF%8D3U%7DQ%1A%05%1A3%94%1E%F8%B0%A3k
2011-11-03 08:59:17 -07:00
Ben Turner
a9d4865e7b Bug 692629 - 'IndexedDB: Support IDBObjectStore/IDBIndex.count'. r=sicking.
--HG--
extra : transplant_source : %87%F7%A6%8Cc%15%C7%C4%19%5D%14%CB%98%9BF%A4%5C/%5B%FF
2011-11-03 08:57:42 -07:00
Ben Turner
d1ccef79ea Bug 692669 - 'IndexedDB: remove nsIVariant from IDB* interfaces'. r=sicking.
--HG--
extra : transplant_source : %84%E3%96%9F%C5%BA%D56%A4%94%83%9F%C3%F5%2B%01%7B%87%FB9
2011-11-03 08:57:30 -07:00
Mounir Lamouri
9041b2ae2a Bug 678694 - (7/7) Interaction between DOM and hal. r=sicking
The battery status is coming from hal and when there is an update, hal informs
the DOM which then dispatch the appropriate event.
2011-11-02 16:27:06 +01:00
Mounir Lamouri
0da0fba3a7 Bug 678694 - (6/7) hal code for the Battery API. r=cjones 2011-11-02 16:14:01 +01:00
Mounir Lamouri
e4a26be94c Bug 678694 - (4/7) Dummy BatteryManager DOM code. r=sicking
Returns default values only and doesn't send events.
2011-11-02 16:01:32 +01:00
Mounir Lamouri
878ed2bcad Bug 678694 - (3/7) Plug mozBattery into navigator object. r=sicking 2011-11-02 13:04:39 +01:00
Mounir Lamouri
38f9e56d0b Bug 678694 - (2/7) BatteryManager interface. r=sicking 2011-11-02 13:05:09 +01:00
Mounir Lamouri
e02cb184cb Bug 678694 - (1/7) Makefile boilerplate. r=sicking 2011-11-02 12:51:38 +01:00
Mounir Lamouri
3225b6053b Bug 698932 - Use rv in Navigator::JavaEnabled. r=Ms2ger 2011-11-02 12:04:28 +01:00
Mounir Lamouri
3a4cbb8800 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
ac1e87e272 Merge mozilla-central to mozilla-inbound 2011-11-03 10:46:56 +01:00
Neil Rashbrook
b3f03a8649 Bug 698217 DeCOMtaminate nsIPrefServiceInternal r=roc 2011-11-02 14:51:39 +00:00
Kyle Huey
5afa09d1f8 Merge m-i to m-c. 2011-11-02 08:24:41 -04:00
Doug Turner
416ac05a74 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
f55328bb86 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
d55e46aa36 Bug 482921 part 2 - Highligh tokenizer-level errors in View Source. r=Olli.Pettay. 2011-11-01 13:33:11 +02:00
Chris Pearce
c46ab13671 Bug 688648 - Dispatch mozfullscreenerror event when requests for full-screen are denied. r=smaug 2011-11-02 13:02:47 +13:00
Boris Zbarsky
9a118ec751 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
b08ad8e6dc 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
97502813a0 Bug 692669 - 'IndexedDB: remove nsIVariant from IDB* interfaces'. Fix up linux build issue. 2011-11-02 18:27:52 -07:00
Ben Turner
fa4097234f 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
8ec37931d5 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
517290f8ff 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
e7ac22732b Bug 694039 - Follow up fix, remove printf r=jmuizelaar 2011-10-28 10:19:07 -04:00
Ricardo Palomares
22d90b8b64 Bug 698935 - Make errStrayStartTag say "start" instead of "end". r=hsivonen. 2011-11-02 15:14:39 +02:00
Ricardo Palomares
2dfa12b363 Bug 698866 - Typo in errNonSpaceInTable message. r=hsivonen. 2011-11-02 15:14:39 +02:00
Kyle Huey
c6a3d6dc7f Bug 698440: Implement IndexedDB optional version syntax. r=bent 2011-11-02 08:53:12 -04:00
Kyle Huey
92be2b261d Bug 697247: Part 2 - Rework IDB synchronization mechanisms. r=bent 2011-11-02 08:53:12 -04:00
Kyle Huey
4ba69f30ba Bug 697247: Part 1 - Use atoms instead of hashes for database IDs. r=bent 2011-11-02 08:53:12 -04:00
Andreas Gal
4ee02030fb 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
d22d7ad163 Bug 699857 - 'Workers: Allow data urls'. r=sicking. 2011-11-04 10:57:42 -07:00
Ben Turner
cc18aa085a 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
2f77d358a2 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
b64538882c 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
a7a9544801 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
4ce6514d96 Bug 697168 - Removes WebGL overloads for untyped ArrayBuffers where disallowed - r=bjacob 2011-10-31 16:55:00 -07:00
Brian Smith
a43aa7b046 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
79969bc6f0 Bug 698061 - document.importNode's deep attribute should be optional, r=sicking 2011-10-30 23:17:53 +02:00
Ms2ger
e2ad4bec9b Bug 696668 - Give nsIScriptContext::CallEventHandler a JSObject scope parameter; r=mrbkap 2011-10-29 22:19:03 +02:00
Ms2ger
8fa72292d8 Bug 696666 - Give nsIScriptContext::BindCompiledEventHandler a JSObject scope parameter; r=jst 2011-10-29 22:18:21 +02:00
Ms2ger
41e97a1ddf Bug 696663 - Make nsIJSEventListener::mScopeObject a JSObject; r=smaug 2011-10-29 22:17:43 +02:00
Ms2ger
3466301029 Bug 696665 - Give nsJSContext::JSObjectFromInterface a JSObject scope parameter; r=volkmar 2011-10-29 22:17:00 +02:00
Ms2ger
37c0e77016 Bug 696661 - Make nsIJSEventListener::mHandler a JSObject; r=jst 2011-10-29 22:16:43 +02:00
Ms2ger
ae60966dc3 Bug 694867 - Part f: Pass a JSScript to nsIScriptContext::ExecuteScript; r=volkmar 2011-10-29 22:15:43 +02:00
Ms2ger
3a06735007 Bug 694867 - Part b: Pass a JSScript to nsXULPrototypeScript::Set; r=volkmar 2011-10-29 22:13:31 +02:00
Ms2ger
835b0c80ca 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
9de0625271 Bug 694838 - Make nsIScriptContext::EvaluateString's second parameter a JSObject; r=volkmar 2011-10-29 22:11:51 +02:00
Ms2ger
389e8bc023 Bug 694781 - Make nsIScriptContext::ExecuteScript's second parameter a JSObject; r=volkmar 2011-10-29 22:10:49 +02:00
Ms2ger
424e3da2cb Bug 694769 - Remove nsIScriptContext::GetScriptGlobal in favour of GetGlobalJSObject; r=smaug 2011-10-29 22:09:04 +02:00
Ms2ger
7059c325ab Bug 694763 - Remove nsIScriptContext::DidSetDocument; r=jst 2011-10-29 22:06:42 +02:00
Ms2ger
9ce40d6af3 Bug 694759 - Make nsIScriptContext::GetNativeGlobal return JSObject; r=jst 2011-10-29 22:06:17 +02:00
Ms2ger
567f4260b6 Bug 684821 - Remove nsIDOMNSHTMLElement; r=peterv 2011-10-29 22:03:55 +02:00
Jonas Sicking
0588c874fd Bug 687400: Kill Node.isSameNode. r=smaug 2011-10-28 19:52:27 -07:00
Rafael Ávila de Espíndola
1ba6ab147a 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
8a0b72332d 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
cbd25443a2 Bug 693949 - Drop nsCStringArray. r=bsmedberg 2011-10-28 08:35:45 +01:00
Ed Morley
537d994196 Merge mozilla-central and mozilla-inbound 2011-10-28 02:11:57 +01:00
Josh Aas
b258d496c8 Bug 649079: Plugin crash fix (parent process). r=bz 2011-10-27 16:00:49 -04:00
Tim Taubert
5d75128ffc merge the last green changeset on m-c to fx-team 2011-10-27 15:48:08 +02:00
Marco Bonardo
441c0b85a3 Merge mozilla-central and mozilla-inbound 2011-10-27 10:36:13 +02:00
Chris Pearce
183224c060 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
09778341dc 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
fae84546d8 Merge last green changeset of mozilla-inbound to mozilla-central 2011-10-27 00:30:46 +01:00
Doug Sherk
1c15893d0b 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
d4ebda4714 Bug 697177: Disable test that's triggering some known bugs. 2011-10-26 14:59:09 -04:00
Olli Pettay
36bfe69f46 Bug 291653, make window level listeners work consistently with other listeners, r=jst 2011-10-26 14:49:37 +03:00
Matt Woodrow
b18a7f9176 Bug 695275 - Add CheckAndClearPaintedState to test painting. r=roc 2011-10-26 16:23:26 +13:00
Kyle Huey
e0d8626ffd 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
1fdcab2ed9 Bug 696288 - Regression: Processing.js Performance Tests don't work; r=ddahl,smaug 2011-10-24 11:12:24 +03:00
Benoit Girard
28551c757a Bug 694039 - Load plugin quirks during interpose. r=jmuizelaar 2011-10-26 22:57:26 -04:00
Benoit Girard
48817e26d9 Bug 694039 - Add Offline Renderer support to nsCARenderer. r=jmuizelaar 2011-10-20 16:32:38 -04:00
Igor Bukanov
73466befa4 bug 684529 - remove script object. r=jorendorff 2011-09-22 12:08:55 +02:00
Ed Morley
b9de22e5ea Merge mozilla-inbound to mozilla-central 2011-10-22 13:58:26 +01:00