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

153 Коммитов

Автор SHA1 Сообщение Дата
Gregor Wagner ea1566d538 Bug 1277234 - Rename key name VolumeUp to AudioVolumeUp. r=masayuki 2016-06-02 15:55:53 +02:00
Masayuki Nakano 4205d9edae Bug 1272578 part.3 Rename key name VolumeMute to AudioVolumeMute except on B2G r=smaug
VolumeMute was renamed to AudioVolumeMute in the latest draft and Chromium uses the new name. Therefore, we need to update this but Gaia uses the old name. So, we shouldn't rename on B2G until Gaia is fixed.

Note that this patch changes tests but they are not used by B2G. Therefore, just replacing with new name is enough.

Only forms.js is necessary #ifdef because the main purpose of forms.js is for B2G's IME framework. However, it's available on the other platforms if chrome needs to use it.

MozReview-Commit-ID: KSkcPbIovin

--HG--
extra : rebase_source : 4ff5d92b000599806367b002fd08aa5ae858ee4d
2016-05-21 00:57:18 +09:00
Masayuki Nakano 65d3998d32 Bug 1272578 part.2 Rename key name VolumeUp to AudioVolumeUp except on B2G r=smaug
VolumeUp was renamed to AudioVolumeUp in the latest draft and Chromium uses the new name. Therefore, we need to update this but Gaia uses the old name. So, we shouldn't rename on B2G until Gaia is fixed.

Note that this patch changes tests but they are not used by B2G. Therefore, just replacing with new name is enough.

Only forms.js is necessary #ifdef because the main purpose of forms.js is for B2G's IME framework. However, it's available on the other platforms if chrome needs to use it.

MozReview-Commit-ID: KzLVL5Y2dIN

--HG--
extra : rebase_source : d7a70f556684cdc99989e408e0e87a04e2da43d9
2016-05-21 00:55:48 +09:00
Masayuki Nakano 97f043ea9e Bug 1272578 part.1 Rename key name VolumeDown to AudioVolumeDown except on B2G r=smaug
VolumeDown was renamed to AudioVolumeDown in the latest draft and Chromium uses the new name. Therefore, we need to update this but Gaia uses the old name. So, we shouldn't rename on B2G until Gaia is fixed.

Note that this patch changes tests but they are not used by B2G. Therefore, just replacing with new name is enough.

Only forms.js is necessary #ifdef because the main purpose of forms.js is for B2G's IME framework. However, it's available on the other platforms if chrome needs to use it.

MozReview-Commit-ID: cq98qJnS8M

--HG--
extra : rebase_source : 98653e5427d9d4720d19011673cbb0f9cdf36f1a
2016-05-21 00:52:03 +09: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
Chun-Min Chang 2fc4407274 Bug 1260713 - Fix RefCounted.h:106:50: error: no member named 'typeSize' in 'mozilla::KeyboardInfo' 0:22.21 uint32_t size = static_cast<const T*>(this)->typeSize(). r=smaug 2016-03-30 22:07:07 +08:00
chunminchang 3bf985e558 Bug 1110030 - part7 - Interface between HardwareKeyHandler and Input Method App. r=masayuki, r=smaug 2016-03-21 14:06:04 +08:00
chunminchang c602eedc7e Bug 1110030 - part4 - HardwareKeyHandler component. r=masayuki, r=smaug 2016-03-21 17:10:09 +08:00
J. Ryan Stinnett a6d2c487b5 Bug 1238160 - Set tab context's isolation from frame attr. r=smaug
Renames existing nsFrameLoader::OwnerIsBrowser* methods to add "Moz" prefix for
clarity.

Adds nsFrameLoader::OwnerIsIsolatedMozBrowserFrame which checks the noisolation
attribute of mozbrowser frames, if present.

This is used to set isolation in nsFrameLoader::GetNewTabContext only when true.

