Commit Graph

62 Commits

Author SHA1 Message Date
Jonathan Griffin
8b5b8ebcb7 Bug 797529 - Make SpecialPowers compatible with B2G compartment sharing, r=khuey 2013-05-31 16:58:58 -07:00
Bobby Holley
2efb065754 Bug 877478 - Fix tests that depend on creating verboten instances in content. r=mrbkap
XPConnect generally throws when trying to create instances of non-DOM objects
in content. Due to some bugs this has historically worked in certain cases, but
we're fixing those now. So we need to fix the tests that do this sort of thing.
2013-06-04 19:56:42 -07:00
Bobby Holley
600c2a818c Bug 877478 - Have SpecialPowers.addObserver modify the observe callback to wrap arguments. r=mrbkap
|subject| is quite often an XPCOM object that's not accessible to content.
2013-06-04 19:56:42 -07:00
Bobby Holley
5637e8e3a0 Bug 877478 - Add a SpecialPowers API for wrapping callbacks and callback objects. r=mrbkap 2013-06-04 19:56:41 -07:00
Martijn Wargers
ddac9471c0 Bug 859401 - pushPermissions missing PROMPT_ACTION case. r=jmaher 2013-05-17 10:46:36 +02:00
Ben Turner
10da9011a4 Bug 861903 - Enable test. 2013-05-12 21:10:58 -07:00
Ryan VanderMeulen
65ba12ab3b Merge m-c to inbound on a CLOSED TREE. 2013-05-11 09:49:12 -04:00
Ben Turner
6e9d63ab9b Bug 861903 - Hook IndexedDB up to low disk space notifications. r=janv. 2013-05-10 14:22:01 -07:00
Gavin Sharp
763124291c Re-land patches from bug 566746 and bug 697377 now that bug 851641 is addressed 2013-04-19 15:21:30 -07:00
Martijn Wargers
a9769a6dcf Bug 861689 - Fix focus issues in various B2G mochitests. r=jmaher 2013-05-03 18:29:55 +02:00
Ryan VanderMeulen
9b3a4e3071 Backed out changeset 555f2b757639 (bug 566746, bug 697377) for intermittent Win7 mochitest b-c orange. 2013-05-02 21:20:08 -04:00
Gavin Sharp
52927e0751 Re-land patches from bug 566746 and bug 697377 now that bug 851641 is addressed 2013-04-19 15:21:30 -07:00
Ryan VanderMeulen
ec038bd16e Backed out changeset f4da799815da (bug 861689) for mochitest asserts.
CLOSED TREE
2013-04-30 11:12:17 -04:00
Martijn Wargers
927d1111f4 Bug 861689 - Unable to restore focus, expect failures and timeouts after certain tests in the b2g mochitest run. r=jmaher 2013-04-29 23:14:32 +02:00
Ryan VanderMeulen
e0ba069546 Backed out 17 changesets (bug 566746, bug 697377) for frequent OSX debug mochitest-5 crashes. 2013-04-11 11:53:13 -04:00
Neil Deakin
6910b3bf56 Bug 566746 - Convert to use asynchronous FormHistory.jsm for form history autocomplete tests, p=enndeakin,felix, r=dteller 2013-04-11 04:01:48 -04:00
Neil Deakin
722ed46100 Bug 566746 - Changes to shared form history tests files to support asynchronous form history, p=enndeakin,felix, r=mak 2013-04-11 04:01:47 -04:00
Xin Zhang
512636d64c Bug 849764 - Replace removeObserver() calls with three params with two in testing dir. r=mak 2013-04-06 14:46:35 -04:00
Dale Harvey
7a815d332e Bug 826058 - Hosted app install/update tests. r=fabrice, r=ted 2013-04-04 17:58:44 -07:00
Kyle Machulis
5aa83c3e11 Bug 855465 - Add emacs python mode comments to moz.build files; r=gps 2013-04-01 11:36:59 -07:00
Kyle Machulis
c79ccc0693 Backout for changeset 03452b187c14 (Bug 855465) due to bustage on a CLOSED TREE; r=qdot 2013-03-29 15:12:58 -07:00
Kyle Machulis
a59d40f143 Bug 855465 - Add emacs python mode comments to moz.build files; r=gps
--HG--
extra : rebase_source : 004a756492323e1a049586e85b3be5037159df20
2013-03-29 13:56:18 -07:00
David Chan
c317a3c617 Bug 855192 - Fix MockPermissionPrompt scope. r=jgriffin 2013-03-27 13:16:39 -07:00
Joel Maher
88f3456d4d Bug 685652 - we need a pushPermissionsEnv equivalent to pushPrefEnv in SpecialPowers. r=jdm 2013-03-29 08:43:27 -04:00
Ryan VanderMeulen
d86ac55e7c Backed out changeset 01ed911e67e1 (bug 685652) for possibly being the real OSX 10.6 mochitest-other culprit. r=OJ 2013-03-27 17:05:52 -04:00
Joel Maher
79f15d62bf Bug 685652 - we need a pushPermissionsEnv equivalent to pushPrefEnv in SpecialPowers. r=jdm 2013-03-27 15:04:39 -04:00
Andrea Marchesini
143d81b397 Bug 832923 - Implement <input type='file'> on B2G, r=mounir, r=fabrice 2013-03-19 18:49:16 +01:00
John Schoenick
46b61168c1 Bug 783059 - Add do_lookupGetter helper to SpecialPowers. r=bholley 2013-03-11 11:47:36 -07:00
John Schoenick
71a00b3eb8 Backout 9f5cff5a1a3d and 36cde68b1bf4 (Bug 783059) for Android M-1 Orange on a CLOSED TREE 2013-03-08 15:23:43 -08:00
John Schoenick
0eb1c433a6 Bug 783059 - Add do_lookupGetter helper to SpecialPowers. r=bholley 2013-03-08 13:21:41 -08:00
David Clarke
88685a12e1 Bug 846057 - Add testPermission and hasPermission APIs. r=jgriffin 2013-03-04 20:17:24 -05:00
Gregory Szorc
faf262c4ee Merge mozilla-central into build-system
Only conflict was configure.in amd was due to context, not
changed lines themselves.
2013-02-25 22:09:18 -08:00
Gregory Szorc
0d9d430864 Bug 784841 - Part 18η: Convert /testing; r=ted 2013-02-25 13:05:39 -08:00
L. David Baron
77f8f568f9 Bug 404077: Add mochitest support (currently semi-disabled) for making tests fail when an unexpected number of assertions fire. r=ted
This adds support for assertion checking in all mochitest suites except
for mochitest-browser-chrome.  The checking works much like it does in
reftest, except for the mechanism for annotating expected assertions,
SimpleTest.expectAssertions() (see its in-code documentation).

