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
Nathan Froyd
3cad6af759
Bug 960619 - part 7 - explicitly return a value from ChromePowers._receiveMessage always; r=jmaher
2014-01-16 10:03:40 -05:00
Nathan Froyd
996ba72b4d
Bug 960619 - part 6 - explicit return a value from SimpleText.executeSoon always; r=jmaher
2014-01-16 09:57:50 -05:00
Nathan Froyd
538e26345d
Bug 960619 - part 5 - avoid warning about non-top-level-ish declaration of functions in SimpleTest.js; r=jmaher
2014-01-16 09:57:15 -05:00
Alexandre Poirot
e1bfc229ce
Bug 891882 - DOMWindowUtils.sendMouseEvent dispatch events with isSynthesized chrome attribute set to true. r=smaug
2014-01-15 09:28:04 -05:00
Masayuki Nakano
04cc04ac24
Bug 947115 All tests shouldn't use nsIDOMWindowUtils.sendNativeKeyEvent() directly. Use synthesizeNativeKey() instead. r=smaug
2013-12-18 16:02:46 +09:00
Masayuki Nakano
722e315e04
Bug 930374 part.2 Fix test_assign_event_data.html for new defaultPrevented behavior and make it a chrome test r=smaug
2013-12-09 00:51:16 +09:00
Drew Willcoxon
e462487509
Bug 898593 - Fix intermittent failures in test_bug413958.html and others by making SimpleTest.monitorConsole() ignore unexpected messages by default. r=ted
2013-12-06 18:07:09 -08:00
Masayuki Nakano
d7fcc64c1e
Bug 946044 Handle context menu key of PC keyboard on Mac r=smichaud
2013-12-06 12:16:55 +09:00
Carsten "Tomcat" Book
329dc1fc63
merge b2g-inbound to m-c
2013-12-05 12:57:24 +01:00
Bobby Holley
fe1eb07f95
Bug 943152 - Tests. r=jgriffin
2013-12-04 19:15:40 -08:00
Mike Hommey
9459b3c881
Bug 943728 - Convert several resource install using double quotes to INSTALL_TARGETS and editor/libeditor/html/tests to mochitest manifest. r=gps,r=mshal
2013-12-03 06:34:21 +09:00
Martijn Wargers
33bb7b2d4d
Bug 913706 - Fix the tests for B2G mochitest that use nsICookiePermission.setAccess. r=honzab.moz
...
--HG--
extra : rebase_source : 54036e1638d9de46d7ee0116d40e527046d0b26d
2013-09-16 17:15:22 +02:00
Nathan Froyd
87208c320a
Bug 940637 - part 3 - change MemoryStats.dump to dump about:memory and DMD if instructed; r=jmaher
2013-11-21 13:03:19 -05:00
Nathan Froyd
ab1d6f8b03
Bug 940637 - part 2 - update TestRunner.js to understand new dumping options; r=jmaher
2013-11-21 13:02:56 -05:00
Nathan Froyd
8fdefc9de9
Bug 940637 - part 0b - add a license header and editor modelines to MemoryStats.js; r=jmaher
2013-11-21 09:11:35 -05:00
Nathan Froyd
888a8dac38
Bug 940637 - part 0 - add helper function for getService magic; r=jmaher
2013-11-18 14:30:27 -05:00
Shu-yu Guo
7a9dd72104
Bug 939414 - Dump memory stats for browser-chrome. (r=ted)
2013-11-20 12:08:07 -08:00
Nicholas Nethercote
a69fdf1720
Bug 939385 (part 1, attempt 2) - Rename largestContiguousVMBlock as vsizeMaxContiguous. r=froydnj.
...
--HG--
extra : rebase_source : e5bdf43ab2a228f3ade93e803988f81d4f3a646e
2013-11-18 22:24:12 -08:00
Carsten "Tomcat" Book
370964d25d
Backed out changeset a06dd3421421 (bug 939385) for perma failures/orange in XPCShell Tests on Linux and OS X on a CLOSED TREE
2013-11-19 11:48:01 +01:00
Nicholas Nethercote
292c9a4320
Bug 939385 (part 1) - Rename largestContiguousVMBlock as vsizeMaxContiguous. r=froydnj.
...
--HG--
extra : rebase_source : 3c364af0442eeabd5951370792f1a467eaa86994
2013-11-18 22:24:12 -08:00
Bas Schouten
ff4b20243d
Bug 937678: Add an isfuzzy comparison function to the mochitest framework. r=jmaher
2013-11-18 01:28:56 +00:00
Andrew McCreight
86107a9ac9
Bug 939137 - make it work in both mochitest plain and chrome. r=froydnj
...
CLOSED TREE
2013-11-15 15:49:54 -08:00
Nathan Froyd
05473f821b
Bug 939137 - part 2 - display memory statistics following each mochitest; r=ted
...
Landing this on a CLOSED TREE
2013-11-15 12:01:06 -05:00
Olli Pettay
c6e1c10c13
Bug 938945, gc/cc more during test runs, f=Ms2ger, pending-r=ted, a=Tomcat on a CLOSED TREE
2013-11-15 13:19:26 +02:00
Felipe Gomes
e69f72c0e7
Bug 916797 - --run-until-failure mochitest option should support running multiple tests. r=jmaher
2013-11-05 13:48:36 -02:00
Felipe Gomes
7d32f2051b
Bug 932144 - Add option to break into debugger on test failure. r=jmaher
2013-11-01 17:23:34 -02:00
Bill McCloskey
9298107846
Bug 931279 - Allow people to start running at a given test (r=jmaher)
2013-10-28 12:24:55 -07:00
Alexandre Poirot
f357345ac6
Bug 926332 - Expose getTestFile to mochitest chrome/browser that returns nsIFile instance for test data files. r=jmaher
2013-10-17 14:27:23 -04:00
Ryan VanderMeulen
83af7e5de4
Backed out changeset 62732da6ae3d (bug 926332) for suspicion of causing mochitest-bc timeouts.
2013-10-17 16:22:41 -04:00
Alexandre Poirot
4107559430
Bug 926332 - Expose getTestFile to mochitest chrome/browser that returns nsIFile instance for test data files. r=jmaher
2013-10-17 14:27:23 -04:00
Martijn Wargers
aa4016d0c9
Bug 901343 - Tests that use createSystemXHR are failing on b2g mochitest. r=sicking
2013-10-12 02:18:34 +02:00
Ms2ger
1ee1f27aa3
Bug 922268 - Remove empty makefiles; r=gps
2013-10-03 09:10:00 +02:00
Martijn Wargers
36a41557c9
Bug 922008 - Remove more enablePrivilege calls, part2. r=jmaher
2013-09-30 11:30:01 +02:00
Ryan VanderMeulen
ad7d17c453
Merge m-c to b2g-inbound.
2013-09-30 16:30:26 -04:00
Gregory Szorc
54c1de66d6
Bug 920223 - Part 3: Mass convert MOCHITEST_BROWSER_FILES to manifests; rs=Ms2ger
2013-09-30 09:52:06 +02:00
Ed Morley
2c7dd24541
Backed out changeset 8b02873ee07e (bug 920223)
2013-09-30 12:50:05 +01:00
Gregory Szorc
8344d8a946
Bug 920223 - Part 3: Mass convert MOCHITEST_BROWSER_FILES to manifests; rs=Ms2ger
2013-09-30 09:52:06 +02:00
Martijn Wargers
a3d1617473
Bug 918604 - Remove more enablePrivilege calls. r=jmaher
2013-09-25 19:32:20 +02:00
Ryan VanderMeulen
df60bfed7e
Backed out changeset 356ba083bb5f (bug 918604) for frequent OSX test_window_bar.html timeouts.
...
CLOSED TREE
2013-09-27 18:28:43 -04:00
Martijn Wargers
01fd8c8bbd
Bug 918604 - Remove more enablePrivilege calls. r=jmaher
2013-09-25 19:32:20 +02:00
Martijn Wargers
4d7138739f
Bug 916086 - Remove some more enablePrivilege calls. r=jmaher
...
CLOSED TREE
--HG--
rename : layout/base/tests/test_bug458898.html => layout/base/tests/chrome/test_bug458898.html
2013-09-16 22:12:29 +02:00
Martijn Wargers
6e45f31a8e
Bug 914890 - While running a standalone mochitest, prefs and permissions should also reset after the mochitest run. r=jmaher
2013-09-30 15:05:21 +02:00
Alexandre Poirot
756c89efbe
Bug 914633 - Implement SpecialPowers.loadChromeScript to easily add new chrome features without having to modify SpecialPowers. r=ted
2013-09-14 22:09:13 -04:00
Ryan VanderMeulen
e4754304bc
Merge inbound to m-c.
2013-09-12 20:37:35 -04:00
Masayuki Nakano
c552beddd0
Bug 911951 part.2 Reimplement synthesizeText() in EventUtils.js and remove nsIDOMWindowUtils.COMPOSITION_ATTR_* from all tests r=smaug
2013-09-13 00:19:00 +09:00
Alexandre Poirot
46ce891b2a
Bug 894990 - Expose mochitest data file URL via SimpleTest.getTestFileURL. r=jmaher
2013-09-12 10:48:32 -04:00
L. David Baron
7073a4744d
Bug 847275 patch 1: Make assertions cause test failures in browser-chrome mochitest. r=dao
...
I tested all three error messages manually by making different
SimpleTest.expectAssertions() calls in
browser/base/content/test/browser_aboutHome.js .
2013-09-09 12:21:24 +02:00
Mike Hommey
f8bc7fa754
Bug 912293 - Remove now redundant boilerplate from Makefile.in. r=gps
2013-09-05 09:01:46 +09:00
David Rajchenbach-Teller
8f97970e9c
Bug 872229 - Add an add_task API for mochitest. r=ted
2013-06-04 15:35:43 +02:00
Martijn Wargers
f535093ab0
Bug 908439 - Rewrite some tests to SpecialPowers.pushPrefEnv/pushPermissions. r=jmaher
2013-08-29 23:12:15 +02:00
Martijn Wargers
fef033baa7
Bug 909012 - pushPermissions doesn't have 'remove' option. r=jmaher
2013-08-26 20:05:20 +02:00
Joel Maher
57e18cad43
Bug 868158 - mochitests should support manifest format. r=ted
2013-08-02 08:48:06 -04:00
Martijn Wargers
260b0100df
Bug 873149 - Report the slowest test in mochitest, r=ted
...
--HG--
extra : rebase_source : a5da51081c9460c12a2366387acba095681bdca5
2013-06-14 02:03:48 +02:00
Masayuki Nakano
345d20234e
Bug 501496 part.13 nsListControlFrame should handle key navigation at keydown event handler r=neil
2013-07-25 15:09:29 +09:00
Masayuki Nakano
ab8eca4513
Bug 501496 part.9 EventUtils and some tests shouldn't synthesize keypress event if precede keydown event is consumed r=smaug
2013-07-25 15:09:29 +09:00
Masayuki Nakano
7318911de9
Bug 896362 part.2 Add tests for VK_ABNT_C1 and VK_ABNT_C2 r=jimm+smaug
2013-07-25 15:04:17 +09:00
Marco Bonardo
c6b58cf259
Bug 895376 - Make mochitest browser harness distinguish real timeouts from long-running tests.
...
r=gavin
2013-07-19 15:51:34 +02:00
Jim Chen
5c979358f3
Bug 864040 - Move synthesizeSelectionSet to EventUtils.js and let sendString accept newlines; r=jmaher
2013-06-26 17:28:21 -04:00
Martijn Wargers
9775b80620
Bug 880310 - Add some pushPrefEnv tests. r=jmaher
2013-06-15 01:21:57 +02:00
Gavin Sharp
30fa51a97b
Bug 883314 part 2: refactor mochitest chunking code to be re-used for mochitest-browser-chrome, r=jmaher
...
--HG--
extra : transplant_source : %0A%C3%7F%B7%CFL%AD%2C%A2Y%5D51%AF%19%C1%C8%C5%5B%07
2013-06-16 11:19:47 -04:00
Felipe Gomes
bac01cc4af
Bug 880555 - Fix --test-manifest option for non mochitest-plain. r=jmaher
2013-06-17 19:04:04 +02:00
Martijn Wargers
49fddee770
Bug 883094 - Fix some test files that don't unset their prefs correctly. r=jgriffin
2013-06-15 00:33:47 +02:00
Bobby Holley
f06e741959
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
Gijs Kruitbosch
36b62dafcf
Bug 877178 - Add an exception checking method to SimpleTest, r=robcee
2013-06-01 15:33:03 +02:00
Felipe Gomes
6e89818d5f
Bug 875463 - Implement --run-until-failure option for mochitests. r=jmaher
2013-05-24 16:03:50 -03:00
Felipe Gomes
740cd9ba32
Bug 875463 - Part 0. Remove plain-loop.html and fix --repeat for single tests. r=jmaher
2013-05-24 16:03:49 -03:00
Martijn Wargers
1e95b05c7e
Bug 859401 - pushPermissions missing PROMPT_ACTION case. r=jmaher
2013-05-17 10:46:36 +02:00
Joel Maher
85d4edebe2
Bug 868329 - Switch legacy cases of test disabling on Android/B2G using makefile ifdefs over to android.json & b2g.json. r=edmorley
2013-05-07 12:46:45 -04:00
Martijn Wargers
2677f971cb
Bug 861689 - Fix focus issues in various B2G mochitests. r=jmaher
2013-05-03 18:29:55 +02:00
Ted Mielczarek
2e0143bf24
bug 866641 - add registerCleanupFunction method to mochitest-plain. r=jmaher
2013-04-29 14:35:14 -04:00
Ryan VanderMeulen
463e9e1959
Backed out changeset f4da799815da (bug 861689) for mochitest asserts.
...
CLOSED TREE
2013-04-30 11:12:17 -04:00
Martijn Wargers
3478411501
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
Alexandre Poirot
16e6da25d8
Bug 857073 - Simplify ChromeUtils usages. r=jmaher
2013-04-16 16:46:47 -04:00
Kyle Machulis
72a717a860
Bug 855465 - Add emacs python mode comments to moz.build files; r=gps
2013-04-01 11:36:59 -07:00
Kyle Machulis
43628a7867
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
334c0800cf
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
1b69f6f153
Bug 855192 - Fix MockPermissionPrompt scope. r=jgriffin
2013-03-27 13:16:39 -07:00
Joel Maher
420861c89e
Bug 685652 - we need a pushPermissionsEnv equivalent to pushPrefEnv in SpecialPowers. r=jdm
2013-03-29 08:43:27 -04:00
Bobby Holley
0058cdaa1d
Bug 790732 - Fix automation detection to handle Components shim. rs=mccr8
2013-03-28 14:26:02 -07:00
Ryan VanderMeulen
0d389c5e36
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
217b9c48cc
Bug 685652 - we need a pushPermissionsEnv equivalent to pushPrefEnv in SpecialPowers. r=jdm
2013-03-27 15:04:39 -04:00
Gregory Szorc
7d09ff18e0
Bug 844635 - Part 3: Remove empty Makefile.in files; r=glandium
2013-03-17 18:01:25 -07:00
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