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

524420 Коммитов

Автор SHA1 Сообщение Дата
Boris Zbarsky 6bcfdbcff3 Bug 1343037 part 8. Get rid of nsIDOMHTMLInputElement's selectionDirection attribute. r=ehsan
MozReview-Commit-ID: FNn4vVCM50s
2017-03-09 14:44:04 -05:00
Boris Zbarsky be3f78fea8 Bug 1343037 part 7. Get rid of nsIDOMHTMLTextareaElement's selectionDirection attribute. r=ehsan
MozReview-Commit-ID: EQWxjgTdloR
2017-03-09 14:44:04 -05:00
Boris Zbarsky 5ae7da9d14 Bug 1343037 part 6. Simplify the setup around the editor state's GetSelectionRange function. r=ehsan
Really, there are only two cases we need to worry about.  Either
IsSelectionCached(), and then our SelectionProperties has the data we want, or
not and then we have a non-null mSelCon which has the data we want.

Since we are now using cached selection state a lot more (instead of
initializing the editor whenever someone asks for selection state), we need to
actually update it more correctly when .value is set.

And since we now update the cached selection state for the case when .value has
been set (to point to the end of the text), we need to change
HTMLInputElement::HasCachedSelection to return false for that case.  Otherwise
we will always do eager editor init on value set.  We handle that by not doing
eager init if the cached selection is collapsed.

The web platform test changes test the "update on .value set" behavior.  They
fail without this patch, pass with it.

MozReview-Commit-ID: DDU8U4MGb23
2017-03-09 14:44:04 -05:00
Boris Zbarsky 6075a757b2 Bug 1343037 part 5. Make <textarea> behave more like <input type=text> in terms of reset behavior. r=ehsan
In particular this ensures that our ValueChanged() is correctly set to false
when we call SetValue() on our editor state with our default value.  We will be
relying on this very shortly.

