Gregory Szorc
2288b28e43
Bug 844635 - Part 3: Remove empty Makefile.in files; r=glandium
2013-03-17 18:01:25 -07:00
L. David Baron
ced4573e23
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
3113ab0c9a
Bug 635852. r=smaug
2013-03-08 12:04:53 +01:00
Ms2ger
3813557cac
Merge m-i to b-s.
2013-02-28 14:46:10 +01: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
L. David Baron
189f32e914
Bug 404077: Enable checking of assertions in mochitests.
2013-02-27 13:20:28 -08:00
Josh Aas
895a771a33
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
3482bb8b78
Back out fix for bug 647216 due to test failures. CLOSED TREE
2013-02-04 10:05:06 -06:00
Josh Aas
5d6290a834
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
2d1e41ef33
Bug 832101 - Allow EventUtils.sendMouseEvent to set pressure and inputSource [r=smaug]
2013-01-24 06:52:57 -08:00
Phil Ringnalda
a8d4016164
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
e5142499c5
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
7c7a078529
Bug 816847 - Use AppService instead of Webapps.jsm for manifest lookup. r=jgriffin
2012-11-30 10:52:40 -08:00
Georg Fritzsche
5beaeb5928
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
c4e74b26fa
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
f0f49ff1ad
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
7931aa2846
Bug 811444 - panda boards magically reboot in the middle of the test. r=ted
2012-11-28 10:23:11 -05:00
Ehsan Akhgari
4705d26487
Bug 814519 - Fix a typo in SimpleTest/setup.js; r=ted
2012-11-27 14:02:08 -05:00
Peter Van der Beken
243151f563
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
a14e25163d
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
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
Josh Aas
4c7422ffc4
Back out both patches for bug 647216 due to regression documented in bug 806244.
2012-11-01 09:19:24 -04:00
Markus Stange
9e63676c33
Bug 647216: Allow testing of MozMouseHittest window dragging. r=enndeakin
2012-10-26 15:40:11 -04:00
Masayuki Nakano
8217ef94b6
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
25e8f55bc0
Make SimpleTest.is* functions less verbose on pass. Bug 797827, r=jmaher
2012-10-04 08:57:50 -07:00
Vladimir Vukicevic
2864c47b46
b=683143,792462; Some tests call SimpleTest.finish() twice/guard against that; r=ehsan
2012-10-01 17:51:10 -04:00
Bobby Holley
7f912ddc79
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
515994bfb3
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
c3c481579d
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
5855c286f2
Merge last PGO green changeset from mozilla-inbound to mozilla-central
2012-09-19 15:15:34 +01:00
Ehsan Akhgari
6b89c15794
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
49974c5e53
Bug 787916 - Hide Mochitest test table with --close-when-done option. r=jmaher
2012-09-19 01:28:39 +02:00
Georg Fritzsche
cf33482a3e
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
06092f65fb
Bug 767931. Make drawWindow and asyncDrawXULElement ChromeOnly. r=roc
2012-09-07 01:29:47 -04:00
Masayuki Nakano
08b5649f75
Bug 788401 Avoid JS warnings in EventUtils.synthesizeWheel() r=smaug
2012-09-07 09:53:27 +09:00
Scott Johnson
1ccadb6e74
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
5c26a10f81
bug 785545 - unrefactor mozApps tests for maximum readability/reliability; r=fabrice
2012-09-05 10:08:54 -07:00
Masayuki Nakano
652c834ce7
Bug 786898 part.2 Add overflow delta value tests r=smaug, sr=smaug
2012-09-04 17:39:28 +09:00
Mounir Lamouri
26b6f2ff4a
Bug 775815 - Use new Permission Manager API in SpecialPowers. r=sicking
2012-08-23 11:23:48 -07:00
Bobby Holley
a4ec7a6646
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
8c55938528
Back out e6761635f9cf (bug 695292) for Android mochitest bustage on a CLOSED TREE
2012-08-16 21:35:53 -07:00
Bobby Holley
773b674a05
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
f121b94dfd
bug 783391 - NS_ERROR_FILE_IS_DIRECTORY on mochitest-chrome runs; r=adw
2012-08-16 15:20:29 -07:00
Myk Melez
782fce224f
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
79e4222127
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
870142e530
Merge inbound to m-c.
2012-08-11 22:33:42 -04:00
Masayuki Nakano
cb1f8565ed
Bug 719320 part.9 Implement nsIDOMWindowUtils::sendWheelEvent() for tests r=smaug, sr=jst
2012-08-12 10:42:36 +09:00