Commit Graph

179 Commits

Author SHA1 Message Date
Carsten "Tomcat" Book
9dea0edd9e Backed out changeset 1081a37acef9 (bug 1340434) for ongoing failures in test_acid3_test46.html 2017-02-17 14:46:15 +01:00
Carsten "Tomcat" Book
8e399a4d6c Backed out changeset 83b51e1ba3e1 (bug 1340434) 2017-02-17 14:45:52 +01:00
Carsten "Tomcat" Book
c7c3307149 Backed out changeset 5c217cd4e9dc (bug 1340434) 2017-02-17 14:45:50 +01:00
Xidorn Quan
5cc78e865c Bug 1340434 followup 2 - Fix call before define error in js again. a=tomcat
MozReview-Commit-ID: 8pDzjrEtLoW
2017-02-17 23:45:13 +11:00
Xidorn Quan
977b3d1e1d Bug 1340434 followup - Fix call before define error in js. a=tomcat
MozReview-Commit-ID: JP8ephv8Al
2017-02-17 22:38:47 +11:00
Xidorn Quan
c044dcc83c Bug 1340434 - Request complete log and mark suppressed unexpecteds. r=jmaher
MozReview-Commit-ID: FFP7UfmJ1xs
2017-02-17 17:21:00 +11:00
Xidorn Quan
a96d0c0d0e Bug 1337674 part 3 - Add failure pattern file support to mochitest. r=jmaher
MozReview-Commit-ID: EcK8AJbXfwh
2017-02-16 16:41:50 +11:00
Florian Quèze
0a4ee94a29 Bug 1334199 - script-generated patch to omit getComputedStyle's second argument when it's falsy, r=jaws. 2017-01-27 10:51:02 +01:00
Kris Maglione
6694b0d1ce Bug 1316780: Part 3 - Capture the current unprivileged stack in browser.test.* assertion functions. r=aswan
MozReview-Commit-ID: AxjMeoodpTX
2016-11-11 15:25:30 -08:00
Andrew Halberstadt
0b5479bf7c Bug 1308202 - Remove all b2g and mulet related code from testing/mochitest, r=jmaher
MozReview-Commit-ID: BfIJLp6oGHO
2016-10-06 10:05:27 -04:00
Rob Wu
2e8bd3d948 Bug 1300385 - Fix flaws in SimpleTest.isDeeply. r=Waldo
- When one of the parameters to isDeeply is an object/function
  and the other is not, isDeeply returned false. Well, isDeeply
  is supposed to report an error instead of returning a value...

- Change the implementation of isDeeply to have SameValue semantics
  instead of weak equality.

- Change the representation of arrays to look like an array, instead
  of its default toString() value which is indistinguishable from a
  string due to the lack of brackets and quotes.

- Account for missing object properties;
  Distinguish them from "undefined" with the special DNE tag.

MozReview-Commit-ID: F1OJhbXcptl
2016-09-03 22:00:45 -07:00
Thomas Wisniewski
a490c7fdbb Bug 1285036 - Part 7: Change SetRequestHeader() and related header code to follow the spec more closely. r=baku 2016-08-02 12:50:10 -04:00
Bob Clary
31d11962aa Bug 1281511 - Add getAndroidSdk() to Mochitest SimpleTest.js, r=gbrown, snorp. 2016-06-28 11:14:45 -07:00
Xidorn Quan
db8ca8d5c4 Bug 1205938 part 1 - Add waitForCondition() function to SimpleTest. r=jmaher
This function is roughly copied from browser/base/content/test/general/head.js.
It has been widely used in browser chrome mochitests, and should be fine to
have it available to all mochitests via SimpleTest.