MozReview-Commit-ID: AIIIHwfQPQE
2017-03-09 14:44:04 -05:00
Boris Zbarsky 2bf2020b52 Bug 1343037 part 4. Fix type changes on an input to properly grab the selection offsets from the old editor before we ask the editor state for them. r=ehsan
MozReview-Commit-ID: IDdt0qedJpT
2017-03-09 14:44:04 -05:00
Boris Zbarsky 7f964a7045 Bug 1343037 part 3. Get rid of nsIDOMHTMLTextareaElement's selectionStart and selectionEnd accessors. r=ehsan
MozReview-Commit-ID: Ca95YfRaq9r
2017-03-09 14:44:04 -05:00
Boris Zbarsky 03aa46332c Bug 1343037 part 2. Get rid of nsIDOMHTMLInputElement's selectionEnd accessors. r=ehsan,MattN
MozReview-Commit-ID: L2Ozu7Vvort
2017-03-09 14:44:03 -05:00
Boris Zbarsky e2ba9aed19 Bug 1343037 part 1. Get rid of nsIDOMHTMLInputElement's selectionStart accessors. r=ehsan,MattN
MozReview-Commit-ID: IyFv8NRuZIO
2017-03-09 14:44:03 -05:00
Gabriel Luong 143314a407 Bug 1345997 - Add a check for the inspector toolbox when checking if the grid inspector or box model is visible. r=jdescottes
MozReview-Commit-ID: 5Ve2COO5Vkc
2017-03-09 16:48:14 -05:00
Franziskus Kiefer 83cdc02ec0 Bug 1345368 - land NSS 848abc2061a4, r=me
--HG--
rename : security/nss/fuzz/git-copy.sh => security/nss/fuzz/config/git-copy.sh
rename : security/nss/fuzz/certDN.options => security/nss/fuzz/options/certDN.options
rename : security/nss/fuzz/mpi-mod.options => security/nss/fuzz/options/mpi-add.options
rename : security/nss/fuzz/mpi-mod.options => security/nss/fuzz/options/mpi-addmod.options
rename : security/nss/fuzz/mpi-mod.options => security/nss/fuzz/options/mpi-div.options
rename : security/nss/fuzz/mpi-expmod.options => security/nss/fuzz/options/mpi-expmod.options
rename : security/nss/fuzz/mpi-invmod.options => security/nss/fuzz/options/mpi-invmod.options
rename : security/nss/fuzz/mpi-mod.options => security/nss/fuzz/options/mpi-mod.options
rename : security/nss/fuzz/mpi-mod.options => security/nss/fuzz/options/mpi-mulmod.options
rename : security/nss/fuzz/mpi-mod.options => security/nss/fuzz/options/mpi-sqr.options
rename : security/nss/fuzz/mpi-mod.options => security/nss/fuzz/options/mpi-sqrmod.options
rename : security/nss/fuzz/mpi-mod.options => security/nss/fuzz/options/mpi-sub.options
rename : security/nss/fuzz/mpi-mod.options => security/nss/fuzz/options/mpi-submod.options
rename : security/nss/fuzz/quickder.options => security/nss/fuzz/options/quickder.options
rename : security/nss/fuzz/tls-client.options => security/nss/fuzz/options/tls-client-no_fuzzer_mode.options
rename : security/nss/fuzz/tls-client.options => security/nss/fuzz/options/tls-client.options
2017-03-10 06:01:18 +01:00
Ehsan Akhgari dcb0bf572d Bug 1345497 - Remove the unused PVRManager::GetControllers sync IPC; r=kip,billm 2017-03-09 23:26:47 -05:00
Tooru Fujisawa a249012d21 Bug 1345960 - Handle shorthand property and destructuring with async keyword properly. r=shu 2017-03-10 13:21:35 +09:00
Tooru Fujisawa a0b6078831 Bug 1344476 - Add BytecodeEmitter::emitPopN to emit shorter bytecode for given pop count. r=shu 2017-03-10 13:21:35 +09:00
Tooru Fujisawa db3b7db18f Bug 1342378 - Update js/src/configure when input files are newer than it. r=sfink 2017-03-10 13:21:35 +09:00
Makoto Kato e07ff992fd Bug 1343766 - Add DateTimeFomat without ICU for Android. r=emk
MozReview-Commit-ID: FWeBliqlXv3
2017-03-10 12:58:21 +09:00
Shu-yu Guo 01f934f106 Bug 1345145 - Remove some frontend tracelogging that's in functions that are too hot, causing regressions, and whose per-call execution times are too low to be useful. (r=h4writer) 2017-03-09 19:24:52 -08:00
Jeff Gilbert 19d2cbc4c8 Bug 1339256 - Don't assert on unrecognized context reset strategy - r=daoshengmu
MozReview-Commit-ID: CITo6W0FLQS
2017-03-09 18:57:49 -08:00
Jeff Gilbert 5ef33e1ddb Bug 1339256 - Only request robustness if requested on EGL - r=daoshengmu
MozReview-Commit-ID: GlMpalFwS2U
2017-03-09 18:57:47 -08:00
Jeff Gilbert 08f8399fe5 Bug 1339256 - Double-check robustness. - r=daoshengmu
MozReview-Commit-ID: 20csUTf7q6e
2017-03-09 18:57:45 -08:00
Jeff Gilbert d401ac72c1 Bug 1339256 - Simplify index validation. - r=kvark
MozReview-Commit-ID: 4FALdIyhBP8
2017-03-09 18:57:43 -08:00
Jeff Gilbert e63fc0df83 Bug 1339256 - Detect robust_buffer_access_behavior. - r=daoshengmu
MozReview-Commit-ID: 4w5D9bOQbY8
2017-03-09 18:57:41 -08:00
Iris Hsiao 554a65e406 Backed out 6 changesets (bug 1343814) for bustage
Backed out changeset 64c73abd4190 (bug 1343814)
Backed out changeset 3bf615dfeba0 (bug 1343814)
Backed out changeset d55f871c503d (bug 1343814)
Backed out changeset 11811b48bbbe (bug 1343814)
Backed out changeset 53c6fa699fa7 (bug 1343814)
Backed out changeset 4768fe2f6131 (bug 1343814)
2017-03-10 10:25:22 +08:00
Ethan Lin 9b04b94de9 Bug 1345053 - Add webrender support for nsDisplayImage. r=mattwoodrow
--HG--
extra : rebase_source : 347513138d518b6f331ae6130c74bc250ccda4be
2017-03-10 09:57:07 +08:00
Ben Kelly e9bcde96fa Bug 1311324 P4 Update WPT test expectations. r=bz 2017-03-09 20:50:13 -05:00
Ben Kelly 86443f020e Bug 1311324 P3 Remove ServiceWorkerMessageEvent interface. r=bz 2017-03-09 20:50:13 -05:00
Ben Kelly 546d811304 Bug 1311324 P2 Replace usage of ServiceWorkerMessageEvent with MessageEvent. r=bz 2017-03-09 20:50:13 -05:00
Ben Kelly 29ca0de50c Bug 1311324 P1 Update the MessageEvent webidl and implementation class. r=bz 2017-03-09 20:50:13 -05:00
David Anderson 117bdbcd68 Attach Compositables to TextureSourceProviders instead of Compositors. (bug 1343814 part 5, r=mattwoodrow)
--HG--
extra : rebase_source : 323b92ae955a55879ce547a6e131e1900a0102d9
2017-03-09 17:35:14 -08:00
David Anderson 689f898870 Propagate the compositor through CompositableHost::Composite. (bug 1343814 part 4, r=mattwoodrow)
--HG--
extra : rebase_source : 31b056537526e51192feeebf8a29e8d22d1ad88d
2017-03-09 17:35:14 -08:00
David Anderson a73b2f32a3 Material changes for TextureHost TextureSourceProvider support. (bug 1343814 part 3.2, r=mattwoodrow)
--HG--
extra : rebase_source : 39795baf0206c5e93509278b50ce2fda9f780542
2017-03-09 17:35:13 -08:00
David Anderson 33f3757bd2 Replace TextureHost compositor access with TextureSourceProvider. (bug 1343814 part 3.1, r=mattwoodrow)
--HG--
extra : rebase_source : 972d28b91d7de8dd884de6f4b38490e0639b619a
2017-03-09 17:35:13 -08:00
David Anderson ffcc4aab30 Change TextureSource::SetCompositor to use TextureSourceProvider. (bug 1343814 part 2, r=mattwoodrow)
--HG--
extra : rebase_source : 0227bb9055ef1fd5a89645dbc2b6a4e13d81c469
2017-03-09 17:35:13 -08:00
David Anderson cdc76620a2 Factor texture methods out of Compositor into a TextureSourceProvider class. (bug 1343814 part 1, r=mattwoodrow)
--HG--
extra : rebase_source : 7e0773b97536f8418f12fa00ac82dd4166b5ab25
2017-03-09 17:35:12 -08:00
vincentliu 8b4e18d1e6 Bug 1343851 - Add nullptr check for SurfaceFactory in StartVRPresentation. r=mtseng 2017-03-10 09:30:49 +08:00
Wes Kocher 65140a44e3 Merge inbound to central, a=merge CLOSED TREE
MozReview-Commit-ID: Gj4s6DtqKmw
2017-03-09 16:33:31 -08:00
Wes Kocher f7f40f39ec Backed out 19 changesets (bug 1343037) for OSX failures in test_form_autocomplete.html a=backout CLOSED TREE
Backed out changeset 45f9d9f47222 (bug 1343037)
Backed out changeset 77c26865ce8e (bug 1343037)
Backed out changeset 4c4ec6e6b168 (bug 1343037)
Backed out changeset 1d0da4f3c82b (bug 1343037)
Backed out changeset 67d29abbbd53 (bug 1343037)
Backed out changeset a6833ad9712f (bug 1343037)
Backed out changeset 202a7b464808 (bug 1343037)
Backed out changeset 271e63cd7bfa (bug 1343037)
Backed out changeset 77c3b36269a4 (bug 1343037)
Backed out changeset 73198c9c3975 (bug 1343037)
Backed out changeset 5fc2e304113b (bug 1343037)
Backed out changeset b7de9c9c1c31 (bug 1343037)
Backed out changeset 08b01e3c03f8 (bug 1343037)
Backed out changeset de068e5a963b (bug 1343037)
Backed out changeset 23164576aaf5 (bug 1343037)
Backed out changeset 1034463cb379 (bug 1343037)
Backed out changeset 7fb2aacfc644 (bug 1343037)
Backed out changeset 6dcb7090fd33 (bug 1343037)
Backed out changeset cad4522cee16 (bug 1343037)

