Commit Graph

562 Commits

Author SHA1 Message Date
L. David Baron
47912e1a5b Bug 850559: Make mochitests check that the test didn't leave the refresh driver under test control. r=ted 2013-03-15 14:40:37 -07:00
Mats Palmgren
c98174406a Bug 635852. r=smaug 2013-03-08 12:04:53 +01:00
Ms2ger
8fedd090cc Merge m-i to b-s. 2013-02-28 14:46:10 +01:00
Gregory Szorc
1ee2e803e1 Bug 784841 - Part 18η: Convert /testing; r=ted 2013-02-25 13:05:39 -08:00
L. David Baron
d4d58ab893 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
L. David Baron
fb7e710309 Bug 404077: Enable checking of assertions in mochitests. 2013-02-27 13:20:28 -08:00
Josh Aas
74249f548e Bug 647216: Allow mouse event handling in the title bar on OS X. A number of contributors to this patch, including Markus Stange, Paul O'Shannessy, Mike Conley, Stephen Pohl, and myself (Josh Aas). r=mstange,dao,enndeakin 2013-02-05 15:40:34 -06:00
Josh Aas
1bd545cb01 Back out fix for bug 647216 due to test failures. CLOSED TREE 2013-02-04 10:05:06 -06:00
Josh Aas
41e8b6b37d Bug 647216: Allow mouse event handling in the title bar on OS X. A number of contributors to this patch, including Markus Stange, Paul O'Shannessy, Mike Conley, Stephen Pohl, and myself (Josh Aas). r=mstange,dao,enndeakin 2013-02-04 09:00:42 -06:00
Matt Brubeck
675e0cc17d Bug 832101 - Allow EventUtils.sendMouseEvent to set pressure and inputSource [r=smaug] 2013-01-24 06:52:57 -08:00
Phil Ringnalda
f65996c27a Bug 810705 - Reenable test_MochiKit-DOM-Safari.html on Linux now that bug 799295 should have fixed the crashes 2012-12-30 09:34:38 -08:00
Jeff Walden
156aca9f59 Make SimpleTest.js runnable in non-Gecko browsers again. No bug, r=jmaher over IRC
--HG--
rename : browser/themes/gnomestripe/downloads/allDownloadsViewOverlay.css => browser/themes/gnomestripe/downloads/downloads.css
rename : browser/themes/winstripe/downloads/allDownloadsViewOverlay.css => browser/themes/winstripe/downloads/downloads.css
rename : toolkit/components/places/tests/mochitest/test_bug_461710_perwindowpb.html => toolkit/components/places/tests/mochitest/test_bug_461710.html
extra : rebase_source : a0c2241ee37c74d1df60cccc02b3b08fb7c68f58
2012-12-20 17:57:29 -05:00
David Chan
345efe131e Bug 816847 - Use AppService instead of Webapps.jsm for manifest lookup. r=jgriffin 2012-11-30 10:52:40 -08:00
Georg Fritzsche
0937ddb942 Bug 805330 - Ensure plugin widget visibility via paint flushes. r=josh,roc,robcee
--HG--
rename : layout/base/tests/chrome/paint_listener.js => testing/mochitest/tests/SimpleTest/paint_listener.js
2012-12-05 14:39:26 +01:00
Ehsan Akhgari
77bb9823b5 Bug 816406 - Disallow dragging a private tab into a non-private window and vice versa; r=dao 2012-12-02 15:57:06 -05:00
Ed Morley
7f2ac9b6f3 Bug 765200 - Shorten errors of type: "an unexpected uncaught JS exception reported through window.onerror - ..."; r=jmaher 2012-12-04 17:45:32 +00:00
Joel Maher
02f46eda9d Bug 811444 - panda boards magically reboot in the middle of the test. r=ted 2012-11-28 10:23:11 -05:00
Ehsan Akhgari
fd1ca44c78 Bug 814519 - Fix a typo in SimpleTest/setup.js; r=ted 2012-11-27 14:02:08 -05:00
Peter Van der Beken
dd5db5a970 Fix for bug 814022 (Make instanceof for new DOM bindings work across scopes). r=bz. 2012-11-19 11:59:13 +01:00
Phil Ringnalda
dd90179b08 Bug 810705 - Disable test_MochiKit-DOM-Safari.html on Linux because of PGO non-profiling crashes; r=ehsan
--HG--
extra : rebase_source : b2145a00d88acd9d17092b9398d2b97468cdeeb8
2012-11-19 14:12:38 -05:00
Zack Weinberg
9ab9128f73 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
8a64b526bc 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
ff35201bdd 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
Josh Aas
8a78b3c63d Back out both patches for bug 647216 due to regression documented in bug 806244. 2012-11-01 09:19:24 -04:00
Markus Stange
69c7d8ae0b Bug 647216: Allow testing of MozMouseHittest window dragging. r=enndeakin 2012-10-26 15:40:11 -04:00
Masayuki Nakano
8acd6ae7f5 Bug 705057 part.1 Ensure a set of composition events is fired on same content r=smaug 2012-09-26 14:47:45 +09:00
Simon Montagu
4bef6a2052 Make SimpleTest.is* functions less verbose on pass. Bug 797827, r=jmaher 2012-10-04 08:57:50 -07:00
Vladimir Vukicevic
022565fe50 b=683143,792462; Some tests call SimpleTest.finish() twice/guard against that; r=ehsan 2012-10-01 17:51:10 -04:00
Bobby Holley
8188b09b4e Bug 792036 - Fix up tests to avoid relying on the existence of window.Components (MANUAL). r=mccr8
These are the manual fixes that the ensuing auto-generation can't deal with. Some of them
just fix up formatting (such as Components.\nFoo, so that subsequent auto-generation can
work better).
2012-09-24 14:46:28 +02:00
Bobby Holley
373e284d28 Bug 792036 - Add a SpecialPowers API to provide access to the Components object in various forms. r=mrbkap,ted
Now that window.Components is no longer acccessible to page JS, we need a way
to access it in mochitests. So this patch provides SpecialPowers.Components,
which is the bonafide Components object for the window upon which SpecialPowers
is defined. It also provides SpecialPowers.{Cc,Ci,Cr,Cu}, which are SpecialPowers-wrapped
versions of their respective sub-objects (with the exception of Ci, which is unwrapped).
2012-09-24 14:46:27 +02:00
Joel Maher
3c0592ca47 Bug 762908 - Rip enablePrivilege out of spidermonkey tests. r=ted
--HG--
rename : testing/mochitest/specialpowers/Makefile.in => testing/specialpowers/Makefile.in
rename : testing/mochitest/specialpowers/chrome.manifest => testing/specialpowers/chrome.manifest
rename : testing/mochitest/specialpowers/components/SpecialPowersObserver.js => testing/specialpowers/components/SpecialPowersObserver.js
rename : testing/mochitest/MockFilePicker.jsm => testing/specialpowers/content/MockFilePicker.jsm
rename : testing/mochitest/tests/SimpleTest/MozillaLogger.js => testing/specialpowers/content/MozillaLogger.js
rename : testing/mochitest/tests/SimpleTest/SpecialPowersObserverAPI.js => testing/specialpowers/content/SpecialPowersObserverAPI.js
rename : testing/mochitest/specialpowers/content/specialpowers.js => testing/specialpowers/content/specialpowers.js
rename : testing/mochitest/tests/SimpleTest/specialpowersAPI.js => testing/specialpowers/content/specialpowersAPI.js
rename : testing/mochitest/specialpowers/install.rdf => testing/specialpowers/install.rdf
rename : testing/mochitest/specialpowers/jar.mn => testing/specialpowers/jar.mn
2012-09-20 09:06:50 -04:00
Graeme McCutcheon
c183f67a15 Merge last PGO green changeset from mozilla-inbound to mozilla-central 2012-09-19 15:15:34 +01:00
Ehsan Akhgari
a6ec3197c4 Improve the failure message when a mochitest ends without a call to SimpleTest.finish, no bug, irc-r=vlad
DONTBUILD
2012-09-18 21:54:53 -04:00
Christian Holler
9c12900be3 Bug 787916 - Hide Mochitest test table with --close-when-done option. r=jmaher 2012-09-19 01:28:39 +02:00
Georg Fritzsche
caeb23b288 Bug 784145 - When submitting hang reports, submit the browser report as a field of the plugin report instead of as a completely separate report. r=ted 2012-09-08 19:20:59 +02:00
Boris Zbarsky
d91716f0ab Bug 767931. Make drawWindow and asyncDrawXULElement ChromeOnly. r=roc 2012-09-07 01:29:47 -04:00
Masayuki Nakano
e97c0a46d9 Bug 788401 Avoid JS warnings in EventUtils.synthesizeWheel() r=smaug 2012-09-07 09:53:27 +09:00
Scott Johnson
3ea152f05b Bug 780258: Add an interface to set the maximum line box width, accessible from chrome script. [r=dbaron] 2012-09-05 16:39:34 -05:00
Myk Melez
b4fdf2f847 bug 785545 - unrefactor mozApps tests for maximum readability/reliability; r=fabrice 2012-09-05 10:08:54 -07:00
Masayuki Nakano
36a101bd0d Bug 786898 part.2 Add overflow delta value tests r=smaug, sr=smaug 2012-09-04 17:39:28 +09:00
Mounir Lamouri
8e092dc2e5 Bug 775815 - Use new Permission Manager API in SpecialPowers. r=sicking 2012-08-23 11:23:48 -07:00
Bobby Holley
8ac1ba8830 Bug 695292 - Port SimpleTest.executeSoon() to SpecialPowers. r=mrbkap
If we just naively use the thread manager to dispatch the event via SpecialPowers,
we cannot avoid the XPCWrappedJS for the runnable being in chrome scope (even if
we pass a content object, we make the call in chrome scope, so we pass a cross-
compartment wrapper). This means that the machinery in
nsXPCWrappedJSClass::CheckForException ends up calling the error reporter for the
SpecialPowers scope, which isn't what we want.

