Граф коммитов

487 Коммитов

Автор SHA1 Сообщение Дата
Bobby Holley e864c2fca6 Bug 774633 - Wean SetInitialPrincipalToSubject off some parameters and clean it up. r=jst
We can remove the fallback to the principal of aParent because we already push the
cx for aParent (callerContextGuard) whenever we're concerned about using its principal.
2012-09-05 11:32:06 -07:00
Bobby Holley 9a637e122b Bug 774633 - Factor nsWindowWatcher call to SetOpenerScriptPrincipal into a method on nsGlobalWindow. r=jst
This doesn't change any functionality in the code. Note that the name is currently
a bit of a misnomer, but we change that in the next patch when we rip out the
arguments.
2012-09-05 11:32:06 -07:00
Philipp von Weitershausen d158b5747c Bug 776825 - Separate message managers into senders and broadcasters. r=smaug
--HG--
rename : content/base/public/nsIFrameMessageManager.idl => content/base/public/nsIMessageManager.idl
2012-08-27 11:13:02 -03:00
Andrew McCreight c063a3e54c Bug 750570, part 4 - Switch most native CC classes to use the purple buffer. r=smaug
This patch actually converts over most of the existing native CC classes
to use the participant. This is done by converting them to use
the newly generalized nsCycleCollectingAutoRefCnt instead of their usual
ref count.

This is mostly a matter of defining new macros defining AddRef() and Release()
for native CC classes with the CC ref count.

nsTimeout is left as a legacy native CC class because it is a weird class,
but hopefully eventually it too can be converted over.  See bug 774874.
2012-08-24 09:50:06 -07:00
Matt Brubeck cdd4612f38 Back out 670c8a2695b3 (bug 771354), 134557d57e6e 4ad52e488977 (bug 774607), and...
036eb8c2a08a d4d36e3b948f 35334e820632 6bd07fd5147d d49e7c0d762c 407f19deb14c d84551808abb (bug 774633)
on a CLOSED TREE
2012-08-23 21:34:27 -07:00
Bobby Holley 1a9db39ccc Bug 774633 - Fold SetOpenerScriptPrincipal into SetInitialPrincipalToSubject, and make it indempotent and callable without an existing document. r=jst
There's no reason it has to fail if there's no mDoc, since any document is promptly
blown away with the new about:blank document.

The indempotence is important because we want to be able to call this method
unconditionally in OpenJSWindowInternal (since we may not have gone through
RegisterTopLevelWindow) without worrying about whether we've called it already.
2012-08-23 16:44:52 -07:00
Bobby Holley 248ddad9f4 Bug 774633 - Remove dead mOpenerScriptPrincipal. r=jst
This value is initialized to null and never set, so we can get rid of it.
2012-08-23 16:44:52 -07:00
Bobby Holley 133acda80d Bug 774633 - Wean SetInitialPrincipalToSubject off some parameters and clean it up. r=jst
We can remove the fallback to the principal of aParent because we already push the
cx for aParent (callerContextGuard) whenever we're concerned about using its principal.
2012-08-23 16:44:52 -07:00
Bobby Holley 3bd2492b71 Bug 774633 - Factor nsWindowWatcher call to SetOpenerScriptPrincipal into a method on nsGlobalWindow. r=jst
This doesn't change any functionality in the code. Note that the name is currently
a bit of a misnomer, but we change that in the next patch when we rip out the
arguments.
2012-08-23 16:44:52 -07:00
Ehsan Akhgari e368dc9c85 Bug 579517 - Part 1: Automated conversion of NSPR numeric types to stdint types in Gecko; r=bsmedberg
This patch was generated by a script.  Here's the source of the script for
future reference:

function convert() {
echo "Converting $1 to $2..."
find . ! -wholename "*nsprpub*" \
       ! -wholename "*security/nss*" \
       ! -wholename "*/.hg*" \
       ! -wholename "obj-ff-dbg*" \
       ! -name nsXPCOMCID.h \
       ! -name prtypes.h \
         -type f \
      \( -iname "*.cpp" \
         -o -iname "*.h" \
         -o -iname "*.c" \
         -o -iname "*.cc" \
         -o -iname "*.idl" \
         -o -iname "*.ipdl" \
         -o -iname "*.ipdlh" \
         -o -iname "*.mm" \) | \
    xargs -n 1 sed -i -e "s/\b$1\b/$2/g"
}

convert PRInt8 int8_t
convert PRUint8 uint8_t
convert PRInt16 int16_t
convert PRUint16 uint16_t
convert PRInt32 int32_t
convert PRUint32 uint32_t
convert PRInt64 int64_t
convert PRUint64 uint64_t

convert PRIntn int
convert PRUintn unsigned

convert PRSize size_t

convert PROffset32 int32_t
convert PROffset64 int64_t

convert PRPtrdiff ptrdiff_t