MozReview-Commit-ID: I37k9bJBwsw
2017-03-09 15:29:05 -08:00
Wes Kocher b17c16a304 Backed out 2 changesets (bug 1343275)
Backed out changeset 32e54e6e8c02 (bug 1343275)
Backed out changeset 6fc55ce02ba5 (bug 1343275)

MozReview-Commit-ID: 7K7Swi7UxGr
2017-03-09 15:28:02 -08:00
Wes Kocher 1ee826b44c Backed out changeset b81ec733e5c2 (bug 1345606)
MozReview-Commit-ID: J8ecV1FShCR
2017-03-09 15:27:32 -08:00
Wes Kocher 4d040e69b1 Backed out changeset ea659450b0da (bug 1345237)
MozReview-Commit-ID: JQ2dsysX25w
2017-03-09 15:27:15 -08:00
Wes Kocher 9bf077a4c7 Merge m-c to autoland, a=merge CLOSED TREE
MozReview-Commit-ID: BG12zoWP3dQ
2017-03-09 14:12:34 -08:00
Wes Kocher 395f8ef03d Merge m-c to inbound, a=merge CLOSED TREE
MozReview-Commit-ID: 9rWj5LVFZMq
2017-03-09 14:11:57 -08:00
Lee Salzman 7fed4b26a7 Bug 1345815 - fix BasicLayers OOM with recording playback by avoiding copies. r=tobytailor
MozReview-Commit-ID: 1r5sOZv0Gp6
2017-03-09 16:08:40 -05:00
Ben Kelly dae3f5e5a7 Backout 3cc235b8f878 to 2269c901720f (bug 1311324) for build bustage r=me 2017-03-09 16:07:40 -05:00
Jeff Gilbert 4cce4a821f Bug 1345648 - Add BREAK_ON_D3D_ERROR to DeviceManagerDx - r=kvark
MozReview-Commit-ID: DgHPXgjOi3f
2017-03-09 12:55:01 -08:00
Jeff Gilbert 5b899ebc2d Bug 1345648 - Use ID3DDeviceContextState to support NV_dx_interop2 on D3D11 on AMD - r=kvark
MozReview-Commit-ID: AzUbKzQp9lT
2017-03-09 12:54:58 -08:00
Emilio Cobos Álvarez 801eeb5572 servo: Merge #15888 - style: Simplify style sharing code (from emilio:caching); r=Ms2ger
No functional changes, just some code cleanup.

Source-Repo: https://github.com/servo/servo
Source-Revision: 5c46e86546a607b7151758d8f18601febe4ce4f3

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : b679c707d750f4aded5339af9eda32aadb680aaf
2017-03-09 11:33:33 -08:00
Andrew McCreight 634490d4bf Bug 1344527 - Give up in ReadScriptAsync if we can't create a promise. r=bholley
MozReview-Commit-ID: Hq4vJZmfDpc

--HG--
extra : rebase_source : f3544bfc559aee379f66972ce97764354b6aa658
2017-03-09 09:24:28 -08:00
Mihai Tabara cc4f76501b Bug 1344202 - uptake monitoring better handling absence of partials. r=rail a=release DONTBUILD
MozReview-Commit-ID: 9nj7qe5hWa9

--HG--
extra : rebase_source : 1c6a9515a7cc5fd1b5c3482a6806bcc69bbbb5dd
2017-03-09 16:52:11 +00:00
Ben Kelly 1dc97b7518 Bug 1311324 P4 Update WPT test expectations. r=bz 2017-03-09 15:35:21 -05:00
Ben Kelly c6a277c2be Bug 1311324 P3 Remove ServiceWorkerMessageEvent interface. r=bz 2017-03-09 15:35:21 -05:00