MozReview-Commit-ID: Dz02xBoKh1P
2016-03-02 10:35:56 -06: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
Tim Chien 7df884c22e Bug 1198163 - Workaround Mochitest app and assign frame proper permissions, r=kanru
--HG--
extra : rebase_source : 7891c4a7e8c38cf7966836d520c84cb88ff713e2
2015-11-10 22:17: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
Xidorn Quan 1a693cf130 Bug 962249 part 3 - Add Window.scrollMin{X,Y} (chrome-only) and convert most of scrollMaxX uses and part of scrollMaxY uses to combinations with the new properties. r=roc,bz
--HG--
extra : source : a07399cae357020c4f6dd33dac16eae82882cc83
2015-10-27 13:38:02 +09: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
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
Shu-yu Guo 64db2267cf Bug 1202902 - Mass replace toplevel 'let' with 'var' in preparation for global lexical scope. (rs=jorendorff) 2015-09-15 11:19:45 -07: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
Tim Chien 877fd2b4fe Bug 1137557 - Part 2: Remove sendKeyEvent from forms.js. r=masayuki, r=smaug (to make the webidl hook happy)
--HG--
extra : source : 83af10efcd3ced1f1ffaa202aeea7de03cf096f9
2015-07-17 04:41: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 dfe47f82f8 Bug 1197672 - s/_sendPromise/createPromiseWithId/ in mozInputMethod.addInput(). r=kchen 2015-08-23 21:28:00 -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 f91ccd8918 Bug 1137557 - Part 2: Remove sendKeyEvent from forms.js. r=masayuki, r=smaug (to make the webidl hook happy) 2015-07-17 04:41:00 -04:00
Nick Robson 40e1ba271a Bug 904479 - Added createPromiseWithId() that returns id of resolver r=kanru,nsm
--HG--
extra : rebase_source : 2aae82958670d0154a3cf08bd0e2a80d529e36f3
2015-08-19 14:53:22 -07: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
Boris Zbarsky bdea574c3c Bug 1174954 part 1. Stop throwing DOMErrors from JS-implemented webidl, since we can now throw content-side Errors instead. r=bholley 2015-06-16 16:44:10 -04: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
Rudy Lu cc1d086109 Bug 1162680 - Notify Keyboard.jsm to send blur event when the message manager is closed first. r=timdream 2015-06-12 01:41:00 -04: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
Tim Chien 6ad39882f0 Bug 1122463 - Don't blur the input when submit is cancelled. r=yxl
--HG--
extra : rebase_source : 02b5f6bdd130c58355371cce630f58e00647b4d7
2015-02-11 21:39:00 -05:00
George Duan 788b9af21b Bug 1135293 - Send inputmethod-contextchange to systemapp to hide keyboard when frame crash. r=yxl
DONTBUILD
2015-03-17 20:24:00 -04:00
Ryan VanderMeulen 30b74ed0cd Backed out changeset d8c689def44e for landing with the wrong bug number in the commit message. 2015-03-24 10:48:56 -04:00
George Duan 9057a8ed29 Bug 1130028 - Send inputmethod-contextchange to systemapp to hide keyboard when frame crash. r=yxl 2015-03-17 20:24:00 -04:00
Morris Tseng e75a6e55d6 Bug 1125045 - yAxisVisible should compare with offset.height instead of pos.width. r=xyuan 2015-02-26 01:01:00 +01:00
Masayuki Nakano ca9bed9a3f Bug 1119609 part.18 Add nsITextInputProcessor.commitCompositionWith() and drop aCommitString from nsITextInputProcessor.commitComposition() r=smaug, sr=smaug 2015-02-19 15:50:21 +09:00
Masayuki Nakano e0f19b8f22 Bug 1119609 part.12 nsITextInputProcessor should take KeyboardEvent as an argument of composition releated methods for dispatching key events around composition events r=smaug, sr=smaug 2015-02-19 15:50:20 +09:00
Masayuki Nakano cebca7ab8a Bug 1131026 Rename nsITextInputProcessor.init() and .initForTests() to .beginInputTransaction() and .beginInputTransactionForTests() r=smaug, sr=smaug 2015-02-10 17:09:29 +09:00