Commit Graph

80512 Commits

Author SHA1 Message Date
Ms2ger
d75f195dee Bug 698400 - Use setObject in nsXBLPrototypeHandler::EnsureEventHandler; r=jst 2011-11-26 11:14:29 +01:00
Ms2ger
3236046d99 Bug 698399 - Use nsScriptObjectHolder::getObject in some more places; r=mounir 2011-11-26 11:12:54 +01:00
Ms2ger
8f6cf2757c Bug 698397 - Introduce nsScriptObjectHolder::setScript; r=bz 2011-11-26 11:12:18 +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
Ms2ger
1404baaf43 Bug 698390 - Make nsIScriptContext::CallEventHandler take a JSObject handler parameter; r=sicking 2011-11-26 11:09:20 +01:00
Ms2ger
b6ae58dbc7 Bug 698389 - Give nsIScriptContext::CompileFunction a JSObject outparam; r=peterv 2011-11-26 11:08:42 +01:00
Ms2ger
b5a37a8757 Bug 698388 - Pass JSObject to nsIScriptContext::CompileFunction; r=sicking 2011-11-26 11:07:55 +01:00
Ms2ger
0c30f5bf0f Bug 698386 - Pass JSObject to nsXBLProtoImplMember::CompileMember; r=sicking 2011-11-26 11:06:40 +01:00
Ms2ger
50174a0e92 Bug 701467 - Remove JS_TRUE/JS_FALSE from xpconnect; r=bholley 2011-11-26 11:05:59 +01:00
Ed Morley
d19ea74612 Merge mozilla-central and mozilla-inbound 2011-11-26 08:20:32 +00:00
Masayuki Nakano
51bb4e14ed Bug 674770 part.4 Add new tests for pasting by middle click r=ehsan 2011-11-26 13:51:49 +09:00
Ehsan Akhgari
32298fdc57 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
d5ddcb1538 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
3d287e297d 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
644f34dd51 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
d30fa8d282 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
311812671e 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
010b1cdd1f 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
e7353e9706 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
cf0c523c0d 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
8ae1b4f193 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
80a53aed88 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
06df2e6a7d 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
ce087657c7 Bug 692342 - Move some things below Do datum_type resolution in ConvertDependentParam. r=mrbkap 2011-11-25 17:09:07 -08:00
Bobby Holley
eb2e2115a2 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
95cde91eeb Bug 692342 - Move a call to SetValNeedsCleanup() to an equivalent location. r=mrbkap 2011-11-25 17:09:07 -08:00
Bobby Holley
5424bb3bcc 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
62e80bfb1b Bug 692342 - Reindentation from previous patch (no other changes). r=mrbkap 2011-11-25 17:09:07 -08:00
Bobby Holley
583010a596 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
6b83abef00 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
ab29eff0be 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
cd0b0da035 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
01cb0af700 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
Mounir Lamouri
64f6355173 Bug 705280 - Quickstub nsIDOMHTMLDocument.*. r=mrbkap
Currently not all methods of nsIDOMHTMLDocument were quickstubbed which means
some methods like document.head were excessivly slow (see bug report).
2011-11-26 01:24:08 +01:00
David Bolter
43e321e7a7 Bug 705179 - Implement initial canvas accessible and baseline test. r=surkov,ehsan 2011-11-25 11:58:34 -05:00
Mounir Lamouri
1ead8e80d2 Bug 674725 - Part O - Receiving SMS: Android backend. r=cjones 2011-11-24 14:10:20 +01:00
Mounir Lamouri
6ec8c9b498 Bug 674725 - Part N - Receiving SMS: IPC handling. r=cjones 2011-11-24 12:45:55 +01:00
Mounir Lamouri
834321f16e Bug 674725 - Part M - Receiving SMS: DOM part. r=smaug 2011-11-25 01:48:57 +01:00
Mounir Lamouri
aedbfbe488 Bug 674725 - Part L - Implement SmsEvent. r=smaug 2011-11-21 17:57:26 +01:00
Mounir Lamouri
43762eef8c Bug 674725 - Part K - Implement SmsMessage. r=smaug 2011-11-22 10:34:21 +01:00
Mounir Lamouri
5a31bcb979 Bug 674725 - Part J - Basic implementation of mozSms.send(). r=cjones 2011-11-21 00:00:46 +01:00
Mounir Lamouri
619f3d8199 Bug 674725 - Part I - Implement mozSms.getNumberOfMessagesForText(). r=smaug,cjones 2011-11-25 10:48:51 +01:00
Mounir Lamouri
bdf95aa546 Bug 674725 - Part H - Add a SmsService that handles IPC calls. r=smaug sr=cjones 2011-11-20 23:59:46 +01:00
Mounir Lamouri
d8848a0466 Bug 674725 - Part G - Add PSms IPDL sub-protocol. r=smaug sr=cjones 2011-11-20 23:40:53 +01:00
Mounir Lamouri
5360a9e5d5 Bug 674725 - Part F - .mozSms returns null if the platform doesn't have SMS supports. r=smaug 2011-11-21 16:16:24 +01:00
Mounir Lamouri
a5b38c8672 Bug 674725 - Part E - SmsService stub. r=smaug sr=cjones 2011-11-20 23:30:04 +01:00
Mounir Lamouri
4a804cf8cd Bug 674725 - Part D - Temporary security model for WebSms. r=smaug 2011-11-25 01:37:40 +01:00
Mounir Lamouri
6a963e0313 Bug 674725 - Part C - SmsManager stub. r=smaug 2011-11-20 23:23:20 +01:00
Mounir Lamouri
c8306e0b8b Bug 674725 - Part B - Add .mozSms to navigator. r=smaug 2011-11-20 22:08:33 +01:00