Commit Graph

903 Commits

Author SHA1 Message Date
Bobby Holley
270cd28810 Bug 785162 - Disable test_bug760802.html on android. r=smaug,dougt 2012-08-23 11:45:28 -07:00
Kyle Machulis
b48c1bd763 Bug 783426: Patch 2 - Async DOMRequest Firing Tests; r=sicking 2012-08-23 09:52:54 -07:00
Kyle Machulis
750960ea54 Backout be6da7f8989c due to bustage 2012-08-22 18:11:52 -07:00
Kyle Machulis
404d0e527c Bug 783426: Patch 2 - Tests for Async DOMRequest Firing; r=sicking 2012-08-22 18:04:01 -07:00
Kyle Machulis
6184ec9c96 Backing out 542abbd15139 due to incorrect commit messages 2012-08-22 18:00:57 -07:00
Kyle Machulis
37e48ad8a8 Bug 783426: Patch 2 - Tests for Async DOMRequest Firing 2012-08-22 17:58:05 -07:00
Ehsan Akhgari
0fd9123eac 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
Ian Melven
66e72cf921 Bug 341604 - tests for iframe sandbox - plugins r=jst 2012-08-20 11:34:33 -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
Brian R. Bondy
6ae40bb347 Bug 731307 - Async filepicker test changes. r=roc 2012-08-17 11:35:01 -04:00
Ed Morley
5cd53d0556 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
f445c9ab9f 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
acc72a5471 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
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
David Keeler
a941bdf2bd Bug 749257 - Improve test plugin. r=josh, r=bsmedberg 2012-08-13 10:40:15 -07:00
Ed Morley
80640388d7 Bug 782431 - Disable dom/imptests/editing/selecttest/* on Android for being permaorange 2012-08-13 23:09:29 +01:00
Ed Morley
2fe00b3d6e 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
8c6269ec53 Bug 782275 - Disable devicestorage tests on Android; r=dougt 2012-08-13 18:44:25 +01:00
Ed Morley
5d933b4e6e 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
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
Gregor Wagner
83d03f7572 Bug 781929 - Fix SpecialPowers.addPermission typo. r=bent 2012-08-10 13:55:42 -07:00
Jonathan Griffin
5b08093de1 Bug 781711 - Make mochitest manifests work properly with both runtests and excludetests, r=jmaher 2012-08-10 09:44:50 -07:00
Ed Morley
332d269df3 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
c44a5bd7c8 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
d5ee9385d8 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
61bd42dc2d Merge last PGO-green changeset of mozilla-inbound to mozilla-central 2012-08-09 12:46:05 +01:00
Ms2ger
9d79f22780 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
3f950b5744 Bug 780387 - Part b: Stop using PRIntn; r=bsmedberg 2012-08-09 09:09:40 +02:00
David Clarke
bdb8e11ba9 Bug 780031 - Mochitest on b2g reliability improvements, r=jgriffin, DONTBUILD because NPOTB 2012-08-08 17:29:26 -07:00
Ryan VanderMeulen
0a4c0b6191 Merge m-c to inbound. 2012-08-08 22:48:37 -04:00
Bobby Holley
8a0a25b7d4 Bug 778420 - Add Services getter to SpecialPowers. r=jmaher
--HG--
extra : rebase_source : 6e0962a1fc3629d682beb4c36537ee0b11c9d810
2012-08-03 22:19:54 +02:00
Camilo Viecco
677feb5b22 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
4722b962ec Bug 736883 - Contacts API: Add pictures. r=bent 2012-08-07 15:02:37 -07:00
Joel Maher
0d5cf750aa 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
fd7fe8283e Bug 770426 - Replace double colon rules with dependency chains for preprocessing rules. r=khuey 2012-07-23 07:42:22 +02:00
Ed Morley
1368da883d 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
e1f974fe11 Bug 759664 - Register testing-only JS modules with mochitests; r=ted 2012-08-06 14:22:09 -07:00
Bobby Holley
2e35eeace5 Bug 778420 - Add Services getter to SpecialPowers. v1
--HG--
extra : rebase_source : 4d7c95cbcc68afd18a43eaae33012d21e6d4f02a
2012-08-06 22:14:27 +02:00
Camilo Viecco
b0baf98f91 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
654d8c6064 Bug 775227: tweak set of Android M3 tests disabled for OOM; r=jmaher 2012-08-05 13:09:44 +01:00
Joel Maher
73de061971 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
41cf25251b Bug 778006 - reenable WebGL mochitest on Android - r=gbrown 2012-08-04 13:36:54 -04:00
Mike Hommey
6173fa297f Bug 774032 bonus - Use @DEPTH@ and @relativesrcdir@ in Makefile.in. r=ted 2012-08-04 20:26:44 +02:00
Ed Morley
edbbd284ab Merge mozilla-central and fx-team 2012-08-03 15:52:55 +01:00
Tim Taubert
486d7be9bf 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