Jan Varga
51534c010e
Bug 1311466 - Part 2: Refactor IPDL structs to use file types too; r=asuth
2016-10-25 21:18:44 +02:00
Jan Varga
bf334a376c
Bug 1311466 - Part 1: Define only one file type; r=asuth
2016-10-25 21:18:40 +02:00
Jan Varga
1ec718d61d
Bug 964561 - Part 10: Fix a possible leak in BindAdoptedBlobByName()/BindAdoptedBlobByIndex(); r=mak
2016-10-25 21:18:37 +02:00
Jan Varga
d1f5aaafa4
Bug 964561 - Part 9: Add a new test for externally stored structured clone data; r=asuth
2016-10-25 21:18:33 +02:00
Jan Varga
37e3797013
Bug 964561 - Part 8: Disable externally stored structured clone data in file tests; r=asuth
2016-10-25 21:18:29 +02:00
Jan Varga
3e4ce601e3
Bug 964561 - Part 7: Compress externally stored structured clone data; r=asuth
2016-10-25 21:18:26 +02:00
Jan Varga
b0015a18c7
Bug 964561 - Part 6: Core changes for storing structured clone data outside of the database; r=asuth
2016-10-25 21:18:22 +02:00
Jan Varga
1ac7543f8b
Bug 964561 - Part 5: Add a data threshold pref; r=asuth
2016-10-25 21:18:18 +02:00
Jan Varga
9844d8618e
Bug 964561 - Part 4: Update keys directly in the structured clone buffer; r=asuth
2016-10-25 21:18:14 +02:00
Jan Varga
ca3b715776
Bug 964561 - Part 3: Implement an input stream wrapper around structured clone data; r=asuth
2016-10-25 21:18:11 +02:00
Jan Varga
1a6dfd7db0
Bug 964561 - Part 2: Refactor file ids handling for better expandability; r=asuth
2016-10-25 21:18:07 +02:00
Jan Varga
f9dad43bb9
Bug 964561 - Part 1: Use a type in StructuredCloneFile instead of a boolean; r=asuth
2016-10-25 21:18:03 +02:00
Nathan Froyd
caf3dd0e20
Bug 1312549 - use equality comparison rather than ordered comparison in ~GeckoChildProcessHost; r=billm
...
clang has recently made |x $RELATIONAL_OP 0|, where |x| is a variable of
pointer type, to be an error. On Windows,
GeckoChildProcessHost::mChildProcessHandle is a HANDLE, which is really
just a pointer. So the comparison |> 0| in ~GeckoChildProcessHost is
invalid. Fortunately, we can use an equality comparison here and it
amounts to the same thing.
2016-10-25 23:08:11 -04:00
Franziskus Kiefer
4c1797bf92
Bug 1305970 - land NSS 0x3e7b53b18112, r=me
...
--HG--
extra : rebase_source : ef363dba56df3ca76c43cfb20702ddef13d0f855
2016-10-25 20:38:17 +02:00
David Anderson
0017f30b66
Don't create remote D3D11 devices when remote presentation is broken. (bug 1310443, r=rhunt)
2016-10-25 18:42:20 -07:00
David Anderson
20b34a53e8
Don't use gfxPlatform for creating temporary surfaces in the BasicCompositor. (bug 1311770, r=mattwoodrow)
2016-10-25 18:23:03 -07:00
Sebastian Hengst
c9414e0688
Backed out changeset 95e09163347a (bug 1312606) for build bustage. r=backout on a CLOSED TREE
2016-10-25 20:24:03 +02:00
Ryan Hunt
0bbc03d938
Bug 1312606 - Use live pref values when syncing gfxPrefs to the GPU process r=dvander
2016-10-25 13:10:20 -05:00
Alexander Surkov
4657cb7a0f
Bug 1310794 - implement aria-details and aria-errormessage, r=davidb
2016-10-25 13:51:27 -04:00
Luke Wagner
817b9ee6c5
Bug 1311994 - Baldr: remove WebAssembly.experimentalVersion (r=bbouvier)
...
MozReview-Commit-ID: GzAz6LYxBYS
--HG--
extra : rebase_source : bc1c3cb22a7c2d70681c8cc7e9c42cb77c127ac2
2016-10-25 12:30:21 -05:00
Luke Wagner
3c68877577
Bug 1311994 - Baldr: remove WebAssembly.validate warning (r=bbouvier)
...
MozReview-Commit-ID: 5LLDIhjjBep
--HG--
extra : rebase_source : 02acf313019fb0e446e252554f5ce3597d646370
2016-10-25 12:29:59 -05:00
James Graham
53e100ab0d
Bug 1312675 - Try harder to close existing windows after each testharness test, r=ato
...
MozReview-Commit-ID: DVV5PAfRxII
2016-10-25 18:11:42 +01:00
James Graham
f283807044
Bug 1309931 - Add long timeouts to worker tests, a=testonly
...
MozReview-Commit-ID: LIO4Lotud2c
2016-10-25 18:11:41 +01:00
James Graham
96171f1bac
Bug 1309933 - Import wpt-tools manifest changes from upstream, a=testonly
...
Including unlanded PR to allow worker tests to have a long timeout set
MozReview-Commit-ID: 5Au4uEzmGEk
2016-10-25 18:11:30 +01:00
James Graham
b1a44d2c8c
Bug 1309933 - Set a long timeout for WebCrypto wrapKey_unwrapKey worker test, r=Ms2ger
...
MozReview-Commit-ID: 6kVOSSqGF6p
2016-10-25 18:10:30 +01:00
James Graham
97f19844de
Bug 1309931 - Update web-platform-tests expected data to revision 1d8e28e2c762b51c06670a373b23af6bd7a8aed7, a=testonly
...
MozReview-Commit-ID: L8aMsSMwuXI
2016-10-25 18:10:30 +01:00
James Graham
003f075ff9
Bug 1309932 - Allow wpt sync script to work with non-merge PRs, r=Ms2ger
...
MozReview-Commit-ID: DsrFzoBnfbp
2016-10-25 18:10:30 +01:00
James Graham
cf6ec8d839
Bug 1309931 - Update web-platform-tests to revision 1d8e28e2c762b51c06670a373b23af6bd7a8aed7, a=testonly
...
MozReview-Commit-ID: 17dwWFxkprQ
--HG--
rename : testing/web-platform/tests/conformance-checkers/html-svg/animate-dom-01-f-novalid.html => testing/web-platform/tests/conformance-checkers/html-svg/animate-dom-01-f-isvalid.html
rename : testing/web-platform/tests/conformance-checkers/html-svg/animate-dom-02-f-novalid.html => testing/web-platform/tests/conformance-checkers/html-svg/animate-dom-02-f-isvalid.html
rename : testing/web-platform/tests/conformance-checkers/html-svg/animate-elem-40-t-novalid.html => testing/web-platform/tests/conformance-checkers/html-svg/animate-elem-40-t-isvalid.html
rename : testing/web-platform/tests/conformance-checkers/html-svg/animate-script-elem-01-b-novalid.html => testing/web-platform/tests/conformance-checkers/html-svg/animate-script-elem-01-b-isvalid.html
rename : testing/web-platform/tests/conformance-checkers/html-svg/animate-struct-dom-01-b-novalid.html => testing/web-platform/tests/conformance-checkers/html-svg/animate-struct-dom-01-b-isvalid.html
rename : testing/web-platform/tests/conformance-checkers/html-svg/conform-viewers-02-f-novalid.html => testing/web-platform/tests/conformance-checkers/html-svg/conform-viewers-02-f-isvalid.html
rename : testing/web-platform/tests/conformance-checkers/html-svg/coords-dom-03-f-novalid.html => testing/web-platform/tests/conformance-checkers/html-svg/coords-dom-03-f-isvalid.html
rename : testing/web-platform/tests/conformance-checkers/html-svg/interact-events-02-b-novalid.html => testing/web-platform/tests/conformance-checkers/html-svg/interact-events-02-b-isvalid.html
rename : testing/web-platform/tests/conformance-checkers/html-svg/interact-pevents-01-b-novalid.html => testing/web-platform/tests/conformance-checkers/html-svg/interact-pevents-01-b-isvalid.html
rename : testing/web-platform/tests/conformance-checkers/html-svg/interact-pevents-03-b-novalid.html => testing/web-platform/tests/conformance-checkers/html-svg/interact-pevents-03-b-isvalid.html
rename : testing/web-platform/tests/conformance-checkers/html-svg/interact-pevents-05-b-novalid.html => testing/web-platform/tests/conformance-checkers/html-svg/interact-pevents-05-b-isvalid.html
rename : testing/web-platform/tests/conformance-checkers/html-svg/interact-pevents-07-t-novalid.html => testing/web-platform/tests/conformance-checkers/html-svg/interact-pevents-07-t-isvalid.html
rename : testing/web-platform/tests/conformance-checkers/html-svg/interact-pevents-08-f-novalid.html => testing/web-platform/tests/conformance-checkers/html-svg/interact-pevents-08-f-isvalid.html
rename : testing/web-platform/tests/conformance-checkers/html-svg/interact-pevents-09-f-novalid.html => testing/web-platform/tests/conformance-checkers/html-svg/interact-pevents-09-f-isvalid.html
rename : testing/web-platform/tests/conformance-checkers/html-svg/interact-pointer-01-t-novalid.html => testing/web-platform/tests/conformance-checkers/html-svg/interact-pointer-01-t-isvalid.html
rename : testing/web-platform/tests/conformance-checkers/html-svg/interact-pointer-03-t-novalid.html => testing/web-platform/tests/conformance-checkers/html-svg/interact-pointer-03-t-isvalid.html
rename : testing/web-platform/tests/conformance-checkers/html-svg/masking-path-09-b-novalid.html => testing/web-platform/tests/conformance-checkers/html-svg/masking-path-09-b-isvalid.html
rename : testing/web-platform/tests/conformance-checkers/html-svg/paths-dom-01-f-novalid.html => testing/web-platform/tests/conformance-checkers/html-svg/paths-dom-01-f-isvalid.html
rename : testing/web-platform/tests/conformance-checkers/html-svg/paths-dom-02-f-novalid.html => testing/web-platform/tests/conformance-checkers/html-svg/paths-dom-02-f-isvalid.html
rename : testing/web-platform/tests/conformance-checkers/html-svg/struct-cond-02-t-isvalid.html => testing/web-platform/tests/conformance-checkers/html-svg/struct-cond-02-t-haswarn.html
rename : testing/web-platform/tests/conformance-checkers/html-svg/struct-dom-07-f-novalid.html => testing/web-platform/tests/conformance-checkers/html-svg/struct-dom-07-f-isvalid.html
rename : testing/web-platform/tests/conformance-checkers/html-svg/struct-dom-08-f-novalid.html => testing/web-platform/tests/conformance-checkers/html-svg/struct-dom-08-f-isvalid.html
rename : testing/web-platform/tests/conformance-checkers/html-svg/struct-dom-11-f-novalid.html => testing/web-platform/tests/conformance-checkers/html-svg/struct-dom-11-f-isvalid.html
rename : testing/web-platform/tests/conformance-checkers/html-svg/struct-dom-13-f-novalid.html => testing/web-platform/tests/conformance-checkers/html-svg/struct-dom-13-f-isvalid.html
rename : testing/web-platform/tests/conformance-checkers/html-svg/struct-dom-14-f-novalid.html => testing/web-platform/tests/conformance-checkers/html-svg/struct-dom-14-f-isvalid.html
rename : testing/web-platform/tests/conformance-checkers/html-svg/struct-dom-15-f-novalid.html => testing/web-platform/tests/conformance-checkers/html-svg/struct-dom-15-f-isvalid.html
rename : testing/web-platform/tests/conformance-checkers/html-svg/struct-dom-20-f-novalid.html => testing/web-platform/tests/conformance-checkers/html-svg/struct-dom-20-f-isvalid.html
rename : testing/web-platform/tests/conformance-checkers/html-svg/struct-use-13-f-novalid.html => testing/web-platform/tests/conformance-checkers/html-svg/struct-use-13-f-isvalid.html
rename : testing/web-platform/tests/conformance-checkers/html-svg/text-dom-02-f-novalid.html => testing/web-platform/tests/conformance-checkers/html-svg/text-dom-02-f-isvalid.html
rename : testing/web-platform/tests/conformance-checkers/html-svg/text-dom-05-f-novalid.html => testing/web-platform/tests/conformance-checkers/html-svg/text-dom-05-f-isvalid.html
rename : testing/web-platform/tests/conformance-checkers/html-svg/text-tselect-02-f-novalid.html => testing/web-platform/tests/conformance-checkers/html-svg/text-tselect-02-f-isvalid.html
rename : testing/web-platform/tests/conformance-checkers/html-svg/text-tselect-03-f-novalid.html => testing/web-platform/tests/conformance-checkers/html-svg/text-tselect-03-f-isvalid.html
rename : testing/web-platform/tests/conformance-checkers/html-svg/types-dom-02-f-novalid.html => testing/web-platform/tests/conformance-checkers/html-svg/types-dom-02-f-isvalid.html
rename : testing/web-platform/tests/conformance-checkers/html-svg/types-dom-03-b-novalid.html => testing/web-platform/tests/conformance-checkers/html-svg/types-dom-03-b-isvalid.html
rename : testing/web-platform/tests/conformance-checkers/html-svg/types-dom-05-b-novalid.html => testing/web-platform/tests/conformance-checkers/html-svg/types-dom-05-b-isvalid.html
rename : testing/web-platform/tests/conformance-checkers/html-svg/types-dom-07-f-novalid.html => testing/web-platform/tests/conformance-checkers/html-svg/types-dom-07-f-isvalid.html
rename : testing/web-platform/tests/conformance-checkers/html-svg/types-dom-08-f-novalid.html => testing/web-platform/tests/conformance-checkers/html-svg/types-dom-08-f-isvalid.html
rename : testing/web-platform/tests/encrypted-media/Google/encrypted-media-utils.js => testing/web-platform/tests/encrypted-media/Google/migrated_to_root_disabled/encrypted-media-utils.js
rename : testing/web-platform/tests/html/browsers/history/the-history-interface/non-automated/traverse_the_session_history_unload_prompt_1.html => testing/web-platform/tests/html/browsers/history/the-history-interface/non-automated/traverse_the_session_history_unload_prompt_1-manual.html
rename : testing/web-platform/tests/html/obsolete/requirements-for-implementations/the-marquee-element-0/marquee-scrollamount-effect.html => testing/web-platform/tests/html/obsolete/requirements-for-implementations/the-marquee-element-0/marquee-scrollamount-effect-manual.html
rename : testing/web-platform/tests/old-tests/submission/Microsoft/dragdrop/dragdrop_000.htm => testing/web-platform/tests/old-tests/submission/Microsoft/dragdrop/dragdrop_000-manual.htm
rename : testing/web-platform/tests/old-tests/submission/Microsoft/dragdrop/dragdrop_001.htm => testing/web-platform/tests/old-tests/submission/Microsoft/dragdrop/dragdrop_001-manual.htm
rename : testing/web-platform/tests/old-tests/submission/Microsoft/dragdrop/dragdrop_002.htm => testing/web-platform/tests/old-tests/submission/Microsoft/dragdrop/dragdrop_002-manual.htm
rename : testing/web-platform/tests/old-tests/submission/Microsoft/dragdrop/dragdrop_003.htm => testing/web-platform/tests/old-tests/submission/Microsoft/dragdrop/dragdrop_003-manual.htm
rename : testing/web-platform/tests/old-tests/submission/Microsoft/dragdrop/dragdrop_004.htm => testing/web-platform/tests/old-tests/submission/Microsoft/dragdrop/dragdrop_004-manual.htm
rename : testing/web-platform/tests/old-tests/submission/Microsoft/dragdrop/dragdrop_005.htm => testing/web-platform/tests/old-tests/submission/Microsoft/dragdrop/dragdrop_005-manual.htm
rename : testing/web-platform/tests/old-tests/submission/Microsoft/dragdrop/dragdrop_006.htm => testing/web-platform/tests/old-tests/submission/Microsoft/dragdrop/dragdrop_006-manual.htm
rename : testing/web-platform/tests/old-tests/submission/Microsoft/dragdrop/dragdrop_007.htm => testing/web-platform/tests/old-tests/submission/Microsoft/dragdrop/dragdrop_007-manual.htm
rename : testing/web-platform/tests/old-tests/submission/Microsoft/dragdrop/dragdrop_008.htm => testing/web-platform/tests/old-tests/submission/Microsoft/dragdrop/dragdrop_008-manual.htm
rename : testing/web-platform/tests/old-tests/submission/Microsoft/dragdrop/dragdrop_009.htm => testing/web-platform/tests/old-tests/submission/Microsoft/dragdrop/dragdrop_009-manual.htm
rename : testing/web-platform/tests/old-tests/submission/Microsoft/dragdrop/dragdrop_010.htm => testing/web-platform/tests/old-tests/submission/Microsoft/dragdrop/dragdrop_010-manual.htm
rename : testing/web-platform/tests/old-tests/submission/Microsoft/dragdrop/dragdrop_011.htm => testing/web-platform/tests/old-tests/submission/Microsoft/dragdrop/dragdrop_011-manual.htm
rename : testing/web-platform/tests/old-tests/submission/Microsoft/dragdrop/dragdrop_012.htm => testing/web-platform/tests/old-tests/submission/Microsoft/dragdrop/dragdrop_012-manual.htm
rename : testing/web-platform/tests/old-tests/submission/Microsoft/dragdrop/dragdrop_013.htm => testing/web-platform/tests/old-tests/submission/Microsoft/dragdrop/dragdrop_013-manual.htm
rename : testing/web-platform/tests/old-tests/submission/Microsoft/dragdrop/dragdrop_014.htm => testing/web-platform/tests/old-tests/submission/Microsoft/dragdrop/dragdrop_014-manual.htm
rename : testing/web-platform/tests/old-tests/submission/Microsoft/dragdrop/dragdrop_015.htm => testing/web-platform/tests/old-tests/submission/Microsoft/dragdrop/dragdrop_015-manual.htm
rename : testing/web-platform/tests/old-tests/submission/Microsoft/dragdrop/dragdrop_016.htm => testing/web-platform/tests/old-tests/submission/Microsoft/dragdrop/dragdrop_016-manual.htm
rename : testing/web-platform/tests/old-tests/submission/Microsoft/sandbox/sandbox_003.htm => testing/web-platform/tests/old-tests/submission/Microsoft/sandbox/sandbox_003-manual.htm
rename : testing/web-platform/tests/old-tests/submission/Microsoft/sandbox/sandbox_004.htm => testing/web-platform/tests/old-tests/submission/Microsoft/sandbox/sandbox_004-manual.htm
rename : testing/web-platform/tests/old-tests/submission/Microsoft/sandbox/sandbox_006.htm => testing/web-platform/tests/old-tests/submission/Microsoft/sandbox/sandbox_006-manual.htm
rename : testing/web-platform/tests/old-tests/submission/Microsoft/sandbox/sandbox_007.htm => testing/web-platform/tests/old-tests/submission/Microsoft/sandbox/sandbox_007-manual.htm
rename : testing/web-platform/tests/old-tests/submission/Microsoft/sandbox/sandbox_008.htm => testing/web-platform/tests/old-tests/submission/Microsoft/sandbox/sandbox_008-manual.htm
rename : testing/web-platform/tests/old-tests/submission/Microsoft/sandbox/sandbox_009.htm => testing/web-platform/tests/old-tests/submission/Microsoft/sandbox/sandbox_009-manual.htm
rename : testing/web-platform/tests/old-tests/submission/Microsoft/sandbox/sandbox_010.htm => testing/web-platform/tests/old-tests/submission/Microsoft/sandbox/sandbox_010-manual.htm
rename : testing/web-platform/tests/old-tests/submission/Microsoft/sandbox/sandbox_020.htm => testing/web-platform/tests/old-tests/submission/Microsoft/sandbox/sandbox_020-manual.htm
rename : testing/web-platform/tests/old-tests/submission/Microsoft/sandbox/sandbox_021.htm => testing/web-platform/tests/old-tests/submission/Microsoft/sandbox/sandbox_021-manual.htm
rename : testing/web-platform/tests/old-tests/submission/Microsoft/sandbox/sandbox_022.htm => testing/web-platform/tests/old-tests/submission/Microsoft/sandbox/sandbox_022-manual.htm
rename : testing/web-platform/tests/pointerevents/pointerevent_pointermove-on-chorded-mouse-button.html => testing/web-platform/tests/pointerevents/pointerevent_pointermove_on_chorded_mouse_button-manual.html
rename : testing/web-platform/tests/pointerevents/pointerevent_suppress_compat_events_on_click.html => testing/web-platform/tests/pointerevents/pointerevent_suppress_compat_events_on_click-manual.html
rename : testing/web-platform/tests/pointerevents/pointerevent_suppress_compat_events_on_drag_mouse.html => testing/web-platform/tests/pointerevents/pointerevent_suppress_compat_events_on_drag_mouse-manual.html
2016-10-25 18:10:30 +01:00
Geoff Brown
93d707e2e0
Bug 1285386 - Guard against NPE and other exceptions in SearchEngine creation; r=sebastian
2016-10-25 10:57:37 -06:00
Geoff Brown
0d6eb4cd88
Bug 1293895 - Guard against more exceptions in createEngineFromLocale; r=sebastian
2016-10-25 10:57:36 -06:00
Jim Chen
5f906265fe
Bug 1307816 - 16. Fix charset for robocop_input.html; r=me
...
Trivial patch to include a meta charset line in robocop_input.html.
2016-10-25 12:28:54 -04:00
Jim Chen
33170ddb0e
Bug 1307816 - 15. Use eContentCommandDelete for deleting text; r=esawin
...
Use a separate delete command for deleting text, because using regular
composition events for deleting text doesn't seem to work well in
Facebook comment boxes.
2016-10-25 12:28:54 -04:00
Jim Chen
4413af86a7
Bug 1307816 - 14. Save composition update for later; r=esawin
...
Turns out the Facebook comment box doesn't work well if we send
compositions alongside set/remove span events. This patch adds back the
update composition flag, but only sends composition when necessary,
which is only right before we send key events.
Because onImeUpdateComposition is no longer associated with a separate
action, it no longer sends back a reply using AutoIMESynchronize.
2016-10-25 12:28:54 -04:00
Jim Chen
6d20bc5a00
Bug 1307816 - 13. Expand RemoveIMEComposition to allow canceling; r=esawin
...
Expand RemoveIMEComposition with a flag to allow canceling the
composition. Also, remove the "ideographic space" hack from before
because it's no longer applicable (the test remains so we can catch
any regressions).
2016-10-25 12:28:54 -04:00
Jim Chen
a2bfe7c444
Bug 1307816 - 12. Fix up selection and composition when replacing text from Gecko; r=esawin
...
When a Gecko text change spans larger than our original request, we have
to do the replacement in parts in order to preserve any spans from the
original request. There was a bug where the selection is moved to the
wrong offset after the three replacements. This patch switches the order
of the two replacements and manually fixes up the selection.
For any text changes that originated on the Gecko side, this patch also
splits the replacement into two parts (delete + insert), so that old
composing spans are properly cleared first. This new behavior changes
the expected result for the test added by bug 1051556, so the test is
changed as well.. I think this new behavior is more correct, but if it
results in regressions, we can reevaluate.
2016-10-25 12:28:54 -04:00
Jim Chen
7aeb565019
Bug 1307816 - 11. Use GeckoThread for waiting on Gecko; r=esawin
...
Right now we send a "process-gecko-events" message to
GeckoInputConnection in order to wait on Gecko during testing. However,
now we have GeckoThread.waitOnGecko() to do that, so we can just use
that directly.
2016-10-25 12:28:54 -04:00
Jim Chen
6044706d5d
Bug 1307816 - 10. Move text/selection assert methods to InputConnectionTest; r=esawin
...
Under asynchronous IME, when we check text/selection for correctness, we
have to wait for the IC thread to sync the shadow text first. In order
to do that inside the assert methods, we have to move them to inside
InputConnectionTest, so that they can call processGeckoEvents() and
processInputConnectionEvents().
Also, ignore a single newline character, if present, at the end of the
actual text, because it's a side effect of some editing operations in
Gecko (e.g. clearing all text in an HTML editor).
2016-10-25 12:28:53 -04:00
Jim Chen
5e0f876ff7
Bug 1307816 - 9. Fix IC thread switching after async refactoring; r=esawin
...
When switching the IC thread from one thread to another, we can no
longer block on the old IC thread waiting for the Gecko thread. However,
we still block on the new IC thread, waiting for the old IC thread to
finish processing any old events.
2016-10-25 12:28:53 -04:00
Jim Chen
34ec3f2d7d
Bug 1307816 - 8. Sync shadow text to current text; r=esawin
...
Sync the shadow text to the current text when the selection or text
changes on the Gecko side, provided we are not in batch mode and if we
don't have pending actions. Otherwise, remember the skipped sync and
re-sync when we exit batch mode and/or finish all pending actions.
2016-10-25 12:28:53 -04:00
Jim Chen
d79992b10f
Bug 1307816 - 7. Flush text before sending focus event; r=esawin
...
We used to flush the Java side text upon receiving the acknowledge-focus
event, at which point the Java side is waiting on the Gecko side.
Because of the async IME refactoring, we can no longer wait on the Java
side, so we have to flush the text early, before sending the first focus
notification. Also, the acknowledge-focus event is no longer needed as a
result.
Our call to InputMethodManager to restart input also has to changed due
to the change in calling sequence between notifyIME and
notifyIMEContext.
2016-10-25 12:28:53 -04:00
Jim Chen
336c81d4d5
Bug 1307816 - 6. Remove ActionQueue and switch to AsyncText; r=esawin
...
Due to async IME refactoring, we no longer need the blocking mechanism
in ActionQueue. As a result of the simplified code, we can remove
ActionQueue entirely and move its code to under GeckoEditable.
ActionQueue.offer() is now icOfferAction().
This patch also makes mText an instance of AsyncText, and change all
accesses to mText to reflect the new async interface, i.e. accesses on
the Gecko thread go through getCurrentText() and the current*** methods,
and accesses on the IC thread go through getShadowText() and the
shadow*** methods.
2016-10-25 12:28:53 -04:00
Jim Chen
ecc67bcfe8
Bug 1307816 - 5. Add AsyncText class for handling asynchronous text editing; r=esawin
...
AsyncText keeps two copies of the text - the current copy on the Gecko
thread that is the authoritative version of the text, and the shadow
copy on the IC thread that reflects what we think the current text is.
When editing the text on the IC thread, the shadow copy is modified
directly, and then the modification is sent to the Gecko thread, which
modifies the current copy concurrently. Depending on what Gecko does to
the text, the current copy may diverge from the shadow copy, but
periodically, the shadow copy is synced to the current copy through
AsyncText.syncShadowText() to make the two copies identical again.
2016-10-25 12:28:53 -04:00
Jim Chen
9dc213e960
Bug 1307816 - 4. Stop sending separate composition updates; r=esawin
...
As part of async IME refactoring, we will no longer send composition
updates separately. Instead, composition updates will be integrated into
the set-span and remove-span events, similar to what we already do for
replace-text events.
2016-10-25 12:28:53 -04:00
Jim Chen
1ee888a6b6
Bug 1307816 - 3. Don't implement GeckoEditableListener in GeckoEditable; r=esawin
...
GeckoEditable implemented GeckoEditableListener because GeckoAppShell
called its methods through GeckoEditableListener, but now we use JNI to
call GeckoEditable methods directly, so GeckoEditable no longer has to
implement GeckoEditableListener.
This change also lets us simplify GeckoEditableListener by making
onTextChange and onSelectionChange no longer have any parameters.
2016-10-25 12:28:53 -04:00
Jim Chen
8ad0835dc6
Bug 1307816 - 2. Make clearSpans call go through Gekco; r=esawin
...
Currently, clearSpans calls are carried out immediately, but that makes
it out of order in relation to other calls, which have to go through
Gecko. This patch fixes this issue.
2016-10-25 12:28:53 -04:00
Jim Chen
db7d4844ae
Bug 1307816 - 1. Remove legacy IME code; r=esawin
...
Remove the event listener in GeckoEditable that was used for old text
selection code. It's no longer relevant for the new accessible carets
code.
2016-10-25 12:28:52 -04:00
Andrea Marchesini
909b97a385
Bug 1312705 - Update ExtendableMessageEvent to the latest version of the spec, r=smaug
2016-10-25 18:23:06 +02:00
Andrea Marchesini
9d5c3d64e8
Bug 1312705 - Update ServiceWorkerMessageEvent to the latest version of the spec, r=smaug
2016-10-25 18:22:46 +02:00
Andrea Marchesini
2304607a62
Bug 1307566 - Timeout increased for test_subworkers_suspended.html, r=bkelly
2016-10-25 18:21:34 +02:00
Aryeh Gregor
3ef60e5be3
Bug 1299838 - Add bug numbers to some wpt failures; r=test-only
...
Now syntax-checked *correctly*!
MozReview-Commit-ID: GAFOXF7x30E
2016-10-25 18:27:21 +03:00