Commit Graph

966 Commits

Author SHA1 Message Date
Georg Fritzsche
cf33482a3e 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
6a7b472377 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
06092f65fb Bug 767931. Make drawWindow and asyncDrawXULElement ChromeOnly. r=roc 2012-09-07 01:29:47 -04:00
Masayuki Nakano
08b5649f75 Bug 788401 Avoid JS warnings in EventUtils.synthesizeWheel() r=smaug 2012-09-07 09:53:27 +09:00
Scott Johnson
1ccadb6e74 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
5c26a10f81 bug 785545 - unrefactor mozApps tests for maximum readability/reliability; r=fabrice 2012-09-05 10:08:54 -07:00
Masayuki Nakano
652c834ce7 Bug 786898 part.2 Add overflow delta value tests r=smaug, sr=smaug 2012-09-04 17:39:28 +09:00
Brian R. Bondy
695f096c60 Bug 785744 - Async file picker cleanup. r=neil 2012-08-29 14:37:43 -04:00
Mounir Lamouri
62167af904 Bug 756645 - Implement IndexedDB apps isolation. r=bent 2012-08-28 09:46:46 -03:00
Philipp von Weitershausen
5801c8b2ab 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
a1afd087e9 Merge m-c to inbound. 2012-08-23 19:50:46 -04:00
Mounir Lamouri
26b6f2ff4a Bug 775815 - Use new Permission Manager API in SpecialPowers. r=sicking 2012-08-23 11:23:48 -07:00
Kyle Machulis
ee26c8d64a Backout of c129811b87ef due to mochi bustage 2012-08-23 12:00:51 -07:00
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
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
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
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
Tim Taubert
ba79bd8b4b Bug 728294 - Part 1 - Remove old debug log parser; r=ted 2012-08-03 12:36:59 +02:00
Masatoshi Kimura
4c9e3bc986 Bug 773919 - Cut query string before resolving URI. r=sicking 2012-08-02 17:17:34 -04:00
Jonathan Griffin
990564f927 Bug 777871 - Get mochitests running OOP in B2G, r=jlebar, DONTBUILD because NPOTB 2012-08-02 13:30:25 -07:00
Geoff Brown
ea2dc65ff4 Bug 775227: disable one more test on Android for OOM; r=jmaher 2012-07-31 14:27:02 -06:00
Ehsan Akhgari
b40b21d633 Merge the nullptr conversion from mozilla-central into mozilla-inbound 2012-07-30 10:28:15 -04:00
Aryeh Gregor
e806eeab4f Bug 777292 part 2 - Change all nsnull to nullptr 2012-07-30 17:20:58 +03:00
Masatoshi Kimura
b79ee47058 Bug 750241 - Filter console messages to prevent intermittent orange; r=hsivonen 2012-07-30 12:47:19 +01:00
Wes Johnston
9f5ee4bbb4 Bug 773741 - Test using touch events on resizers. r=enn 2012-07-27 15:01:13 -07:00
Matt Brubeck
36b770b6fd Bug 777594 (followup) - Disable failing tests on Android 2012-07-27 12:47:26 -07:00
Geoff Brown
69a082c4f4 Bug 775227 - Disable several more mochitests on Android, for OOM failures; r=jmaher 2012-07-26 18:23:28 -06:00
William Lachance
5703f08863 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
bdf39881f3 Back out b77834cb31ad (bug 580794) because of mochitest-browser-chrome timeouts 2012-07-25 16:19:02 -07:00
David Keeler
3744d23b02 bug 580794 - strip userpass from favicon uri (r=filipc,ctalbert) 2012-07-24 10:48:42 -07:00
Ed Morley
9c42aacb29 Backout 6a893f7cea3a (bug 775982) to see if the test behaves itself this time 2012-07-25 09:42:48 +01:00
Mounir Lamouri
72b86db435 Bug 775817 - Update [most] tests to use the new permission manager api. r=sicking 2012-07-23 11:08:07 -07:00
Geoff Brown
a7f74565c9 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
acea25a6d2 Bug 775982 - Intermittent Android abort during indexedDB/ipc/test_ipc.html. r=edmorley 2012-07-20 12:59:30 -04:00
Jonathan Griffin
a939294b01 Bug 774951 - Allow extensions to be excluded when running mochitest, r=jmaher 2012-07-19 10:31:51 -07:00
Doug Turner
c47187a003 Bug 775053 - Disable device storage tests on Android. r=jmaher 2012-07-19 09:43:32 -07:00
Gregor Wagner
26cabf0ae0 Bug 772127 - Followup: disable on android. r=orange 2012-07-11 13:23:12 -07:00
Jonathan Griffin
93fb76dda7 Bug 772687 - Add ability to specify deviceRoot when instantiating DeviceManager, r=jmaher 2012-07-11 11:49:30 -07:00
Nathan Froyd
a7eb97f896 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
e5e6f98f79 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
c2e7a66cfa 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
9f56b60843 Merge m-c to m-i. 2012-06-30 14:50:23 +02:00
Kyle Huey
908601bb91 No bug: disable this test on Android until we can debug it. 2012-06-29 18:49:07 -07:00
Drew Willcoxon
f3a88b80ef 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
ac832ab236 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
45fe6d3ae2 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
59e3e7a871 Bug 765193 - Intermittent Android test_text_wholeText.html, test_title.html. r=edmorley 2012-06-27 09:33:44 -04:00
Masayuki Nakano
a9a8364195 Bug 768736 Define constants for system native virtual keys for nsIDOMWindowUtils::SendNativeKeyEvent() r=roc 2012-06-27 11:26:38 +09:00
Justin Lebar
c0b6231145 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
27774811c9 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
46646064fa 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
7511d396e5 Merge m-c to inbound. 2012-06-18 20:59:17 -04:00
Jan Varga
1ac8eec4a0 Bug 763388 - Remove enablePrivilege calls from IndexedDB and FileHandle tests. r=bent 2012-06-18 19:09:26 +02:00
Ms2ger
6e8b98202d Bug 763169 - Part b: Miscellaneous fixes; r=jhammel 2012-06-17 09:51:22 +02:00