Commit Graph

540 Commits

Author SHA1 Message Date
Bill McCloskey
6cb04d72a6 Bug 706227 - Add way for JS_GC API users to give detailed reason for invocation (r=mccr8) 2012-01-25 10:59:55 -08:00
Wes Johnston
8fe2617b97 Bug 603008 - Only delay panning on pages with touch listeners. r=mfinkle 2012-01-25 01:31:33 +01:00
Simon Montagu
22832cf881 Move nsIDocCharset out of intl/chardet into nsIDocShell, Bug 713825, r=bz 2012-01-24 11:52:04 +02:00
Johnny Stenback
1ea9a16985 Bug 706381. Re-create the dummy java plugin when re-using the inner window. r=joshmoz@gmail.com 2012-01-18 15:50:14 -08:00
Olli Pettay
960d6f77a8 Bug 718340 - Don't traverse black windows, r=mccr8,jst 2012-01-17 12:20:57 +02:00
Olli Pettay
d9b8e0fb2b Backout bug 718340 since there was unknown orange 2012-01-16 18:30:06 +02:00
Olli Pettay
c962485b47 Bug 718340 - Don't traverse black windows, r=mccr8,jst 2012-01-16 13:08:44 +02:00
Ms2ger
da02ae5702 Bug 677079 - Part f: Expose structuredCloneCallbacks in jsfriendapi.h; r=jorendorff 2012-01-15 09:13:08 +01:00
Nathan Froyd
a5980048c0 Bug 715947 - add telemetry for timers fired; r=bz 2012-01-10 13:33:31 -05:00
Masatoshi Kimura
cef8e27e66 Bug 716570 - Rename blob URI scheme from "moz-filedata" to "blob" per spec. r=sicking 2012-01-12 11:36:03 +01:00
Ms2ger
67be67f349 Bug 714458 - Part c: Don't include jscntxt.h in xpcprivate.h; r=bholley
This removes the inclusion from xpcprivate.h, and adds the include to XPConnect
files that still need it, along with notes to clarify what these files need
from the include. These notes will be removed while fixing bug 677079.
2012-01-11 09:23:08 +01:00
Bobby Holley
b14411db33 Bug 713747 - Remove usage of UniversalFoo in gecko. r=bz 2011-12-30 09:35:39 -08:00
Blake Kaplan
47ea568914 Bug 707749 - For document.write move the navigator forward to the new inner window. r=jst 2011-12-28 14:39:55 +01:00
Boris Zbarsky
304b7b3d74 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
Phil Ringnalda
d8b2c9ea5d Back out 316d6a49a603 and 98617f7b667b (bug 624621) for jsreftest failures 2011-12-19 18:40:16 -08:00
Boris Zbarsky
ecd9342b5b 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
02ff662ff7 Back out c68ddc33f098 and 18332142caa5 (bug 624621) for jsreftest failures 2011-12-19 10:42:27 -08:00
Boris Zbarsky
1fb482e795 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
ced4c8389a Bug 698420 - Make nsScriptObjectHolder typesafe; r=bz 2011-12-18 11:05:12 +01:00
Nathan Froyd
01a317a0fe Bug 709205 - use GetObserverService in dom,docshell; r=bz 2011-12-09 14:35:37 -05:00
Jeff Walden
12e010ddeb 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
7e2e054edc 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
cc7d33fdbd Bug 704820 - Simplify nsContentUtils::ReportToConsole. r=smaug 2011-12-15 14:47:03 +00:00
Boris Zbarsky
03b10968ec Bug 710981. Add the new name for cancelAnimationFrame. r=roc 2011-12-15 08:53:06 -05:00
Boris Zbarsky
437ca678ff Bug 708169. Warn when null or no argument is passed to mozRequestAnimationFrame. r=roc 2011-12-15 08:53:06 -05:00
Boris Zbarsky
5622ccc8a7 Bug 647518 part 2. Allow canceling requestAnimationFrame requests. r=roc 2011-12-06 23:43:18 -05:00
Boris Zbarsky
c8740364ca Bug 647518 part 1. Make requestAnimationFrame return handles for animation frame requests. r=roc 2011-12-06 23:43:18 -05:00
Chris Pearce
608e390db4 Bug 704039 part 2 - Implement full-screen mode rollback stack. r=bz 2011-12-07 10:59:39 +13:00
Phil Ringnalda
ac249f5469 Back out 827420c6b756 (bug 700080) to investigate browser-chrome leaking 2011-12-02 20:59:03 -08:00
Gavin Sharp
5a0501f9da Bug 700080: don't show prompts for tabs that are closing, r=jst 2011-11-30 13:17:21 -08:00
Justin Lebar
1f25a0387f Back out revs d445f83ecfb1:dc9cc326cad0, because they did not back out what was intended. 2011-12-01 16:35:42 -05:00
Justin Lebar
a3685c916b Backed out changeset 5d920a44a901 (bug 698002) 2011-12-01 15:43:07 -05:00
Timothy Nikkel
10726692f3 Bug 668437. Part 1. DeCOMtaminate nsMenuPopupFrame::GetWidget. r=enndeakin 2011-12-01 13:56:41 -06:00
Boris Zbarsky
d57edbdcd8 Bug 706283. Handle null passed to requestAnimationFrame gracefully. r=roc 2011-12-01 14:24:00 -05:00
Johnny Stenback
4053aa4599 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
1778afb027 Bug 704171 part 2. Remove the no-argument form of mozRequestAnimationFrame. r=roc 2011-11-28 07:49:53 -05:00
Boris Zbarsky
73cb34f04b Bug 704175 part 2. Rename nsIAnimationFrameListener to nsIFrameRequestCallback. r=roc 2011-11-28 07:48:30 -05:00
Ms2ger
4fa43ee908 Bug 704593 - Remove JS-specific nsGlobalWindow::ClearTimeoutOrInterval(); r=jst 2011-11-26 11:23:25 +01:00
Ms2ger
25d12a7e19 Bug 698402 - Store JSObjects in nsGlobalWindow::mCachedXBLPrototypeHandlers; r=peterv 2011-11-26 11:14:47 +01:00
Ms2ger
87ff845c8e Bug 698400 - Use setObject in nsXBLPrototypeHandler::EnsureEventHandler; r=jst 2011-11-26 11:14:29 +01:00
Ms2ger
363d1527bf Bug 698395 - Give nsIScriptContext::CreateNativeGlobalForInner a JSObject outparam; r=peterv 2011-11-26 11:12:16 +01:00
Ms2ger
bdec433e22 Bug 698394 - Pass JSObject handler to nsIScriptContext::BindCompiledEventHandler; r=sicking 2011-11-26 11:11:35 +01:00
Masayuki Nakano
78bbb1a7d0 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
1bbc5783b6 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
8ce75b6dab Bug 696660 - Outparamdel nsIScriptRuntime::CreateContext; r=mrbkap 2011-11-16 08:50:19 +01:00
Justin Lebar
f3070c142a Bug 586010 - Send dump() output to Android device log. r=bz 2011-11-09 19:27:08 -05:00
Mounir Lamouri
aece4e1a7e 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
ce701bc040 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
c7f3724edd Bug 694769 - Remove nsIScriptContext::GetScriptGlobal in favour of GetGlobalJSObject; r=smaug 2011-10-29 22:09:04 +02:00
Ms2ger
64bd006366 Bug 694763 - Remove nsIScriptContext::DidSetDocument; r=jst 2011-10-29 22:06:42 +02:00