Граф коммитов

74 Коммитов

Автор SHA1 Сообщение Дата
Yoshi Huang 9d6eb49985 Bug 1264231 - Part 4: add a TODO in test. r=kanru
As requested by Jonas, we should put a note in the test in case someone
would like to re-enable this in the future.

Right now the test will trigger the mismatch loadInfo and loadContext,
because it's using System Principal to fetch sub-resources, hence its
loadInfo doesn't have the isIsolatedMozBrowser flag set.
2016-08-05 19:44:57 +08:00
Alexandre Lissy 6798f02654 Bug 1286530 - Clean AvailableIn, CheckAnyPermissions and CheckAllPermissions from WebIDL r=bz,fabrice
MozReview-Commit-ID: 6EQfBM09xUE

--HG--
rename : dom/contacts/tests/test_contacts_cache.xul => dom/contacts/tests/test_contacts_a_cache.xul
rename : dom/contacts/tests/test_contacts_shutdown.xul => dom/contacts/tests/test_contacts_a_shutdown.xul
rename : dom/contacts/tests/test_contacts_upgrade.xul => dom/contacts/tests/test_contacts_a_upgrade.xul
rename : dom/mobilemessage/tests/mochitest/mochitest.ini => dom/mobilemessage/tests/mochitest/chrome.ini
extra : rebase_source : 5f708f2a927fafff66626367ef07080785ba9f55
2016-04-21 15:48:59 +02:00
Fabrice Desré 2d7ccfe630 Bug 1286190 - Get rid of MOZ_CHILD_PERMISSIONS r=bz
MozReview-Commit-ID: Lx2kozynptu

--HG--
extra : rebase_source : 3f7b9004cd26675dbab6a1909a4b5135d753fd04
2016-04-05 13:34:53 +02:00
Chun-Min Chang f37b724c91 Bug 1260710 - Test for routing hardware key events to IME; r=masayuki
MozReview-Commit-ID: 92Uw9TLbO2K

--HG--
extra : transplant_source : %00w%A4J%D2%9B%C8ek%D9%90%60%1E%92%13%15%93%12D%1D
2016-04-06 13:05:20 +08:00
J. Ryan Stinnett 2a55d065b7 Bug 1238160 - Rename OriginAttributes.mInBrowser and associated methods. r=bz,mayhemer
This change renames OriginAttributes.mInBrowser to mInIsolatedMozBrowser and
nsIPrincipal::GetIsInBrowserElement to GetIsInIsolatedMozBrowserElement.  Other
methods that pass these values around also have name changes.

Tokens such as "inBrowser" have previously been serialized into cache keys, used
as DB column names, stored in app registries, etc.  No changes are made to any
serialization formats.  Only runtime method and variable names are updated.

No behavior changes are made in this patch, so some renamed methods may have
nonsensical implementations.  These are corrected in subsequent patches
focused on behavior.

