Commit Graph

594 Commits

Author SHA1 Message Date
Ahmed Kachkach
4b03d2c025 Bug 886570 - Initial integration of structured logs in mochitest; r=ahal,Ms2ger 2014-07-17 09:02:00 +02:00
Carsten "Tomcat" Book
ce57787693 Backed out changeset cf85693280c7 (bug 886570) frequent mochitest-3 errors on windows 2014-07-11 14:15:29 +02:00
Ahmed Kachkach
50db9012f6 Bug 886570 - Initial integration of structured logs in mochitest. r=ahal,Ms2ger 2014-07-10 13:33:00 +02:00
Lebedev Maksim
96ed918f85 Bug 976963 - Resolve issues with tests on B2G system. r=smaug 2014-07-09 01:03:00 -04:00
Andrew Comminos
549f1eb82f Bug 958868 - Add support for delta line and page accumulation; r=masayuki, sr=smaug 2014-07-07 18:54:14 +09:00
Marco Castelluccio
8da1f2ae10 Bug 1028987 - Don't use Task.jsm to wait for cleanup function promises. r=jmaher 2014-07-04 14:41:24 +02:00
Jim Blandy
7e20285e70 Bug 914753: Make Emacs file variable header lines correct, or at least consistent. DONTBUILD r=ehsan
The -*- file variable lines -*- establish per-file settings that Emacs will
pick up. This patch makes the following changes to those lines (and touches
nothing else):

 - Never set the buffer's mode.

   Years ago, Emacs did not have a good JavaScript mode, so it made sense
   to use Java or C++ mode in .js files. However, Emacs has had js-mode for
   years now; it's perfectly serviceable, and is available and enabled by
   default in all major Emacs packagings.

   Selecting a mode in the -*- file variable line -*- is almost always the
   wrong thing to do anyway. It overrides Emacs's default choice, which is
   (now) reasonable; and even worse, it overrides settings the user might
   have made in their '.emacs' file for that file extension. It's only
   useful when there's something specific about that particular file that
   makes a particular mode appropriate.

 - Correctly propagate settings that establish the correct indentation
   level for this file: c-basic-offset and js2-basic-offset should be
   js-indent-level. Whatever value they're given should be preserved;
   different parts of our tree use different indentation styles.

 - We don't use tabs in Mozilla JS code. Always set indent-tabs-mode: nil.
   Remove tab-width: settings, at least in files that don't contain tab
   characters.

 - Remove js2-mode settings that belong in the user's .emacs file, like
   js2-skip-preprocessor-directives.
2014-06-24 22:12:07 -07:00
Nicholas Nethercote
aaf6fb2124 Bug 1010064 - Allow memory reports to be anonymized. r=bsmedberg.
--HG--
extra : rebase_source : 5eb756b17a97e751deb0f47e909fdb35533cb23b
2014-05-20 23:06:54 -07:00
Bobby Holley
ed314b4bd7 Bug 1015380 - Fix up SpecialPowers. r=gabor 2014-05-28 11:14:27 -07:00
Marco Castelluccio
433a7a0683 Bug 1009809 - Use ManifestHelper::biggestIconURL in the desktop app installer. r=myk,jmaher
--HG--
rename : toolkit/webapps/tests/test_hosted.xul => toolkit/webapps/tests/test_hosted_icons.xul
rename : toolkit/webapps/tests/test_packaged.xul => toolkit/webapps/tests/test_packaged_icons.xul
2014-05-21 18:02:21 +02:00
Dão Gottwald
2818e1245a Bug 805068 - Make browser chrome tests more self-contained by giving each test a new blank tab. r=ttaubert 2014-05-07 15:08:05 +02:00
Ehsan Akhgari
113f2c7fc8 Bug 1006648 - Add a dummy SimpleTest.requestFlakyTimeout() function; r=ted 2014-05-06 20:06:50 -04:00
Masayuki Nakano
c51b2b1842 Bug 998188 part.5 Fix orange and improve EventUtils.js and ChromeUtils.js r=smaug 2014-04-26 08:52:13 +09:00
Masayuki Nakano
67b49e2809 Bug 998188 part.1 Add test for this crash on debug build r=ehsan 2014-04-26 08:52:12 +09:00
Andrew McCreight
fd34a4955e Bug 949607, part 2 - Add and use runNextCollectorTimer. r=smaug 2014-04-25 13:21:04 -07:00
Marco Castelluccio
7f5c5f8db1 Bug 1000512 - If a test cleanup function returns a promise, wait for it to be resolved before running other tests. r=jmaher 2014-04-24 16:34:00 +02:00
Marco Castelluccio
aa859b7748 Bug 993326 - Automatically restore apps launchable value. r=fabrice 2014-04-17 16:43:04 -04:00
Paolo Amadini
fbdf098874 Bug 985954 - Remove deprecated promise.js usage in the testing framework. r=ted 2014-04-01 13:45:48 +02:00
Nathan Froyd
65f2050ac7 Bug 969437 - part 1 - introduce a --quiet option for mochitests; r=jmaher 2014-03-07 11:42:07 -05:00
Wes Kocher
5e8506e0a5 Merge m-c to inbound 2014-03-25 20:21:17 -07:00
Alexandre Poirot
33a65e9ccd Bug 965257 - Expose Assert.jsm in mochitest-plain chrome script. r=ted 2014-03-25 12:03:21 -04:00
Brian Birtles
6fb124d929 Bug 986367 - Make paint_listener.js check for paint suppression; r=mattwoodrow
This patch adds an extra check for paint suppression when waiting for paint
events. This is because on some platforms (notably B2G) we can think all paints
have completed because paint suppression is in effect and as a result call the
callback too soon.

