gecko-dev/testing/mochitest
Masayuki Nakano 60bb642e47 Bug 1275528 part.1 Support a way to query content relative to insertion point r=smaug
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
2016-06-16 14:10:49 +09:00
..
BrowserTestUtils Bug 1163418 - Remove use of CPOWs in safebrowsing tests. r=felipe 2016-06-21 13:46:02 -07:00
chrome
dynamic
manifests Bug 1275863 - Remove test_peerConnection_addTrack.html from autophone webrtc manifest; r=bc 2016-06-03 15:53:06 -04:00
MochiKit
pywebsocket
ssltunnel
static
tests Bug 1275528 part.1 Support a way to query content relative to insertion point r=smaug 2016-06-16 14:10:49 +09:00
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 Bug 1274395 - Delete pending crash reports before running tests; r=jmaher 2016-05-25 14:48:42 -06:00
mochitest-e10s-utils.js
mochitest.eslintrc Bug 1270357 Add isDeeply to mochitest eslintrc r=kmag 2016-05-31 16:16:37 -07:00
moz.build
nested_setup.js
pywebsocket_wrapper.py
README.txt
redirect.html
runrobocop.py
runtests.py Bug 1275439 - Switch debugging to MOZ_LOG. r=erahm 2016-05-16 15:49:20 -07:00
runtestsb2g.py
runtestsremote.py
server.js Bug 1274104 part 1 - Allow mochitest main document to request fullscreen. r=jmaher 2016-05-25 09:39:38 +10:00
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.