Commit Graph

80856 Commits

Author SHA1 Message Date
L. David Baron
ca1e0ef523 Turn down the sizing for font inflation a bit (bug 627842), at least until we sort out Android dpi issues. (Bug 705278) 2011-11-27 11:42:19 -08:00
Olli Pettay
55a0a365b0 Bug 698228 - [ImageMap] Don't use GetPrimaryFrame when not needed, r=mats 2011-11-27 21:27:10 +02:00
ffxbld
fbd4d1be6c Automated blocklist update from host linux-ix-slave32 2011-11-26 04:10:25 -08:00
Ms2ger
7ff45c8468 Bug 705320 - Use IDL for xpcIJSWeakReference.get; r=bholley 2011-11-26 11:32:03 +01:00
Ms2ger
9713252f34 Bug 705186 - Use IDL for nsIAppStartup::GetStartupInfo; r=bholley 2011-11-26 11:30:20 +01:00
Ms2ger
dc467a9aa0 Bug 705187 - Use IDL for nsIScriptableRegion::GetRects; r=roc 2011-11-26 11:29:45 +01:00
Ms2ger
96c111fa09 Bug 704593 - Remove JS-specific nsGlobalWindow::ClearTimeoutOrInterval(); r=jst 2011-11-26 11:23:25 +01:00
Ms2ger
9165b245d9 Bug 648171 - Ensure to call JS_DestroyIdArray in nsHTMLCanvasElement::GetContext; r=gal 2011-11-26 11:22:28 +01:00
Ms2ger
b1ff1b89a3 Bug 703333 - Remove pointless const_casts from SVG DOM list classes; r=roc 2011-11-26 11:22:15 +01:00
Ms2ger
943cd82a17 Bug 702583 - Part b: Use IDL for nsIJSON.encode*; r=bz 2011-11-26 11:21:47 +01:00
Ms2ger
0b172f13f8 Bug 702583 - Part a: Use IDL for nsIJSON.decode*; r=bz 2011-11-26 11:21:29 +01:00
Ms2ger
e1104aa74f Bug 698410 - Pass JSObject to nsIScriptContext::InitClasses; r=jmaher 2011-11-26 11:19:45 +01:00
Ms2ger
facfc166f3 Bug 698408 - Pass JSObject to nsIScriptContext::SetOuterObject; r=jst 2011-11-26 11:19:15 +01:00
Ms2ger
549b6c1e76 Bug 698406 - Make nsXULPrototypeAttribute::mEventHandler a JSObject; r=sicking 2011-11-26 11:18:51 +01:00
Ms2ger
26d0ca20e6 Bug 698404 - Pass JSObject to nsIScriptContext::ConnectToInner; r=khuey 2011-11-26 11:18:28 +01:00
Ms2ger
96ab489ca7 Bug 698402 - Store JSObjects in nsGlobalWindow::mCachedXBLPrototypeHandlers; r=peterv 2011-11-26 11:14:47 +01:00
Ms2ger
773133f47e Bug 698400 - Use setObject in nsXBLPrototypeHandler::EnsureEventHandler; r=jst 2011-11-26 11:14:29 +01:00
Ms2ger
149d5be3d0 Bug 698399 - Use nsScriptObjectHolder::getObject in some more places; r=mounir 2011-11-26 11:12:54 +01:00
Ms2ger
5d99363a4c Bug 698397 - Introduce nsScriptObjectHolder::setScript; r=bz 2011-11-26 11:12:18 +01:00
Ms2ger
42eac2ef8e Bug 698395 - Give nsIScriptContext::CreateNativeGlobalForInner a JSObject outparam; r=peterv 2011-11-26 11:12:16 +01:00
Ms2ger
6978939921 Bug 698394 - Pass JSObject handler to nsIScriptContext::BindCompiledEventHandler; r=sicking 2011-11-26 11:11:35 +01:00
Ms2ger
2d2fa7747e Bug 698390 - Make nsIScriptContext::CallEventHandler take a JSObject handler parameter; r=sicking 2011-11-26 11:09:20 +01:00
Ms2ger
13974ab4fc Bug 698389 - Give nsIScriptContext::CompileFunction a JSObject outparam; r=peterv 2011-11-26 11:08:42 +01:00
Ms2ger
a24efdb5cc Bug 698388 - Pass JSObject to nsIScriptContext::CompileFunction; r=sicking 2011-11-26 11:07:55 +01:00
Ms2ger
9970541b7b Bug 698386 - Pass JSObject to nsXBLProtoImplMember::CompileMember; r=sicking 2011-11-26 11:06:40 +01:00
Ms2ger
8495f5a854 Bug 701467 - Remove JS_TRUE/JS_FALSE from xpconnect; r=bholley 2011-11-26 11:05:59 +01:00
Ed Morley
3df6e3a971 Merge mozilla-central and mozilla-inbound 2011-11-26 08:20:32 +00:00
Masayuki Nakano
e5b55da467 Bug 674770 part.4 Add new tests for pasting by middle click r=ehsan 2011-11-26 13:51:49 +09:00
Ehsan Akhgari
8e6c11ce28 Bug 674770 part.3 Add tests for middle-clicking on anchor element when the page has contenteditable element r=roc 2011-11-26 13:51:49 +09:00
Masayuki Nakano
7738b4cb1c Bug 674770 part.2 Fix new test_bug597331.html failure and test_bug600570.html failur on Windows r=ehsan 2011-11-26 13:51:48 +09:00
Masayuki Nakano
27cba84c99 Bug 674770 part.1 Shouldn't accept click event if the event target isn't in focused editor r=ehsan 2011-11-26 13:51:48 +09:00
Benjamin Smedberg
70fe247217 Bug 705365 - shorten the plugin hang timeout so that it is shorter than the main process hang timeout, presumptive-r=jimm feedback=asa 2011-11-25 22:48:53 -05:00
Benjamin Smedberg
50348ae152 Temporarily disable the hang monitor on Mac because it is probably triggering false positives, bug 705154, r=gavin 2011-11-25 22:48:46 -05:00
Masayuki Nakano
b65aeee9ac Bug 703186 Use system event listener for focus/blur event handling for <area> element r=smaug 2011-11-26 10:33:09 +09:00
Bobby Holley
f3899264c7 Bug 692342 - Remove IsPointer() and IsReference() accessors and flag the bits as deprecated. r=mrbkap 2011-11-25 17:09:07 -08:00
Bobby Holley
d1ad4db663 Bug 692342 - Get rid of the large and unnecessary table-driven reflectability detector. r=mrbkap
The XPIDL machinery should never output an invalid configuration here, so all this checking is unnecessary. The only thing we have to watch out for is native types, which all get shoehorned into T_VOID. So let's make this a simple check.
2011-11-25 17:09:07 -08:00
Bobby Holley
ec85c212c8 Bug 692342 - Assert !IsArithmetic() rather than IsPointer(). r=mrbkap
JSval is the only different between the two, and we handle that above.
2011-11-25 17:09:07 -08:00
Bobby Holley
bcf35bd248 Bug 692342 - Coalesce cleanup flagging even further. r=mrbkap
This eliminates another pesky use of IsPointer().
2011-11-25 17:09:07 -08:00
Bobby Holley
79f084fc3d Bug 692342 - Assert against arrays of jsvals, since we don't handle them. r=mrbkap 2011-11-25 17:09:07 -08:00
Bobby Holley
826ccf22a4 Bug 692342 - Coalesce cleanup flagging within ConvertDependentParam. r=mrbkap
The only change in functionality here is that we flag for cleanup on 'inout' sized strings in addition to 'in' sized strings. I'm pretty sure we want that.
2011-11-25 17:09:07 -08:00
Bobby Holley
73b7409e9a Bug 692342 - Move some things below Do datum_type resolution in ConvertDependentParam. r=mrbkap 2011-11-25 17:09:07 -08:00
Bobby Holley
622f731967 Bug 692342 - Reorder in/out/inout handling in XPCWrappedNative parameter conversion. r=mrbkap
Apologies for the copy paste here. Fixing that will require some more serious re-architecting.
2011-11-25 17:09:07 -08:00
Bobby Holley
8d90d94448 Bug 692342 - Move a call to SetValNeedsCleanup() to an equivalent location. r=mrbkap 2011-11-25 17:09:07 -08:00
Bobby Holley
a47135d2be Bug 692342 - Remove check for !IsInterfacePointer(), given the code a few lines above. r=mrbkap 2011-11-25 17:09:07 -08:00
Bobby Holley
73596fc292 Bug 692342 - Reindentation from previous patch (no other changes). r=mrbkap 2011-11-25 17:09:07 -08:00
Bobby Holley
b108b42814 Bug 692342 - Create a ConvertDependentParam(i) method to match ConvertIndependentParam(i) (modulo reindentation). r=mrbkap 2011-11-25 17:09:07 -08:00
Bobby Holley
ec2f70ac87 Bug 692342 - Simplify cleanup code in ConvertIndependentParameter(). r=mrbkap
We're not dealing with dependent parameters here. So as far as I can tell, the only behavior change that this introduces is that we flag for cleanup on T_WCHAR_STR in addition to T_CHAR_STR. This seems like something we probably want.
2011-11-25 17:09:07 -08:00
Bobby Holley
33085d10a1 Bug 692342 - Introduce deprecated_IsPointer() to handle the cases that are too mucky to figure out right now. r=mrbkap 2011-11-25 17:09:06 -08:00
Bobby Holley
17bfc88fbe Bug 692342 - Remove the obviously superfluous uses of IsPointer(). r=mrbkap
These are the easy cases, which all fall into one or more of the following categories:
* A check-and-throw, followed by a switch whose default case also throws
* A check of IsPointer() &&-ed with or tightly enclosing a check that implies IsPointer()
* A check of something clearly enforced by the XPIDL compiler
2011-11-25 17:09:06 -08:00
Bobby Holley
922e8ef969 Bug 692342 - Remove use of IsReference() within XPConnect. r=mrbkap
All we're doing is checking that various types aren't flagged as reference. But xpidl makes sure this doesn't happen, so we should just trust it instead.
2011-11-25 17:09:06 -08:00