MozReview-Commit-ID: 66HfMlsXFLs
2016-03-02 10:35:56 -06:00
Tim Chien a64d29e25a Bug 1234459 - Expose full text in the input box to InputMethod API, r=masayuki, sr=smaug 2016-01-05 00:37:00 +01:00
Wes Kocher bef1f84b4d Merge b2ginbound to central, a=merge
--HG--
extra : commitid : 8BWHv45ENi2
2015-10-27 14:12:08 -07:00
Tim Chien c3e8b522aa Bug 1214965 - Test KeyboardEvent#location of Numpad section keys, r=masayuki 2015-10-26 20:12:00 +01:00
Yoshi Huang 176a15f268 Bug 1196665 - Add originAttributes into SpecialPowers. r=bholley
From 7bb0fbba24f4f65d3fa83efe223b1431cd71fdb6 Mon Sep 17 00:00:00 2001
---
 dom/apps/tests/test_third_party_homescreen.html    |   8 +-
 .../test/test_messagemanager_assertpermission.html |   4 +-
 dom/base/test/test_messagemanager_targetchain.html |  16 +--
 ...rowserElement_AllowEmbedAppsInNestedOOIframe.js |  11 +-
 .../mochitest/browserElement_CopyPaste.js          |   9 +-
 .../browserElement_DisallowEmbedAppsInOOP.js       |   9 +-
 .../mochitest/browserElement_Proxy.js              |  10 +-
 .../browserElement_SetInputMethodActive.js         |   3 +-
 .../mochitest/browserElement_SetVisibleFrames.js   |  17 ++--
 .../mochitest/browserElement_SetVisibleFrames2.js  |  16 +--
 .../priority/test_ExpectingSystemMessage2.html     |  16 +--
 .../mochitest/priority/test_NestedFrames.html      |  16 +--
 dom/cache/test/mochitest/driver.js                 |  11 +-
 .../test/mochitest/test_cache_orphaned_body.html   |  33 +-----
 .../test/mochitest/test_cache_orphaned_cache.html  |  33 +-----
 dom/cache/test/mochitest/test_cache_restart.html   |  11 +-
 dom/cache/test/mochitest/test_cache_shrink.html    |  33 +-----
 dom/indexedDB/test/file.js                         |  12 +--
 dom/indexedDB/test/helpers.js                      |   9 +-
 dom/indexedDB/test/webapp_clearBrowserData.js      |   6 +-
 dom/inputmethod/mochitest/test_bug1043828.html     |   5 +-
 dom/inputmethod/mochitest/test_bug944397.html      |   5 +-
 .../mochitest/test_focus_blur_manage_events.html   |   5 +-
 .../mochitest/test_input_registry_events.html      |   5 +-
 .../mochitest/test_simple_manage_events.html       |   5 +-
 .../tests/test_permission_for_nested_oop_app.html  |   3 +-
 .../tests/test_permission_for_two_oop_apps.html    |   3 +-
 dom/ipc/tests/test_permission_helper.js            |  21 ++--
 .../test_permission_when_oop_app_crashes.html      |   3 +-
 dom/tv/test/mochitest/head.js                      |   5 +-
 .../test_SpecialPowersPushAppPermissions.html      |  14 ++-
 .../tests/Harness_sanity/test_bug816847.html       |   6 +-
 .../components/SpecialPowersObserver.js            |   4 +-
 .../content/SpecialPowersObserverAPI.js            |  24 +----
 testing/specialpowers/content/specialpowersAPI.js  | 111 ++++++++-------------
 35 files changed, 173 insertions(+), 329 deletions(-)
2015-10-07 14:35:43 +08:00
Yoshi Huang 0f75eb4970 Backout e54c3b878993 2015-10-27 15:49:11 +08:00
Yoshi Huang 425b3272f5 Bug 1196665 - Add originAttributes into SpecialPowers. r=bholley 2015-10-07 14:35:43 +08:00
Carsten "Tomcat" Book 7306a78fd9 Backed out changeset cae63161b689 (bug 1214965) for mulet test failures on a CLOSED TREE 2015-10-26 12:22:36 +01:00
Tim Chien d22206f3c0 Bug 1214965 - Test KeyboardEvent#location of Numpad section keys, r=masayuki 2015-10-26 02:03:00 +01:00
Tim Chien e284a1b7b0 Bug 1201407 - Add input-manage-only events for InputMethod API. r=janjongboom, sr=smaug 2015-09-16 22:11:00 +02:00
Carsten "Tomcat" Book 80cfd656d8 Backed out 1 changesets (bug 1201407) for suspicion of causing linux bc test failures on a CLOSED TREE
Backed out changeset 171eb742e015 (bug 1201407)

