Commit Graph

80788 Commits

Author SHA1 Message Date
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
Mounir Lamouri
1a90c6d7f3 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
Geoff Lankow
7d4ca79d72 Bug 703965 - View source prefs not obeyed in non-HTML documents - tests. r=hsivonen.
--HG--
rename : toolkit/components/viewsource/test/browser/browser_viewsourceprefs.js => toolkit/components/viewsource/test/browser/browser_viewsourceprefs_nonhtml.js
2011-11-26 11:43:08 +13:00
Henri Sivonen
6f9a5aed13 Bug 703965 - Use View Source styling when viewing plain text source. r=smaug. 2011-11-30 19:44:31 +02:00
Henri Sivonen
c832d4cbd9 Bug 699356 - Show the URL of the page in the title of the View Source window. r=smaug. 2011-11-30 19:44:31 +02:00
Steven Michaud
cc34751deb Bug 704866 - Crashes @ -[NativeMenuItemTarget menuItemHit:]. r=bgirard 2011-11-30 10:33:00 -06:00
Andrew McCreight
ec323ff09a Bug 706168. Add TELEMETRY_BOOLEAN for convenience. r=taras
DONTBUILD because this is just a repush of something due to a bad commit message
2011-11-29 14:35:20 -05:00
Andrew McCreight
4d97a588f7 Backed out changeset d1a66dc7b119 2011-11-30 10:58:53 -05:00
Andrew McCreight
b0f1719e7b Bug 706169. Add TELEMETRY_BOOLEAN for convenience. r=taras 2011-11-29 14:35:20 -05:00
Henri Sivonen
c404f6ce98 Back out the crashtest for bug 699365 due to leak on Mac. 2011-11-30 16:59:33 +02:00
Geoff Brown
164cc01eb6 Bug 704618 - Allow directory as a destination argument to SUT pushFile(); r=jmaher 2011-11-30 13:19:49 +00:00
Niko Matsakis
8706855bfb Bug 698075 - Use nsAutoptr<> to guarantee msg is freed; r=cjones 2011-11-30 13:19:49 +00:00
Serge Gautherie
35abda6be6 Bug 705957 - Correct the spelling of "privledged" & add 2 comments to test_bug_511615.html; r=ehsan 2011-11-30 13:19:49 +00:00
Markus Amalthea Magnuson
844451d838 Bug 623220 - Fix left margin on close buttons for find bar and addon bar on Mac; r=dao 2011-11-30 13:19:48 +00:00
Henri Sivonen
6b05a156c4 Bug 699365 - Avoid asserting when the parser command is "external-resource". r=smaug. 2011-11-30 15:11:38 +02:00
Henri Sivonen
4982d39971 Bug 535530 - Transition to the return state eagerly when a semicolon has matched when tokenizing a named character reference in HTML. r=smaug. 2011-11-30 15:11:37 +02:00
Masayuki Nakano
c206cefecb Bug 703210 part.2 Add test r=smaug 2011-11-30 21:44:53 +09:00
Alexander Surkov
d58d4c93bf Bug 699017 - aria-required attribute on file input not read by JAWS, r=tbsaunde, marcoz, roc 2011-11-30 20:36:20 +08:00
Marco Bonardo
8b5b5eab37 Merge mozilla-central to mozilla-inbound 2011-11-30 12:48:06 +01:00
Marco Bonardo
9134da6e55 Merge last green changeset from mozilla-inbound to mozilla-central 2011-11-30 12:45:59 +01:00
Marco Bonardo
787c9bbae7 Backout 68c475a7dcaa (bug 465299) for xpcshell-tests failure 2011-11-30 12:37:06 +01:00
Robert O'Callahan
c93e7bfd25 Bug 687972. Add a little bit more logging. 2011-12-01 00:16:19 +13:00
Marco Bonardo
2b6e813cf3 Backout 281583d67072 (bug 702179) for Win64 opt build failure 2011-11-30 11:12:57 +01:00
Jacek Caban
4d585841b8 Bug 705656 - Broken SKIA compilation on mingw r=matt.woodrow 2011-11-30 10:26:15 +01:00
Andrew Quartey
84dfbfc12d Bug 465299 - Validity check for mozStorageStatementWrapper::Initialize r=sdwilsh 2011-11-30 10:23:59 +01:00
Simon Montagu
7b749d2345 Use BrowserSetForcedCharacterSet instead of Firefox-specific SetForcedCharset. Bug 705943, r=dao 2011-11-30 11:10:41 +02:00