Boris Zbarsky
cced97dfc3
Bug 1343037 part 9. Simplify the setup around the editor state's GetSelectionDirection 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.
MozReview-Commit-ID: AEW9D1zG6sM
2017-03-09 14:44:05 -05:00
Boris Zbarsky
8a06255585
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
5b41bd3b49
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
77e7a5575a
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
56f5644356
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
8d88c68a9d
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
09b87520ad
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
f57f010e10
Bug 1343037 part 2. Get rid of nsIDOMHTMLInputElement's selectionEnd accessors. r=ehsan
...
MozReview-Commit-ID: L2Ozu7Vvort
2017-03-09 14:44:03 -05:00
Boris Zbarsky
bd425019e3
Bug 1343037 part 1. Get rid of nsIDOMHTMLInputElement's selectionStart accessors. r=ehsan
...
MozReview-Commit-ID: IyFv8NRuZIO
2017-03-09 14:44:03 -05:00
Byron Campen [:bwc]
259065f253
Bug 1339588 - Part 2: Help prevent nullptr crashes due to misuse of the timer API. r=froydnj
...
MozReview-Commit-ID: BXCGYWnFqSj
--HG--
extra : rebase_source : 04d7d2180ad7713b5ee256cfd256cddd9d0d8dd7
extra : source : f21b4b01a1a95554f266cc184347d07c6583e395
2017-02-14 16:27:33 -06:00
Byron Campen [:bwc]
ada35c9a53
Bug 1339588 - Part 1: Simplify nsTimerEvent::Cancel, since there's no need to release the nsTimerImpl itself. r=froydnj
...
MozReview-Commit-ID: 6br6DaDqxR0
--HG--
extra : rebase_source : 13cde860824483332c42ac2f86bca722bf42d36b
extra : source : 47a3ac382469cb8bd4cdfa123457a6d6b4f11d39
2017-02-14 15:29:01 -06:00
Michal Novotny
43f8cee68d
Bug 1343916 - CacheFile::Truncate doesn't update hashes in CacheFileMetadata, r=valentin
2017-03-09 17:28:56 +01:00
Micah Tigley
f62a072a2f
Bug 1343777 - Display grid cell highlights on mouseover events for grid outline. r=gl
...
MozReview-Commit-ID: ErCPdqaaIvs
2017-03-02 00:16:10 -07:00
Michael Kaply
8069a07ee2
Bug 1337560 - Use chrome icons for Yahoo and Amazon. r=flod
...
--HG--
extra : amend_source : 8c3b6a37bd7c67358a8c4d7a889efc5b210a2a4c
2017-03-09 09:10:38 -06:00
Sebastian Hengst
ada7a87d41
Backed out changeset 9180c9b4adc0 (bug 1343550) for failing e.g. its own crashtest. r=backout
2017-03-09 14:49:30 +01:00
Sebastian Hengst
5a38da0c65
Backed out changeset 1aa20dad5c31 (bug 1343550) for crashtest failures, e.g. for its own test. r=backout
2017-03-09 14:48:06 +01:00
Tom Tung
aa5d3ca4c9
Bug 1298329 - Part 0: Add persisted attribute to OriginInfo; r=janv
2017-01-17 09:41:00 +08:00
Paul Adenot
60d0774ea7
Bug 1343550 - Crashtest. r=baku
...
MozReview-Commit-ID: 72V86HrbVCl
--HG--
extra : rebase_source : 238b64a8a585a75165ccc70c5fcca03f5b9dbf83
2017-03-09 14:09:48 +01:00
Paul Adenot
787b889dda
Bug 1343550 - Prevent creating AudioNodes on an AudioContext that has been disconnected from its owner. r=baku
...
Spec (being written): https://github.com/WebAudio/web-audio-api/issues/1139
MozReview-Commit-ID: 8d9yMmrMKAi
--HG--
extra : rebase_source : c9d83fe8f27bd811a3bbf5275f46a257ea73541c
2017-03-09 14:09:55 +01:00
Andrea Marchesini
7006d4e231
Bug 1339713 - Use IPCStream everywhere - part 6 - fixing AutoIPCStream when inputStream is null, r=smaug
2017-03-09 14:11:21 +01:00
Andrea Marchesini
2c988363eb
Bug 1339713 - Use IPCStream everywhere - part 5 - PContent, r=smaug
2017-03-09 14:10:49 +01:00
Andrea Marchesini
5074a53881
Bug 1339713 - Use IPCStream everywhere - part 4 - PWebSocket, r=smaug
2017-03-09 14:10:24 +01:00
Andrea Marchesini
a9e3c3fa64
Bug 1339713 - Use IPCStream everywhere - part 3 - PUDPSocket, r=smaug
2017-03-09 14:09:54 +01:00
Andrea Marchesini
5a6434a92a
Bug 1339713 - Use IPCStream everywhere - part 2 - PFTPChannel, r=smaug
2017-03-09 14:09:31 +01:00
Andrea Marchesini
a7dbdfbd6c
Bug 1339713 - Use IPCStream everywhere - part 1 - PWebBrowserPersistDocument, r=smaug
2017-03-09 14:09:11 +01:00
Paul Adenot
7cb8574d6c
Bug 1345517 - Add new AudioNodes to the Web Audio devtools. r=jsantell
...
MozReview-Commit-ID: KmTShPEXkBe
--HG--
extra : rebase_source : 08c4558bf5bb9b2ed101b08459e6ac0ff0a5de37
2017-03-08 17:16:43 +01:00
Jonathan Kew
901fb0e12f
Bug 1343552 part 2 - Record attempted misuse of gfxSkipCharsIterator via a gfxCriticalError.
...
MozReview-Commit-ID: CayLp1dGSnq
2017-03-06 17:31:01 +00:00
Mats Palmgren
ce00d19feb
Bug 1343552 part 1 - Invalidate the cached flow length when the next-in-flow/continuation changes. r=jfkthame
...
MozReview-Commit-ID: Bz5YA60NY8I
2017-03-09 13:18:26 +01:00
Hannes Verschore
8ae83b07f4
Bug 1345801: TraceLogger - Fix TLOPTIONS documentation inaccuracy, r=bhackett
2017-03-09 12:28:38 +01:00
Hannes Verschore
d941852838
Bug 1335146: IonMonkey - Don't do flow-aa on blocks without entry predecessor, r=jandem
2017-03-09 12:28:37 +01:00
Catalin Badea
0464363d1f
Bug 1300112 - Avoid duplicate push notifications by sending push messages to only one content process. r=kitcambridge
2017-03-09 11:12:49 +00:00
Joel Maher
5708b8f058
Bug 1345556 - add BUG_COMPONENT to services/* files. r=rfkelly, kit
...
MozReview-Commit-ID: 3QzgxUDL5xa
2017-03-09 05:33:31 -05:00
Joel Maher
ad033bbef8
Bug 1345618 - add BUG_COMPONENT to modules/* files. r=jfkthame,mcmanus,rstrong
...
MozReview-Commit-ID: G3hG5C4P5jS
2017-03-09 05:33:31 -05:00
Joel Maher
8646492091
Bug 1344837 - add BUG_COMPONENT to mozglue/* files. r=glandium
...
MozReview-Commit-ID: 5Z9N3L0hVsY
2017-03-09 05:33:30 -05:00
Joel Maher
41e6060a92
Bug 1344829 - add BUG_COMPONENT to security/* files. r=keeler
...
MozReview-Commit-ID: AS6e14FOqsb
2017-03-09 05:33:30 -05:00
Carsten "Tomcat" Book
6d06361383
merge mozilla-inbound to mozilal-central a=merge
2017-03-09 11:23:25 +01:00
Ethan Lin
d73549a9d8
Bug 1345053 - Add webrender support for nsDisplayImage. r=mattwoodrow
2017-03-09 14:24:41 +08:00
Boris Zbarsky
2c7f4763df
Bug 1345362 part 6. Make ::-moz-pagebreak a non-inheriting anon box. r=heycam
...
MozReview-Commit-ID: ClqKv8HOFj4
--HG--
extra : rebase_source : 33785fdf7c14cf401d7c5a519ed2927db13c3077
2017-03-08 23:50:59 -05:00
Boris Zbarsky
f531c39d2d
Bug 1345362 part 5. Assert that we don't have a non-inheriting anon box in nsFrame::UpdateStyleOfChildAnonBox. r=heycam
...
MozReview-Commit-ID: E6EZakXIExQ
--HG--
extra : rebase_source : a829f2d8bb22a12c0a086473c98e3933427a8444
2017-03-08 23:50:31 -05:00
Boris Zbarsky
964a12c306
Bug 1345362 part 4. Rename ResolveAnonymousBoxStyle to ResolveInheritingAnonymousBoxStyle. r=heycam
...
MozReview-Commit-ID: GVA1fTh0RDv
--HG--
extra : rebase_source : 4333baf6764f346d68836e387fa002705684bfdd
2017-03-08 23:50:28 -05:00
Boris Zbarsky
b537f110e2
Bug 1345362 part 3. Introduce CSSPseudoElementType::NonInheritingAnonBox to represent non-inheriting anon boxes. r=heycam
...
The idea is to be able to call the right function during style resolution time
without doing a linear walk via nsCSSAnonBoxes::IsNonInheritingAnonBox.
MozReview-Commit-ID: JKt33GggTjz
--HG--
extra : rebase_source : fcf477dcef8529c803bf97b1d3a16f8f4fcea39f
2017-03-08 23:41:04 -05:00
Boris Zbarsky
7b18078c9e
Bug 1345362 part 2. Introduce nsCSSAnonBoxes::NonInheritingTypeForPseudoTag for looking up the type of non-inheriting anonymous box for a given pseudo tag. r=heycam
...
MozReview-Commit-ID: 4quZagNd5yo
--HG--
extra : rebase_source : da001f2f99a939a29174e1e16f06f8ed122f60f3
2017-03-08 23:39:47 -05:00
Boris Zbarsky
767339fbd8
Bug 1345362 part 1. Use mozilla::EnumeratedArray for mNonInheritingStyleContexts. r=heycam
...
MozReview-Commit-ID: EddWYLSmfGL
--HG--
extra : rebase_source : c2cd37964b60c25ae2176098addfcbf94cad61a3
2017-03-08 23:39:45 -05:00
David Major
baf83f442b
Bug 1319971: Re-work some static_asserts to get VS2017 compiling. r=luke
...
VS2017 doesn't consider functions like Foo::offsetOfBar() to be constexpr, so it refuses to allow them in static_asserts.
MozReview-Commit-ID: 3mYgnmEPIx0
--HG--
extra : rebase_source : b7392c054d48068587ae9be7f014ad1c0d4c39a3
2017-03-09 15:13:08 +13:00
David Major
09f473e5a8
Bug 1345331: Include <intrin.h> at top-level before lz4.c can include it in a namespace. r=Waldo
...
MozReview-Commit-ID: 8CI8JgR3R1L
--HG--
extra : rebase_source : d3e60e458908fb621c3608a2a3f2e08eb739d87f
2017-03-09 15:11:15 +13:00
Ehsan Akhgari
cc09372649
Bug 1345111 follow-up: Add a few platform-specific sync IPC messages back; fake-r=billm
2017-03-08 23:27:47 -05:00
Ehsan Akhgari
0946cb8425
Bug 1345111 - Make the IPDL compiler error out when it finds sync-messages.ini entries without corresponding IPDL sync messages; r=billm
...
This ensures that our sync-messages.ini correctly reflects the existing set of
sync IPC messages we have.
2017-03-08 22:43:35 -05:00
Boris Zbarsky
f6f7b64e6f
Bug 1341705. Reenable some stylo tests that involve urls with anchors. r=heycam
...
MozReview-Commit-ID: KYQTaW7WZOS
2017-03-08 22:29:57 -05:00
Boris Zbarsky
7bff0683ed
Bug 1344443 followup: fix a bug in the test.
...
MozReview-Commit-ID: Ex52TL8trgd
2017-03-08 22:29:20 -05:00
Edmund Wong
947993dd6e
Bug 1343781 - Ensure MozconfigLoader uses the right topsrcdir. r=glandium
2017-03-09 10:50:35 +08:00