This patch use window.setTimeout(..., 0) to wait for paint suppression to finish
before preceding to check for pending paint events.

When the refresh driver is under test control, if we detect that paint events
are pending we need to force a refresh driver tick. This patch adds that tick.
I suppose we had previously never hit this situation before and never noticed
this.

This patch also rearranges the main loop so that early returns appear first and
calling the callback appears at the end.
2014-03-26 09:20:07 +09:00
Masatoshi Kimura
26270a19ca Bug 980278 - Remove DataContainerEvent dependency from Mochitest. r=jmaher 2014-03-21 13:00:00 +09:00
Bill McCloskey
f218f37e25 Bug 983921 - Rename test_SimpleTestGetTestFileURL.html so it doesn't get skipped (r=jmaher)
--HG--
rename : testing/mochitest/tests/Harness_sanity/test_SimpleTestGetTestFileURL.html => testing/mochitest/tests/Harness_sanity/test_SimpletestGetTestFileURL.html
2014-03-15 08:43:35 -07:00
Bill McCloskey
fd05f3eb04 Bug 982828 - [e10s] Disable mochitest-plain tests that don't pass in e10s (r=ted) 2014-03-13 21:38:19 -07:00
Wes Kocher
3b83e5bb22 Backed out changeset 88425ad0f06a (bug 982828) for introducing various mochitest-5 failures on a CLOSED TREE
* * *
Backed out changeset 94f9ebdc6662 (bug 982828)
2014-03-13 19:41:21 -07:00
Bill McCloskey
e784b5aef6 Bug 982828 - [e10s] Disable mochitest-plain tests that don't pass in e10s (r=ted) 2014-03-13 15:41:41 -07:00
Bill McCloskey
006786a6b4 Backed out changeset d6261f65070a 2014-03-13 15:52:27 -07:00
Bill McCloskey
ed100f425c Bug 982828 - [e10s] Disable mochitest-plain tests that don't pass in e10s (r=ted) 2014-03-13 15:41:41 -07:00
Vaibhav Agarwal
c75ff964a1 Bug 971132 - B2G mochitests should use the new manifest format for runtests; r=jmaher 2014-03-13 10:40:10 -04:00
Vaibhav Agarwal
d126a07311 Bug 970925 - convert testing/mochitest/android.json into skip-if statements in mochitest.ini files; r=jmaher 2014-03-12 06:16:12 -04:00
Nathan Froyd
60cd903626 Bug 979936 - delete unused `quiet' param-handling code in setup.js; r=jmaher 2014-03-05 12:39:46 -05:00
Brian Birtles
730325e4c1 Bug 979161 part 4 - Add a non-flushing version of waitForAllPaints to paint_listener.js; r=mattwoodrow
This patch adds waitForAllPaints which does *not* call getBoundingClientRect
since that can cause a flush. Sometimes this flush is undesirable since it can
mask bugs in the code under test which should be performing this flush itself.
2014-03-10 13:47:12 +09:00
Brian Birtles
80173f8459 Bug 979161 part 3 - Use SpecialPowers.getDOMWindowUtils in paint_listener.js; r=mattwoodrow
We can't just use SpecialPowers.DOMWindowUtils since otherwise we end up with
a DOMWindowUtils object that is bound to the parent object.
2014-03-10 13:47:12 +09:00
Brian Birtles
ad94336c66 Bug 979161 part 2 - Wrap long lines in paint_listener.js; r=mattwoodrow
And also simplify the code somewhat
2014-03-10 13:47:12 +09:00
Brian Birtles
88ee802b65 Bug 979161 part 1 - Wrap up paint_listener.js so it doesn't leak globals; r=roc 2014-03-10 13:47:12 +09:00
Ted Mielczarek
952bbfe243 Bug 977699 - Move the few remaining mochitests to manifests. r=jmaher 2014-03-04 15:54:31 -05:00
Joel Maher
00ea367a93 Bug 971025 - move testing/mochitest/test/test_* to testing/mochitest/test/Harness_sanity. r=ted
--HG--
rename : testing/mochitest/tests/SpecialPowersLoadChromeScript.js => testing/mochitest/tests/Harness_sanity/SpecialPowersLoadChromeScript.js
rename : testing/mochitest/tests/file_SpecialPowersFrame1.html => testing/mochitest/tests/Harness_sanity/file_SpecialPowersFrame1.html
rename : testing/mochitest/tests/test_SimpleTestGetTestFileURL.html => testing/mochitest/tests/Harness_sanity/test_SimpleTestGetTestFileURL.html
rename : testing/mochitest/tests/test_SpecialPowersExtension.html => testing/mochitest/tests/Harness_sanity/test_SpecialPowersExtension.html
rename : testing/mochitest/tests/test_SpecialPowersExtension2.html => testing/mochitest/tests/Harness_sanity/test_SpecialPowersExtension2.html
rename : testing/mochitest/tests/test_SpecialPowersLoadChromeScript.html => testing/mochitest/tests/Harness_sanity/test_SpecialPowersLoadChromeScript.html
rename : testing/mochitest/tests/test_SpecialPowersPushPermissions.html => testing/mochitest/tests/Harness_sanity/test_SpecialPowersPushPermissions.html
rename : testing/mochitest/tests/test_SpecialPowersPushPrefEnv.html => testing/mochitest/tests/Harness_sanity/test_SpecialPowersPushPrefEnv.html
rename : testing/mochitest/tests/test_bug362788.xhtml => testing/mochitest/tests/Harness_sanity/test_bug362788.xhtml
rename : testing/mochitest/tests/test_bug816847.html => testing/mochitest/tests/Harness_sanity/test_bug816847.html
rename : testing/mochitest/tests/test_sanity.html => testing/mochitest/tests/Harness_sanity/test_sanity.html
rename : testing/mochitest/tests/test_sanityEventUtils.html => testing/mochitest/tests/Harness_sanity/test_sanityEventUtils.html
rename : testing/mochitest/tests/test_sanityException.html => testing/mochitest/tests/Harness_sanity/test_sanityException.html
rename : testing/mochitest/tests/test_sanityException2.html => testing/mochitest/tests/Harness_sanity/test_sanityException2.html
rename : testing/mochitest/tests/test_sanitySimpletest.html => testing/mochitest/tests/Harness_sanity/test_sanitySimpletest.html
rename : testing/mochitest/tests/test_sanityWindowSnapshot.html => testing/mochitest/tests/Harness_sanity/test_sanityWindowSnapshot.html
rename : testing/mochitest/tests/test_sanity_cleanup.html => testing/mochitest/tests/Harness_sanity/test_sanity_cleanup.html
rename : testing/mochitest/tests/test_sanity_cleanup2.html => testing/mochitest/tests/Harness_sanity/test_sanity_cleanup2.html
2014-03-05 10:32:02 -05:00
Masayuki Nakano
991dd217bc Bug 974318 part.9 Use WidgetTextEvent::mRanges on CompositionStringSynthesizer r=smaug 2014-03-04 22:48:28 +09:00
Nathan Froyd
73233c5452 Bug 977198 - better contextual logging for test failures in mochitests; r=jmaher 2014-02-26 14:31:12 -05:00
Nathan Froyd
c4aab9cf77 Bug 974073 - add SimpleTest.forceCompleteLog() so tests can force all test output to be displayed; r=jmaher 2014-02-25 16:41:02 -05:00
Nathan Froyd
8f8061710e Bug 973000 - always output log messages for a single mochitest run; r=jmaher 2014-02-14 15:24:36 -05:00
Bobby Holley
ecfdc95fe8 Bug 974546 - SpecialPowers wrappers should catch, wrap, and rethrow exceptions for callables. r=mrbkap 2014-02-20 08:57:20 -08:00
Masayuki Nakano
a183cc5385 Bug 969247 part.1 Remove or replace DOM_VK_ENTER and NS_VK_ENTER users r=smaug 2014-02-15 09:57:39 +09:00
Oleg Romashin
06693231dc Bug 967796 - Implement Pointer Enter/Leave events support. Tests. r=smaug
--HG--
rename : dom/events/test/test_bug432698.html => dom/events/test/test_bug967796.html
2014-02-11 06:16:56 -08:00
Oleg Romashin
ee45ee96f0 Backout 168002:594dda9c7a3a, need better SpecialPowers handling on Win platform 2014-02-10 23:39:30 -08:00
Oleg Romashin
3b9891aa7e Bug 967796 - Implement Pointer Enter/Leave events support. Tests. r=smaug
--HG--
rename : dom/events/test/test_bug432698.html => dom/events/test/test_bug967796.html
2014-02-10 22:35:17 -08:00
Nathan Froyd
36a1c28ddb Bug 937181 - coalesce log messages from SimpleTest; r=jmaher 2014-01-31 17:08:33 -05:00
Bobby Holley
e50fdec17d Bug 956385 - Don't count non-matching messages toward the total. r=ted 2014-01-30 09:30:28 -08:00
Nathan Froyd
86fe9ffd3c Bug 960582 - use nsIFile for pathname construction when dumping mochitest memory files; r=jmaher 2014-01-16 10:43:07 -05:00