The support is initially disabled in that:
 (1) It doesn't cause the tests to report failure (and thus turn the
     tree orange).
 (2) It prints TEST-DETCEPXENU-FAIL/PASS instead of
     TEST-UNEXPECTED-FAIL/PASS (so that it doesn't show up in log
     highlighting).

The assertion checking only works within the test runner (which runs
multiple tests); it does not function when running only a single test.
2013-02-24 23:42:38 -08:00
Jonathan Griffin
59f7607781 Bug 831367 - Simplify SpecialPowersAPI.bindDOMWindowUtils(), r=ted 2013-02-22 14:18:38 -08:00
Reuben Morais
13308f49bb Bug 837917 - Implement DOMCursor and DOMRequestService::fireDone(). r=sicking 2013-02-08 12:25:37 -08:00
Phil Ringnalda
03f3998dbf Back out 8db40a38aeb1 (bug 837917) for test_interfaces.html failures
CLOSED TREE
2013-02-14 21:37:37 -08:00
Reuben Morais
4bdc75de7e Bug 837917 - Implement DOMCursor and DOMRequestService::fireDone(). r=sicking
--HG--
extra : rebase_source : 8ccb520402c53950d1c0149a0f5a3188fe838667
2013-02-08 12:25:37 -08:00
Nathan Froyd
68b28fa8f1 Bug 715376 - update MockFilePicker.init() to take a window for event dispatching purposes; r=jmaher 2012-10-16 17:39:32 -04:00
Ehsan Akhgari
51a6fbc528 Bug 831900 - Ensure that SpecialPowers.getFocusedElementForWindow actually returns something; r=ted 2013-01-17 15:23:49 -05:00
Bobby Holley
aadfd2e0dc Bug 826146 - Add a pref-controlled install confirmation override for automation. r=sicking 2013-01-04 10:21:31 -08:00
Boris Zbarsky
25524db939 Bug 826423. Fix SpecialPowers.wrap() to reliably detect Xrays. r=peterv 2013-01-04 12:02:13 -05:00
Ehsan Akhgari
9ff55aff3b Backed out changeset 1024e72d4ef9 (bug 826146) because of test failures 2013-01-03 22:59:44 -05:00
Bobby Holley
dccc2cdfef Bug 826146 - Add a pref-controlled install confirmation override for automation. r=sicking 2013-01-03 18:27:43 -08:00
David Chan
7c7a078529 Bug 816847 - Use AppService instead of Webapps.jsm for manifest lookup. r=jgriffin 2012-11-30 10:52:40 -08:00
Zack Weinberg
b90cc17174 Bug 663291: Improve the SpecialPowers and SimpleTest APIs to make it easier to write mochitests that look at error console output. Update all tests that were using ad-hoc console inspection or the old SimpleTest console handler API. r=ted 2012-11-16 21:53:32 -05:00
Ryan VanderMeulen
401bd9646a Backed out changesets b242651c3c1b (bug 229827), b36eaac9ecf8, and 40f38a8aa660 (bug 663291) for mochitest-3/4 failures.
CLOSED TREE
2012-11-16 16:59:38 -05:00
Zack Weinberg
c1f34c416f Bug 663291: Improve the SpecialPowers and SimpleTest APIs to make it easier to write mochitests that look at error console output. Update all tests that were using ad-hoc console inspection or the old SimpleTest console handler API. r=ted
--HG--
extra : rebase_source : 013c6031577f88a764fecee9750ee890b45d1181
2012-11-16 15:29:21 -05:00
Philipp von Weitershausen
8a0276e5bb Bug 807478 - Fix DebuggerProtocol and SpecialPowers imports for jsloader.reuseGlobal = true. r=past 2012-11-02 18:03:13 -07:00
Doug Turner
2c40fe1d13 Bug 805178 - Device Storage - Add tests to ensure Application Permissions match that of the Permission Matrix. r=jmaher 2012-10-31 10:06:51 -07:00