Commit Graph

448 Commits

Author SHA1 Message Date
Jim Chen
60c0188e98 Bug 811755 - Add test for PreContentIterator in nsContentEventHandler; r=masayuki 2012-12-07 14:48:18 -05:00
Ehsan Akhgari
052f66a1b0 Bug 806746 - Port test_bug462106.xul to the new per-window PB APIs; r=jdm
DONTBUILD because this is NPOTB for global PB builds

--HG--
rename : widget/tests/test_bug462106.xul => widget/tests/test_bug462106_perwindow.xul
2012-12-04 09:47:17 -05:00
Daniel Holbert
4aa6dca044 Bug 815058 followup: Add FAIL_ON_WARNINGS to 2 test dirs that this bug's patch made warning-free. r=Ms2ger 2012-11-28 09:55:41 -08:00
Seth Fowler
cd421a0e5e Bug 812241 - Remove disabled test warnings. r=khuey 2012-11-20 16:13:04 -08:00
Jim Chen
554226fcdd Bug 808287 - Add test for IME focus/blur mismatch condition; r=masayuki 2012-11-17 19:15:01 -05:00
Masayuki Nakano
32a8eee843 Bug 805766 nsFocusManager should change IME state before dispatching focus event at activating different document r=enndeakin 2012-11-13 10:18:57 +09:00
Masayuki Nakano
0bc2b12b46 Bug 806996 part.6 Test if nsIWidget::OnIMEFocusChange() is called by nsTextStateManager properly r=smaug 2012-11-09 17:40:40 +09:00
Ehsan Akhgari
82448818ee Backed out changeset 5042f0a60460 (bug 805766) on the suspicion of causing bug 808287 2012-11-06 19:54:43 -05:00
Masayuki Nakano
86d75d937c Bug 805766 nsFocusManager should change IME state before dispatching focus event at activating different document r=enndeakin 2012-11-03 15:32:26 +09:00
Masayuki Nakano
6fac36bac0 Bug 705057 part.5 Add automated tests for composition event management by nsIMEStateManager and TextComposition r=smaug 2012-09-26 14:47:51 +09:00
Robert O'Callahan
978bfcfd63 Bug 626245. Part 1: Refactor test_plugin_scroll_invalidation to definitely wait for a paint between each call to waitForPaint. r=matspal
The current code sets the plugin size to 0,0 and then does some stuff after a setTimeout(0), then
sets the size back to 1,1 and expects to be sure to get a new paint event. This is wrong since
the timing of plugin geometry changes isn't guaranteed, so we might simply not resize the plugin
between setting the size to 0,0 and 1,1.