--HG--
extra : rebase_source : 1629e6f144ed487f4ecd78ccaf8f880bdac63b9f
2015-09-17 14:38:44 +02:00
Tim Chien 28d24ea24f Bug 1201407 - Add input-manage-only events for InputMethod API, r=janjongboom, sr=smaug 2015-09-16 22:11:00 +02:00
Tim Chien 5c6b996776 Bug 1197682 - InputMethodManager#setSupportsSwitchingTypes, r=janjongboom, sr=smaug 2015-09-10 22:29:00 +02:00
Tim Chien 97fd8227ab Bug 1197700 - Correct mistakes in InputMethod.webidl. r=kanru, r=janjongboom, sr=smaug 2015-09-10 22:27:00 +02:00
Carsten "Tomcat" Book a051fc3931 Backed out 1 changesets (bug 1197700) for test failures in test_interfaces.html on a CLOSED TREE
Backed out changeset fd40cb58dca3 (bug 1197700)
2015-09-10 12:17:03 +02:00
Tim Chien b2839ce3fd Bug 1197700 - Correct mistakes in InputMethod.webidl. r=kanru, r=janjongboom, sr=smaug
--HG--
extra : rebase_source : 6dae179e27126a9722b9d6015d933dab2252d638
2015-09-09 19:56:00 +02:00
Tim Chien 594973b3d3 Bug 974770 - Get rid of dom.mozInputMethod.testing in test scripts. r=kanru, r=mrbkap
--HG--
extra : histedit_source : a47dc2f917d2cc53dfcf500df00e02052a2e4aff
2015-08-26 20:18:00 -04:00
Tim Chien c6c2017be9 Bug 1137557 - Part 3: Allow content to pass a dict representing the property of the keyboard event to send. r=masayuki, sr=smaug
- Overloading MozInputContext#sendKey() so it could take a dict.
- An optional trailing argument for setComposition() and endComposition() methods for these methods to take the dict.
- New keydown() and keyup() methods that takes dict as the only argument.

--HG--
extra : source : ce86cf91f423417b4b6ca5842bca793817b3284a
2015-08-23 21:19:00 -04:00
Ryan VanderMeulen aeacc8883e Backed out 4 changesets (bug 1137557) for causing intermittent Gij switching_test.js failures.
Backed out changeset ce86cf91f423 (bug 1137557)
Backed out changeset 83af10efcd3c (bug 1137557)
Backed out changeset e48ed45d1c80 (bug 1137557)
Backed out changeset 81e93b60a622 (bug 1137557)

CLOSED TREE