convert PRFloat64 double
2012-08-22 11:56:38 -04:00
Justin Lebar 74befa949f Bug 769254 - Part 2: Modify nsPIWindowWatcher::OpenWindowJS (renamed to OpenWindow2) so we can pass in the URL for target=_blank links without navigating the opened window to that URL. r=bz 2012-08-14 10:58:00 -04:00
Neil Deakin 953592e2fe Bug 391834, don't allow prompts in beforeunload, unload and pagehide events,r=smaug,patch mostly by gavin 2012-08-13 15:05:34 -04:00
Neil Deakin 293dbd7ee1 Bug 391834, rearrange some popup dialog code to be simpler,r=smaug,patch mostly by gavin 2012-08-13 15:03:59 -04:00
Justin Lebar 25c5e67049 Bug 777135 - Part 3: Remove nsDOMWindowUtils::GetIsApp and friends. r=mounir
--HG--
extra : rebase_source : ac3db88b7eb03397c4ae514624e1f3021947c396
2012-08-13 12:58:38 -04:00
Boris Zbarsky 71ec9e6ab2 Bug 703855. Don't update performance timing or navigation timing state during document.open. r=jst 2012-08-08 23:47:04 -04:00
Chris Jones a6ec6f5d33 Revert e3e9040a6eb9 for M2 failures 2012-08-08 21:58:23 -07:00
Boris Zbarsky cc86c6a349 Bug 703855. Don't update performance timing or navigation timing state during document.open. r=jst 2012-08-08 23:47:04 -04:00
Phil Ringnalda aa790aa109 Backout 5439489dc320, 983f76488e59, 7a92558a8dec (Bug 714358) for debug build assertions and leaks 2012-08-07 22:18:27 -07:00
Steven Lee 2a3357c97f Bug 714358: Time manager implementation. r=jlebar 2012-08-07 19:11:00 -04:00
Chris Pearce cd61327986 Bug 684620 - Implement cross process fullscreen API for B2G apps and web content. r=jlebar
* * *
Bug 684620 - Fix in-process fullscreen in B2G. r=?
2012-07-31 14:09:31 +12:00
Aryeh Gregor d0ad5a7d0c Bug 777292 part 2 - Change all nsnull to nullptr 2012-07-30 17:20:58 +03:00
Nathan Froyd e1ccd4902c Bug 776979 - consolidate InitWithFuncCallback calls into nsTimeout::InitTimer; r=bz 2012-07-24 13:50:45 -04:00
Matt Brubeck 867c5f52a6 Back out fbdb3104c9e5, d2fe54ae00a8, d378362cbe01, fe623d60bea1 (bug 769254) on suspicion of causing Windows debug mochitest-plain-3 timeouts 2012-07-23 20:30:12 -07:00
Justin Lebar 3a202f9009 Bug 769254 - Part 2: Modify nsPIWindowWatcher::OpenWindowJS (renamed to OpenWindow2) so we can pass in the URL for target=_blank links without navigating the opened window to that URL. r=bz
--HG--
extra : rebase_source : 96a53a1a8b34f41bfe59f00141d598c5394cb0c1
2012-07-23 10:44:13 -04:00
Bonnie Surender b70b75ec44 Fix for bug 771967. OS idle api active to briefly idle to active notification fix. r=jst 2012-07-13 15:39:46 -07:00
Bonnie Surender d43d53eaee fixing bug 770656, idle fuzz time for idle notifications. r=jst@mozilla.com 2012-07-04 13:21:40 -07:00
Fabrice Desré c5aa869164 Bug 755245 - Implement System Message Handler : Part 2, Add a getApp() method to nsGlobalWindow [r=mounir] 2012-07-02 17:16:55 -07:00
Bonnie Surender 2b42bacc22 Fixing bug 715041. Add support for Idle API. r=bent, jst 2012-06-29 01:32:21 -07:00
Vivien Nicolas 72c90c5473 Bug 760102 - Authorize web applications to use fullscreen by default. r=cpearce 2012-06-28 20:54:37 +12:00
Ms2ger a95f5295e7 Bug 762455 - Make nsGlobalWindow::InnerSetNewDocument not return nsresult; r=peterv 2012-06-17 10:11:16 +02:00
Bobby Holley 3f91fbc21e Bug 764389 - Update compartment principals on inner window reuse and on document.write. r=bz 2012-06-15 08:31:27 +02:00
Justin Lebar 5fb435f5c4 Bug 741587 - Part 1: Make alert/prompt/confirm work with <iframe mozbrowser>. r=smaug
--HG--
extra : rebase_source : f418da542453f8b0f5853a8da48bea1c8c95969e
2012-06-07 10:43:23 -04:00
Nathan Froyd 8578a20583 Bug 748464 - refactor nsGlobalWindow::RunTimeout; r=bz 2012-04-24 14:16:29 -04:00
Kyle Huey b1b7277c0a Bug 751999: Split SetDocShell apart to make this code easier to read. r=jst 2012-05-25 12:00:32 -07:00
Justin Lebar 7be4d1c875 Bug 754997 - For <iframe mozbrowser>, override window.{top,parent,frameElement} in C++. r=bz
--HG--
extra : rebase_source : 66d2ef018234eaa71e49d927eefdd3a8aa01bb41
2012-05-23 11:27:10 -04:00
Alexander Surkov 4378030fb4 Bug 756381 - make FocusManager::FocusedDOMNode faster, r=tbsaunde, smaug 2012-05-22 18:25:44 +09:00
Gervase Markham 82ff7027aa Bug 716478 - update licence to MPL 2. 2012-05-21 12:12:37 +01:00
Mounir Lamouri 27ddcf683c Bug 754141 (3/4) - Get the application object from an AppsService based on the manifest URL and save it on the window object. r=fabrice,jlebar 2012-05-16 12:40:47 +02:00
Mounir Lamouri ec077a5c28 Bug 754141 (2/4) - Add a SetApp() method that takes the manifest URL value. r=jlebar 2012-05-16 12:40:09 +02:00
Mounir Lamouri 16367bdebc Bug 753978 - Be able to know if a window is part of an application. r=jlebar 2012-05-10 17:56:21 -07:00
Kyle Huey cb5a51f0ba Bug 752877: Ensure that wrapper cutting happens after [inner|outer]-window-destroyed, to give code a chance to clean up. r=bz 2012-05-09 08:10:18 -07:00
Ms2ger 92edad47c8 Bug 745211 - Remove SetScriptContext from nsIScriptGlobalObject; r=mrbkap 2012-05-05 11:00:04 +02:00
Josh Aas b48fb8b460 Bug 748343: Remove support for "java" and "packages" objects from the DOM. r=jst sr=smaug a=ehsan CLOSED TREE 2012-05-01 16:47:35 -04:00
Rafael Ávila de Espíndola a2a9aa260f Bug 743680 - nsGlobalWindow.h uses GetWrapper, include nsWrapperCacheInlines.h. r=dbolter.
--HG--
extra : rebase_source : 9e0b59c3b4929b7c48767be1732269133cb4e18f
2012-04-20 16:43:48 -04:00
Ms2ger ff14126f30 Bug 732708 - Part c: Remove dom-storage-changed observer topic; r=honzab 2012-04-14 15:06:32 +02:00
Ms2ger dfc44fcf97 Bug 742837 - Remove dead code and cleanup around nsDOMScriptObjectFactory; r=bz 2012-04-14 15:03:16 +02:00
Ms2ger 77ca860259 Backing out bf0a78471e5e:dc7022e2d807 for inexplicable windows crashes. 2012-04-14 17:52:34 +02:00
Ms2ger b55e2f9d8c Bug 732708 - Part c: Remove dom-storage-changed observer topic; r=honzab 2012-04-14 15:06:32 +02:00
Ms2ger 1abb5a381a Bug 742837 - Remove dead code and cleanup around nsDOMScriptObjectFactory; r=bz 2012-04-14 15:03:16 +02:00
Gabor Krizsanits 0ac891d865 Bug 733035 - postMessage support for sandboxes. r=khuey 2012-04-05 18:33:20 -04:00
Nathan Froyd 4e2c3da6af Bug 732708 - remove nsIDOMStorageList; r=honzab 2012-03-28 12:33:41 -04:00
Kyle Huey 7a529aca86 Bug 722428: Fix leaks in mochitest by reworking SpecialPowers and nsDOMWindowUtils. r=mounir,ctalbert 2012-04-01 19:23:51 -07:00
Tim Taubert 122a604242 Bug 727446 - Let the window owning a storage dispatch an event when the storage changes; r=smaug 2012-03-30 19:31:16 +02:00
Justin Lebar e71a362f01 Bug 736688 - Part 5: Remove window.{top,parent,frameElement} mozbrowser changes in nsGlobalWindow (undoes changes from bug 725796). r=smaug
--HG--
extra : rebase_source : fdeccb7e995229cdbc6ebd945109fe8441f9f525
2012-03-28 11:36:49 -07:00
Doug Turner 7bc438e9f5 Bug 734855 - Rename DeviceMotion to DeviceSensors. Review comments address r=mwu 2012-03-24 17:30:03 -07:00
Doug Turner ec38c98821 Bug 734855 - Device Orientation - Make EnableDeviceMotion finer grain. r=mwu 2012-03-24 17:29:49 -07:00
Matt Brubeck 626f101539 Merge mozilla-central and mozilla-inbound 2012-03-24 09:05:27 -07:00
Ms2ger 87769c19ad Bug 734029 - Move nsJSContext::{Set,Create}OuterObject to nsGlobalWindow; r=bholley 2012-03-24 09:18:21 +01:00
Hessam Salehi 2bda7efc98 Bug 474505 - Replace uses of nsVoidPtrHashkey with nsPtrHashKey<T>; r=bsmedberg 2012-03-21 14:07:31 -04:00
Mark Capella 8721036540 Bug 734023 - Remove language arguments from nsIScriptGlobalObject methods, r=jst, f=ms2ger 2012-03-23 18:13:29 +01:00
Blake Kaplan 662d0db31b Bug 727884 - Make nsWrapperCache::WrapObject take a JSObject scope instead of XPCWrappedNativeScope. r=peterv 2012-03-14 16:25:40 +01: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
Justin Lebar fd4cfccc63 Bug 725796 - Make window.{top,parent,frameElement} respect <iframe mozbrowser>. r=bz 2012-03-04 11:02:00 -05:00
Matheus Kerschbaum 71d2922dd0 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
Nicholas Nethercote da738c5677 Bug 723799 - Use mallocSizeOf in the DOM memory reporters. r=mounir.
--HG--
extra : rebase_source : 2eb96d2f901bbe4cc1ff6dbccdec4dc4099b08fc
2012-02-01 13:58:01 -08:00
David Mandelin 3588ac5aae Bug 730511: remove obsolete typedefs intN, uintN, r=luke 2012-02-28 15:11:11 -08:00
Peter Van der Beken 34f61797c8 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
Chris Pearce 75e3ace854 Bug 727303 - Add nsPIDOMWindow::SetFullScreenInteral. r=roc 2012-02-20 10:02:08 +13:00
Nicholas Nethercote 0709e1673b Bug 671299 (part 3) - Add style sheet memory reporters. r=dbaron. 2012-01-02 18:19:14 -08:00
Olli Pettay 0ee8497d4d Bug 720808 - Add nsJSEventListener and nsGlobalWndow to BBP, r=mccr8
--HG--
extra : rebase_source : e6512fe1b8b19b3ddd959b992ce0f2672b0b072f
2012-01-26 16:03:21 +01:00
Ms2ger d717a67336 Bug 698420 - Make nsScriptObjectHolder typesafe; r=bz 2011-12-18 11:05:12 +01:00
Ms2ger 95157cd23b Bug 704593 - Remove JS-specific nsGlobalWindow::ClearTimeoutOrInterval(); r=jst 2011-11-26 11:23:25 +01:00
Ms2ger 2bb7bda363 Bug 698402 - Store JSObjects in nsGlobalWindow::mCachedXBLPrototypeHandlers; r=peterv 2011-11-26 11:14:47 +01:00
Ms2ger 6f293c463f Bug 698400 - Use setObject in nsXBLPrototypeHandler::EnsureEventHandler; r=jst 2011-11-26 11:14:29 +01:00
Chris Pearce f4c97fdcf9 Bug 604682 - Remove unnecessary copy of audio data when there's no MozAudioAvailable event listener. r=smaug,kinetik 2011-11-22 13:34:21 +13: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
Ms2ger a8dba5714a Bug 694769 - Remove nsIScriptContext::GetScriptGlobal in favour of GetGlobalJSObject; r=smaug 2011-10-29 22:09:04 +02: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
Peter Van der Beken 0d28b21bc4 Fix for bug 694009 (crash mozilla::dom::binding::instanceIsProxy) - clear cache when wrapper is finalized. r=mrbkap.
--HG--
extra : rebase_source : 5edfb2299cf7ba4d6a86382459d045cf52999c27
2011-10-13 15:36:09 +02:00
Peter Van der Beken 5a37eca29e Fix for bug 693301 (Remove ConstructProxyObject) - switch outer window creation to nsWrapperCache::WrapObject. r=mrbkap. 2011-08-20 15:53:34 +02:00
Fabrice Desré bcf5f06efe Bug 676595 - Android orientation manager is never shut down [r=dougt] 2011-10-06 10:27:41 -07:00
Matt Brubeck 644a223e89 Back out 2780356be1a1 (bug 675574) and 9928fb9a32b1 (bug 690220) on suspicion of causing browser-chrome shutdown hangs 2011-09-29 14:44:36 -07:00
Michael Wu d2b70213ac Bug 675553 - Switch from PRBool to bool on a CLOSED TREE , r=bsmedberg,khuey,bz,cjones
--HG--
rename : tools/trace-malloc/bloatblame.c => tools/trace-malloc/bloatblame.cpp
2011-09-28 23:19:26 -07:00
Mounir Lamouri aac1c5db8b Bug 675574 - Do not allow more than one call to window.open() when we allow popups. r=jst 2011-09-28 23:23:36 +02:00
Luke Wagner b49c9e1267 Bug 683361, part 1 - Strip JS prefix from proxy names since they are already in namespace js (r=gal)
--HG--
extra : rebase_source : 5eded8e02c36991322c94fca1092970910c2ceea
2011-09-08 20:29:15 -07:00
Josh Matthews 1587312eda Bug 683945 - Avoid using a deleted hashtable for finding window IDs. r=jst 2011-09-03 19:43:22 -04:00
Blake Kaplan d8de08f4ca Bug 684135 - Protect against calling this function during shutdown. r=bzbarsky 2011-09-02 16:49:08 -07:00
Mounir Lamouri 617706ea28 Bug 667183 - Create a static nsGlobalWindow::Init method to do one-shot initializations currently in nsGlobalWindow ctor. r=jst 2011-08-31 16:54:39 +02:00
Mihai Sucan 47eca82a8c Bug 670896 - Add inner window ID and timestamp to nsIScriptError2; r=bzbarsky 2011-08-24 23:44:35 +03:00
Boris Zbarsky 1c9abe2f8d Bug 659350 part 5. The guts of the change to move from storing inline event handlers on the JSObject to storing them in the event listener manager directly, so we can easily set/read them via IDL.
The changes here are as follows:
1) nsIJSEventListener now stores the handler.  This is guaranteed to be already bound properly, if needed, before being set in the nsIJSEventListener.
2) The old classinfo glue to deal with on* properties is gone.
3) IDL-based methods for on* properties have been added.
2011-08-24 15:49:25 -04:00
Boris Zbarsky 65b18775af Bug 659350 part 2. Add nsITouchEventReceiver for windows. r=smaug 2011-08-24 15:49:25 -04:00
Ms2ger fe7e298f75 Bug 675075 - Reinstate nsIDOMWindowInternal; r=smaug
* * *
Bug 675075 - Followup: remove nsIDOMWindowInternal.h includes; r=bustage
2011-08-14 19:22:29 +02:00
Ms2ger 352b5b2d9d Backout bug 675075 for bustage 2011-08-14 20:05:20 +02:00
Ms2ger a74e67b366 Bug 675075 - Reinstate nsIDOMWindowInternal; r=smaug 2011-08-14 19:22:29 +02:00
Mounir Lamouri d6059627f3 Bug 674112 - Make nsNavigator participate to the DOM Memory Reporter. r=jst 2011-08-09 14:58:41 +02:00
Mounir Lamouri 9746f972e4 Bug 670986 - Create nsLocation.h to declare nsLocation instead of doing that in nsGlobalWindow.h. r=jst 2011-08-02 21:22:40 -07:00
Ms2ger 292cb94b42 Bug 670331 - Remove nsIDOMStorageWindow; r=sicking 2011-07-15 12:32:37 +02:00
Ms2ger 8c78d3f478 Bug 670235 - Remove nsIDOMWindowInternal; r=sicking 2011-07-15 12:31:34 +02:00
Boris Zbarsky 5c4d6b1e7b Bug 648045. Mark the currently selected tab in a minimized window as inactive. r=gavin,smaug 2011-07-11 09:14:08 -04:00
Marco Bonardo fa3cd9704a Backout changesets 9e4ab3907b29, 3abc0dbbf710 due to m-oth permaorange 2011-07-11 10:27:58 -07:00
Boris Zbarsky 5802023c26 Bug 648045. Mark the currently selected tab in a minimized window as inactive. r=gavin,smaug 2011-07-11 09:14:08 -04:00
Boris Zbarsky 2e603a54f6 Bug 669158. Don't try to unclamp the dummy timeout. r=jst 2011-07-08 14:04:25 -04:00
Ms2ger aedd3b75de Bug 664543 - Remove nsIDOMWindow_2_0_BRANCH interface; r=peterv 2011-07-03 11:53:41 +02:00
Emanuele Costa 6ac1f05c3c When switching a window from background to foreground, reinitialize the timers that should fire sooner than the background clamp would have allowed. Bug 647001, r=bzbarsky 2011-06-29 15:49:42 -04:00
Mounir Lamouri 3467081aae Bug 667485 - Add windows' document size to windows size. r=jst 2011-06-29 13:18:54 +02:00
Mounir Lamouri 3118799f9f Bug 667474 - Do a naive computation of windows' size in the DOM Memory Reporter. r=jst 2011-06-29 13:06:43 +02:00
Mounir Lamouri 9ca46176f4 Bug 667470 - Track all created windows in a global hash table. r=bz 2011-06-29 13:03:54 +02:00
Jonas Sicking a326e5c69f Bug 658714 Part 10: Remove nsIDOM3EventTarget/nsIDOMEventGroup. r=smaug 2011-06-23 19:18:02 -07:00
Jonas Sicking f7e72db3bc Bug 658714 Part 7: DeCOMtaminate nsEventListenerManager. r=smaug 2011-06-23 19:18:01 -07:00
Jonas Sicking cd52437ea7 Bug 658714 Part 6: Fixups after search'n'replace s/nsPIDOMEventTarget/nsIDOMEventTarget/. r=smaug 2011-06-23 19:18:01 -07:00
Jonas Sicking 07c1f0b90f Bug 658714 Part 5: Search'n'replace nsPIDOMEventTarget to nsIDOMEventTarget. r=smaug 2011-06-23 19:18:00 -07:00
Jonas Sicking 815124365b Bug 658714 Part 2: Merge nsIDOMNSEventTarget into nsIDOMEventTarget. r=smaug 2011-06-23 19:17:59 -07:00
Jonas Sicking 50c51df5f9 Bug 658714 Part 1: Merge nsPIDOMEventTarget into nsIDOMEventTarget. r=smaug,bent 2011-06-23 19:17:58 -07:00
Igor Bazarny 3885bce98f bug 570341 Initial implementation of web timing specification
r=smaug sr=biesi
2011-06-23 12:39:48 +02:00
Ms2ger b88c041105 Bug 664543 - Remove nsIDOMWindow2; r=peterv 2011-06-21 17:37:38 +02:00
Olli Pettay 192de0d2cb Bug 664444 - Unlink nsGlobalChromeWindow, r=peterv
--HG--
extra : rebase_source : e31c451c4af6768f8bf1d6b1f053b30d33a7e2b5
2011-06-21 17:51:49 +03:00
Doug Turner 12569c1c97 Bug 615597 - Implement devicemotion and fix up deviceorientation events. r=smaug/azakai
--HG--
rename : content/events/src/nsDOMOrientationEvent.cpp => content/events/src/nsDOMDeviceOrientationEvent.cpp
rename : content/events/src/nsDOMOrientationEvent.h => content/events/src/nsDOMDeviceOrientationEvent.h
rename : dom/system/android/nsAccelerometerSystem.cpp => dom/system/android/nsDeviceMotionSystem.cpp
rename : dom/system/android/nsAccelerometerSystem.h => dom/system/android/nsDeviceMotionSystem.h
rename : dom/system/cocoa/nsAccelerometerSystem.h => dom/system/cocoa/nsDeviceMotionSystem.h
rename : dom/system/cocoa/nsAccelerometerSystem.mm => dom/system/cocoa/nsDeviceMotionSystem.mm
rename : dom/system/nsAccelerometer.cpp => dom/system/nsDeviceMotion.cpp
rename : dom/system/nsAccelerometer.h => dom/system/nsDeviceMotion.h
rename : dom/system/unix/nsAccelerometerSystem.cpp => dom/system/unix/nsDeviceMotionSystem.cpp
rename : dom/system/unix/nsAccelerometerSystem.h => dom/system/unix/nsDeviceMotionSystem.h
rename : dom/system/windows/nsAccelerometerSystem.cpp => dom/system/windows/nsDeviceMotionSystem.cpp
rename : dom/system/windows/nsAccelerometerSystem.h => dom/system/windows/nsDeviceMotionSystem.h
rename : xpcom/system/nsIAccelerometer.idl => xpcom/system/nsIDeviceMotion.idl
2011-06-19 22:36:17 -07:00
Mounir Lamouri 96c5ee86a9 Bug 565541 (2/2) - Prevent abusing usage of moving and resizing window. r=bz
The rules are simple, callers can move or resize a window if both conditions
apply:
1. the window has been created with window.open;
2. the window only contains one tab.

