Commit Graph

1052 Commits

Author SHA1 Message Date
Gregory Szorc
28c7dd206c Bug 799291 - Part 1: Move mach commands for test running into test runners; r=jhammel
The code interacting with the test runners now resides in closer
proximity to the code it is invoking. We also purge testing
functionality from mozbuild, which is where it never really belonged.

--HG--
rename : python/mozbuild/mozbuild/testing/reftest.py => layout/tools/reftest/mach_commands.py
rename : python/mozbuild/mozbuild/testing/mochitest.py => testing/mochitest/mach_commands.py
rename : python/mozbuild/mozbuild/testing/xpcshell.py => testing/xpcshell/mach_commands.py
2012-10-10 11:08:09 -07:00
Ms2ger
860a3dc1e2 Bug 798806 - Disable permaorange test_bug511075.html on Android. 2012-10-06 20:37:25 +02:00
Brian Nicholson
0fc2b4a24b Bug 769145 - Part 6: Update test cases for layout changes. r=mfinkle 2012-10-05 17:27:12 -07:00
Simon Montagu
21fb9bae35 Make SimpleTest.is* functions less verbose on pass. Bug 797827, r=jmaher 2012-10-04 08:57:50 -07:00
William Lachance
382c927895 Bug 795496 - Make mozdevice raise exceptions on error;r=ahal,jmaher
It turns out that relying on the user to check return codes for every
command was non-intuitive and resulted in many hard to trace bugs.
Now most functinos just return "None", and raise a DMError when there's an
exception. The exception to this are functions like dirExists, which now return
booleans, and throw exceptions on error. This is a fairly major refactor,
and also involved the following internal changes:

* Removed FileError and AgentError exceptions, replaced with DMError
  (having to manage three different types of exceptions was confusing,
  all the more so when we're raising them)
* Docstrings updated to remove references to return values where no
  longer relevant
* pushFile no longer will create a directory to accomodate the file
  if it doesn't exist (this makes it consistent with devicemanagerADB)
* dmSUT we validate the file, but assume that we get something back
  from the agent, instead of falling back to manual validation in the
  case that we didn't
* isDir and dirExists had the same intention, but different
  implementations for dmSUT. Replaced the dmSUT impl of getDirectory
  with that of isDir's (which was much simpler). Removed
  isDir from devicemanager.py, since it wasn't used externally
* killProcess modified to check for process existence before running
  (since the actual internal kill command will throw an exception
  if the process doesn't exist)

In addition to all this, more unit tests have been added to test these
changes for devicemanagerSUT.
2012-10-04 11:28:07 -04:00
Justin Lebar
4da0d7ca67 Bug 789392 - Allow mozapp frames to window.close() themselves. r=bz 2012-10-04 00:44:50 -04:00
Matthew Noorenberghe
bf74ef16e1 Disable test_notifications_popup.html from bug 784028 on android since it's lacking PopupNotifications 2012-10-03 20:54:37 -07:00
Ryan VanderMeulen
d309e30f04 Backout 99caa1f41fe1 (bug 797515) and a04b83c53297 (bug 789392) for M2 orange. 2012-10-03 21:59:41 -04:00
Justin Lebar
18c694618d Bug 789392 - Allow mozapp frames to window.close() themselves. r=bz 2012-10-03 20:45:40 -04:00
Ryan VanderMeulen
ab95313c1f Merge m-c to inbound. 2012-10-03 18:19:17 -04:00
David Chan
4c08ecc761 Bug 797177 - Unbreak b2g mochitests, r=ahal 2012-10-02 15:43:19 -07:00
Patrick Wang
2cfef0b277 Bug 777384 - Test case r=jlebar
--HG--
extra : rebase_source : 777580f0a22bfb3d9d447097b0f4a379f2b7416b
2012-09-27 01:47:57 +08:00
Joel Maher
e2dde9e46d Bug 797112 - we have a call to dm.checkCmd and that api doesn't exist anymore. r=wlach 2012-10-03 11:07:31 -04:00
Justin Lebar
aa5d8bf209 Back out bbf94917f0ec (bug 789392) on strong suspicion of causing assertions in debug mochitest-2 on a CLOSED TREE.
The assertion encountered is:

Assertion failure: !gAppContentParents || !gAppContentParents->Get(mAppManifestURL), at ../../../dom/ipc/ContentParent.cpp:774
TEST-UNEXPECTED-FAIL | /tests/dom/browser-element/mochitest/test_browserElement_oop_CloseFromOpener.html | Exited with code 11 during test run
PROCESS-CRASH | /tests/dom/browser-element/mochitest/test_browserElement_oop_CloseFromOpener.html | application crashed (minidump found)
Thread 0 (crashed)
2012-10-02 18:20:20 -04:00
Justin Lebar
d332c4aac6 Bug 789392 - Allow mozapp frames to window.close() themselves. r=bz 2012-10-02 13:55:52 -04:00
Vladimir Vukicevic
f01fc07d9d b=683143,792462; Some tests call SimpleTest.finish() twice/guard against that; r=ehsan 2012-10-01 17:51:10 -04:00
Phil Ringnalda
72a97ced78 Merge last PGO-green changeset of mozilla-inbound to mozilla-central 2012-09-28 22:06:29 -07:00
Jonathan Griffin
305591d389 Bug 795100 - Add a --gecko-path argument to the B2G mochitest testrunner, r=ahal, DONTBUILD(NPOTB) 2012-09-28 10:04:03 -07:00
Isaac Aggrey
84680bfb39 Bug 789847 - Remove PR_CALLBACK usage from tree 2012-09-25 11:18:38 -05:00
Bob Clary
f04fd819f8 Bug 789086 - use unique temporary filename for robotium.config file in mochitest/runtestsremote.py, r=jmaher. 2012-09-28 12:25:46 -07:00
Mounir Lamouri
fcf8b24597 Bug 773373 part 6 - Disable tests on Android. r=sicking 2012-09-25 23:33:02 +01:00
Andrea Marchesini
f90a417ca8 Bug 779982 - Change behaviour of getSelf and add amInstalled function. r=sicking 2012-09-25 11:04:24 -04:00
Bobby Holley
c64d31c5e0 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
243891d310 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
70ddebfc21 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
Gregor Wagner
8cbd354d16 Bug 792536 - Enable contacts and settings tests on mobile. r=fabrice 2012-09-19 21:37:05 -07:00
Gregor Wagner
2f5d2e9f4a Bug 770731 - Expose JS API for modifying app permissions. r=sicking 2012-09-19 11:19:00 -07:00
Graeme McCutcheon
13c767cf84 Merge last PGO green changeset from mozilla-inbound to mozilla-central 2012-09-19 15:15:34 +01:00
Ehsan Akhgari
c54e9a3bb2 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
David Clarke
ef29a0fbe3 Bug 790546 - Add sdcard option to emulator, r=jgriffin, DONTBUILD because NPOTB 2012-09-17 18:44:07 -07:00
Christian Holler
f103881675 Bug 787916 - Hide Mochitest test table with --close-when-done option. r=jmaher 2012-09-19 01:28:39 +02:00
Gregor Wagner
45182816a6 Backout bug 770731 2012-09-18 16:19:56 -07:00
Gregor Wagner
25f4b524a1 Bug 770731 - Expose JS API for modifying app permissions. r=sicking 2012-09-18 14:52:39 -07:00
Tanvi Vyas
595ac1b255 Bug 62178 - Mochitest - iframe, stylesheet, object, script, image, media, xhr (Disabled on android until ssl is supported), r=smaug 2012-09-16 20:53:01 -07:00
Adam Dane [:hobophobe]
b6842875b3 Bug 787624 - Test for bug 787624. r=roc 2012-09-14 15:00:21 -05:00
Kartikaya Gupta
556edf6838 Bug 767449 - Allow robotium tests to put files in places other than /mnt/sdcard. r=jmaher 2012-09-12 07:56:31 -04:00
Georg Fritzsche
40a04e4be6 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
William Lachance
980573bf62 Bug 723107 - Re-add mozdevice to testing/mozbase, remove duplicate files in build/mobile;r=jmaher 2012-09-07 16:00:31 -04:00
Boris Zbarsky
a562efcb37 Bug 767931. Make drawWindow and asyncDrawXULElement ChromeOnly. r=roc 2012-09-07 01:29:47 -04:00
Masayuki Nakano
f4a88425eb Bug 788401 Avoid JS warnings in EventUtils.synthesizeWheel() r=smaug 2012-09-07 09:53:27 +09:00
Scott Johnson
32391cde9d 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
9ab726eee5 bug 785545 - unrefactor mozApps tests for maximum readability/reliability; r=fabrice 2012-09-05 10:08:54 -07:00
Masayuki Nakano
c25f7ece0f Bug 786898 part.2 Add overflow delta value tests r=smaug, sr=smaug 2012-09-04 17:39:28 +09:00
Brian R. Bondy
e5dea77d70 Bug 785744 - Async file picker cleanup. r=neil 2012-08-29 14:37:43 -04:00
Mounir Lamouri
ff8261b707 Bug 756645 - Implement IndexedDB apps isolation. r=bent 2012-08-28 09:46:46 -03:00
Philipp von Weitershausen
f47e2a9937 Bug 776825 - Separate message managers into senders and broadcasters. r=smaug
--HG--
rename : content/base/public/nsIFrameMessageManager.idl => content/base/public/nsIMessageManager.idl
2012-08-27 11:13:02 -03:00
Ryan VanderMeulen
6a130b0407 Merge m-c to inbound. 2012-08-23 19:50:46 -04:00
Mounir Lamouri
e2963d6494 Bug 775815 - Use new Permission Manager API in SpecialPowers. r=sicking 2012-08-23 11:23:48 -07:00
Kyle Machulis
255406cbe7 Backout of c129811b87ef due to mochi bustage 2012-08-23 12:00:51 -07:00
Bobby Holley
e58c6342c9 Bug 785162 - Disable test_bug760802.html on android. r=smaug,dougt 2012-08-23 11:45:28 -07:00
Kyle Machulis
1485cd59c9 Bug 783426: Patch 2 - Async DOMRequest Firing Tests; r=sicking 2012-08-23 09:52:54 -07:00
Ehsan Akhgari
8c296bbcd4 Bug 579517 - Part 1: Automated conversion of NSPR numeric types to stdint types in Gecko; r=bsmedberg
This patch was generated by a script.  Here's the source of the script for
future reference:

function convert() {
echo "Converting $1 to $2..."
find . ! -wholename "*nsprpub*" \
       ! -wholename "*security/nss*" \
       ! -wholename "*/.hg*" \
       ! -wholename "obj-ff-dbg*" \
       ! -name nsXPCOMCID.h \
       ! -name prtypes.h \
         -type f \
      \( -iname "*.cpp" \
         -o -iname "*.h" \
         -o -iname "*.c" \
         -o -iname "*.cc" \
         -o -iname "*.idl" \
         -o -iname "*.ipdl" \
         -o -iname "*.ipdlh" \
         -o -iname "*.mm" \) | \
    xargs -n 1 sed -i -e "s/\b$1\b/$2/g"
}

convert PRInt8 int8_t
convert PRUint8 uint8_t
convert PRInt16 int16_t
convert PRUint16 uint16_t
convert PRInt32 int32_t
convert PRUint32 uint32_t
convert PRInt64 int64_t
convert PRUint64 uint64_t

convert PRIntn int
convert PRUintn unsigned

convert PRSize size_t

convert PROffset32 int32_t
convert PROffset64 int64_t

convert PRPtrdiff ptrdiff_t

convert PRFloat64 double
2012-08-22 11:56:38 -04:00
Kyle Machulis
7eb2fcd355 Backout be6da7f8989c due to bustage 2012-08-22 18:11:52 -07:00
Kyle Machulis
b836bcf93f Bug 783426: Patch 2 - Tests for Async DOMRequest Firing; r=sicking 2012-08-22 18:04:01 -07:00
Kyle Machulis
b29f5f6001 Backing out 542abbd15139 due to incorrect commit messages 2012-08-22 18:00:57 -07:00
Kyle Machulis
428ec0171b Bug 783426: Patch 2 - Tests for Async DOMRequest Firing 2012-08-22 17:58:05 -07:00
Ian Melven
0accdcb109 Bug 341604 - tests for iframe sandbox - plugins r=jst 2012-08-20 11:34:33 -07:00
Bobby Holley
e80993f0d4 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
Brian R. Bondy
641186f842 Bug 731307 - Async filepicker test changes. r=roc 2012-08-17 11:35:01 -04:00
Ed Morley
e8a1951fde Bug 783515 - Re-enable falsely blamed native Android M3 tests now dom/indexedDB/ipc/test_ipc.html is disabled; r=gbrown,jmaher 2012-08-17 14:42:26 +01:00
Ed Morley
37d5a229ad Bug 783509 - Disable the newly created test_browserElement_inproc_AppWindowNamespace.html on Android for permaorange timeouts; r=jmaher 2012-08-17 14:42:26 +01:00
Ed Morley
acba0c1f75 Bug 783513 - Disable dom/indexedDB/ipc/test_ipc.html on Android for mochitest-3 permaorange due to OOMs; r=jmaher 2012-08-17 14:42:26 +01:00
Phil Ringnalda
d8f4aa9d3c Back out e6761635f9cf (bug 695292) for Android mochitest bustage on a CLOSED TREE 2012-08-16 21:35:53 -07:00
Bobby Holley
5a6f34eba3 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
9922c76c72 bug 783391 - NS_ERROR_FILE_IS_DIRECTORY on mochitest-chrome runs; r=adw 2012-08-16 15:20:29 -07:00
Myk Melez
37ce4e65cd 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
fd354b6384 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
David Keeler
c9b632ded8 Bug 749257 - Improve test plugin. r=josh, r=bsmedberg 2012-08-13 10:40:15 -07:00
Ed Morley
f8d0a70603 Bug 782431 - Disable dom/imptests/editing/selecttest/* on Android for being permaorange 2012-08-13 23:09:29 +01:00
Ed Morley
36f267d3fe Bug 782328 - Disable dom/imptests/webapps/DOMCore/tests/approved/* on Android for being permaorange; r=Ms2ger 2012-08-13 18:44:25 +01:00
Ed Morley
9c9c80e6c9 Bug 782275 - Disable devicestorage tests on Android; r=dougt 2012-08-13 18:44:25 +01:00
Ed Morley
f5a36850d5 Bug 782254 - Disable dom/imptests/webapps/DOMCore/tests/submissions/* on Android for being permaorange; r=Ms2ger 2012-08-13 14:42:34 +01:00
Ryan VanderMeulen
212cdce23a Merge inbound to m-c. 2012-08-11 22:33:42 -04:00
Masayuki Nakano
29aa654039 Bug 719320 part.9 Implement nsIDOMWindowUtils::sendWheelEvent() for tests r=smaug, sr=jst 2012-08-12 10:42:36 +09:00
Gregor Wagner
37ec55dcdb Bug 781929 - Fix SpecialPowers.addPermission typo. r=bent 2012-08-10 13:55:42 -07:00
Jonathan Griffin
4a6abe3fb3 Bug 781711 - Make mochitest manifests work properly with both runtests and excludetests, r=jmaher 2012-08-10 09:44:50 -07:00
Ed Morley
27e8ad6437 Bug 781837 - Disable dom/imptests/webapps/WebStorage/tests/submissions/* on Android for being permaorange; r=jmaher 2012-08-10 17:36:24 +01:00
Kyle Huey
018dc47367 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
416352a711 Bug 781789 - Disable dom/devicestorage/test/test_stat.html on Android for being permaorange; r=jmaher 2012-08-10 15:01:28 +01:00
Ed Morley
991653b152 Merge last PGO-green changeset of mozilla-inbound to mozilla-central 2012-08-09 12:46:05 +01:00
Ms2ger
316662d3d8 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
Ms2ger
331accfcb4 Bug 780387 - Part b: Stop using PRIntn; r=bsmedberg 2012-08-09 09:09:40 +02:00
David Clarke
18f7c8e81d Bug 780031 - Mochitest on b2g reliability improvements, r=jgriffin, DONTBUILD because NPOTB 2012-08-08 17:29:26 -07:00
Ryan VanderMeulen
2985b6937c Merge m-c to inbound. 2012-08-08 22:48:37 -04:00
Bobby Holley
8db3ac2304 Bug 778420 - Add Services getter to SpecialPowers. r=jmaher
--HG--
extra : rebase_source : 6e0962a1fc3629d682beb4c36537ee0b11c9d810
2012-08-03 22:19:54 +02:00
Camilo Viecco
42963083b6 Bug 726053 - Add in-chrome context to specialpowers, r=ted.mielczarek
--HG--
extra : rebase_source : a14c4a7606527b6dc2bd1c46e76e439bfacafd18
2012-08-08 22:08:42 +02:00
Gregor Wagner
c4b850fa68 Bug 736883 - Contacts API: Add pictures. r=bent 2012-08-07 15:02:37 -07:00
Joel Maher
23863030f1 Bug 780855 - Permaorange Android dom/indexedDB/test/test_event_propagation.html | Test timed out. r=edmorley 2012-08-07 10:57:00 -04:00
Mike Hommey
b45bdfecf0 Bug 770426 - Replace double colon rules with dependency chains for preprocessing rules. r=khuey 2012-07-23 07:42:22 +02:00
Ed Morley
e652569507 Backout b4a63a0b90c2 (bug 778420), b849f1b3859a (bug 778420), d522b5a13b27 (bug 72964), 3a12c64bf53a (bug 778420), c07148142675 (bug 726053) for failures in test_bug435425.html on a CLOSED TREE 2012-08-07 00:57:27 +01:00
Gregory Szorc
e92683a248 Bug 759664 - Register testing-only JS modules with mochitests; r=ted 2012-08-06 14:22:09 -07:00
Bobby Holley
3a831373c9 Bug 778420 - Add Services getter to SpecialPowers. v1
--HG--
extra : rebase_source : 4d7c95cbcc68afd18a43eaae33012d21e6d4f02a
2012-08-06 22:14:27 +02:00
Camilo Viecco
5a871630bc Bug 726053 This patch removes all forms of 'obj instanceof Components.interfaces' for the new specialpowersAPI call. r=bholley
--HG--
extra : rebase_source : 8a246ed35698c4da3f8a4a5202dcce949121d722
2012-08-06 22:13:46 +02:00
Geoff Brown
039bf74745 Bug 775227: tweak set of Android M3 tests disabled for OOM; r=jmaher 2012-08-05 13:09:44 +01:00
Joel Maher
3b48038109 Bug 687032 - Intermittent test_bug590812.html | noxul domain same as ref and test_bug590812.html | xul supporting domain same as ref. r=edmorley 2012-08-05 07:36:35 -04:00
Benoit Jacob
f152d888c9 Bug 778006 - reenable WebGL mochitest on Android - r=gbrown 2012-08-04 13:36:54 -04:00
Mike Hommey
c1b35e7b2a Bug 774032 bonus - Use @DEPTH@ and @relativesrcdir@ in Makefile.in. r=ted 2012-08-04 20:26:44 +02:00
Ed Morley
d359ee0356 Merge mozilla-central and fx-team 2012-08-03 15:52:55 +01:00
Tim Taubert
72f7e1d599 Bug 728294 - Part 3 - Analyze cycle collection logs on testsuite shutdown to detected leaked windows; r=ted,smaug 2012-08-03 12:36:59 +02:00
Tim Taubert
21026ba295 Bug 728294 - Part 1 - Remove old debug log parser; r=ted 2012-08-03 12:36:59 +02:00
Masatoshi Kimura
9a69181dbe Bug 773919 - Cut query string before resolving URI. r=sicking 2012-08-02 17:17:34 -04:00
Jonathan Griffin
b83856da54 Bug 777871 - Get mochitests running OOP in B2G, r=jlebar, DONTBUILD because NPOTB 2012-08-02 13:30:25 -07:00
Geoff Brown
5ada036a94 Bug 775227: disable one more test on Android for OOM; r=jmaher 2012-07-31 14:27:02 -06:00
Ehsan Akhgari
c80897316e Merge the nullptr conversion from mozilla-central into mozilla-inbound 2012-07-30 10:28:15 -04:00
Aryeh Gregor
57c0ad57fb Bug 777292 part 2 - Change all nsnull to nullptr 2012-07-30 17:20:58 +03:00
Masatoshi Kimura
b858849f0c Bug 750241 - Filter console messages to prevent intermittent orange; r=hsivonen 2012-07-30 12:47:19 +01:00
Wes Johnston
cb7d05f880 Bug 773741 - Test using touch events on resizers. r=enn 2012-07-27 15:01:13 -07:00
Matt Brubeck
a8422b3bb7 Bug 777594 (followup) - Disable failing tests on Android 2012-07-27 12:47:26 -07:00
Geoff Brown
e4baf9d680 Bug 775227 - Disable several more mochitests on Android, for OOM failures; r=jmaher 2012-07-26 18:23:28 -06:00
William Lachance
d50dc7ece8 Bug 777500 - Log information about device before and after test for remote mochitest and reftests;r=jmaher 2012-07-25 20:45:36 -04:00
Matt Brubeck
484e4e066a Back out b77834cb31ad (bug 580794) because of mochitest-browser-chrome timeouts 2012-07-25 16:19:02 -07:00
David Keeler
cd124adc17 bug 580794 - strip userpass from favicon uri (r=filipc,ctalbert) 2012-07-24 10:48:42 -07:00
Ed Morley
050c5c2e47 Backout 6a893f7cea3a (bug 775982) to see if the test behaves itself this time 2012-07-25 09:42:48 +01:00
Mounir Lamouri
d890fdb95e Bug 775817 - Update [most] tests to use the new permission manager api. r=sicking 2012-07-23 11:08:07 -07:00
Geoff Brown
43aa0b5e77 Bug 775227 - Disable mochitest test_transitions_per_property.html on Android, for OOM error; r=jmaher 2012-07-23 08:10:26 -06:00
Joel Maher
73ab823d98 Bug 775982 - Intermittent Android abort during indexedDB/ipc/test_ipc.html. r=edmorley 2012-07-20 12:59:30 -04:00
Jonathan Griffin
55cd9bbdea Bug 774951 - Allow extensions to be excluded when running mochitest, r=jmaher 2012-07-19 10:31:51 -07:00
Doug Turner
b2c5410782 Bug 775053 - Disable device storage tests on Android. r=jmaher 2012-07-19 09:43:32 -07:00
Gregor Wagner
6b7276d9ba Bug 772127 - Followup: disable on android. r=orange 2012-07-11 13:23:12 -07:00
Jonathan Griffin
8ddc986030 Bug 772687 - Add ability to specify deviceRoot when instantiating DeviceManager, r=jmaher 2012-07-11 11:49:30 -07:00
Nathan Froyd
5b30baa4c3 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
7ac1e9bb32 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
5b3fc87350 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
Ms2ger
aae562ed57 Merge m-c to m-i. 2012-06-30 14:50:23 +02:00
Kyle Huey
ac9d05600f No bug: disable this test on Android until we can debug it. 2012-06-29 18:49:07 -07:00
Drew Willcoxon
190597e235 Bug 733631 - Create a unit test infrastructure for the webapp runtime. r=myk,felipc,ctalbert 2012-06-29 15:52:43 -07:00
Doug Turner
cd239ebc3f Bug 767894 - Device Storage - Move test from dom/tests/mochitest/devicestorage to dom/devicestorage. rs=bent
--HG--
rename : dom/tests/mochitest/devicestorage/Makefile.in => dom/devicestorage/test/Makefile.in
rename : dom/tests/mochitest/devicestorage/devicestorage_common.js => dom/devicestorage/test/devicestorage_common.js
rename : dom/tests/mochitest/devicestorage/test_basic.html => dom/devicestorage/test/test_basic.html
rename : dom/tests/mochitest/devicestorage/test_dotdot.html => dom/devicestorage/test/test_dotdot.html
rename : dom/tests/mochitest/devicestorage/test_enumerate.html => dom/devicestorage/test/test_enumerate.html
rename : dom/tests/mochitest/devicestorage/test_enumerateMultipleContinue.html => dom/devicestorage/test/test_enumerateMultipleContinue.html
rename : dom/tests/mochitest/devicestorage/test_enumerateNoParam.html => dom/devicestorage/test/test_enumerateNoParam.html
rename : dom/tests/mochitest/devicestorage/test_enumerateOptions.html => dom/devicestorage/test/test_enumerateOptions.html
rename : dom/tests/mochitest/devicestorage/test_lastModificationFilter.html => dom/devicestorage/test/test_lastModificationFilter.html
rename : dom/tests/mochitest/devicestorage/test_overwrite.html => dom/devicestorage/test/test_overwrite.html
rename : dom/tests/mochitest/devicestorage/test_sanity.html => dom/devicestorage/test/test_sanity.html
2012-06-27 13:47:36 -07:00
Ehsan Akhgari
a95b6edeea 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
Joel Maher
5c0a4f7b6e Bug 765193 - Intermittent Android test_text_wholeText.html, test_title.html. r=edmorley 2012-06-27 09:33:44 -04:00
Masayuki Nakano
716e1fb23c Bug 768736 Define constants for system native virtual keys for nsIDOMWindowUtils::SendNativeKeyEvent() r=roc 2012-06-27 11:26:38 +09:00
Justin Lebar
4b6c62bb8d Bug 763694 - Part 2: Tests for securityChange event on <iframe mozbrowser>. (Disabled on native Android.) r=smaug 2012-06-20 12:15:39 -04:00
Ed Morley
47a35ef4c6 Bug 765193 - Re-disable test_text_wholeText.html for now, for too many intermittent failures; r=jmaher 2012-06-19 14:34:02 +01:00
Ed Morley
6b818da602 Bug 765182 - Re-disable test_bug13871.html on Android for now, for too many intermittent failures; r=jmaher 2012-06-19 14:33:58 +01:00
Ryan VanderMeulen
c5934032a4 Merge m-c to inbound. 2012-06-18 20:59:17 -04:00
Jan Varga
2dc0f54692 Bug 763388 - Remove enablePrivilege calls from IndexedDB and FileHandle tests. r=bent 2012-06-18 19:09:26 +02:00
Ms2ger
c90e6ca915 Bug 763169 - Part b: Miscellaneous fixes; r=jhammel 2012-06-17 09:51:22 +02:00
Bobby Holley
0a476db888 Bug 761982 - remove mozprefs.js. r=jmaher 2012-06-18 15:43:00 +02:00
Bobby Holley
0586eab596 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
dbfc247c7c Bug 763301 - Put SpecialPowers Xray detection in a try/catch. r=mrbkap 2012-06-18 15:43:00 +02:00
Andrew Halberstadt
5dd9b875f0 Bug 765015 - Don't stop server if it doesn't exist, r=jgriffin, DONTBUILD because NPOTB 2012-06-15 14:13:04 -07:00
Mark Hammond
5c6530fc24 Bug 755558 - report exceptions in head.js during browser-test. r=gavin 2012-06-15 12:08:17 +10:00
Joel Maher
02865e954c Bug 761125 - change mochitests to run all tests except excludedtests in android.json. r=jgriffin 2012-06-14 09:01:23 -04:00
Joel Maher
a306bf1a8b Bug 754873 - fennec automated tests should capture logcat output while test is running. r=wlach 2012-06-13 14:20:43 -04:00
Bobby Holley
fb72dcee1f Bug 762432 - Handle proxies on __lookupGetter__ and __lookupSetter__. r=jorendorff 2012-06-12 15:44:14 +02:00
Ben Turner
a1d0c78df3 Bug 664029 - 'Make indexeddb mochitests run in fennec'. r=khuey. 2012-06-11 14:59:27 -07:00
Ryan VanderMeulen
caebb33c05 Merge m-c to inbound 2012-06-09 14:22:32 -04:00
Jonathan Griffin
2c6c417849 Bug 759887 - Add no-window support to runtestsb2g.py, a=test-only, DONTBUILD because NPOTB 2012-06-08 14:09:14 -07:00
Olli Pettay
4fb227aead 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
4f4d5fda79 Bug 762529 - Handle constructors properly in SpecialPowers wrappers. r=mrbkap
--HG--
extra : rebase_source : edea7357a5e9f33d3cf68f09646492fb0a1cfc10
2012-06-08 00:09:55 +02:00
Honza Bambas
4ce991bf9f Bug 761529 - ssltunnel broken in non-proxy mode, r=jgriffin 2012-06-07 18:10:21 +02:00