MozReview-Commit-ID: DhIfgJiUhXK
2015-09-18 11:06:47 +08:00
Kartikaya Gupta
126e430fe1 Bug 1261816 - Guard against the mochitest harness finish()ing a test that already finished. r=jmaher
MozReview-Commit-ID: 3w5xfSgJteG
2016-04-04 13:46:12 -04:00
JW Wang
52387f2d5c Bug 1259651 - Add the ability to register callback functions to be notified when a mochitest times out to SimpleTest. r=ted.
MozReview-Commit-ID: 2p7qqFMxHpW
2016-04-01 07:42:43 +08:00
Boris Zbarsky
f62ba31ef9 Bug 1256364. If we have an exception stack in the onerror handler in SimpleTest, include it in the error message. r=jmaher 2016-03-14 20:48:21 -04:00
Marco Castelluccio
11f972319b Bug 1250453 - Remove DOMApplicationRegistry.allAppsLaunchable property and related testing API. r=myk 2016-03-14 16:29:11 +00:00
Neil Deakin
236ac4779f Bug 1254988, remove correct listener in waitForFocus, r=jmaher 2016-03-11 08:50:22 -05:00
Carsten "Tomcat" Book
77d21f0305 Backed out changeset 878c54ec3954 (bug 1250453) 2016-03-10 14:45:59 +01:00
Marco Castelluccio
b38f8b0507 Bug 1250453 - Remove DOMApplicationRegistry.allAppsLaunchable property and related testing API. r=myk 2016-03-10 11:12:38 +00:00
Myk Melez
11388a70ad Bug 1238079 - remove the desktop web runtime; r=fabrice,mossop,gps,jryans,jmaher,marco 2016-03-07 13:33:12 -08:00
Ehsan Akhgari
ad1c7d33af Bug 1237363 - Part 3: Add a test for a mochitest finishing without unregistering its service worker; r=jdm 2016-02-09 19:33:41 -08:00
Ehsan Akhgari
237868e5b2 Bug 1237363 - Part 2: Fail mochitests which register a service worker without unregistering it; r=jdm 2016-02-09 19:33:41 -08:00
Mike Conley
5758211ac9 Bug 1233497 - SimpleTest.promiseFocus should not resolve to a window, as it might be a CPOW. r=Enn 2016-01-04 17:52:08 -05:00
Andrew McCreight
aee841327b Bug 1223831 - SpecialPowers API to create files in an e10s-compatible way. r=jmaher,baku 2015-11-13 09:29:17 -08:00
Kris Maglione
118cdecae1 Bug 1197422 - Part 2: [webext] Implement the pageAction API. r=billm ui-r=bwinton 2015-10-15 15:15:04 -07:00
Benjamin Smedberg
28e7ff1af4 Bug 1098064 part C - remove SimpleTest and reftest testPluginIsOOP and related usage, r=jimm 2015-08-14 14:10:17 -04:00
Benjamin Smedberg
3079a57133 Bug 1098064 part B - remove nsIPluginHost.isPluginOOP, r=jimm 2015-08-14 13:28:33 -04:00
Hiroyuki Ikezoe
8fd0fb6b8e Bug 1101039 - Mochitest should output stack trace in failure case. r=ted
CLOSED TREE
2015-07-15 15:10:00 -04:00
Andrew Comminos
3943808653 Bug 1178896 - Add support for determining if a plugin is OOP to nsIPluginHost. r=aklotz 2015-07-11 19:08:00 +02:00
Jeff Walden
21bb42e79d Bug 1165533 - Use SameValue semantics in Mochitests' is() and similar methods. r=Ms2ger 2015-05-19 13:09:48 -07:00
Jeff Walden
8af5401639 Bug 1165533 - Make Mochitest's repr() functionality better distinguish values: include an explicit sign in zero representations, and escape and quote strings to distinguish them from their contents. r=Ms2ger 2015-07-02 21:19:02 -07:00
Kartikaya Gupta
456f0ff93b Bug 1164218 - Allow running individual mochitests and reftests in chaos mode. r=roc,froydnj 2015-06-04 13:44:55 -04:00
Michael Layzell
31c1b043c7 Bug 1012662 - Part 3 - Tests for new Cut/Copy behaviour. r=ehsan 2015-05-27 06:54:00 +02:00
Carsten "Tomcat" Book
7db9699aa0 Backed out changeset cb03cb33817c (bug 1012662) 2015-05-26 13:33:41 +02:00
Michael Layzell
4a9e176f52 Bug 1012662 - Tests for new Cut/Copy behaviour. r=ehsan 2015-05-13 10:30:00 +02:00
Ehsan Akhgari
437d95a148 Bug 1154275 - Remove ise() in favor of is(); r=Ms2ger 2015-05-13 14:31:58 -04:00
Neil Deakin
cff1556df4 Bug 1131656, allow waitForFocus to take a browser element as an argument, r=billm 2015-05-11 08:02:49 -04:00
Boris Zbarsky
c4c0461bc6 Bug 1157487. Make the error reporting in SimpleTest.monitorConsole better. r=jmaher 2015-04-22 23:50:48 -04:00
Ehsan Akhgari
baab9adf8e Bug 1154679 - Part 3: Remove is_loosely; r=Ms2ger 2015-04-18 19:10:53 -04:00
Ms2ger
22570d5b49 Bug 949614 - Use === for SimpleTest.is; r=Waldo
This is more likely to be correct, and a necessary step in case we ever want
to move to Object.is.

This keeps ise as an alias for is, and introduces is_loosely for the old
behaviour.
2015-04-14 15:28:13 +02:00
Ehsan Akhgari
a802c6ee08 Bug 1125383 - Unbreak running single mochitests using the runtests.py script directly; r=ted
Without this, the following exception is thrown:

TEST-UNEXPECTED-FAIL | unknown test url | uncaught exception - TypeError: SimpleTest.harnessParameters is undefined at http://mochi.test:8888/tests/SimpleTest/SimpleTest.js:624
2015-01-28 12:08:21 -05:00
Ryan VanderMeulen
8d1032d201 Backed out changeset 1c0b0e3074c3 (bug 1119952) for frequent Linux debug mochitest failures.
CLOSED TREE
2015-01-13 14:43:34 -05:00
Martin Thomson
9ed2261163 Bug 1119952 - Reduce log spam from calling finished() multiple times. r=jmaher 2015-01-09 13:32:01 -08:00
Kaustabh Datta Choudhury
4b3f60067b Bug 1098700 - Mochitests that are annotated fails-if don't output a useful error if they unexpectedly pass. r=jmaher 2015-01-12 09:31:40 -05:00
Joel Maher
74adc1a8a6 Bug 1118329 - reduce osx 10.6 talos jobs via talos.json. r=armenzg 2015-01-08 10:13:05 -05:00
Neil Deakin
6fee7707c1 Bug 1116457, attach the focus event listener to the right child window, r=jmaher 2015-01-07 20:52:20 -05:00
Neil Deakin
e89f3326de Bug 1083269, handle windows in a different process within waitForFocus, r=jmaher 2014-12-29 07:39:26 -05:00
Phil Ringnalda
0b36211af8 Back out 9e126e97e347 (bug 1098700), a=backout 2014-12-28 22:57:38 -08:00