--HG--
extra : rebase_source : 7b1fdfa121a701b47ece46a63e36483ca4d75672
2011-05-31 14:30:20 +02:00
Masayuki Nakano caee4cc73f Bug 659533 Replace nsContentUtils::GetBoolPref() with Preferences::GetBool() r=roc 2011-05-25 15:31:59 +09:00
wfernandom2004@gmail.com f9a7c9e4cf Bug 338583, implement EventSource, r=smaug,Ms2ger
--HG--
extra : rebase_source : 9dd6bbbc0d714fbafb2ed115c40cf7210b663b6a
2011-05-22 22:30:07 +01:00
Boris Zbarsky d0061b973a Bug 654399. Try to make sure we always hand out the same exact string buffer each time location.hash is gotten. r=roc 2011-05-20 16:21:27 -04:00
Ms2ger 31e3e8c5d1 Bug 616684 - Remove support for DOM Views; r=sicking,ehsan 2011-04-24 08:54:25 +02:00
Justin Lebar f3fbe9877d Fix bug 642338. r=smaug
--HG--
extra : rebase_source : c23e4c1c7d9b284d9f32acae93434e79a001df08
2011-04-27 16:54:07 -04:00
Ehsan Akhgari 67e7a42892 Backout changeset 13f6847dd840 (bug 616684) because it changes code semantics in a bad way, which results in problems like the crash in bug 652580, possibly among others 2011-04-25 17:05:17 -04:00
Ms2ger 540ca93080 Bug 616684 - Remove support for DOM Views; r=sicking 2011-04-24 08:54:25 +02:00
Justin Lebar 932b228cd4 Bug 628069 - Add newURL, oldURL properties to hashchange event. r=smaug
--HG--
extra : rebase_source : 865194e9c50612599ad029815314c0819de60124
2011-03-31 16:30:32 -04:00
Ms2ger e3b8a5d6d0 Bug 620000 - Remove nsXULPDGlobalObject::OnFinalize's language id parameter; r=jst 2011-04-14 14:04:08 +02:00
Boris Zbarsky 449c3d5047 Bug 633421. Throttle timeouts in background tabs to 500ms, noot 10ms. r=jst 2011-03-25 21:05:55 -04:00
Jonas Sicking 187d172f47 Bug 635844 part 1: Back out bug 615501 since we'll no longer fire the "initial popstate" event, and thus don't need a way to differentiate it. r=jlebar a=beltzner 2011-02-28 23:08:56 -08:00
Justin Lebar ext:(%2C%20Ms2ger%20%3Cms2ger%40gmail.com%3E) 94f6d9d6bd Bug 615501 - Make push/replaceState suppress the popstate-after-load event; r=sicking a=jst 2011-02-14 13:15:29 -08:00
Dave Townsend f15a95b0ae Followup for bug 613800, address review comments. r=jst, a=blocks-final 2011-02-16 10:27:25 -08:00
Honza Bambas c583e36b08 Bug 630193: Stop observing various notifications when the nsGlobalWindow is CleanUp()ed rather than destroyed. r=jst a=b
--HG--
extra : rebase_source : 18eca13552214ce00eb26805d9096d70b5fed212
2011-02-06 07:56:52 -05:00
Justin Dolske a146f46046 Bug 621764 - tab-modal prompt in Gmail eventually triggers slow-script dialog for nsPrompter.js. r=mrbkap, sr=jst, a=blocker 2011-02-01 19:23:00 -08:00
Blake Kaplan a5ed4e4114 Fix bug 691359. r=jst@mozilla.com, a=blocker 2011-02-01 09:19:35 -08:00
Paolo Amadini 0f634b2f2b Bug 622326. If we still have script running when we want to clear our window scope, use a termination function, not a runnable, to wait for it to finish. r=bzbarsky,jst a=blocker 2011-01-27 14:42:19 -08:00
Chris Leary 2c15096ee5 Bug 627938: Fix nsGlobalChromeWindow cleanup. (r=smaug, a=jst) 2011-01-23 11:51:00 -08:00
Kyle Huey 1c1ae76d72 Bug 622361: Pending storage events need to be cycle collected. r=jst a=b:final 2011-01-14 09:39:21 -05:00
L. David Baron 359fbe5e47 Backout changeset 0f1fd87b570d (bug 622326) on suspicion of causing bug 626100 (leak in a11y mochitests). CLOSED TREE 2011-01-15 12:31:57 -08:00
Paolo Amadini 403e4caa37 Bug 622326. If we still have script running when we want to clear our window scope, use a termination function, not a runnable, to wait for it to finish. r=bzbarsky, a=blocker 2011-01-14 21:14:41 -05:00
Doug Turner 20f3853cf2 Bug 623316 - Remove IndexedDB from content. noscript to the existing interface method. r=bent a=blocking-fennec
--HG--
extra : rebase_source : 61c1cb1e431a9eebfa44f361417a0b690114563f
2011-01-12 09:35:31 -08:00
Ben Turner 64f9885e23 Bug 615153 - 'nsIWorkerFactory.newChromeWorker() throws NS_ERROR_UNEXPECTED'. r=sicking, a=blocker. 2011-01-06 22:21:26 -08:00
Alon Zakai 5376351e5e Bug 615940 - "Using Device Orientation events starts an immortal rapid timer" [r=azakai] a=blocking-fennec
--HG--
extra : rebase_source : 87bd154d3afb25f0cd6c8ab9114a707a61dc2078
2011-01-03 17:52:00 -08:00
Doug Turner dfcaabc729 Bug 607860 - remove navigator.mozNotification from Firefox desktop. r=jst/jonas a=betaN+ 2011-01-03 16:37:01 -08:00
Wes Johnston a9e8b3db68 Bug 602580 - Return CSSViewport from innerWidth and innerHeight. r=tn, sr=dbaron, a=blocking-fennec 2010-12-21 14:35:09 -08:00
Ben Turner 85219a3a02 Backing out worker changes, a=backout. 2010-12-21 16:44:49 -05:00
Ben Turner 0ce6811105 Bug 615153 - 'nsIWorkerFactory.newChromeWorker() throws NS_ERROR_UNEXPECTED'. r=sicking, a=blocking. 2010-12-21 14:28:05 -05:00
Justin Lebar 5039e47c46 Bug 615061 - Dispatch the hashchange event synchronously. r=smaug, a2.0=blocking 2010-11-29 11:13:12 -08:00
Jonas Sicking abf5fa5994 Bug 609030: Update createBlobURL/revokeBlobURL to it's final name. r=jst a=blocker 2010-11-23 00:50:55 -08:00
Doug Turner 50c51b53cc Bug 605309 - DesktopNotificationCenter gets itself in leak cycles. r=jst a=blocking-betaN 2010-10-18 18:54:00 -07:00
Boris Zbarsky 4278311832 Bug 605492 part 2. Add a way to get an outer window object given its window id via windowutils. r=mrbkap 2010-10-20 20:24:16 -04:00
Boris Zbarsky d71dfe101b Bug 605492 part 1. Add an nsIScriptError2 interface that exposes an outer window id, and set the window id for script errors coming through the DOM JS error reporter. r=mrbkap 2010-10-20 20:24:15 -04:00
Olli Pettay 3c2e8c4c66 Bug 603535 - nsIEventListenerService.getEventTargetChainFor failure on TM nightly, r=mrbkap, a=blocking 2010-10-14 17:45:20 +03:00
Peter Van der Beken e036314b75 Bug 580128 - Always wrap Location objects in wrappers, even for same origin. r=mrbkap/gal 2010-09-29 10:00:52 -07:00
Blake Kaplan b548e78f8a bug 580128 - Create a proxy for the outer window and use it. Note: this turns on new wrappers for all objects. r=peterv 2010-09-17 14:54:40 -07:00
Mike Kristoffersen 5807a1617f Bug 561244 - e10s: forward JS 'crypto' calls from content->chrome (Part 1/3 - Adding unique define to disable crypto object) r=jst a=blocking-fennec
--HG--
extra : rebase_source : 4ad7c331127b5fc75aebbad45a6a529aabe4f5e6
2010-09-29 18:56:46 +02:00
Johnny Stenback 16a2846c1a Fixing bug 61098. Give users a way out of inifinite modal dialog loops. Original patch by Nochum Sossonko. r=jonas@sicking.cc a=beta7+ 2010-09-16 18:24:14 -07:00
Jonas Sicking f827ce02de Bug 391177: XSLT should reuse the existing inner window in order to help debuggers and the like. r=jst a=blocker CLOSED TREE 2010-09-15 15:54:00 -07:00
Doug Turner 8d99337013 Bug 573588 - Implement Desktop Notifications r=smaug, a=beltzner
--HG--
extra : rebase_source : 05ec761dd838e4f85a63df677c6335e456a8dfd6
2010-09-09 22:00:14 -07:00
Ben Turner b88dc31fa2 Bug 591516 - 'IndexedDB: Add some UI to prompt for IndexedDB permissions'. r=sicking+gavin. 2010-09-09 15:15:40 -07:00
David Zbarsky 07afb3378d Bug 36619 - display notification when file picker is blocked r=sicking a=blocking 2010-08-27 11:49:08 -04:00
Blake Kaplan 0af0070428 Bug 586083 - Make the outer window not be a global object. r=jst 2010-08-10 15:00:26 -07:00
Luke Wagner e8308fa9a8 Missed a cset (33addcc556b8) in backout 2010-08-16 22:38:05 -07:00
Blake Kaplan 12ff3dcb37 Bug 586083 - Make the outer window not be a global object. r=jst 2010-08-10 15:00:26 -07:00
Blake Kaplan aba09d273f Bug 585224 - Move the location object to the inner window (though still parenting the JS object to the outer). r=jst 2010-08-06 17:17:33 -07:00
Felipe Gomes e2a618aa5f Bug 508906. Add experimental MozTouch events. r=smaug,jimm 2010-08-02 15:34:54 +02:00
Kyle Huey 4ea3ae98f1 Backed out changeset 2335c842c06c due to test failures. 2010-07-27 11:49:33 -07:00
Doug Turner 0ce696ec8a Bug 561244 - Removes cryto object from e10s builds r=jst
--HG--
extra : rebase_source : 0dc950e449866e9e1dd1d75c6bbe214031e15960
2010-07-26 14:53:31 -07:00
Boris Zbarsky 0017422d5d Bug 558306 part 3. Switch DOM timeout code to TimeDuration/TimeStamp. r=jst 2010-07-15 09:59:24 -04:00
Boris Zbarsky 667b7dd28a Backing out revision e1d443d63be5 (bug 558306) in an attempt to fix test orange. 2010-07-15 12:30:53 -04:00
Boris Zbarsky 7f26df0943 Bug 558306 part 3. Switch DOM timeout code to TimeDuration/TimeStamp. r=jst 2010-07-15 09:59:24 -04:00
Robert Sayre 9b4b59c837 Merge mozilla-central to tracemonkey.
--HG--
rename : dom/indexedDB/IDBCursorRequest.cpp => dom/indexedDB/IDBCursor.cpp
rename : dom/indexedDB/IDBCursorRequest.h => dom/indexedDB/IDBCursor.h
2010-06-30 11:54:20 -07:00
Blake Kaplan a777b652cb Bug 575431 - Re-marry nsGlobalWindow to JS (instead of being language-agnostic). r=jst 2010-06-29 11:46:39 -07:00
Robert Sayre 6713f50b94 Merge mozilla-central to tracemonkey. 2010-06-23 17:04:20 -07:00
Ben Turner 4334db65c2 Bug 553413 - 'Implement Asynchronous parts of the Indexed Database API.' p=sdwilsh+bent, r=jst. 2010-06-23 12:46:08 -07:00
Robert Sayre 103fa1295e Merge mozilla-central to tracemonkey. 2010-06-21 18:01:14 -07:00
Blake Kaplan dd7d9da5b5 Bug 567451 - Inline some functions that have no business appearing in profiles. r=jst 2010-06-08 09:13:08 -07:00
Shawn Wilsher 3405a47131 Bug 574740 - Rename nsIIndexedDatabaseRequest to nsIIDBFactory
Update interface names per specification.
r=bent