--HG--
extra : rebase_source : d7cee523260b0ba1e44e6d7bf41d1636772722a9
2012-10-08 17:45:16 +13:00
Ed Morley
c6e7857415 Bug 561929 - Disable test_bug478536.xul for frequent timeouts 2012-10-03 11:48:09 +01:00
foudfou
d85a20275f Bug 791975 - Move test_bug760802.html from mochitest-plain to mochitest-chrome. r=roc
--HG--
rename : widget/tests/test_bug760802.html => widget/tests/test_bug760802.xul
2012-09-19 15:26:19 +02:00
Bobby Holley
dde4b8c0ca Bug 774633 - Fix TestAppShellSteadyState to load a system principal URI so that we don't discard the inner window. r=bent 2012-09-05 11:32:07 -07:00
Randell Jesup
65539ef89c Bug 773151: Convert nsCAutoString->nsAutoCString CLOSED TREE r=bsmedberg 2012-09-01 22:35:17 -04:00
Phil Ringnalda
6e11626df2 Bug 786918 - Fix test_platform_colors.xul for 10.8
--HG--
extra : rebase_source : 00585f7bb8305cf03cd7f79db02c9a14afa22219
2012-08-29 21:29:12 -07:00
Bobby Holley
f978d43865 Bug 784560 - Fix more tests. r=mccr8 2012-08-23 11:45:28 -07:00
Ehsan Akhgari
e368dc9c85 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
Phil Ringnalda
45a8fb2a9a Bug 763894 - Increase the fuzzy comparison of how much the idle time increased to 1.5 seconds instead of 1 second to account for the fuzziness of WinXP PGO 2012-08-18 23:08:49 -07:00
Masayuki Nakano
f5096646cb Bug 719320 part.12 Replace legacy mouse scroll event dispatchers with D3E wheel event dispatcher on Windows r=smaug+jimm 2012-08-12 10:42:37 +09:00
Masayuki Nakano
1d01f06d4d Bug 719320 part.11 Fix new test failures r=smaug 2012-08-12 10:42:36 +09:00
Masayuki Nakano
0920874b2c Bug 719320 part.5 Redesign mouse wheel action prefs r=smaug 2012-08-12 10:42:35 +09:00
Masayuki Nakano
08a826f3e2 Bug 719320 part.4 Remove mousewheel.*.*numlines and add mousewheel.*.delta_multiplier_* r=smaug 2012-08-12 10:42:34 +09:00
Masayuki Nakano
a0e8d18871 Bug 719320 part.3 Use ComputeScrollTarget() for deciding detail value of legacy mouse scroll events r=smaug 2012-08-12 10:42:34 +09:00
Mike Hommey
70d7c821af Bug 774032 bonus - Use @DEPTH@ and @relativesrcdir@ in Makefile.in. r=ted 2012-08-04 20:26:44 +02:00
Ed Morley
3ad2f7bb91 Bug 661099 - Disable part of test_bug596600.xul on OS X 10.6 for frequent intermittent failures; r=mstange 2012-08-03 11:28:12 +01:00
Aryeh Gregor
d0ad5a7d0c Bug 777292 part 2 - Change all nsnull to nullptr 2012-07-30 17:20:58 +03:00
foudfou
e744f63424 Bug 777243 - Remove use of gBrowser for Android in test_bug760802.html. r=roc 2012-07-27 01:28:10 +02:00
foudfou
afd9098bb7 Bug 760802 - Add JS nativeHandler attribute for nsIBaseWindow. r=roc 2012-07-24 21:35:32 -04:00
Masayuki Nakano
084ca1d1c9 Bug 773651 Guess VK_RCONTROL and VK_RMENU from extended key flag on XP and don't trust the scan code of key messages r=jimm 2012-07-19 10:28:17 +09:00
Nathan Froyd
bfff055672 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
Ehsan Akhgari
f4b598bf08 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
Masayuki Nakano
a16ae57d35 Bug 768736 Define constants for system native virtual keys for nsIDOMWindowUtils::SendNativeKeyEvent() r=roc 2012-06-27 11:26:38 +09:00
Dan Walkowski
c448e09b9b Bug 756308. Implement MacWebAppUtils to allow callers to locate and manipulate native webapps on Mac. r=josh 2012-06-20 17:19:13 -07:00
Ehsan Akhgari
05e3783308 Bug 758992 - Make the classes which use the XPCOM nsISupports implementation macros final, to avoid the warning about deleting using a pointer to a base class with virtual functions and no virtual dtor (more widget parts); r=roc 2012-06-19 23:28:45 -04:00
Masayuki Nakano
4dbe55aeaf Bug 757688 part.8 Make sure test_keycodes.xul emulates correct key events r=jimm 2012-06-15 18:52:51 +09:00
Masayuki Nakano
53a964cc2e Bug 757688 part.7 Make nsWindow for Windows possible to test dead keys r=jimm 2012-06-15 18:52:51 +09:00
Ehsan Akhgari
97dfc24320 Bug 761051 - Use image/jpeg as the standard internal transferable image type, but continue respecting image/jpg as well; r=roc 2012-06-07 19:27:07 -04:00
Ehsan Akhgari
3010661bb0 Backout changeset 125438dda903 (bug 761051) because of Bq bustage 2012-06-07 19:49:37 -04:00
Ehsan Akhgari
b68ab964cb Bug 761051 - Use image/jpeg as the standard internal transferable image type, but continue respecting image/jpg as well; r=roc 2012-06-07 19:27:07 -04:00
Masayuki Nakano
e355fe16f3 Bug 759346 Append alternative keycodes from virtual keycode if the virtual keycode is an OEM keycode which indicates a character but the character cannot be inputted by the key r=jimm 2012-05-30 09:47:03 +09:00
Phil Ringnalda
52012ae6e1 Bug 756903 - Fix test_platform_colors.xul for 10.7, r=mstange 2012-05-20 15:27:45 -07:00
Gervase Markham
82ff7027aa Bug 716478 - update licence to MPL 2. 2012-05-21 12:12:37 +01:00
Masayuki Nakano
4d7f3814a7 Bug 677252 part.1 Reimplement keycode computation in cocoa widget r=smaug+smichaud 2012-05-17 16:04:16 +09:00
Masayuki Nakano
7bf417b45b Bug 630810 part.1 Should convert from native keycode to DOM keycode for every keys on Windows r=smaug+jimm, sr=roc 2012-05-17 16:04:16 +09:00
Jacek Caban
782ee68ec1 Bug 754582 - Fixed unused-result warnings in Windows-specific code r=benjamin 2012-05-16 10:48:45 +02:00
Ben Turner
e210ea8848 Bug 672667 - Fix build bustage on Win64. 2012-05-07 17:42:09 -07:00
Ben Turner
dc5ce5cefa Bug 672667 - ' IndexedDB demo causes leaks and never-ending assertions'. r=bsmedberg+smichaud+khuey. 2012-04-06 13:40:10 -07:00
Masayuki Nakano
169688aac4 Bug 735648 Append command char and shifted commanded char when command key is pressed on Dvorak-QWERTY r=smichaud+karlt 2012-03-30 12:37:40 +09:00
Masayuki Nakano
6e597ab449 Bug 672175 part.18 Make basic tests for MouseScrollHandler r=roc+jimm 2012-03-22 09:59:12 +09:00