Messing around with the implementation of CheckForException is playing with fire.
So we work around this with an explicit Cu API. :-(
2012-08-17 15:13:23 -07:00
Phil Ringnalda
9208a5089e Back out e6761635f9cf (bug 695292) for Android mochitest bustage on a CLOSED TREE 2012-08-16 21:35:53 -07:00
Bobby Holley
c64c9eb535 Bug 695292 - Port SimpleTest.executeSoon() to SpecialPowers. r=mrbkap
If we just naively use the thread manager to dispatch the event via SpecialPowers,
we cannot avoid the XPCWrappedJS for the runnable being in chrome scope (even if
we pass a content object, we make the call in chrome scope, so we pass a cross-
compartment wrapper). This means that the machinery in
nsXPCWrappedJSClass::CheckForException ends up calling the error reporter for the
SpecialPowers scope, which isn't what we want.

Messing around with the implementation of CheckForException is playing with fire.
So we work around this with an explicit Cu API. :-(
2012-08-16 18:33:27 -07:00
Myk Melez
f4a57d26a2 bug 783391 - NS_ERROR_FILE_IS_DIRECTORY on mochitest-chrome runs; r=adw 2012-08-16 15:20:29 -07:00
Myk Melez
c45d593ca6 bug 770770: refactor webapp runtime test harness to reduce complexity/special-casing; r=adw
--HG--
extra : rebase_source : 183331b565d8c0577c9ba60a89f3c1ea6b11af9a
2012-08-14 15:27:26 -07:00
Bobby Holley
daa51dde26 Bug 781521 - Fix test_SpecialPowersExtension. r=Ms2ger
The constructor function lives in content, but it's being invoked from chrome, so the |this| object is actually privileged.
2012-08-14 20:54:33 -07:00
Ryan VanderMeulen
c7b834b885 Merge inbound to m-c. 2012-08-11 22:33:42 -04:00
Masayuki Nakano
577c0446d5 Bug 719320 part.9 Implement nsIDOMWindowUtils::sendWheelEvent() for tests r=smaug, sr=jst 2012-08-12 10:42:36 +09:00
Gregor Wagner
40a59825fa Bug 781929 - Fix SpecialPowers.addPermission typo. r=bent 2012-08-10 13:55:42 -07:00
Jonathan Griffin
f7f07c0f74 Bug 781711 - Make mochitest manifests work properly with both runtests and excludetests, r=jmaher 2012-08-10 09:44:50 -07:00
Kyle Huey
74b7acf005 Bug 781700: Don't hold strong references to databases from the synchronization queue, so that GCing a database will unblock waiting operations. r=bent
--HG--
extra : rebase_source : 2f1b2405ffc91831d33eb91e4b2d61c2b1ac872b
2012-08-10 09:15:02 -07:00
Ed Morley
b5f4776008 Merge last PGO-green changeset of mozilla-inbound to mozilla-central 2012-08-09 12:46:05 +01:00
Ms2ger
3cd194931f Bug 781116 - "finished in a non-clean fashion" message should use error() instead of log(); r=ted 2012-08-09 09:11:33 +02:00
Bobby Holley
02c179cf8d Bug 778420 - Add Services getter to SpecialPowers. r=jmaher
--HG--
extra : rebase_source : 6e0962a1fc3629d682beb4c36537ee0b11c9d810
2012-08-03 22:19:54 +02:00
Camilo Viecco
5d98b37929 Bug 726053 - Add in-chrome context to specialpowers, r=ted.mielczarek
--HG--
extra : rebase_source : a14c4a7606527b6dc2bd1c46e76e439bfacafd18
2012-08-08 22:08:42 +02:00
Mike Hommey
70d7c821af Bug 774032 bonus - Use @DEPTH@ and @relativesrcdir@ in Makefile.in. r=ted 2012-08-04 20:26:44 +02:00
Ehsan Akhgari
3ad40dbf10 Merge the nullptr conversion from mozilla-central into mozilla-inbound 2012-07-30 10:28:15 -04:00
Aryeh Gregor
d0ad5a7d0c Bug 777292 part 2 - Change all nsnull to nullptr 2012-07-30 17:20:58 +03:00
Masatoshi Kimura
412f59d922 Bug 750241 - Filter console messages to prevent intermittent orange; r=hsivonen 2012-07-30 12:47:19 +01:00
Wes Johnston
4a6d4c3c53 Bug 773741 - Test using touch events on resizers. r=enn 2012-07-27 15:01:13 -07:00
Mounir Lamouri
d1caa102c7 Bug 775817 - Update [most] tests to use the new permission manager api. r=sicking 2012-07-23 11:08:07 -07:00
Nathan Froyd
bfff055672 Bug 370750 - consolidate mochitest files installation; r=glandium
With assistance on the patch from Ms2ger, Waldo, and Mossop.
2012-07-03 16:49:02 -04:00
Masayuki Nakano
230e9a8242 Bug 769190 part.1 Rename Scroll and Win to ScrollLock and OS for the argument of getModifierState() r=smaug, sr=jst 2012-07-06 09:42:05 +09:00
Tal Aloni
4096278930 Bug 248239 - Change standards mode height calculations for table cells to use content-box sizing rather than border-box sizing by default (and to honor -moz-box-sizing, which we do not do in quirks mode). Also remove -moz-box-sizing: border-box from default style for caption element (all modes). r=dbaron 2012-06-30 12:01:31 -04:00
Ehsan Akhgari
f4b598bf08 Bug 722872 - Part 1: Add nsITransferable::Init(nsILoadContext*), enforce that it's called in debug builds, and add nsIDOMDocument* arguments to nsIClipboardHelper methods; r=roc
This patch does the following:

* It adds nsITransferable::Init(nsILoadContext*).  The load context
  might be null, which means that the transferable is non-private, but
  if it's non-null, we extract the boolean value for the privacy mode
  and store it in the transferable.
* It adds checks in debug builds to make sure that Init is always
  called, in form of fatal assertions.
* It adds nsIDOMDocument* agruments to nsIClipboardHelper methods which
  represent the document that the string is coming from.
  nsIClipboardHelper implementation internally gets the nsILoadContext
  from that and passes it on to the transferable upon creation.  The
  reason that I did this was that nsIClipboardHelper is supposed to be a
  high-level helper, and in most of its call sites, we have easy access
  to a document object.
* It modifies all of the call sites of the above interfaces according to
  this change.
* It adds a GetLoadContext helper to nsIDocument to help with changing
  the call sites.
2012-04-16 22:14:01 -04:00
Masayuki Nakano
a16ae57d35 Bug 768736 Define constants for system native virtual keys for nsIDOMWindowUtils::SendNativeKeyEvent() r=roc 2012-06-27 11:26:38 +09:00
Ryan VanderMeulen
3182e2b89e Merge m-c to inbound. 2012-06-18 20:59:17 -04:00
Jan Varga
734d413684 Bug 763388 - Remove enablePrivilege calls from IndexedDB and FileHandle tests. r=bent 2012-06-18 19:09:26 +02:00
Ms2ger
8b517156fc Bug 763169 - Part b: Miscellaneous fixes; r=jhammel 2012-06-17 09:51:22 +02:00
Bobby Holley
de1fee56fd Bug 764315 - Trigger reification for QuickStubbed accessors in SpecialPowers wrappers before calling Object.getOwnPropertyDescriptor. r=mrbkap 2012-06-18 15:43:00 +02:00
Bobby Holley
9adb75c489 Bug 763301 - Put SpecialPowers Xray detection in a try/catch. r=mrbkap 2012-06-18 15:43:00 +02:00
Joel Maher
1d18a6bd56 Bug 761125 - change mochitests to run all tests except excludedtests in android.json. r=jgriffin 2012-06-14 09:01:23 -04:00
Bobby Holley
89b078af98 Bug 762432 - Handle proxies on __lookupGetter__ and __lookupSetter__. r=jorendorff 2012-06-12 15:44:14 +02:00
Olli Pettay
be6c155114 Bug 756277 - XMLHttpRequest started from Cc['@mozilla.org/xmlextras/xmlhttprequest;1'] ends up bound to some random window, r=bz
--HG--
extra : rebase_source : 480dbf41846fee3362697cb0bf537281f35845e0
2012-06-08 23:45:13 +03:00
Bobby Holley
67a21ac3b3 Bug 762529 - Handle constructors properly in SpecialPowers wrappers. r=mrbkap
--HG--
extra : rebase_source : edea7357a5e9f33d3cf68f09646492fb0a1cfc10
2012-06-08 00:09:55 +02:00
Ben Turner
3fdf917cd6 Bug 666693 - 'Remote IndexedDB for multiple IndexedDB-using processes'. r=cjones+sicking. 2012-06-01 10:21:12 -07:00
Gervase Markham
68d38d677f Bug 759095 - upgrade license to MPL 2, and other licensing cleanups.
--HG--
extra : rebase_source : da55a4937383eda2baf7c9a362501da8ee664146
2012-05-29 16:52:43 +01:00
Bobby Holley
66d13b3528 Bug 553102 - Waive COW checks on SpecialPowers wrapper objects. r=mrbkap 2012-05-24 13:04:57 +02:00
Bobby Holley
7b4caeaa28 Bug 553102 - Fix SpecialPowers DOMWindowUtils. r=ted 2012-05-24 13:04:57 +02:00
Bobby Holley
d131b3449c Bug 553102 - Make the SpecialPowers wrapping API a bit nicer. r=ted 2012-05-24 13:04:57 +02:00
Ed Morley
f25474a7ad Backout cfac7b6a1f9c (bug 728893) for mochitest-1 orange 2012-05-23 11:56:03 +01:00
Diogo Golovanevsky Monteiro
9101bed744 Bug 728893 - Allow mochitest iframe to go fullscreen r=ctalbert 2012-05-23 10:36:26 +01:00
Chris Pearce
6577ec1962 Bug 753546 Part 1 - Make nsDocument listen for 'fullscreen-approved' notification rather than 'perm-changed' to signal fullscreen approved. r=smaug 2012-05-22 08:43:36 +12:00
Gervase Markham
82ff7027aa Bug 716478 - update licence to MPL 2. 2012-05-21 12:12:37 +01:00
Neil Rashbrook
b29321080b Bug 678726 Improved diagnostics to try to figure out what this random orange is r=ted 2012-05-10 22:46:15 +01:00
Chris Pearce
32dd55e67c Bug 746885 part 3 - Change pointer lock tests to always run on a domain with fullscreen-approved permissions. r=smaug 2012-05-09 09:48:27 +12:00
Justin Lebar
b54abd8d84 Bug 749018 - Make OOP <iframe mozbrowser> pass current browser frame tests. r=smaug,cjones
--HG--
extra : rebase_source : f15018bf2c9427a0d6e8d44da348d8d7d1693219
2012-05-08 09:20:35 -07:00
Masayuki Nakano
41de116362 Bug 166240 part.8 Add tests for KeyboardEvent.location (synthesized events) r=smaug, sr=jst 2012-05-03 17:35:02 +09:00
Masayuki Nakano
111aa93c0c Bug 630811 part.3 Improve nsDOMWindowUtils::send*Event() for new modifiers r=smaug 2012-04-25 12:00:02 +09:00
Serge Gautherie
184c3bd70a Bug 637101. (Bv1) Add a 1 second delay before calling killTest(), Fix bug 647323 regression, Remove extra ';' and spaces. r=ted.mielczarek. 2012-04-05 21:00:02 +02:00
Kyle Huey
7a529aca86 Bug 722428: Fix leaks in mochitest by reworking SpecialPowers and nsDOMWindowUtils. r=mounir,ctalbert 2012-04-01 19:23:51 -07:00
Marco Bonardo
932988efc9 Merge central to inbound 2012-03-30 12:27:55 +02:00
Ms2ger
956f92aedd Bug 647323 - Part b: Implement test harness reporting code and import testharness code from the upstream repository; r=jhammel+ted 2012-03-29 23:08:43 +02:00
Peter Van der Beken
0c7d3df11e Fix for bug 740397 (Make tests that try to get XHR.channel use SpecialPowers). r=bholley.
--HG--
extra : rebase_source : 0bd78094debfea9d179f17396626c3802a6b5a21
2012-03-29 11:15:09 -07:00
Peter Van der Beken
680de8d850 Fix for bug 739898 (Stop using enablePrivilege in test_bug480509.html). r=bz. 2012-03-27 16:31:36 -07:00
Peter Van der Beken
21f90c4a0a Fix for bug 739898 (Stop using enablePrivilege in test_bug480509.html). r=bz. 2012-03-27 16:31:36 -07:00
Masayuki Nakano
0582e6722b Bug 722961 Add tests for autocomplete with composition r=m_kato 2012-03-27 23:22:56 +09:00
Aryeh Gregor
93bfe8f6cd Bug 735805 part 5 - Mochitests that run no tests should fail; r=jmaher 2012-03-16 16:07:16 -04:00
Aryeh Gregor
5bdbd66803 Bug 736529 - Calling waitForFocus() and then finishing before you get focus should cause the test to fail; r=jmaher 2012-03-19 13:09:48 -04:00
Bobby Holley
eddc1f4a42 Bug 731442 - Back out f9145dab4be9 (bug 718543) due to test failures. r=backout 2012-03-06 11:05:29 -08:00
Jonas Sicking
79eaf25209 Bug 722626: Implement DOMRequest object. r=mrbkap 2012-02-24 14:19:49 +01:00
Gavin Sharp
75a66c60be Bug 728627: simplify SpecialPowers pref observing, r=jmaher
--HG--
extra : rebase_source : 1c411dc0e8679cea3cc1f68ec792c36d19fbacfc
2012-02-18 17:33:18 -08:00
Joel Maher
9ef0e746bd Bug 725112 - Add an easy make command to rerun tests that failed the last time. r=ted 2012-02-20 09:59:04 -05:00
Bobby Holley
80cafe8e18 Bug 718543 - Preserve SpecialPowers wrapper identity with a WeakMap cache. r=mrbkap 2012-02-19 15:47:12 -08:00
Geoff Lankow
38a6e24cbf Bug 718255 - Merge nsIPrefBranch2 with nsIPrefBranch - Part F, remove uses of nsIPrefBranch2 in testing/ and layout/tools/reftest/ ; r=bsmedberg 2012-01-17 15:01:25 +13:00
Serge Gautherie
e616109281 Bug 725045. (Av1) pushPrefEnv() param is "clear" not "remove". r=jmaher.
DONTBUILD (comment-only).
2012-02-07 22:05:18 +01:00
Gavin Sharp
43cb6910c2 Bug 723207: fix SimpleTest.info when called as just info(), r=jmaher
--HG--
extra : transplant_source : %02%AC%FC%98%E8%23%FE%9A%3D%BC%DEck%16%9FP%CE%95%B3%AF
2012-02-01 10:11:53 -08:00
Gavin Sharp
c2834860a5 Bug 718203: don't allow drops of javascript: URIs on the home button, r=enndeakin, sr=bz
--HG--
extra : transplant_source : %ADP%C0%F8%8D%C4%A2v%BC%E5ZM%FC%D6BB%B7A%1E%07
2012-01-30 17:58:30 -08:00
Daniel Holbert
f50cf0013f Bug 722075: Fix $(NULL)-after-commented-out-lines in a mochitest Makefile. r=gavin 2012-01-30 12:11:41 -08:00
Reuben Morais
fff986379b Bug 722144 - Allow dblclick on EventUtils.sendMouseEvent. r=smaug 2012-01-29 05:01:00 -08:00
Jonathan Watt
6f83ff5139 Bug 701060 - Fix race condition with pref observers causing test orange. r=ehsan. 2012-01-27 22:16:44 +00:00
Dão Gottwald
09e6731932 No bug - fix some browser chrome tests that pollute the global scope 2012-01-24 23:08:42 +01:00
Serge Gautherie
5d9f44a50a Bug 720095. (Av1a-mochitest) Fix some strict warnings and nits. r=ted.mielczarek. 2012-01-24 17:38:46 +01:00
Dao Gottwald
706992fd3b Bug 719849 - global variables pollute the browser window during devtools tests; r=rcampbell 2012-01-23 11:50:11 -04:00
Dão Gottwald
fcb73495b2 No bug - fix some browser chrome tests that pollute the global scope 2012-01-20 16:21:46 +01:00
Bobby Holley
9082784986 Bug 702353 - Implement Proxy-Based XPCOM Wrappers in SpecialPowers. r=mrbkap,ted 2012-01-18 19:10:04 -08:00
Ehsan Akhgari
abd7a3db55 Bug 668728 - Teach the mochitest harness to verify that the test calling finish is the same one that we expect it to be, to avoid drastic failures such as test_reftests_with_caret.html inadvertently navigating back, and skipping half of its tests; r=ted 2011-08-19 02:03:25 -04:00
Boris Zbarsky
a539a4b217 Bug 716549. Flush on every mousemove, because otherwise we can end up with mouse events (mousemove, mousein, mouseout) dispatched to the wrong elements. r=smaug 2011-12-23 22:52:26 -05:00
Masayuki Nakano
e4aa735c69 Bug 711903 part.1 EventUtils.synthesizeKey() shouldn't dispatch keypress event for modifier keys if the event type isn't specified r=smaug 2011-12-31 23:04:37 +09:00
Bobby Holley
d1c1a83512 Bug 713747 - Fix funky tests. r=bz
The conversion of checks for UniversalBrowserWrite to UniversalXPConnect caused these test fail, because they acquire UniversalXPConnect and actually doesn't want the results. In particular, they pass the security check in nsWindowWatcher::CalculateChromeFlags, which causes them to fail.

The first test doesn't actually need UniversalXPConnect, so we can remove it for free. The second one needs it, so we add some SpecialPowers goop to make it possible. It's not ideal, but it can go away when the wrapper in bug 702353 lands.
2011-12-30 09:35:39 -08:00
Cameron McCormack
7e764a2b55 Bug 710863 - Finish mochitests when they are run in single test mode. r=jmaher 2011-12-30 11:09:03 +11:00
Phil Ringnalda
2e8e3cc006 Back out 1ac4cb2e7c32 to c631f9c3e9a9 (bug 598482) for Android reftest failures 2011-12-23 22:21:58 -08:00
Boris Zbarsky
6ebaa68f5c Bug 598482 part 24. Flush on every mousemove, because otherwise we can end up with mouse events (mousemove, mousein, mouseout) dispatched to the wrong elements. r=smaug 2011-12-23 22:52:26 -05:00
Masayuki Nakano
efe739e3f9 Bug 700199 EventUtils.js should use synthesized events for sendKey(), sendChar() and sendString() rather than untrusted events r=smaug+ehsan+dolske+enndeakin 2011-12-16 22:38:45 +09:00
Jan Varga
78980f36af Bug 661877 - Enable storing files in IndexedDB. r=bent 2011-12-16 08:34:24 +01:00
Masayuki Nakano
5ff35fa5ae backout 34b8fe028357 2011-12-08 16:42:45 +09:00
Masayuki Nakano
705962c806 Bug 700199 EventUtils.js should use synthesized events for sendKey(), sendChar() and sendString() rather than untrusted events r=ehsan+smaug+enndeakin+dolske 2011-12-07 14:13:06 +09:00
Cameron McCormack
6f7be3b9fd Bug 670831 - Enable some mochitest sanity tests for uncaught exception handling. r=jmaher 2011-12-02 23:25:04 +11:00
Cameron McCormack
53cc0ba3ac Bug 703176 - Ensure all browser chrome mochitests do fail when uncaught JS exceptions occur. (v1.1) r=jmaher 2011-12-02 23:25:03 +11:00
Masayuki Nakano
a0d25e7690 Bug 392159 Use nsIClipboard::SupportsSelectionClipboard() instead of #ifdef in nsEditorEventListener r=ehsan 2011-11-30 11:57:41 +09:00
Masayuki Nakano
360fdc970d Bug 697842 stopPropagation() shouldn't break IME composition r=ehsan 2011-11-27 09:36:36 +09:00
Geoff Lankow
8ebd020946 Bug 668710 - Move mockObjects.js in with the rest of SimpleTest; r=dao
--HG--
rename : toolkit/content/tests/browser/common/mockObjects.js => testing/mochitest/tests/SimpleTest/MockObjects.js
2011-08-05 23:55:49 +12:00
L. David Baron
20e2347ed6 Add reftest harness for testing font inflation and add reftests for basic features. (Bug 627842, patch 16) r=roc 2011-11-23 18:48:24 -08:00
Geoff Lankow
69999c8b43 Back out changeset 453772872eeb (bug 668710) for bustage 2011-11-20 01:10:40 +13:00
Geoff Lankow
7fc52fd3c9 Bug 668710 - Move mockObjects.js in with the rest of SimpleTest; r=dao
--HG--
rename : toolkit/content/tests/browser/common/mockObjects.js => testing/mochitest/tests/SimpleTest/MockObjects.js
2011-08-05 23:55:49 +12:00
Cameron McCormack
aef791b98e Bug 703230 - Remove mochitest waitForFocus() debug output. r=jmaher 2011-11-18 08:12:30 +11:00
Phil Ringnalda
47ec399c96 Backout changesets c9abc8ef4626, d62512892555, 69f89ee5d08f, c511af7d8f58, 6a6a560a1492, ac0ec1183d19, 46669afabd15, 74f32abaa8c0, f197554cf989, 0a2405eb5b90, b48954598d7d, e0a82577259c, 0235d1541e58, 450f2557d3a2, e24d196602bf, 03c2ea0eeba3, 7aca4ef8e538, 11ec362e780b, 4b92a3b96446 (bug 627842) for Windows crashtest assertions and Android reftest failures
--HG--
extra : rebase_source : fc8946055314369bfba5038ded32afcb00bf134d
2011-11-14 22:12:31 -08:00
L. David Baron
5a555c1957 Add reftest harness for testing font inflation and add reftests for basic features. (Bug 627842, patch 16) r=roc 2011-11-15 17:02:01 +13:00
Cameron McCormack
04b6a02159 Bug 652494 - Report uncaught JS exceptions in chrome mochitests as test failures. r=jmaher 2011-11-12 22:06:54 +11:00
Ed Morley
7ea8e12caa Backout 4997c6f8b24d (bug 616542) for causing locally run mochitest-browser-chrome test runs to fail 2011-11-05 18:35:59 +00:00
Rail Aliiev
ac65d0d88e Bug 616542 - Shorten file path length of mochitest; r=ted 2011-11-04 21:13:42 +00:00
Geoff Lankow
f3b073f77c Bug 668154 - Use the same mock file picker for all mochitests and xpcshell tests; r=jmaher 2011-10-22 12:39:30 +13:00
Joel Maher
adc53be025 Bug 694976 - convert the rest of eventutils.js functions to use SpecialPowers. r=ted 2011-10-19 05:35:05 -04:00
Joel Maher
3b5c4e36d3 Bug 675245 - cleanup pluginutils and SimpleTest.executeSoon() to utilize specialpowers. r=ted 2011-10-19 05:35:05 -04:00
Ian Melven
879d1f5caf Bug 674255 - Add nsIObserverService to special powers, r=ted 2011-10-14 11:24:10 -07:00
Joel Maher
3d817f94dd Bug 693577 - port mockprovider.js to specialpowers. r=ted 2011-10-14 07:52:02 -04:00
Joel Maher
a6c0cdaff1 Bug 693959 - convert quit.js to specialpowers. r=ted 2011-10-14 07:52:02 -04:00
Joel Maher
9da386ab63 Bug 666643 - convert snapshotWindow to SpecialPowers. r=ted 2011-10-14 07:52:02 -04:00
Joel Maher
0011350970 Bug 573735 - support waitForClipboard events in e10s. r=jdm,ted 2011-10-14 07:52:02 -04:00