--HG--
rename : dom/indexedDB/IndexedDatabaseRequest.cpp => dom/indexedDB/IDBFactory.cpp
rename : dom/indexedDB/IndexedDatabaseRequest.h => dom/indexedDB/IDBFactory.h
rename : dom/indexedDB/nsIIndexedDatabaseRequest.idl => dom/indexedDB/nsIIDBFactory.idl
2010-06-28 09:44:30 -07:00
Olli Pettay e599b170aa Bug 571438 - MayHavePaintEventListener fails for non-e10s message manager, r=jst 2010-06-16 14:43:36 +03:00
Benjamin Smedberg 68cbcbc8d1 Bug 567357 - Fire a DOMWindowCreated event which matches the observer-service notification in bug 549539 so that extensions/message-manager scripts can add DOM features before any content script runs, r=sicking
--HG--
extra : rebase_source : b1eda0b412952587b9ef12908b2c2f818359ce65
2010-06-10 12:23:40 -04:00
Olli Pettay b81944d01e Bug 566024 - Add a 'global' messageManager, r=jst 2010-06-10 12:26:19 +03:00
Dan Witte 8adc0c8eec Bug 568059 - Remove navigator.preference. r=sicking, sr=jst 2010-06-08 16:43:55 -07:00
Jonas Sicking 91a85f600a Bug 563491: Don't run code to set window status while we're inside a script blocker. r=mrbkap 2010-06-01 13:36:16 -07:00
Olli Pettay 927111fb28 Bug 549682 - Port the message-manager API to mozilla-central, r=jst 2010-05-18 15:28:37 +03:00
Olli Pettay 1c104f5606 Backout Bug 549682 2010-05-18 13:10:47 +03:00
Olli Pettay c719bc6e84 Bug 549682 - Port the message-manager API to mozilla-central, r=jst
--HG--
extra : rebase_source : 45b28a7762428193873a636fa7d5108607f9e4a3
2010-05-18 11:52:24 +03:00
Boris Zbarsky da463ff9c2 Bug 484710. Add a notification for when a window's scope stops being usable. r=jst 2010-05-14 17:17:52 -04:00
Michael Kohler 6c0f59f4a6 Bug 506041 Part 2: Correct misspellings in source code
r=timeless
2010-05-13 14:19:50 +02:00
Boris Zbarsky 69e0aca09c Bug 534149. Give each nsGlobalWindow a unique ID and expose the IDs on nsIDOMWindowUtils. r=jst 2010-05-10 21:12:35 -04:00
Olli Pettay d6fd356f32 Bug 560902 - Optimize nsFocusManager::ContentRemoved, r=enndeakin+sicking
--HG--
extra : rebase_source : 69c72c67341dd27dbd5a526c59c5ee52d2b6a813
2010-04-27 12:58:58 +03:00
Neil Deakin b627649b3d Bug 418521, improve the way focus indicators are displayed to correlate better with system behaviour, add -moz-focusring property to apply only when focus rings should be drawn, r=dao,jmathies,dbaron sr=neil 2010-04-21 10:53:42 -04:00
Olli Pettay de19edd316 Bug 552663, start timeouts asynchronously when jsd enables scripts, r=jst 2010-03-24 00:35:15 +02:00
Markus Stange 00fbecd8b0 Bug 508482 - Window activation status should be a pseudoclass (:-moz-window-inactive) instead of an attribute. r=dbaron, r+sr=jst 2010-03-17 18:10:57 +01:00
Markus Stange d0207d99c6 Backed out changeset e17c076aceea, bug 508482 (:-moz-window-inactive pseudoclass) because of test_righttoleft.xul test failures. 2010-03-17 20:03:53 +01:00
Markus Stange 4a7a64bc2e Bug 508482 - Window activation status should be a pseudoclass (:-moz-window-inactive) instead of an attribute. r=dbaron, r+sr=jst 2010-03-17 18:10:57 +01:00
Jonas Sicking 38abb3bcf3 Bug 549452 followup. Address review comment by renaming function.
--HG--
extra : rebase_source : 2b287a740157cac7d06179960c35f7ccda925156
2010-03-13 12:39:36 -08:00
Ben Newman dfbfcd12c0 Simpler approach to bug 523885. r=jst 2010-03-11 20:42:05 -08:00
Jonas Sicking 6464e01c74 Bug 549452: Clean up nsGlobalWindow::SetNewDocument. r=mrbkap sr=jst
--HG--
extra : rebase_source : 1e13da2a339089ccf17b8cf9f41d59e188aa8165
2010-03-12 16:59:18 -08:00
Ben Newman 32d4ca576a Backout of changeset c3b327ad051a due to failure of dom/tests/mochitest/bugs/test_bug459848.html. 2010-02-23 13:57:15 -08:00
Ben Newman f0752dd13d Bug 523885 - Tabbrowser handling of window.close possibly leak-prone. r=bz+sr=jst
--HG--
extra : rebase_source : 07b3a2e304498e053cdb301bb0d0d781412a196a
2010-02-23 10:45:05 -08:00
Neil Deakin 3cb7c0acf7 Bug 528491, combine nsFocusController and nsWindowRoot, r=jst,sr=smaug 2010-02-20 11:07:03 -05:00
Justin Lebar 2fc408988c Bug 500328 - Implement History.pushState(), History.replaceState() methods. r=smaug, r=zpao, sr=sicking 2009-09-01 09:45:05 -07:00
Daniel Holbert 585d440f02 Backed out changeset dc7a04be6904 on suspicion of causing bug 543034. 2010-01-29 18:50:46 -08:00
Justin Lebar 731c252671 Bug 500328 - Implement History.pushState(), History.replaceState() methods. r=smaug, r=zpao, sr=sicking 2009-09-01 09:45:05 -07:00
Dave Townsend 1444ebd2bf Bug 537449: Opening new chrome windows is broken after cancelling window.onbeforeunload event. r=bsmedberg, r=jst 2010-01-28 10:35:20 -08:00
Honza Bambas 3f72ce86df Bug 501423 - StorageEvent implementation does not match the spec, r=jst 2010-01-28 15:53:53 +01:00
Justin Lebar 46de8dd77f Bug 515190 - Hashchange event should be dispatched synchronously. r=smaug 2009-11-26 21:01:43 -08:00
Robert O'Callahan c73b06e1f3 Bug 526394. Part 11: Convert nsGlobalWindow and nsDOMWindowUtils. r=mats 2009-09-03 15:57:46 +12:00
Robert O'Callahan 52d6a35781 Backed out changeset ad1892e1bb82 2010-01-07 15:17:15 +13:00
Justin Lebar 3c5c37e7fc Bug 515190: Hashchange event should be dispatched synchronously. r=smaug 2009-11-26 21:01:43 -08:00
Daniel Holbert b20bff31e2 Bug 537157: Explicitly prevent SMIL animations inside of XBL bindings from running. Also, make nsSMILCSSProperty directly create a computed style object, instead of using nsPIDOMWindow helper method. r=smaug sr=roc 2010-01-06 09:20:50 -08:00
Blake Kaplan 5a297da3c3 Bug 520386. Don't clear scope while executing code in that scope. r=bzbarsky@mit.edu, sr=jst@mozilla.org 2009-11-19 15:11:44 -08:00
Peter Van der Beken 113419688c Fix for bug 512645 (Only clamp nested timeouts). r=jst.
--HG--
extra : rebase_source : 556930c0c02258f75becabe58eadd202fdea59a1
2009-08-26 11:07:39 -07:00
Ben Newman a13534936f Bug 260264 - Popups from a Site that is in the "Allowed List" (whitelist) are blocked, starting with the n-th popup (dom.popup_maximum). r+sr=jst 2009-09-16 11:46:05 -07:00
Johnny Stenback 0f5b5ba5ba Fixing bug 504862. Sanitize modal dialog argument handling. r=mrbkap@gmail.com, sr=bzbarsky@mit.edu 2009-10-06 17:09:16 -07:00
Daniel Holbert 176ee39664 Bug 474049: Add support for SMIL animation of CSS properties in SVG. r=birtles sr=roc 2009-10-02 14:37:25 -07:00
Johnny Stenback 7dfc767546 Backed out changeset 105d89f1a33b due to test failures. 2009-08-31 15:03:53 -07:00
Johnny Stenback abda1a2206 Fixing bug 504862. Sanitize modal dialog argument handling. r=mrbkap@gmail.com, sr=bzbarsky@mit.edu 2009-08-31 14:35:58 -07:00
Doug Turner af9653cad8 Bug 485943 - Device Orientation Support. r=olli 2009-08-21 07:42:37 -07:00
Robert O'Callahan e9f662e5fb Bug 486200. Add window.mozInnerScreenX/Y APIs to return usable screen coordinate APIs (as opposed to window.screenX/Y which return window frame coordinates and are unusable). Also adds window.mozScreenPixelsPerCSSPixel which chrome-prileged code can use to convert CSS pixels to actual screen pixels. r=dbaron,sr=jst
--HG--
extra : rebase_source : 30f4c953f3e3866da042b935953ba239ac0a93c4
2009-07-30 15:16:44 +12:00
Peter Van der Beken 9a1d5b0850 Part 1 of fix for bug 500850 (Make inline style use wrapper cache and slimwrappers). r/sr=bz.
--HG--
extra : rebase_source : 21f9c86dc4024e0e23882226e8395d61d5b0c518
2009-07-13 13:14:57 +02:00
Masayuki Nakano 4c03c99935 Bug 76053 Windows mouse integration: no "Snap to default button in dialog boxes" r=enn+ere, sr=roc 2009-07-15 18:54:30 +09:00
Doug Turner a423b771c1 Backing about 484488. 2009-07-05 22:24:56 -07:00
Peter Van der Beken 88bc7e0eed Fix for bug 482788 (Lightweight DOM wrappers). r=jst, sr=mrbkap. 2009-05-12 22:20:42 +02:00
jlebar 8e7e8ce329 Bug 385434: Add support for HTML5 onhashchange. r=smaug, sr=sicking 2009-06-26 10:16:50 -07:00
Doug Turner d210ca62c4 Bug 484488 - MakeFullWindow support for windows mobile. r=olli.pettay, sr=vlad 2009-07-01 12:01:11 -07:00
Olli Pettay 3c487cc506 Bug 497178 - Make nsPIDOMEventTarget::GetListenerManager to return nsIEventListenerManager*, r+sr=peterv
--HG--
extra : rebase_source : e92146a2236fe857aff7b2a9b1516b30174b8d83
2009-06-23 14:23:52 +03:00
Daniel Brooks 0f7914bc13 Backed out changeset 3ed492a26551 2009-06-19 11:57:54 -05:00
Daniel Brooks 9306ebacac Bug 486200 - Need API to compute screen coordinates of DOM elements
r=roc,dbaron, sr=roc,jst
2009-06-19 02:24:34 -05:00
Neil Deakin 15df29db77 Bug 178324, refactor focus by moving all focus handling into one place and simplifying it, add many tests, fixes many other bugs too numerous to mention in this small checkin comment, r=josh,smichaud,ere,dbaron,marco,neil,gavin,smaug,sr=smaug (CLOSED TREE) 2009-06-10 14:00:39 -04:00
Honza Bambas 2cc8843616 Bug 492219 - localStorage's constructor should be Storage, r+sr=jst 2009-05-16 15:59:30 +02:00
Olli Pettay 6ae293b233 Bug 489581 - Reduce Addref/Release when calling event handlers, r+sr=jst 2009-04-24 12:18:37 +03:00
Benjamin Smedberg 5a7f33d593 Bug 326628 Try #2 - User content can pop up PKCS11 dialogs, which is annoying and entirely unnecessary r+sr=jsr,r=kaie 2009-04-10 13:21:04 -04:00
Benjamin Smedberg 882ae00fd6 Back out everything from bug 326628 because it's too red to fix on the fly. CLOSED TREE 2009-04-09 16:01:02 -04:00
Benjamin Smedberg 7fd586cb4d Bug 326628 - user content can pop up pkcs11 dialogs, which is annoying and entirely unnecessary r+sr=jst,r=kaie 2009-04-08 10:27:45 -04:00
Boris Zbarsky 13009f7551 Bug 465804. Remove no-longer-needed method. r+sr=jst 2009-03-24 21:52:24 -04:00
Honza Bambas 57c667fe6b Bug 422526 - implement localStorage, p=Honza Bambas+Dave Camp, r=jst+dcamp+bz 2009-03-19 00:43:45 +01:00
Benjamin Smedberg 555ae1b325 Bug 481102 - Reorganize dom/public, dom/public/base, and dom/src/base to dom/base, r+sr=jst
--HG--
rename : dom/src/base/Makefile.in => dom/base/Makefile.in
rename : dom/src/base/crashtests/244933-1.html => dom/base/crashtests/244933-1.html
rename : dom/src/base/crashtests/275912-1.html => dom/base/crashtests/275912-1.html
rename : dom/src/base/crashtests/327571-1.html => dom/base/crashtests/327571-1.html
rename : dom/src/base/crashtests/327695-1.html => dom/base/crashtests/327695-1.html
rename : dom/src/base/crashtests/329481-1.xhtml => dom/base/crashtests/329481-1.xhtml
rename : dom/src/base/crashtests/338674-1.xhtml => dom/base/crashtests/338674-1.xhtml
rename : dom/src/base/crashtests/346381-1.html => dom/base/crashtests/346381-1.html
rename : dom/src/base/crashtests/359432-1.xhtml => dom/base/crashtests/359432-1.xhtml
rename : dom/src/base/crashtests/369413-1.html => dom/base/crashtests/369413-1.html
rename : dom/src/base/crashtests/372554-1.html => dom/base/crashtests/372554-1.html
rename : dom/src/base/crashtests/404869-1.xul => dom/base/crashtests/404869-1.xul
rename : dom/src/base/crashtests/439206-1.html => dom/base/crashtests/439206-1.html
rename : dom/src/base/crashtests/462947.html => dom/base/crashtests/462947.html
rename : dom/src/base/crashtests/473284.xul => dom/base/crashtests/473284.xul
rename : dom/src/base/crashtests/90613-1.html => dom/base/crashtests/90613-1.html
rename : dom/src/base/crashtests/crashtests.list => dom/base/crashtests/crashtests.list
rename : dom/src/base/domerr.msg => dom/base/domerr.msg
rename : dom/src/base/nsBarProps.cpp => dom/base/nsBarProps.cpp
rename : dom/src/base/nsBarProps.h => dom/base/nsBarProps.h
rename : dom/public/nsDOMCID.h => dom/base/nsDOMCID.h
rename : dom/src/base/nsDOMClassInfo.cpp => dom/base/nsDOMClassInfo.cpp
rename : dom/src/base/nsDOMClassInfo.h => dom/base/nsDOMClassInfo.h
rename : dom/public/nsDOMClassInfoID.h => dom/base/nsDOMClassInfoID.h
rename : dom/public/nsDOMError.h => dom/base/nsDOMError.h
rename : dom/src/base/nsDOMException.cpp => dom/base/nsDOMException.cpp
rename : dom/src/base/nsDOMException.h => dom/base/nsDOMException.h
rename : dom/public/nsDOMJSUtils.h => dom/base/nsDOMJSUtils.h
rename : dom/src/base/nsDOMScriptObjectFactory.cpp => dom/base/nsDOMScriptObjectFactory.cpp
rename : dom/src/base/nsDOMScriptObjectFactory.h => dom/base/nsDOMScriptObjectFactory.h
rename : dom/public/nsDOMScriptObjectHolder.h => dom/base/nsDOMScriptObjectHolder.h
rename : dom/public/nsDOMString.h => dom/base/nsDOMString.h
rename : dom/src/base/nsDOMWindowList.cpp => dom/base/nsDOMWindowList.cpp
rename : dom/src/base/nsDOMWindowList.h => dom/base/nsDOMWindowList.h
rename : dom/src/base/nsDOMWindowUtils.cpp => dom/base/nsDOMWindowUtils.cpp
rename : dom/src/base/nsDOMWindowUtils.h => dom/base/nsDOMWindowUtils.h
rename : dom/src/base/nsFocusController.cpp => dom/base/nsFocusController.cpp
rename : dom/src/base/nsFocusController.h => dom/base/nsFocusController.h
rename : dom/src/base/nsGlobalWindow.cpp => dom/base/nsGlobalWindow.cpp
rename : dom/src/base/nsGlobalWindow.h => dom/base/nsGlobalWindow.h
rename : dom/src/base/nsGlobalWindowCommands.cpp => dom/base/nsGlobalWindowCommands.cpp
rename : dom/src/base/nsGlobalWindowCommands.h => dom/base/nsGlobalWindowCommands.h
rename : dom/src/base/nsHistory.cpp => dom/base/nsHistory.cpp
rename : dom/src/base/nsHistory.h => dom/base/nsHistory.h
rename : dom/public/nsIBaseDOMException.h => dom/base/nsIBaseDOMException.h
rename : dom/public/nsIDOMClassInfo.h => dom/base/nsIDOMClassInfo.h
rename : dom/public/nsIDOMScriptObjectFactory.h => dom/base/nsIDOMScriptObjectFactory.h
rename : dom/public/nsIEntropyCollector.idl => dom/base/nsIEntropyCollector.idl
rename : dom/public/base/nsIFocusController.h => dom/base/nsIFocusController.h
rename : dom/public/nsIJSEventListener.h => dom/base/nsIJSEventListener.h
rename : dom/public/nsIJSNativeInitializer.h => dom/base/nsIJSNativeInitializer.h
rename : dom/public/nsIScriptChannel.idl => dom/base/nsIScriptChannel.idl
rename : dom/public/nsIScriptContext.h => dom/base/nsIScriptContext.h
rename : dom/public/nsIScriptExternalNameSet.h => dom/base/nsIScriptExternalNameSet.h
rename : dom/public/nsIScriptGlobalObject.h => dom/base/nsIScriptGlobalObject.h
rename : dom/public/nsIScriptGlobalObjectOwner.h => dom/base/nsIScriptGlobalObjectOwner.h
rename : dom/public/nsIScriptNameSpaceManager.h => dom/base/nsIScriptNameSpaceManager.h
rename : dom/public/nsIScriptObjectOwner.h => dom/base/nsIScriptObjectOwner.h
rename : dom/public/nsIScriptObjectPrincipal.h => dom/base/nsIScriptObjectPrincipal.h
rename : dom/public/nsIScriptRuntime.h => dom/base/nsIScriptRuntime.h
rename : dom/public/nsIScriptTimeoutHandler.h => dom/base/nsIScriptTimeoutHandler.h
rename : dom/src/base/nsJSEnvironment.cpp => dom/base/nsJSEnvironment.cpp
rename : dom/src/base/nsJSEnvironment.h => dom/base/nsJSEnvironment.h
rename : dom/src/base/nsJSTimeoutHandler.cpp => dom/base/nsJSTimeoutHandler.cpp
rename : dom/src/base/nsJSUtils.cpp => dom/base/nsJSUtils.cpp
rename : dom/src/base/nsJSUtils.h => dom/base/nsJSUtils.h
rename : dom/src/base/nsLocation.cpp => dom/base/nsLocation.cpp
rename : dom/src/base/nsMimeTypeArray.cpp => dom/base/nsMimeTypeArray.cpp
rename : dom/src/base/nsMimeTypeArray.h => dom/base/nsMimeTypeArray.h
rename : dom/public/base/nsPIDOMWindow.h => dom/base/nsPIDOMWindow.h
rename : dom/public/base/nsPIWindowRoot.h => dom/base/nsPIWindowRoot.h
rename : dom/src/base/nsPluginArray.cpp => dom/base/nsPluginArray.cpp
rename : dom/src/base/nsPluginArray.h => dom/base/nsPluginArray.h
rename : dom/src/base/nsScreen.cpp => dom/base/nsScreen.cpp
rename : dom/src/base/nsScreen.h => dom/base/nsScreen.h
rename : dom/src/base/nsScriptNameSpaceManager.cpp => dom/base/nsScriptNameSpaceManager.cpp
rename : dom/src/base/nsScriptNameSpaceManager.h => dom/base/nsScriptNameSpaceManager.h
rename : dom/src/base/nsWindowRoot.cpp => dom/base/nsWindowRoot.cpp
rename : dom/src/base/nsWindowRoot.h => dom/base/nsWindowRoot.h
rename : dom/public/nsWrapperCache.h => dom/base/nsWrapperCache.h
2009-03-11 10:10:19 -04:00