Commit Graph

770 Commits

Author SHA1 Message Date
Masayuki Nakano
999bfdde66 Bug 1167022 part.3 Fix test_imestate.html for conforming to the new IME focus notification behavior r=nchen 2015-05-24 10:11:37 +09:00
Birunthan Mohanathas
3ffa8d565d Bug 1166840 - Remove unused document argument in uses of nsIClipboardHelper.copyString. r=ehsan 2015-05-21 21:49:30 +01:00
Tooru Fujisawa
e108ae29ec Bug 1158456 - Remove control characters from composition string, and add dom.compositionevent.allow_control_characters pref to control it. r=masayuki 2015-05-01 13:49:29 +09:00
Carsten "Tomcat" Book
7ef9b42c28 merge mozilla-central to mozilla-inbound IGNORE IDL
--HG--
extra : rebase_source : 294f0cad1bada4ebf38f24ff52ebbd7798de5912
extra : amend_source : d7b1044b736cf3e351efbef9610c83a14e6543ae
2015-04-22 16:09:56 +02:00
Kartikaya Gupta
53dd599648 Back out cset 17aad8f83237 (bug 1154499) now that we have a nightly with APZ enabled. r=me a=me 2015-04-22 09:36:25 -04:00
David Anderson
9ae1c872f4 Enable APZ for E10S on Windows for one Nightly. This patch will be backed out after one nightly. (bug 1154459, r=kats, a=ryanvm) 2015-04-21 15:35:19 -04:00
Maksim Lebedev
71409e1dc3 Bug 974305 - Add a test for WidgetPointerEvent::AssignPointerEventData(). r=smaug 2015-04-22 16:09:10 +09:00
Phil Ringnalda
d68dd54c30 Backed out changeset ffde08dc5ceb (bug 1154459) for bustage
CLOSED TREE
2015-04-19 08:19:14 -07:00
David Anderson
4f6a850738 Enable APZ for E10S on Windows for one nightly build. (bug 1154459, r=kats) 2015-04-17 11:49:55 -04:00
David Anderson
605d89d902 Make test_wheeltransaction.xul work with asynchronous scrolling. (bug 1140293, r=mstange)
--HG--
extra : rebase_source : 185871e093d11b8d9fe24b1c0dfc952314fd874b
2015-04-16 21:38:19 -04:00
Neil Deakin
af1ece91c4 Bug 1153248, re-enable a bunch of tests that now work with e10s, r=billm 2015-04-16 15:38:12 -04:00
Kartikaya Gupta
f0f1261931 Bug 1146349 - Update some widget tests to deal with async native key event synthesization. r=smaug,masayuki 2015-04-14 11:36:36 -04:00
Kartikaya Gupta
5cf2d407fd Bug 1146349 - Make the native event synthesization functions in DOMWindowUtils async. r=smaug 2015-04-14 11:36:36 -04:00
Ms2ger
f1fc41b0e5 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
Masayuki Nakano
8c1890067d Bug 492394 part.1 NS_QUERY_CHARACTER_AT_POINT should also return tentative caret offset for the point r=smaug, sr=smaug 2015-04-14 14:27:37 +09:00
David Anderson
01d5761755 Fix tests that depend on synchronous scrolling. (bug 1140293, r=mstange,masayuki,kgilbert) 2015-04-13 00:51:43 -04:00
Carsten "Tomcat" Book
4861b6d51f Backed out changeset 1158acbea753 (bug 1140293) for frequent windows m-oth test failures in test_wheeltransaction.xul 2015-04-08 10:22:34 +02:00
Masayuki Nakano
f24ba16bfb Bug 1151186 part.1 Don't reset IME enabled state after focus is changed by JS during setting focus r=enndeakin 2015-04-08 11:50:12 +09:00
dvander@alliedmods.net
d6e650ec3e Fix tests that depend on synchronous scrolling. (bug 1140293, r=mstange,masayuki,kgilbert) 2015-04-07 18:20:43 -07:00
Ehsan Akhgari
883849ee32 Bug 1145631 - Part 1: Replace MOZ_OVERRIDE and MOZ_FINAL with override and final in the tree; r=froydnj
This patch was automatically generated using the following script:

