mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-12-04 11:26:09 +00:00
60bb642e47
Native IME handler may want to query content relative to start of selection (or composition if there is it). Additionally, in e10s mode, insertion point in actual content may be different from the cache in parent. Therefore, in some cases, it does make sense to query content with offset relative to start of selection or composition. This patch implements it simply and only in non-e10s mode. Additionally, this fixes a bug of nsQueryContentEventResult::GetOffset() which hasn't been accepted its calls even if the event message is valid (eQueryTextContent, eQueryTextRect and eQueryCaretRect). MozReview-Commit-ID: 34I7vyTUAgO --HG-- extra : rebase_source : d79ba0dc3e002f7691495ee1ff8bdb3854d8f6fe |
||
---|---|---|
.. | ||
BrowserTestUtils | ||
chrome | ||
dynamic | ||
manifests | ||
MochiKit | ||
pywebsocket | ||
ssltunnel | ||
static | ||
tests | ||
bisection.py | ||
bootstrap.js | ||
browser-harness.xul | ||
browser-test-overlay.xul | ||
browser-test.js | ||
browser.eslintrc | ||
cc-analyzer.js | ||
chrome-harness.js | ||
chrome.eslintrc | ||
chunkifyTests.js | ||
gen_template.pl | ||
harness.xul | ||
install.rdf | ||
jar.mn | ||
jetpack-addon-harness.js | ||
jetpack-addon-overlay.xul | ||
jetpack-package-harness.js | ||
jetpack-package-overlay.xul | ||
leaks.py | ||
mach_commands.py | ||
mach_test_package_commands.py | ||
Makefile.in | ||
manifest.webapp | ||
manifestLibrary.js | ||
mochitest_options.py | ||
mochitest-e10s-utils.js | ||
mochitest.eslintrc | ||
moz.build | ||
nested_setup.js | ||
pywebsocket_wrapper.py | ||
README.txt | ||
redirect.html | ||
runrobocop.py | ||
runtests.py | ||
runtestsb2g.py | ||
runtestsremote.py | ||
server.js | ||
shutdown-leaks-collector.js | ||
ShutdownLeaksCollector.jsm | ||
start_b2g.js | ||
start_desktop.js |
See https://developer.mozilla.org/en/docs/Mochitest for detailed information on running and writing mochitests.