Phil Ringnalda
a30061699c
Back out 316d6a49a603 and 98617f7b667b (bug 624621) for jsreftest failures
2011-12-19 18:40:16 -08:00
Boris Zbarsky
f78b6a85f7
Bug 624621 part 2. Add an origin principal argument on nsIScriptContext::EvaluateString and pass that through to the JS engine. r=mrbkap
2011-12-19 12:47:52 -05:00
Matt Brubeck
f4c7d3ce39
Back out c68ddc33f098 and 18332142caa5 (bug 624621) for jsreftest failures
2011-12-19 10:42:27 -08:00
Boris Zbarsky
da3127836d
Bug 624621 part 2. Add an origin principal argument on nsIScriptContext::EvaluateString and pass that through to the JS engine. r=mrbkap
2011-12-19 12:47:52 -05:00
Ms2ger
e55f25e5ac
Bug 698420 - Make nsScriptObjectHolder typesafe; r=bz
2011-12-18 11:05:12 +01:00
Nathan Froyd
374a916108
Bug 709205 - use GetObserverService in dom,docshell; r=bz
2011-12-09 14:35:37 -05:00
Jeff Walden
476c7d19c5
Bug 708735 - Use <stdint.h> types in JSAPI and throughout SpiderMonkey. Continue to provide the {u,}int{8,16,32,64} and JS{Uint,Int}{8,16,32,64} integer types through a single header, however, for a simpler backout strategy -- and also to ease the transition for embedders. r=timeless on switching the jsd API to use the <stdint.h> types, r=luke, r=dmandelin
2011-12-08 22:54:10 -05:00
Jignesh Kakadiya
d078eaf4fa
Bug 709493 - Return JSObject* from nsIScriptHandler::GetScriptObject() rather than returning void to remove casting. f=Ms2ger r=bz
2011-12-15 21:03:33 +01:00
Masatoshi Kimura
26a3901298
Bug 704820 - Simplify nsContentUtils::ReportToConsole. r=smaug
2011-12-15 14:47:03 +00:00
Boris Zbarsky
e3decbb3a4
Bug 710981. Add the new name for cancelAnimationFrame. r=roc
2011-12-15 08:53:06 -05:00
Boris Zbarsky
8415f57767
Bug 708169. Warn when null or no argument is passed to mozRequestAnimationFrame. r=roc
2011-12-15 08:53:06 -05:00
Boris Zbarsky
bd8d6674cc
Bug 647518 part 2. Allow canceling requestAnimationFrame requests. r=roc
2011-12-06 23:43:18 -05:00
Boris Zbarsky
83bd6bb9a4
Bug 647518 part 1. Make requestAnimationFrame return handles for animation frame requests. r=roc
2011-12-06 23:43:18 -05:00
Chris Pearce
801e705807
Bug 704039 part 2 - Implement full-screen mode rollback stack. r=bz
2011-12-07 10:59:39 +13:00
Phil Ringnalda
ff55401b49
Back out 827420c6b756 (bug 700080) to investigate browser-chrome leaking
2011-12-02 20:59:03 -08:00
Gavin Sharp
36bf95eee6
Bug 700080: don't show prompts for tabs that are closing, r=jst
2011-11-30 13:17:21 -08:00
Justin Lebar
5905e88333
Back out revs d445f83ecfb1:dc9cc326cad0, because they did not back out what was intended.
2011-12-01 16:35:42 -05:00
Justin Lebar
47b2651e38
Backed out changeset 5d920a44a901 (bug 698002)
2011-12-01 15:43:07 -05:00
Timothy Nikkel
8167fe7623
Bug 668437. Part 1. DeCOMtaminate nsMenuPopupFrame::GetWidget. r=enndeakin
2011-12-01 13:56:41 -06:00
Boris Zbarsky
c84a7a7b33
Bug 706283. Handle null passed to requestAnimationFrame gracefully. r=roc
2011-12-01 14:24:00 -05:00
Johnny Stenback
62a29bb3e4
Fixing bug 690952. Move window.navigator from the outer window to the inner window, and stop persisting it across same origin page navigations. r=mrbkap@gmail.com
2011-12-01 00:28:16 -08:00
Boris Zbarsky
6c0d48e059
Bug 704171 part 2. Remove the no-argument form of mozRequestAnimationFrame. r=roc
2011-11-28 07:49:53 -05:00
Boris Zbarsky
736d324733
Bug 704175 part 2. Rename nsIAnimationFrameListener to nsIFrameRequestCallback. r=roc
...
--HG--
rename : dom/interfaces/base/nsIAnimationFrameListener.idl => dom/interfaces/base/nsIFrameRequestCallback.idl
2011-11-28 07:48:30 -05:00
Ms2ger
8aec725418
Bug 704593 - Remove JS-specific nsGlobalWindow::ClearTimeoutOrInterval(); r=jst
2011-11-26 11:23:25 +01:00
Ms2ger
5243eb3628
Bug 698402 - Store JSObjects in nsGlobalWindow::mCachedXBLPrototypeHandlers; r=peterv
2011-11-26 11:14:47 +01:00
Ms2ger
d75f195dee
Bug 698400 - Use setObject in nsXBLPrototypeHandler::EnsureEventHandler; r=jst
2011-11-26 11:14:29 +01:00
Ms2ger
d7ea3f6644
Bug 698395 - Give nsIScriptContext::CreateNativeGlobalForInner a JSObject outparam; r=peterv
2011-11-26 11:12:16 +01:00
Ms2ger
b744235be1
Bug 698394 - Pass JSObject handler to nsIScriptContext::BindCompiledEventHandler; r=sicking
2011-11-26 11:11:35 +01:00
Masayuki Nakano
435f4bcaac
Bug 703150 Cannot drag scrollbar thumb if stopPropagation() of mousedown event is called r+sr=smaug
2011-11-25 10:09:58 +09:00
Chris Pearce
011644c901
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
Ms2ger
bb1ee74b88
Bug 696660 - Outparamdel nsIScriptRuntime::CreateContext; r=mrbkap
2011-11-16 08:50:19 +01:00
Justin Lebar
3c1ff6be4d
Bug 586010 - Send dump() output to Android device log. r=bz
...
--HG--
extra : rebase_source : f1712d831aaa6fbd8e1bfd6060fbb4aa951ccb74
2011-11-09 19:27:08 -05: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
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
Ms2ger
c4446bc22d
Bug 694769 - Remove nsIScriptContext::GetScriptGlobal in favour of GetGlobalJSObject; r=smaug
2011-10-29 22:09:04 +02:00
Ms2ger
c450947f2e
Bug 694763 - Remove nsIScriptContext::DidSetDocument; r=jst
2011-10-29 22:06:42 +02:00
Ms2ger
2da2151a18
Bug 694759 - Make nsIScriptContext::GetNativeGlobal return JSObject; r=jst
2011-10-29 22:06:17 +02:00
Olli Pettay
940611c04c
Bug 291653, make window level listeners work consistently with other listeners, r=jst
2011-10-26 14:49:37 +03:00
Peter Van der Beken
a724e62e74
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
Olli Pettay
a86b1a4d43
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
2a602a5685
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
Jeff Walden
b7753477cf
Bug 693469 - Implement mozilla::ArrayLength and mozilla::ArrayEnd, and replace uses of NS_ARRAY_LENGTH whenever possible. (Exceptions: assigning to static initializers, use in static assertions, as template parameters, etc. These will go away when the relevant compilers have C++11 constexpr support.) r=cjones
...
--HG--
extra : rebase_source : b4bae9a0f85abf2feb828609b50e756916b99a6f
2011-10-10 22:50:08 -07:00
Bobby Holley
32e79ed0fa
Merge mozilla-central to mozilla-inbound
2011-10-14 12:12:53 -07:00
Olli Pettay
ef738c920a
Bug 694033 - Add Telemetry probes for windows which have had mutation event listeners, r=taras
...
--HG--
extra : rebase_source : 418c83dd2aad924a3e718f2b084f211e2bd3f31e
2011-10-14 20:40:12 +03:00
Neil Deakin
a613d39bb5
Bug 694227 nsIBaseWindow::blurSuppression is unusued, r-bsmedbeg,sr=bz
2011-10-14 14:11:22 -04:00
Peter Van der Beken
50d6977e85
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
Luke Wagner
ff185699a3
Bug 632064 - remove JS_GetScopeChain (r=mrbkap)
...
--HG--
extra : rebase_source : dcaab70f180d23ad3e9cd12c2d84d326b012fbb2
2011-09-28 17:57:27 -07:00
Jeff Walden
eb2cb918a4
Back out everything since 5435ee09cf7b. Tinderbox compilers hate me. r=epic-fail
2011-10-12 12:21:53 -07:00
Jeff Walden
77ebbde4ab
Bug 639469 - Implement mozilla::ArrayLength and mozilla::ArrayEnd, and replace uses of NS_ARRAY_LENGTH whenever possible. r=cjones
...
--HG--
extra : rebase_source : 860a8271bf7e51cde358f2a4185c410de1fc2960
2011-10-10 22:50:08 -07:00
Peter Van der Beken
e7f3e00980
Bug 648801 (new DOM list bindings) - Support expandos on the new proxy-based DOM bindings. r=bz/jst/mrbkap.
...
--HG--
extra : rebase_source : 367af99c154271aca19f24244be7b5adeffd8a36
2011-05-26 21:58:35 +02:00
Peter Van der Beken
c119510fb8
Stop including nsDOMClassInfo.h all over the place.
...
--HG--
extra : rebase_source : 24bd6a84238834f8ca50990a91849dff2c5040ba
2011-10-03 21:11:31 +02:00
Fabrice Desré
82e33e773d
Bug 676595 - Android orientation manager is never shut down [r=dougt]
2011-10-06 10:27:41 -07:00
Brian Hackett
e89780c40d
Remove jsobj.h from installed headers, bug 690943. r=luke
2011-10-04 07:06:54 -07:00
Josh Matthews
e2cd980b50
Bug 688158 - Make navigator.geolocation return null if geolocation is disabled. r=jst
2011-09-21 11:07:41 -04:00
Matt Brubeck
4a976aab61
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
d8e503c38b
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
6c638adde5
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
7ff16e4820
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
Ms2ger
6dce1fd694
Bug 688190 part b: Add various warnings. r=bz
2011-09-27 12:19:02 +02:00
Mounir Lamouri
6453ab8669
Backout last two commits because of ownership issue.
2011-09-27 12:18:02 +02:00
Mounir Lamouri
26801d525d
Bug 688190 part b: Add various warnings. r=bz
2011-09-27 11:40:28 +02:00
Dão Gottwald
a61151cef0
Backed out changeset 58d2b33f0e0d
2011-09-27 10:51:42 +02:00
Ms2ger
8fc1a9a9d2
Bug 688190 part b: Add various warnings. r=bz
2011-09-27 10:18:50 +02:00
Ehsan Akhgari
b542efd4e6
Bug 666414 - Prevent AddRef and Release from being called on the pointers wrapped in nsCOMPtr and nsRefPtr; r=bsmedberg
2011-09-16 16:22:44 -04:00
Boris Zbarsky
a1f21e752a
Bug 444641 part 1. Factor out IsAboutBlank into nsNetUtil.h. r=jduell,jst
2011-09-20 17:00:41 -04:00
Justin Lebar
dc2fd37a91
Bug 629535 - Add navigator.doNotTrack. r=sicking
...
--HG--
extra : rebase_source : 48631ff375196045de1c2865ab4ee9b9c219c736
2011-09-19 15:59:22 -04:00
Ed Morley
848e923aa5
Merge last green changeset on mozilla-central to mozilla-inbound
2011-09-19 12:27:35 +01:00
Olli Pettay
7dfe430f16
Bug 432698 - mouseenter and mouseleave, r=masayuki
...
--HG--
extra : rebase_source : 2664d2655546602edc88bcadc7dd981b01d76820
2011-09-18 02:45:14 -05:00
Ms2ger
7b7048fda0
Bug 649603 - Make nsIScriptContext::GetNativeContext return JSContext; r=jst
2011-09-18 11:22:17 +02:00
Ed Morley
7216208a08
Bug 605174 - Fix a number of build warnings in dom/ (based on patch by Ms2ger <ms2ger@gmail.com>); r=peterv
2011-09-18 20:02:27 +01:00
James Hobin
8d1ea59d20
Bug 659576 - bool nsGlobalWindow::ConfirmDialogAllowed() returns nsresult; r=jst
2011-09-14 16:34:25 +01:00
Ed Morley
59e8ad1ced
Merge mozilla-central to mozilla-inbound
2011-09-05 01:18:16 +01:00
Chris Pearce
7c1b965126
Bug 545812 - DOM/content changes required for DOM full-screen API. r=jst
2011-09-05 08:39:05 +12:00
Mounir Lamouri
5f0cdb8a57
Bug 684018 - Fix DOMWindow printfs. rs=Ms2ger
2011-09-02 12:11:45 +02:00
Mounir Lamouri
891f797e17
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
Matt Brubeck
1ac33bf7e2
Back out 0432fe833c93 (bug 667183) because of build bustage
2011-08-30 17:11:34 -07:00
Mounir Lamouri
39eaa3695d
Bug 667183 - Create a static nsGlobalWindow::Init method to do one-shot initializations currently in nsGlobalWindow ctor. r=jst
2011-08-31 01:36:07 +02:00
Marco Castelluccio
7cb0506077
Bug 682744 - Sprinkle some do_QueryObject fairy dust around the tree; r=khuey
2011-08-30 22:45:31 +01:00
Olli Pettay
9a5ad4ddcc
Bug 682264 - Make EventListenerManager participate to the DOM Memory Reporter, r=volkmar,bz
2011-08-27 01:39:00 +03:00
Mats Palmgren
6894179e71
Bug 653649 - New way of getting child lists from frames. (part 4/5) r=roc
...
Remove the nsIAtom* child list names and use child list ID enum instead.
2011-08-24 22:54:30 +02:00
Boris Zbarsky
8bdd1a64af
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
3b2d73afa7
Bug 659350 part 2. Add nsITouchEventReceiver for windows. r=smaug
2011-08-24 15:49:25 -04:00
Kyle Huey
fb484b4a1f
Bug 681024: Don't do third party checks on indexedDB for chrome windows. r=bent
2011-08-22 16:35:01 -04:00
Matheus Kerschbaum
b2c6a99601
Bug 679971 - Remove Navigator.taintEnabled(); r=gal
2011-08-21 09:27:29 +01:00
Doug Turner
066340cb9a
Bug 678818 - Ensure that the device motion is cancelled at ~nsGlobalWindow. r=jst
2011-08-18 19:27:41 -07:00
Jonas Sicking
923d52af7d
Bug 667612: Make addEventListener not throw if passed a null listener. r=smaug
2011-08-18 02:45:00 -07:00
Ms2ger
5067dcabc0
Bug 675075 - Reinstate nsIDOMWindowInternal; r=smaug
...
* * *
Bug 675075 - Followup: remove nsIDOMWindowInternal.h includes; r=bustage
2011-08-14 19:22:29 +02:00
Ms2ger
c046ca0ed7
Backout bug 675075 for bustage
2011-08-14 20:05:20 +02:00
Ms2ger
3980c93ae7
Bug 675075 - Reinstate nsIDOMWindowInternal; r=smaug
2011-08-14 19:22:29 +02:00
Kyle Huey
c0e19976c5
Bug 673742: Allow postMessage()ing File and FileLists between same-origin windows. r=sicking
2011-08-12 12:58:43 -04:00
Mounir Lamouri
900f3d99a5
Bug 674112 - Make nsNavigator participate to the DOM Memory Reporter. r=jst
2011-08-09 14:58:41 +02:00
Landry Breuil
2c09c4f03f
Bug 676924 - Use JSUint64 instead of uint64. r=khuey
2011-08-09 00:58:11 +02:00
Jonas Sicking
5491caaaf4
Bug 661297 Part 1: Remove Add/RemoveEventListenerByIID API. r=smaug
2011-08-08 11:26:26 -07:00
Matheus Kerschbaum
4b5262767d
Bug 675500 - Remove --disable-storage. r=khuey
2011-08-06 19:05:49 +02:00
Justin Lebar
8198e6e37b
Bug 673252 - Allow +++DOCSHELL and +++DOMWINDOW printfs to be silenced via MOZ_QUIET environment variable. r=bz
2011-08-04 11:43:50 -04:00
Sindre Dammann
deab7c03fb
Bug 578534. Make Navigator.cookieEnabled take per-site exceptions into account. r=bzbarsky
2011-08-03 14:32:32 -04:00
Mounir Lamouri
7f8f6d95bf
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
Luke Wagner
1f831c5948
Bug 668915 - JSAutoStructuredCloneBuffer shouldn't require a 'cx' (r=bent,jorendorff)
...
--HG--
extra : rebase_source : f2fe9ab1e25188223f75e8d2ddcbdf977e62782b
2011-07-12 10:42:24 -07:00
Luke Wagner
640dd6a5c2
Backout 2e0fea2cbd9b for windows linker lameness
2011-07-28 14:35:38 -07:00
Luke Wagner
c0bacd6aa9
Bug 668915 - JSAutoStructuredCloneBuffer shouldn't require a 'cx' (r=bent,jorendorff)
2011-07-12 10:42:24 -07:00