Commit Graph

4994 Commits

Author SHA1 Message Date
Chris Leary
41bc510b10 Bug 700822: Add javascript.options.jit_hardening pref, default enabled. (r=dmandelin) 2011-11-08 13:28:49 -08:00
Mounir Lamouri
d36933c757 Bug 700261 - Add .chargingTime/.dischargingTime support to hal code. r=cjones 2011-11-09 09:58:59 +01:00
Mounir Lamouri
86b783b55b Bug 699743 - Add chargingTime attribute in BatteryManager. r=sicking 2011-11-09 09:58:18 +01:00
Mounir Lamouri
44fb0f511f Bug 699744 - Add dischargingTime attribute in BatteryManager. r=sicking 2011-11-09 09:57:57 +01:00
Mounir Lamouri
33590706f6 Bug 699742 - (1/4) battery.level should be a double (DOM part). r=sicking 2011-11-09 09:56:52 +01:00
Marco Bonardo
de58c7bf0f Merge mozilla-central to mozilla-inbound 2011-11-08 23:58:10 +01:00
Kyle Huey
907a49d672 Bug 700685: DeleteDatabaseHelper releases objects on the wrong thread. r=bent 2011-11-08 12:51:37 -05:00
Ed Morley
42dd9bd692 Merge mozilla-central and mozilla-inbound 2011-11-08 08:21:25 +00:00
Ed Morley
b66adf55e2 Merge last green changeset of mozilla-inbound to mozilla-central 2011-11-08 08:01:18 +00:00
Jonas Sicking
3c6b816077 Bug 692659: Fix sort order for PREV cursors on indexes. r=bent 2011-11-07 23:34:59 -08:00
Jonas Sicking
ebb14423fe Bug 692674: Set the errorCode to "ABORT_ERR" for all pending requests when a transaction is aborted, even ones that failed for other reasons. r=bent 2011-11-07 22:27:03 -08:00
Jonas Sicking
a15b71d97f Bug 694135: Don't throw if there are unknown properties in the options objects to createObjectStore/createIndex. r=bent 2011-11-07 22:25:51 -08:00
Randell Jesup
55c8b3ce6a Bug 693586: Add circular buffer support to jprof r=dbaron 2011-11-08 00:34:40 -05:00
Ben Turner
d2dd638c24 Bug 696914 - 'IndexedDB: IDBObjectStore.delete and IDBCursor.delete should return undefined'. r=sicking. 2011-11-07 18:08:02 -08:00
Ben Turner
dbd7d35169 Bug 658178 - 'Make XHR2 response/responseType work in Web Workers'. r=jst+sicking+mrbkap. 2011-11-07 17:01:29 -08:00
Kyle Huey
1aa2b3ff73 Bug 625071: Implement deleteDatabase. r=bent 2011-11-07 19:15:45 -05:00
Kyle Huey
1128861dbd Bug 699468: Part 6 - Make some DatabaseInfo stuff private. r=bent 2011-11-07 19:15:45 -05:00
Kyle Huey
2c9936445b Bug 699468: Part 5 - Clone the canonical DatabaseInfo when a Database is closed. r=bent 2011-11-07 19:15:45 -05:00
Kyle Huey
2400ecefe8 Bug 699468: Part 4 - Always go through the DatabaseInfo to get the ObjectStoreInfo. r=bent 2011-11-07 19:15:43 -05:00
Kyle Huey
eaf3c475ca Bug 699468: Part 3 - Always go through the Database to get the DatabaseInfo. r=bent 2011-11-07 19:06:13 -05:00
Kyle Huey
a306354f5d Bug 699468: Part 2 - Give DatabaseInfo an AddRef/Release instead of twiddling a refcount manually. r=bent 2011-11-07 19:06:13 -05:00
Kyle Huey
c5f4c34b0a Bug 699468: Part 1 - Move ObjectStoreInfoHash onto DatabaseInfo. r=bent 2011-11-07 18:20:20 -05:00
Ben Turner
272a5d9f79 Bug 692628 - 'IndexedDB: Support IDBCursor.advance'. r=sicking. 2011-11-07 15:37:19 -08:00
Ben Turner
c82275ab28 Bug 692632 - 'IndexedDB: support empty objectstore/index names'. r=sicking. 2011-11-07 15:37:16 -08:00
Chris Jones
32b5bac310 Bug 679966, part 1: Add vibrator support for android. r=blassey,cjones 2011-09-30 00:00:48 -07:00
Ben Turner
6fe788ee11 Bug 692642: IndexedDB: support indexedDB.cmp. r=sicking. 2011-11-08 11:03:18 -08:00
Ben Turner
f36ea27e51 Bug 692671: IndexedDB: remove timeout in database operations. r=sicking. 2011-11-08 09:43:00 -08:00
Ed Morley
6c0b453345 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
ed7ffc3fae 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
610dd20bc3 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
0e028bfaf7 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
90134bd7d4 Fix for bug 696817 - Cycle-collect nsDOMWindowUtils. r=jst.
--HG--
extra : rebase_source : d85456750c86290cec8debc9b369a8d6136b4356
2010-11-08 15:50:44 +01:00
Henri Sivonen
d7210f8422 Bug 699753 - Remove duplicate copy of errNcrControlChar from htmlparser.properties. r=smaug. 2011-11-07 11:29:18 +02:00
Henri Sivonen
812346298a Bug 699752 - Remove stray preposition from parser error reporting. r=smaug. 2011-11-07 11:29:18 +02:00
Ed Morley
c29c633b6f Merge last green changeset of mozilla-inbound to mozilla-central 2011-11-06 13:21:58 +00:00
Olli Pettay
31055dabf2 Bug 699925 - support event.stopImmediatePropagation in workers, r=bent 2011-11-05 23:41:16 +02:00
Ben Turner
0fb1dac7ba Bug 698860 - 'Workers: Cycle collector calls DOM worker from wrong thread'. r=sicking. 2011-11-05 12:45:35 -07:00
Ben Turner
55252ca5fd Bug 687216 - 'XHR in worker to bogus URI leads to Assertion failure'. r=sicking. 2011-11-05 12:30:56 -07:00
Ed Morley
efc6f1f14e Merge mozilla-central and mozilla-inbound 2011-11-05 18:46:28 +00:00
Ed Morley
7bc582f20f 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
7d3c960e74 Bug 656006: Fix crash in nsPluginStreamListenerPeer::OnStartRequest. r=bz 2011-11-05 12:42:59 -04:00
Rob Campbell
92c7bd7f02 merge m-c to fx-team 2011-11-05 10:11:34 -03:00
Matheus Kerschbaum
4813247daf Bug 698630 - Remove --disable-smil build option; r=dholbert 2011-11-05 10:32:52 +00:00
Rafael Ávila de Espíndola
7dc8a30f17 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
8a56fd9db2 Bug 616542 - Shorten file path length of mochitest; r=ted 2011-11-04 21:13:42 +00:00
Marco Bonardo
da3cdc299a Merge mozilla-central to mozilla-inbound 2011-11-04 21:56:10 +01:00
Olli Pettay
fdb741699d Bug 698929 - Implement event.stopImmediatePropagation, r=jst
--HG--
extra : rebase_source : 76d19175a58a4ac8113b144a19f9d7679ad54dd0
2011-11-04 19:17:19 +02:00
Henri Sivonen
0d3a65d714 Bug 699749 - Avoid the term "astral" in error messages. r=l10n. 2011-11-04 15:36:29 +02:00
Henri Sivonen
eac623a0ce Bug 699745 - Use UTF-8 instead of escapes in htmlparser.properties. r=l10n. 2011-11-04 15:36:29 +02:00
Henri Sivonen
d647974d3a Bug 698935 addendum - Rename the errStrayStartTag string key because the value changed. r=l10n. 2011-11-04 15:36:29 +02:00
Ben Turner
bb4c39fde1 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
2bc70ba365 Bug 699459 - Add a pref to disable Battery API. r=sicking 2011-11-04 00:31:32 +01:00
Ben Turner
0438e8e5e6 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
3277e8cb13 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
3e1f223457 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
1ca50452f4 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
a1fdb4f396 Bug 678694 - (6/7) hal code for the Battery API. r=cjones 2011-11-02 16:14:01 +01:00
Mounir Lamouri
7c8059bdba 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
2c0789a879 Bug 678694 - (3/7) Plug mozBattery into navigator object. r=sicking 2011-11-02 13:04:39 +01:00
Mounir Lamouri
efc25bc52e Bug 678694 - (2/7) BatteryManager interface. r=sicking 2011-11-02 13:05:09 +01:00
Mounir Lamouri
c8ac5ddf66 Bug 678694 - (1/7) Makefile boilerplate. r=sicking 2011-11-02 12:51:38 +01:00
Mounir Lamouri
364d1da76e Bug 698932 - Use rv in Navigator::JavaEnabled. r=Ms2ger 2011-11-02 12:04:28 +01:00
Mounir Lamouri
0974c60065 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
a9a0608213 Merge mozilla-central to mozilla-inbound 2011-11-03 10:46:56 +01:00
Neil Rashbrook
17e3abd58a Bug 698217 DeCOMtaminate nsIPrefServiceInternal r=roc 2011-11-02 14:51:39 +00:00
Kyle Huey
74ca38166a Merge m-i to m-c. 2011-11-02 08:24:41 -04:00
Doug Turner
92dd0ef43d 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
0429f9c117 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
e6ccfac972 Bug 482921 part 2 - Highligh tokenizer-level errors in View Source. r=Olli.Pettay. 2011-11-01 13:33:11 +02:00
Chris Pearce
5210c8bcb2 Bug 688648 - Dispatch mozfullscreenerror event when requests for full-screen are denied. r=smaug 2011-11-02 13:02:47 +13:00
Boris Zbarsky
66c2222a67 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
a77ac11344 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
d3d4c4def5 Bug 692669 - 'IndexedDB: remove nsIVariant from IDB* interfaces'. Fix up linux build issue. 2011-11-02 18:27:52 -07:00
Ben Turner
dd0e7b593b 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
8eacae1c32 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
0aa08286eb 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
4857d31c95 Bug 694039 - Follow up fix, remove printf r=jmuizelaar 2011-10-28 10:19:07 -04:00
Ricardo Palomares
619d064ee4 Bug 698935 - Make errStrayStartTag say "start" instead of "end". r=hsivonen. 2011-11-02 15:14:39 +02:00
Ricardo Palomares
742d03bc6d Bug 698866 - Typo in errNonSpaceInTable message. r=hsivonen. 2011-11-02 15:14:39 +02:00
Kyle Huey
86cdd3d805 Bug 698440: Implement IndexedDB optional version syntax. r=bent 2011-11-02 08:53:12 -04:00
Kyle Huey
42deaa298f Bug 697247: Part 2 - Rework IDB synchronization mechanisms. r=bent 2011-11-02 08:53:12 -04:00
Kyle Huey
a651fc2aac Bug 697247: Part 1 - Use atoms instead of hashes for database IDs. r=bent 2011-11-02 08:53:12 -04:00
Andreas Gal
41b82ee5f9 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
eb622514af Bug 699857 - 'Workers: Allow data urls'. r=sicking. 2011-11-04 10:57:42 -07:00
Ben Turner
17d7b1154e 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
7c9b5321a5 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
ac31d9b666 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
861af8c44e 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
244f51369c Bug 697168 - Removes WebGL overloads for untyped ArrayBuffers where disallowed - r=bjacob 2011-10-31 16:55:00 -07:00
Brian Smith
b50e0e6eef 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
e4fe236060 Bug 698061 - document.importNode's deep attribute should be optional, r=sicking 2011-10-30 23:17:53 +02:00
Ms2ger
59007b3a67 Bug 696668 - Give nsIScriptContext::CallEventHandler a JSObject scope parameter; r=mrbkap 2011-10-29 22:19:03 +02:00
Ms2ger
94dc2deff1 Bug 696666 - Give nsIScriptContext::BindCompiledEventHandler a JSObject scope parameter; r=jst 2011-10-29 22:18:21 +02:00
Ms2ger
8d02f473c8 Bug 696663 - Make nsIJSEventListener::mScopeObject a JSObject; r=smaug 2011-10-29 22:17:43 +02:00
Ms2ger
272454bc66 Bug 696665 - Give nsJSContext::JSObjectFromInterface a JSObject scope parameter; r=volkmar 2011-10-29 22:17:00 +02:00
Ms2ger
5a5a0be3c3 Bug 696661 - Make nsIJSEventListener::mHandler a JSObject; r=jst 2011-10-29 22:16:43 +02:00
Ms2ger
49f6daff60 Bug 694867 - Part f: Pass a JSScript to nsIScriptContext::ExecuteScript; r=volkmar 2011-10-29 22:15:43 +02:00
Ms2ger
e566d3ad18 Bug 694867 - Part b: Pass a JSScript to nsXULPrototypeScript::Set; r=volkmar 2011-10-29 22:13:31 +02:00
Ms2ger
6bc6ac23b6 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
080153d676 Bug 694838 - Make nsIScriptContext::EvaluateString's second parameter a JSObject; r=volkmar 2011-10-29 22:11:51 +02:00