function convert() {
echo "Converting $1 to $2..."
find . \
       ! -wholename "*/.git*" \
       ! -wholename "obj-ff-dbg*" \
         -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 MOZ_OVERRIDE override
convert MOZ_FINAL final
2015-03-21 12:28:04 -04:00
Robert O'Callahan
843379803a Bug 69787. Implement MouseEvent.offsetX/Y. r=mats,smaug
--HG--
extra : rebase_source : 0120fa29fb94c1c2f992b4e3bae63c5120b90f4b
2015-03-14 00:50:10 +13:00
Jonathan Griffin
d1c61bc9b6 Bug 1116187 - Disable failing mochitest-chrome tests for B2G, r=gbrown 2015-02-06 16:30:37 -08:00
Kim Moir
f6218e038c Bug 1137575 - Disable test_native_mouse_mac.xul on OSX 10.10. r=mstange
CLOSED TREE
2015-02-27 06:54:00 -05:00
Phil Ringnalda
85f8005fd8 Bug 1134111 - Update test_platform_colors.xul to include new 10.10 color for -moz-cellhighlight 2015-02-20 20:14:48 -08:00
Anish
45de248a8b Bug 1056851 - Change existing callers of SpecialPowers.setBoolPref/setIntPref/setCharPref to SpecialPowers.pushPrefEnv. r=jmaher,mwargers 2015-02-19 11:53:01 -05:00
Carsten "Tomcat" Book
c0d53e2918 Backed out changeset 6885e993936a (bug 1056851) for crashtest failures 2015-02-19 15:02:05 +01:00
Anish
e7006d8a59 Bug 1056851 - Change existing callers of SpecialPowers.setBoolPref/setIntPref/setCharPref to SpecialPowers.pushPrefEnv. r=jmaher 2015-02-19 07:26:41 -05:00
Masayuki Nakano
019965a1f6 Bug 1119609 part.14 Reimplement/redesign EventUtils.synthesizeKey() with nsITextInputProcessor r=smaug 2015-02-19 15:50:20 +09:00
Masayuki Nakano
26f706d27e Bug 1119609 part.13 EventUtils.synthesizeComposition() and synthesizeCompositionChange() should take KeyboardEvent for emulating composition state change caused by a key operation rs=smaug 2015-02-19 15:50:20 +09:00
Michael Schloh von Bennewitz
f8a246c05b Bug 1123480 - Component: widget nsTransferable private browsing correction. r=jdm
This patch mitigates violation of private browsing disk access. The DataStruct API and implementation is modified to obey private browsing design when used by objects such as nsTransferable (during clipboard data caching for example.)

Without this patch, a user is misled by use of private browsing when copying (or in some case just selecting) large blocks of text. A condition (presently hard coded at one million bytes kLargeDatasetSize) produces a cache file on disk regardless of whether private browsing is in use. This violates Mozilla's design (documented online at https://support.mozilla.org/kb/private-browsing-browse-web-without-saving-info/ and https://wiki.mozilla.org/PrivateBrowsing) This patch simply corrects the violation, discovered and resolved by the Tor Browser community.
2015-02-18 06:52:00 -05:00
Tooru Fujisawa
bfcb13b445 Bug 1125934 - Discard redundant NS_COMPOSITION_CHANGE event which is send just before NS_COMPOSITION_END on TSF. r=masayuki 2015-02-11 12:20:02 +09:00
Masayuki Nakano
30dc84c107 Bug 917322 part.20 Add tests of async commit at requesting to commit a composition r=smaug 2015-01-28 15:27:33 +09:00
Masayuki Nakano
7a85c69f66 Bug 917322 part.16 Rename COMPOSITION_ATTR_* in EventUtils.js with new constants of nsITextInputProcessor r=smaug 2015-01-28 15:27:33 +09:00
Masayuki Nakano
afb256c118 Bug 917322 part.10 Remove unnecessary synthesizeComposition(compositionstart) from all tests r=smaug 2015-01-28 15:27:32 +09:00
Phil Ringnalda
8343f75c28 Bug 1122882 - Fix test_platform_colors.xul for 10.10 2015-01-17 00:24:13 -08:00
Joel Maher
6286ce360e Bug 926830 - Test cleanup for plugin enabledState usage, widget. r=gfritzsche 2014-02-17 15:58:06 +01:00
Ehsan Akhgari
390eaebf41 Bug 1117044 - Mark virtual overridden functions as MOZ_OVERRIDE in widget; r=roc 2015-01-02 09:02:51 -05:00
Ehsan Akhgari
09a262787c Bug 649012 - Fail mochitest-plains which use flaky timeouts (setTimeout(x) for x > 0); r=ted
We are white-listing the existing set of tests that use setTimeout
like this.  Hopefully these tests will be investigated and fixed
in the future, so that we can narrow down the white-list.

This check is only turned on for mochitest-plain for now.
2014-12-11 13:34:40 -05:00
Masayuki Nakano
9f491a5703 Bug 1077345 part.7 Use synthesizeComposition({"compositioncommit") in the tests r=smaug 2014-11-25 14:02:32 +09:00
Masayuki Nakano
c56c9a574f Bug 1077345 part.5 Use synthesizeComposition({"compositioncommitasis") in the tests r=smaug 2014-11-25 14:02:31 +09:00
Mike Hommey
47c853314f Bug 1077148 part 4 - Add and use new moz.build templates for Gecko programs and libraries. r=gps
There are, sadly, many combinations of linkage in use throughout the tree.
The main differentiator, though, is between program/libraries related to
Gecko or not. Kind of. Some need mozglue, some don't. Some need dependent
linkage, some standalone.

Anyways, these new templates remove the need to manually define the
right dependencies against xpcomglue, nspr, mozalloc and mozglue
in most cases.

Places that build programs and were resetting MOZ_GLUE_PROGRAM_LDFLAGS
or that build libraries and were resetting MOZ_GLUE_LDFLAGS can now
just not use those Gecko-specific templates.
2014-10-30 13:06:12 +09:00
Andrew Halberstadt
d292ee73f1 Bug 1066735 - Remove root b2g and android specific xpcshell manifests, r=chmanchester 2014-10-07 18:18:28 -04:00
Masayuki Nakano
17d8fb7e4a Bug 960871 part.11 Rename EventUtils.synthesizeText() to EventUtils.synthesizeCompositionChange() r=smaug 2014-10-07 19:01:50 +09:00
Masayuki Nakano
09a5b86212 Bug 960871 part.4 Rename NS_TEXT_TEXT to NS_COMPOSITION_CHANGE and fix comments which mention text events r=smaug 2014-10-07 19:01:47 +09:00
Masayuki Nakano
5825b07b8e Bug 975383 part.9 Remove compositionupdate event dispatchers from all tests r=smaug 2014-10-03 15:33:50 +09:00
Gijs Kruitbosch
55e3cc3889 Bug 1044595 - fix default/active button text on OS X 10.10, r=mstange,jaws
--HG--
extra : rebase_source : c558491822fc158d44a127cfd5014bd5338d05f1
2014-09-12 00:31:15 +01:00
Masayuki Nakano
2c80ff7fe9 Bug 1062053 part.1 nsTextStore should use StaticRefPtr for storing COM objects r=jimm 2014-09-11 12:56:09 +09:00
Markus Stange
18e617e6e4 Bug 1043421 - Make native Mac menus observe mutations from the observed elements directly. r=smichaud 2014-09-09 17:14:46 +02:00
Mike Hommey
0060683747 Bug 1059090 - Don't require SOURCES to be set for CPP_UNIT_TESTS and SIMPLE_PROGRAMS. r=mshal 2014-09-03 14:16:37 +09:00
Mike Hommey
ed70c5f377 Bug 1041941 - Use templates for programs, simple programs, libraries and C++ unit tests. r=gps 2014-09-03 14:10:54 +09:00
Ehsan Akhgari
d65b8ee5d4 Bug 1061001 - Fix more bad implicit constructors in widget; r=roc 2014-08-31 23:33:13 -04:00
Ms2ger
5b546538b2 Bug 1048780 - Call the standard matches() rather than the proprietary mozMatchesSelector(); r=jst
This also includes a test that mozMatchesSelector is still exposed and works.

--HG--
rename : js/xpconnect/tests/chrome/test_mozMatchesSelector.xul => js/xpconnect/tests/chrome/test_matches.xul
rename : js/xpconnect/tests/mochitest/file_mozMatchesSelector.html => js/xpconnect/tests/mochitest/file_matches.html
2014-08-12 14:30:59 +02:00
Markus Stange
60c8751103 Bug 1041571 - Add some basic leak testing for nsSystemStatusBarCocoa. r=smichaud 2014-08-07 13:23:08 +02:00
Mike Hommey
89777800f9 Bug 1047267 - Move remaining OS_LIBS and EXTRA_LIBS to moz.build. r=gps
* * *
Bug 1047267 - To fold with "Move remaining OS_LIBS and EXTRA_LIBS to moz.build"
2014-08-07 14:21:03 +09:00
Alexandre Poirot
7ea4dd517f Bug 1027242 - Blacklist mulet's failing tests + expose 'mulet' to ini files; fix previous bustage on a CLOSED TREE, r=ahal 2014-07-02 15:40:56 -07:00
Mike Hommey
7cab62150a Bug 1041936 part 2 - Directly use the static library "xul" to link into "xul-gtest" instead of having an intermediate library "xul" used by "xul-shared" and "xul-gtest". r=gps 2014-07-23 13:33:09 +09:00
Mike Hommey
5fab42fcaf Bug 1036894 part 8 - Move most in-tree library linkage information to moz.build, as USE_LIBS. r=gps 2014-07-23 13:30:52 +09:00
Mike Hommey
6d6d400ea1 Bug 1036894 part 6 - Emit SimplePrograms for CPP_UNIT_TESTs, and make the corresponding moz.build config look like that of SIMPLE_PROGRAMS. r=gps 2014-07-23 13:29:44 +09:00
Jonathan Griffin
1c5d8636ac Backed out changeset 64586374a208 on a CLOSED TREE 2014-07-22 18:29:57 -07:00
Alexandre Poirot
98afd25e0d Bug 1027242 - Blacklist mulet's failing tests + expose 'mulet' to ini files; fix previous bustage on a CLOSED TREE, r=ahal 2014-07-02 15:40:56 -07:00
Jonathan Griffin
38f79ff899 Backout 4f6d9db92389 for bustage on a CLOSED TREE 2014-07-22 17:55:50 -07:00
Alexandre Poirot
37506aa45c Bug 1027242 - Blacklist mulet's failing tests + expose 'mulet' to ini files. r=ahal 2014-07-02 15:40:56 -07:00
Birunthan Mohanathas
c8a0322529 Bug 815952 - Stop clearing clipboard data originating from a private window after closing private windows. r=ehsan
This reverts bug 462106.
2014-07-14 12:35:30 -07:00
Jim Blandy
7e20285e70 Bug 914753: Make Emacs file variable header lines correct, or at least consistent. DONTBUILD r=ehsan
The -*- file variable lines -*- establish per-file settings that Emacs will
pick up. This patch makes the following changes to those lines (and touches
nothing else):

 - Never set the buffer's mode.

   Years ago, Emacs did not have a good JavaScript mode, so it made sense
   to use Java or C++ mode in .js files. However, Emacs has had js-mode for
   years now; it's perfectly serviceable, and is available and enabled by
   default in all major Emacs packagings.

   Selecting a mode in the -*- file variable line -*- is almost always the
   wrong thing to do anyway. It overrides Emacs's default choice, which is
   (now) reasonable; and even worse, it overrides settings the user might
   have made in their '.emacs' file for that file extension. It's only
   useful when there's something specific about that particular file that
   makes a particular mode appropriate.

 - Correctly propagate settings that establish the correct indentation
   level for this file: c-basic-offset and js2-basic-offset should be
   js-indent-level. Whatever value they're given should be preserved;
   different parts of our tree use different indentation styles.

 - We don't use tabs in Mozilla JS code. Always set indent-tabs-mode: nil.
   Remove tab-width: settings, at least in files that don't contain tab
   characters.

 - Remove js2-mode settings that belong in the user's .emacs file, like
   js2-skip-preprocessor-directives.
2014-06-24 22:12:07 -07:00
Benoit Jacob
30a15f5822 Bug 1028588 - Fix dangerous public destructors in widget/ - r=roc 2014-06-24 12:36:44 -04:00
Masayuki Nakano
f850719aaf Bug 1028485 Don't set caret position over actual inserted string at commiting composition r=ehsan 2014-06-24 10:06:20 +09:00
Birunthan Mohanathas
51ba75d135 Bug 1016240 - Exterminate CR+LF line endings. r=briansmith,cpearce,ehsan,gavin 2014-06-18 17:56:02 -07:00
stefanh@inbox.com
9530e9ea0e Bug 1022912 - make -moz-mac-menutextdisable lighter and remove obsolete color from widget/tests/test_platform_colors.xul. r=mstange. 2014-06-10 11:45:09 +02:00
Mike Conley
8697a1814f Bug 1021466 - Part 2: Make it possible to pass in an nsITabParent when opening windows, and then stash that nsITabParent in the newly created chrome docshell. r=smaug. 2014-06-05 22:51:14 -04:00
Masayuki Nakano
d0367270e1 Bug 1008772 part.3 Fix new orages caused by tabbrowser consuming some key events at keydown r=smaug 2014-06-05 11:57:54 +09:00
Birunthan Mohanathas
aea8617b92 Bug 869836 - Part 7: Use AppendLiteral instead of Append where possible. r=ehsan 2014-05-22 06:48:51 +03:00
Karl Tomlinson
ad013d9073 mochitest for bug 835044
--HG--
extra : transplant_source : %10Q%89%3F%ED%CA%BB%10/%98W%ED%7F%1F%E6%E9KM%D9%D6
2014-05-14 12:12:27 +12:00
Birunthan Mohanathas
5f1fde8824 Bug 900908 - Part 3: Change uses of numbered macros in nsIClassInfoImpl.h/nsISupportsImpl.h to the variadic variants. r=froydnj 2014-04-27 03:06:00 -04:00
Masayuki Nakano
ecab2beca9 Bug 993253 Implement DOM InputEvent interface with isComposing attribute r=smaug+ehsan 2014-04-10 16:11:37 +09:00
Masayuki Nakano
023a9dda6e Bug 993234 part.2 Add tests for KeyboardEvent.isComposing r=smaug 2014-04-10 16:11:37 +09:00
Neil Deakin
f9e1db1ab8 Bug 475981, remove titles from a bunch of tests, fixing box wrapped in a block warnings,r=neil 2014-04-04 13:11:12 -04:00
Bill McCloskey
fd05f3eb04 Bug 982828 - [e10s] Disable mochitest-plain tests that don't pass in e10s (r=ted) 2014-03-13 21:38:19 -07:00
Wes Kocher
3b83e5bb22 Backed out changeset 88425ad0f06a (bug 982828) for introducing various mochitest-5 failures on a CLOSED TREE
* * *
Backed out changeset 94f9ebdc6662 (bug 982828)
2014-03-13 19:41:21 -07:00
Bill McCloskey
e784b5aef6 Bug 982828 - [e10s] Disable mochitest-plain tests that don't pass in e10s (r=ted) 2014-03-13 15:41:41 -07:00
Bill McCloskey
006786a6b4 Backed out changeset d6261f65070a 2014-03-13 15:52:27 -07:00
Bill McCloskey
ed100f425c Bug 982828 - [e10s] Disable mochitest-plain tests that don't pass in e10s (r=ted) 2014-03-13 15:41:41 -07:00
Vaibhav Agarwal
c75ff964a1 Bug 971132 - B2G mochitests should use the new manifest format for runtests; r=jmaher 2014-03-13 10:40:10 -04:00
Masayuki Nakano
7419257b87 Bug 981226 Rename nsContentEventHandler to mozilla::ContentEventHandler (and clean up it) r=smaug
--HG--
rename : dom/events/nsContentEventHandler.cpp => dom/events/ContentEventHandler.cpp
rename : dom/events/nsContentEventHandler.h => dom/events/ContentEventHandler.h
2014-03-11 14:08:02 +09:00
Jan Jongboom
e5e34cc74c Bug 948065 - Mochitest for nsIClipboard. r=ehsan 2014-03-05 14:18:37 -05:00
Masayuki Nakano
59ea783e22 Bug 974318 part.2 TextComposition should store TextRangeArray at editor handling text event and nsEditor should refer it r=smaug+ehsan 2014-03-04 22:48:26 +09:00
Boris Zbarsky
2ab672042c Bug 972312 part 2. Get rid of InternalScriptErrorEvent and just use mozilla::dom::ErrorEvent for the cases that used to use it. r=smaug,khuey 2014-02-23 00:01:12 -05:00
Carsten "Tomcat" Book
7bb450e8c7 Backed out changeset f2cade11e3c0 (bug 926830) for mochitest memory leak on a CLOSED TREE 2014-02-21 14:32:28 +01:00
Georg Fritzsche
4639861d12 Bug 926830 - Test cleanup for plugin enabledState usage, widget. r=roc 2014-02-17 15:58:06 +01:00
John Schoenick
eb682dbd31 Bug 967694 - Fix tests that expect old behavior. r=bsmedberg 2014-02-11 12:14:42 -08:00
Ehsan Akhgari
d91d200572 Bug 969757 - Remove the dead code in our tree which pretends to support OS/2; r=roc,mcmanus,gps,jorendorf,bsmedberg sr=bsmedberg 2014-02-10 17:57:01 -05:00
Ehsan Akhgari
1b83407ce9 Bug 927728 - Part 1: Replace PRUnichar with char16_t; r=roc
This patch was automatically generated by the following script:

#!/bin/bash
# Command to convert PRUnichar to char16_t

function convert() {
echo "Converting $1 to $2..."
find . ! -wholename "*nsprpub*" \
       ! -wholename "*security/nss*" \
       ! -wholename "*modules/libmar*" \
       ! -wholename "*/.hg*" \
       ! -wholename "obj-ff-dbg*" \
       ! -name prtypes.h \
       ! -name Char16.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 PRUnichar char16_t
2014-01-04 10:02:17 -05:00
Olli Pettay
fbb2a33ead Bug 950367 - random failures in test_bug462106_perwindow.xul, r=ehsan
--HG--
extra : rebase_source : 0917176511f1855f81ce92d1b030da6fcc7dce2f
2013-12-19 14:52:04 +02:00
Masayuki Nakano
04cc04ac24 Bug 947115 All tests shouldn't use nsIDOMWindowUtils.sendNativeKeyEvent() directly. Use synthesizeNativeKey() instead. r=smaug 2013-12-18 16:02:46 +09:00
Masayuki Nakano
722e315e04 Bug 930374 part.2 Fix test_assign_event_data.html for new defaultPrevented behavior and make it a chrome test r=smaug 2013-12-09 00:51:16 +09:00
Masayuki Nakano
d7fcc64c1e Bug 946044 Handle context menu key of PC keyboard on Mac r=smichaud 2013-12-06 12:16:55 +09:00
Ms2ger
11de6ce741 Bug 939271 - Part j: move mochitests to manifests in widget/tests; r=roc 2013-11-28 15:04:21 +01:00
Mike Hommey
e80e877ab7 Bug 939044 - Remove most definitions of MODULE. r=mshal 2013-11-19 11:47:39 +09:00
Benjamin Smedberg
9c74858563 Bug 932854 temporary test workaround for test_keycodes.xul, r=jimm 2013-11-14 08:23:09 -05:00
Masayuki Nakano
5d9700ad8e Bug 930900 part.2 Fix event class names in test_assign_event_data.html r=smaug 2013-10-29 13:14:43 +09:00
Masayuki Nakano
ac184b22c5 Bug 930900 part.1 Add new key name index which means KeyboardEvent.key should refer stored string (not implemented yet) r=smaug 2013-10-29 13:14:42 +09:00
Birunthan Mohanathas
28ba747e91 Bug 784739 - Switch from NULL to nullptr in widget/; r=ehsan 2013-10-28 10:05:51 -04:00
Martijn Wargers
36a41557c9 Bug 922008 - Remove more enablePrivilege calls, part2. r=jmaher 2013-09-30 11:30:01 +02:00
Masayuki Nakano
f90a5b1125 Bug 912956 part.18 Remove nsGUIEvent.h r=roc 2013-09-25 20:21:22 +09:00
Carsten "Tomcat" Book
ce85b9f943 Merge m-c to fx-team 2013-09-18 12:32:43 +02:00
Mike de Boer
5f62d30a3d Bug 870865: update disabled text color on OSX. r=mstange, ui-r=shorlander 2013-09-18 11:06:07 +02:00
Bobby Holley
d433db0871 Bug 874502 part 4. Fix private browsing tests to not assume synchronous window closing. r=jdm 2013-09-17 17:45:47 -04:00
stefanh@inbox.com
a1a4ebc6d6 Bug 916491 - Remove -moz-mac-alternateprimaryhighlight. r=mstange. 2013-09-15 00:44:50 +02:00
Masayuki Nakano
776acd167e Bug 912956 part.1 Rename all event stuff in mozilla::widget to mozilla::* r=roc 2013-09-14 11:39:41 +09:00
Masayuki Nakano
c552beddd0 Bug 911951 part.2 Reimplement synthesizeText() in EventUtils.js and remove nsIDOMWindowUtils.COMPOSITION_ATTR_* from all tests r=smaug 2013-09-13 00:19:00 +09:00
Mike Hommey
f8bc7fa754 Bug 912293 - Remove now redundant boilerplate from Makefile.in. r=gps 2013-09-05 09:01:46 +09:00
Georg Fritzsche
e742daab14 Bug 899080 - Test fixup part 6 - widget. r=roc 2013-09-04 16:07:53 +02:00
Masatoshi Kimura
e06d8f88fa Bug 911573 - Mochitest fixup to prepare removing Components-in-content with UniversalXPConnect. r=bholley 2013-09-05 01:02:34 +09:00
Masayuki Nakano
7cf113d44d Bug 910978 part.19 Implement nsMutationEvent::AssignMutationEventData() r=smaug 2013-09-03 20:45:30 +09:00
Masayuki Nakano
2617307439 Bug 910978 part.18 Implement nsAnimationEvent::AssignAnimationEventData() r=smaug 2013-09-03 20:45:30 +09:00
Masayuki Nakano
2c54be8896 Bug 910978 part.17 Implement nsTransitionEvent::AssignTransitionEventData() r=smaug 2013-09-03 20:45:30 +09:00
Masayuki Nakano
ea85699bf2 Bug 910978 part.16 Implement nsSimpleGestureEvent::AssignSimpleGestureEventData() r=smaug 2013-09-03 20:45:30 +09:00
Masayuki Nakano
e8b636382b Bug 910978 part.15 Implement nsFocusEvent::AssignFocusEventData() r=smaug 2013-09-03 20:45:29 +09:00
Masayuki Nakano
28c40b5168 Bug 910978 part.14 Implement nsUIEvent::AssignUIEventData() r=smaug 2013-09-03 20:45:29 +09:00
Masayuki Nakano
92eeafbf0c Bug 910978 part.13 Implement nsClipboardEvent::AssignClipboardEventData() r=smaug 2013-09-03 20:45:29 +09:00
Masayuki Nakano
c526ae0d7d Bug 910978 part.12 Implement nsCommandEvent::AssignCommandEventData() r=smaug 2013-09-03 20:45:29 +09:00
Masayuki Nakano
4ac6b2750d Bug 910978 part.11 Implement nsFormEvent::AssignFormEventData() r=smaug 2013-09-03 20:45:29 +09:00
Masayuki Nakano
07a0012553 Bug 910978 part.10 Implement nsTouchEvent::AssignTouchEventData() r=smaug 2013-09-03 20:45:29 +09:00
Masayuki Nakano
aeee25cf0b Bug 910978 part.9 Implement widget::WheelEvent::AssignWheelEventData() r=smaug 2013-09-03 20:45:29 +09:00
Masayuki Nakano
2ce0c3d82d Bug 910978 part.8 Implement nsMouseScrollEvent::AssignMouseScrollEventData() r=smaug 2013-09-03 20:45:29 +09:00
Masayuki Nakano
f2b7ea09af Bug 910978 part.7 Implement nsCompositionEvent::AssignCompositionEventData() r=smaug 2013-09-03 20:45:29 +09:00
Masayuki Nakano
46fa9e9ca2 Bug 910978 part.6 Implement nsTextEvent::AssignTextEventData() and make nsTextEvent not a derived class of nsInputEvent because nobody uses the stored data r=smaug 2013-09-03 20:45:29 +09:00
Masayuki Nakano
2e5e9a05a2 Bug 910978 part.5 Implement nsDragEvent::AssignDragEventData() r=smaug 2013-09-03 20:45:28 +09:00
Masayuki Nakano
e81bcf7542 Bug 910978 part.4 Implement nsScrollAreaEvent::AssignScrollAreaEventData() r=smaug 2013-09-03 20:45:28 +09:00
Masayuki Nakano
655a3b24fe Bug 910978 part.3 Implement nsScrollPortEvent::AssignScrollPortEventData() r=smaug 2013-09-03 20:45:28 +09:00
Masayuki Nakano
d0e6aba193 Bug 910978 part.1 Implement nsScriptErrorEvent::AssignScriptErrorEventData() r=smaug 2013-09-03 20:45:28 +09:00
Masayuki Nakano
dbd118e0fe Bug 910978 part.0 Fix wrong indent in test_assign_event_data.html r=smaug 2013-09-03 20:45:28 +09:00
Masayuki Nakano
56bdc6aa7c Bug 910156 Add AssignKeyEventData() and AssignMouseEventData() for sharing the code in nsDOMEvent::DuplicatePrivateData() and nsDelayed*Event r=smaug 2013-08-30 11:10:32 +09:00
Masayuki Nakano
108f3cc525 Bug 897885 part.2 Add test for handling kVK_JIS_KeypadComma r=smichaud 2013-08-24 13:53:01 +09:00
Ms2ger
4807f1c86c Bug 882859 - Part b: Move FAIL_ON_WARNINGS into moz.build; r=joey+gps 2013-08-22 08:55:59 +02:00
Masayuki Nakano
dde8930062 Bug 501496 part.8 Native key event tests should prevent default only when the event is keypress r=smaug 2013-07-25 15:09:29 +09:00
Masayuki Nakano
7318911de9 Bug 896362 part.2 Add tests for VK_ABNT_C1 and VK_ABNT_C2 r=jimm+smaug 2013-07-25 15:04:17 +09:00
Ms2ger
10d5739f7a Bug 888643 - Part b: Move CPP_UNIT_TESTS definitions into moz.build files; r=gps 2013-07-24 09:23:06 +02:00
J. Ryan Stinnett
e5ddec7b47 Bug 893670 - Part 2: Expand NativeKeyBindings tests. r=masayuki
--HG--
extra : rebase_source : 9a4c15b3c2bb3631db9cf5f5b91aecefa9528db5
2013-07-18 13:34:26 -05:00
J. Ryan Stinnett
f21458944f Bug 282097 - Part 4: Create NativeKeyBindings for Cocoa. r=masayuki, r=smichaud 2013-07-10 09:08:55 -05:00
André Reinald
af1701865f Bug 873010 - Artifacts around small overlay scrollbars in select boxes, r=mstange
Bug 873010 - Artifacts around small overlay scrollbars in select boxes, r=mstange

--HG--
extra : rebase_source : 002fdce7f49d852e567438481609be58dd76bcc4
2013-05-21 12:58:00 -07:00
Masayuki Nakano
f92addf69c Bug 807893 part.3 Add tests for secure input mode of Cocoa widget r=smichaud 2013-05-25 01:27:52 +09:00
Aryeh Gregor
8b16f79037 Bug 867101 - Fix more implicit conversion to already_AddRefed; r=Ms2ger 2013-04-28 14:52:10 +03:00
Joey Armstrong
26736a0ee2 bug 869143: phase2 cleanup for XPCSHELL_TEST conversion. r=mshal 2013-05-13 16:24:07 -04:00
Stephen Pohl
6af8265e40 Bug 636564 - Implement lion style scrollbars on Mac OSX 10.7+; r=roc 2013-05-02 10:58:00 -04:00
Ryan VanderMeulen
c3aa5b10f1 Backed out changeset 1840b15583fd (bug 636564) for bustage.
CLOSED TREE
2013-05-02 08:33:54 -04:00
Stephen Pohl
3e739e4fa3 Bug 636564 - Implement Lion style scrollbars on Mac OSX 10.7+. r=roc 2013-05-02 07:52:25 -04:00
Joey Armstrong
321d063783 bug 844655: Port XPCSHELL_TESTS to moz.build as XPCSHELL_TESTS_MANIFESTS 2013-04-29 14:49:00 -04:00
Masayuki Nakano
d1f3ea50ee Bug 842927 part.5 Implement D3E KeyboardEvent.key on Cocoa r=smaug+smichaud 2013-04-24 12:49:47 +09:00
Masatoshi Kimura
baee7fa4d1 Bug 771975 - Remove -moz-prefixed gradients usage from rest of the tree. r=roc 2013-04-09 07:44:26 +09:00
Kyle Machulis
72a717a860 Bug 855465 - Add emacs python mode comments to moz.build files; r=gps 2013-04-01 11:36:59 -07:00
Kyle Machulis
43628a7867 Backout for changeset 03452b187c14 (Bug 855465) due to bustage on a CLOSED TREE; r=qdot 2013-03-29 15:12:58 -07:00
Kyle Machulis
334c0800cf Bug 855465 - Add emacs python mode comments to moz.build files; r=gps
--HG--
extra : rebase_source : 004a756492323e1a049586e85b3be5037159df20
2013-03-29 13:56:18 -07:00
Masayuki Nakano
f938c365b2 Bug 840837 Fix IME enabled state check at MozIMEFocusOut r=bz 2013-03-23 23:20:31 +09:00
Mike Shal
7ecea60097 Bug 844654 - Part 2: Move MODULE to moz.build; rs=gps 2013-03-19 11:47:00 -07:00
Karl Tomlinson
731f4dadf2 b=850559 remove unnecessary advanceTimeAndRefresh() usage
--HG--
extra : rebase_source : f27bb748cb9e1732bcf0f16be158d6684a49fd36
2013-03-15 09:49:45 +13:00
Ryan VanderMeulen
83e2d530dd Backed out changesets a8088accbcbe and 6e7e6773c836 (bug 845807). 2013-03-09 13:45:35 -05:00
Ryan VanderMeulen
53b6545913 Bug 845807 - Fix test to look for new default color. 2013-03-07 18:46:54 -05:00
Dave Vasilevsky
107c52d281 Bug 548763 - Show download progress in OS X app dock icon. r=dao r=josh
--HG--
rename : widget/tests/taskbar_progress.xul => widget/tests/test_taskbar_progress.xul
2013-03-03 05:58:00 -05:00
Gregory Szorc
0c8ee65118 Merge mozilla-central into build-system
There were merges in configure.in and some Makefile.in. None had any
conflicts. I spot verified the Makefile.in changes and confirmed that
the changes did not touch any DIRS* variables.
2013-02-27 10:03:52 -08:00
Ms2ger
aea301eee3 Merge m-c to b-s. 2013-02-26 19:09:25 +01:00
Gregory Szorc
a4fed596de Bug 784841 - Part 18μ: Convert /widget; f=Ms2ger rs=ted 2013-02-25 13:20:02 -08:00
L. David Baron
49b7670edf Bug 404077: Use navigator.platform.startsWith rather than navigator.platform.indexOf, at Jesse's suggestion. 2013-02-26 22:23:08 -08:00
L. David Baron
a8ee400190 Bug 404077: Annotate known assertions in mochitests. 2013-02-25 18:39:21 -08:00
Trevor Saunders
fda9efaa98 bug 841430 - nuke nsIEditorDocShell r=bz 2013-02-13 17:39:30 -05:00
Ehsan Akhgari
565d0479c3 Bug 817477 - Remove support for global private browsing mode; r=jdm,glandium
--HG--
rename : browser/app/profile/extensions/testpilot@labs.mozilla.com/modules/setup.js.in => browser/app/profile/extensions/testpilot@labs.mozilla.com/modules/setup.js
rename : browser/app/profile/extensions/testpilot@labs.mozilla.com/modules/tasks.js.in => browser/app/profile/extensions/testpilot@labs.mozilla.com/modules/tasks.js
2013-01-29 13:12:13 -05:00
Mats Palmgren
b7ae90666d Bug 786533 - Replace NS_MIN/NS_MAX with std::min/std::max and #include <algorithm> where needed. r=ehsan 2013-01-15 13:22:03 +01:00
David Zbarsky
fd7bd329e5 Bug 827149 - Remove some uses of nsIDOMHTMLBodyElement r=bz 2013-01-12 16:53:01 -05:00
Robert O'Callahan
aba980bcb4 Bug 826632. Part 2: Use nsRefPtr<nsViewManager> instead of nsCOMPtr. r=tnikkel
--HG--
rename : view/public/nsIViewManager.h => view/public/nsViewManager.h
extra : rebase_source : 7245e7c988a208471d8c860449ff7b06c29a4a52
2013-01-05 16:12:42 +13:00
Robert O'Callahan
970988bc3c Bug 826632. Part 1: Merge nsIViewManager into nsViewManager. r=tnikkel
--HG--
rename : view/public/nsIViewManager.h => view/public/nsViewManager.h
extra : rebase_source : d00947c925b17f860fcdc0e12b1ec3cc31b7c630
2013-01-05 16:12:24 +13:00
Phil Ringnalda
d44dff5096 Back out 5e76dfb1d426 (bug 826635) and 0df74b1a4543:20df426b6111 (bug 826632) for bustage
CLOSED TREE
2013-01-04 21:30:14 -08:00
Robert O'Callahan
4464dc950d Bug 826632. Part 2: Use nsRefPtr<nsViewManager> instead of nsCOMPtr. r=tnikkel
--HG--
rename : view/public/nsIViewManager.h => view/public/nsViewManager.h
extra : rebase_source : c9eabd54bb43d711a8c24222620abfdde674a1f7
2013-01-05 16:12:42 +13:00
Robert O'Callahan
0bda13504b Bug 826632. Part 1: Merge nsIViewManager into nsViewManager. r=tnikkel
--HG--
rename : view/public/nsIViewManager.h => view/public/nsViewManager.h
extra : rebase_source : 85587555e1f202809cd39fe899570644e6ca4eb3
2013-01-05 16:12:24 +13:00
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