--HG--
extra : rebase_source : 2bf3467951041be553ab34c45d49c445829d21bb
2015-08-24 13:27:01 -04:00
Tim Chien 11bce71d96 Bug 1137557 - Part 3: Allow content to pass a dict representing the property of the keyboard event to send. r=masayuki, sr=smaug
- Overloading MozInputContext#sendKey() so it could take a dict.
- An optional trailing argument for setComposition() and endComposition() methods for these methods to take the dict.
- New keydown() and keyup() methods that takes dict as the only argument.
2015-08-23 21:19:00 -04:00
Tim Chien 59f6a80b1e Bug 1175399 - Move readonly detection into isFocusableElement. r=janjongboom 2015-07-03 01:42:00 +02:00
Tim Chien 10d4b076f0 Bug 1175024 - Don't destroy and recreate DOMRequestIpcHelper instance for every InputContext. r=fabrice 2015-07-02 23:47:00 +02:00
Tim Chien a7c5fcfa53 Bug 1132349 - Test for focus removal after pagehide/submit/beforeload. r=janjongboom
--HG--
extra : rebase_source : 3af311a0a0743b464e819c47d0b806ba41c0b264
2015-06-15 03:13:00 -04:00
Tim Chien 7a032efd9b Bug 1162360 - Dispatches focus and blur message synchronously, r=yxl 2015-05-21 20:13:00 +02:00
Ryan VanderMeulen 917d00df0a Backed out changeset 0cd8eeb72c1b (bug 1162360) for suspicion of causing share_activity_test.js permafail.
CLOSED TREE
2015-05-29 13:06:29 -04:00
Tim Chien 6518772df5 Bug 1162360 - Dispatches focus and blur message synchronously. r=yxl
--HG--
extra : rebase_source : ba93466d207c9363ff3d18f31139aa78490dadc6
2015-05-21 20:13:00 -04: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
Tim Chien efb8459088 Bug 1069055 - Merge focused element deletion test to another test. r=yxl 2014-10-31 02:11:00 +01:00
Tim Chien e3277f83ab Bug 1079455 - Drop edit action when focus message is not yet send. r=yxl 2014-10-23 20:22:00 +02:00
Tim Chien be9563ed5b Bug 1079728 - Ensure that the blur message is sent after removing focus. r=yxl 2014-10-21 06:57:00 -04:00
Jan Jongboom c8c3ab24b8 Bug 1059163 - Add a mutation observer to contenteditable elements to detect selection changes that nsISelectionPrivate misses. r=yxl 2014-10-09 06:06:00 -04:00
Ting-Yu Chou da5c3ab815 Bug 1066515 - Part 3: Finalize active inputmethod when mochitest finish. r=yxl 2014-10-09 11:05:51 +08:00
Ting-Yu Chou afa0e2e02f Bug 1066515 - Part 2: Add replaceSurroundingText() test cases for content editable element. r=yxl 2014-10-09 16:24:50 +08:00
Carsten "Tomcat" Book 5e19affa54 Backed out changeset 46c1cce018de (bug 1059163) for frequent test failures of the new test 2014-10-09 12:08:09 +02:00
Jan Jongboom f19ff988ec Bug 1059163 - Add a mutation observer to contenteditable elements to detect selection changes that nsISelectionPrivate misses r=xyuan 2014-10-08 16:27:27 -07:00
Tim Chien 50f643b1d6 Bug 1057898 - Test for tapping between two inputs. r=yxl 2014-09-04 19:52:00 -04:00
Tim Chien d521111d48 Bug 1054839 - Revive detail object in selectionchange and surrendingtextchange event. r=khuey,yxl 2014-08-25 22:47:00 +02:00
Jan Jongboom 854280cee5 Bug 1026997 - Use nsISelectionPrivate to track selection changes in forms.js. r=yxl 2014-08-13 02:12:00 -04:00
Martijn Wargers 4d71b5379f Bug 1032878 - Fix for various failing mochitest-plain/-chrome tests. r=jmaher, r=akachkach, r=surkov, r=cpearce 2014-08-10 20:03:50 -07:00
John Lu [:mnjul] 3c89f36d03 Bug 1043828 - Switching IMEs doesn't always work after switching to 3rd-party keyboard and back. r=yxl 2014-08-07 14:44:46 +08:00
Ms2ger d8c0b17d7d Bug 1043963 - Collapse test-only moz.build files under dom/ into ancestor moz.build files; r=ted
There is very little benefit to having another layer of moz.build files, and
removing them will speed up the build a minimal amount. It also paves the way
for removing TEST_DIRS, which could simplify the build system somewhat.
2014-07-26 08:17:24 +02:00
Ahmed Kachkach 4b03d2c025 Bug 886570 - Initial integration of structured logs in mochitest; r=ahal,Ms2ger 2014-07-17 09:02:00 +02:00
Carsten "Tomcat" Book ce57787693 Backed out changeset cf85693280c7 (bug 886570) frequent mochitest-3 errors on windows 2014-07-11 14:15:29 +02:00
Ahmed Kachkach 50db9012f6 Bug 886570 - Initial integration of structured logs in mochitest. r=ahal,Ms2ger 2014-07-10 13:33:00 +02:00
Ed Morley 2d37e50b3c Backed out changeset ad9e35d75c08 (bug 1026997) for test_reftests_with_caret.html failures 2014-07-08 17:06:00 +01:00
Jan Jongboom 569db4f657 Bug 957213 - Rewrite tests for inputmethod to avoid intermittent errors. r=yxl 2014-06-25 07:58:00 -04:00