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

560660 Коммитов

Автор SHA1 Сообщение Дата
Emilio Cobos Álvarez 9cbe3caa2c Bug 1400936: Clear servo data after children data is cleared, and allow setting the root as the document if the tree is mid-unbind. r=bholley
This is the actual fix, and makes sure that the state is consistent even if we
notify of state changes on a parent during unbind.

We potentially do a bit more work than needed given we set the document as the
root in that case instead of the parent which could potentially be the root
itself, but that's not a huge deal I think, given these cases are rare.

If this happens to be a perf problem, we may want to just drop the root during
UnbindFromTree if aNullParent == true and the root is a descendant of `this`.

MozReview-Commit-ID: A9d2igM0hMr
Signed-off-by: Emilio Cobos Álvarez <emilio@crisal.io>
2017-09-23 04:53:36 +02:00
Emilio Cobos Álvarez 6761fabaa9 Bug 1400936: Only tear down the servo data in SetXBLInsertionParent if the parent actually changed. r=bholley
This is the reason similar assertion failures can't be reproduced with elements
and stuff like fieldset and form validity changes.

nsBindingManager::ContentRemoved calls SetXBLInsertionParent, which clears all
the Servo data from the subtree eagerly, which is a waste when the actual
binding parent is the same (null).

MozReview-Commit-ID: A5wLKfD4OTL
Signed-off-by: Emilio Cobos Álvarez <emilio@crisal.io>
2017-09-23 04:49:09 +02:00
Emilio Cobos Álvarez 1d5e4078a2 Bug 1400936: Remove dumb null check. r=bholley
MozReview-Commit-ID: CLs2UcA8DF9
Signed-off-by: Emilio Cobos Álvarez <emilio@crisal.io>
2017-09-23 04:49:08 +02:00
Emilio Cobos Álvarez eb51751453 Bug 1401706: Crashtest. r=me
MozReview-Commit-ID: Jf0n4f4kMhl
2017-09-23 04:11:15 +02:00
Emilio Cobos Álvarez c1faec30a9 Bug 1401706: Remove redundant UpdateValueDisplay call. r=Ehsan
This was just moved from the old code, but we always call that function in
CreateAnonymousContent, so no need to.

MozReview-Commit-ID: 1zqmQM2KdpW
Signed-off-by: Emilio Cobos Álvarez <emilio@crisal.io>

--HG--
extra : rebase_source : c8884cca80fabf3fbd7ad7580b9755e6c6b1dd3e
2017-09-22 14:48:02 +02:00
Emilio Cobos Álvarez 72b20cdc50 Bug 1401706: Remove redundant boolean members from nsTextControlFrame. r=Ehsan
MozReview-Commit-ID: Ka81vlPMa88
Signed-off-by: Emilio Cobos Álvarez <emilio@crisal.io>

--HG--
extra : rebase_source : 281ab4635b1395c133c8ad7c74b8b82bfb21d383
2017-09-22 07:33:41 +02:00
Emilio Cobos Álvarez a79c0b5eae Bug 1401706: Remove unused macro. r=Ehsan
MozReview-Commit-ID: EsvdnJkapgP
Signed-off-by: Emilio Cobos Álvarez <emilio@crisal.io>

--HG--
extra : rebase_source : c681c4393051916aeffa6adc947fb267b88225c8
2017-09-22 07:33:30 +02:00
Tom Ritter 24d99d631c Bug 1402065 Add the pdfium patch to the repo and update.sh r=jwatt
MozReview-Commit-ID: 19BisRwSWXM

--HG--
extra : rebase_source : 7fb8320429983840ad5ac9c450c86acae50b3017
2017-09-22 00:30:29 -05:00
Nicholas Nethercote e3c9cbb969 Bug 1401813 - Rename Null[C]String() as Void[C]String(). r=erahm.
XPCOM's string API doesn't have the notion of a "null string". But it does have
the notion of a "void string" (or "voided string"), and that's what these
functions are returning. So the names should reflect that.

--HG--
extra : rebase_source : 4e3f982e0873877174a08a25413595ff66f7d20e
2017-09-22 14:35:46 +10:00
Emilio Cobos Álvarez b4949a9204 Bug 1401706: Move ownership of editor anon content to nsTextControlFrame. r=Ehsan
MozReview-Commit-ID: 4QpbarX5dvf
Signed-off-by: Emilio Cobos Álvarez <emilio@crisal.io>

--HG--
extra : rebase_source : f2bd73c696bc3e7937a8e6c365c9ef31a6888524
2017-09-22 02:18:30 +02:00
Chenxia Liu 7471205583 Bug 1401179 - Add snackbar for bookmark add/remove actions on newtab. r=mcomella
MozReview-Commit-ID: 7DzoyDSWmVq

--HG--
extra : rebase_source : 4e214080a665d199a2e888c53a114d1585da4fee
2017-09-22 18:08:07 -07:00
Michael Comella 71347fe090 Bug 1402005: Add telemetry for Learn More clicks. r=liuche
MozReview-Commit-ID: GA4UBZ4fpK6

--HG--
extra : rebase_source : 4803bd6eb9c97d0ae89b6322658e2cf0273e4e20
2017-09-22 17:32:03 -07:00
Michael Comella d1ac60c027 Bug 1402005: Add a learn more link to Top Sites. r=liuche
Explanation of our motivations are added in code comments.

In testing locally, the link I was sent to was:
- https://support.mozilla.org/1/mobile/58.0a1/Android/en-US/activity-stream

Existing code does not use a referrer so I didn't add one:
http://searchfox.org/mozilla-central/rev/56ad02e34d0d36ca4d5ccaa885d26aff270b8ff7/mobile/android/base/java/org/mozilla/gecko/preferences/LinkPreference.java#44

MozReview-Commit-ID: GTY1ku07uWy

--HG--
extra : rebase_source : fea160fdf5cff0ee5bfb99604b0e5ebe59d86ffb
2017-09-22 17:04:53 -07:00
Bobby Holley cb69588ef2 Bug 1402285 - Don't try to cache pseudo styles with an unstyled originating element. r=emilio
MozReview-Commit-ID: C4JNZFtYHBH
2017-09-22 18:02:24 -07:00
Bobby Holley 01fb3786f9 Bug 1401992 - Mark some tests as passing on android. r=me
MozReview-Commit-ID: HJuIX5VXBm5
2017-09-22 17:23:38 -07:00
Kyle Machulis 9b4ac7e03f Bug 1402102 - Remove nsIDOMHTMLObjectElement; r=bz
Removes the nsIDOMHTMLObjectElement XPCOM interface, replacing it with
HTMLObjectElement and FromContent conversion usage.

MozReview-Commit-ID: dmsjSO97uh

--HG--
extra : rebase_source : 9b2c25b8681f754bc34233afccdb6fc5d38f0804
2017-09-22 17:05:12 -07:00
Bobby Holley 6dfffba33a Bug 1401992 - Make the reftest less flakey. r=me
We don't need the video controls to be painted.

MozReview-Commit-ID: AXsM8Q1vJm4
2017-09-22 17:10:05 -07:00
Ed Lee df0813bd02 Bug 1402529 - Fix broken story dismissing, unintended telemetry and bug fixes to Activity Stream. r=dmose
MozReview-Commit-ID: F0mYjCJcg0u

--HG--
extra : rebase_source : 88bca6d360113a54bf78d02f2084e5d4b435e385
2017-09-22 16:13:36 -07:00
Matthew Noorenberghe e522b6fb84 Bug 1402210 - Add payment UI documentation and do minor code cleanup. r=marcosc
MozReview-Commit-ID: Cpn5mKcEZGo

--HG--
extra : rebase_source : d65efac187f631e0097c300bf0e8fa6f9a78c540
2017-09-21 21:35:24 -07:00
Philip Jenvey e4826ee93d Bug 1401718: adapt to xcode's new non-ascii license error r=gps
avoid unicode conversion (since unicode_literals is in use)

MozReview-Commit-ID: AfgzAWsjRp
2017-09-22 14:58:28 -07:00
Chenxia Liu f13df1a160 Bug 1402481 - Reverse incorrect sign of margin calculation. r=mcomella
MozReview-Commit-ID: ICS81o8pLOE

--HG--
extra : rebase_source : 9ee338ea1726ff529a77af8a93ba5fda52caa698
2017-09-22 09:12:38 -07:00
Chenxia Liu 9a193dcc02 Bug 1402145 - Use adapter child position rather than view position. r=mcomella
MozReview-Commit-ID: ESi8MMYC1lp

--HG--
extra : rebase_source : 1179df68abae25fddf06983cfea75ff4737a4080
2017-09-22 09:09:23 -07:00
Michael Comella ea35ecdd35 Bug 1400825: Collapse top sites if there are no sites. r=liuche
MozReview-Commit-ID: D0eNQBp6IZB

--HG--
extra : rebase_source : e482335230cb69acf2ca3009ea299cc380ae6200
2017-09-22 13:56:13 -07:00
Sebastian Kaspari 221a875e64 Bug 1400825 - Show option for removing suggested sites from top sites. r=mcomella
MozReview-Commit-ID: LyAqnlMfQvr

--HG--
extra : rebase_source : 330cb57bf3550223cd22ab1b242cbec427a9d1e1
2017-09-22 19:59:08 +02:00
Bobby Holley a4cf7fbbf5 Bug 1401992 - Reftest. r=me
MozReview-Commit-ID: C7UQEQOkE7q
2017-09-22 15:38:32 -07:00
Bobby Holley 2ceae78919 Bug 1401992 - Don't cross anonymous boundaries when finding the fieldset. r=bz
MozReview-Commit-ID: DiywRognpqx
2017-09-22 15:38:32 -07:00
Wes Kocher 528cd7a92c Merge m-c to autoland, a=merge
MozReview-Commit-ID: BelD7GUGNq6
2017-09-22 15:31:06 -07:00
Wes Kocher 43fdbce8a0 Backed out 4 changesets (bug 1348981) for addon related xpcshell failures a=backout
Backed out changeset af30bdde5572 (bug 1348981)
Backed out changeset dc6f6f59da82 (bug 1348981)
Backed out changeset b5149335d9ed (bug 1348981)
Backed out changeset a943c88d0dd5 (bug 1348981)

MozReview-Commit-ID: GIWRb1mY7wJ
2017-09-22 15:27:49 -07:00
Zibi Braniecki c3a695eb34 Bug 1402234 - Remove the ENABLE_INTL_API=no code from intl/locale. r=jfkthame
MozReview-Commit-ID: IDgkmSb0bmV

--HG--
extra : rebase_source : 186958994646cbd71f6320a8c384c61f620ee784
2017-09-22 08:33:07 +02:00
Erica Wright a9e25e23df Bug 1401152 - Disable 'add to overflow menu' in the customize mode *palette* context menu for flexible space. r=Gijs
MozReview-Commit-ID: 5sQPsxVaVYz

--HG--
extra : rebase_source : 6eab6e7e9d65bc0b45dea6dac7daf3cd23fc6c77
2017-09-21 18:15:02 -04:00
Nicholas Nethercote c07fbf3cf6 Bug 1401097 (part 1) - Simplify gHTMLElements. r=mrbkap.
The HTML group constants in nsElementTable.cpp are only used for
nsHTMLElement::IsBlock(). This patch removes them and replaces
HTMLElement::mParentBits with a bool, mIsBlock.

The patch also inverts the sense of HTMLElement::mLeaf and renames it
mIsContainer, to match the sense of IsContainer().

Finally, the patch uses the pre-processor to use '____' instead of 'false' in
gHTMLElements. This makes it easier to read.

Note that IsBlock() has numerous disagreements with
https://developer.mozilla.org/en-US/docs/Web/HTML/Block-level_elements about
what constitutes a block element, but I have preserved the existing behaviour.

--HG--
extra : rebase_source : ff5ab71fdb2665fda296c0fbb712641151a7b003
2017-09-22 08:14:03 +10:00
Stephen A Pohl 83a1ac4bee Bug 1402577: Display titles in titlebar on macOS when the native titlebar is in use. r=mstange 2017-09-24 21:02:32 -04:00
Nicholas Nethercote 8134051ca0 Bug 1401456 - Streamline nsWindowMemoryReporter. r=erahm.
This patch tweaks the REPORT_* macros to include the repetitive code that
updates aWindowTotalSizes.

--HG--
extra : rebase_source : dcc3fa12b102fd36e993ecec3cc8a170fbc84b7c
2017-09-25 09:59:50 +10:00
sotaro 445bba2d46 Bug 1401849 - Fix TabChild::mLayersConnected handling r=dvander 2017-09-25 09:22:29 +09:00
Nicholas Nethercote 7ea76d4cd7 Bug 1402253 - Remove dead FindItemWithNameAcrossWindows() declaration. r=bz.
--HG--
extra : rebase_source : 6b60684ff147371df89fa6e07047151cc8e3fd51
2017-09-25 10:10:09 +10:00
Ryan VanderMeulen 6537684f83 Bug 1402732 - Update pdf.js to version 1.9.597. r=bdahl 2017-09-24 20:12:23 -04:00
Glenn Randers-Pehrson a439abac9e Bug 1402140 - Add "eXIf" to unused_chunks list in PNG decoder. r=jrmuizel 2017-09-21 15:35:00 -04:00
Sebastian Hengst 2460e62c0d merge mozilla-central to mozilla-inbound. r=merge a=merge 2017-09-25 01:21:47 +02:00
Lee Salzman a593c1be08 Bug 1402585 - don't error when ShmSegmentReader reads empty segments. r=gankro
MozReview-Commit-ID: B18t0mrEIDm
2017-09-24 19:11:17 -04:00
Sebastian Hengst e677c266f7 merge mozilla-central to mozilla-inbound. r=merge a=merge 2017-09-24 23:54:54 +02:00
Joel Maher 82d0cb98e6 Bug 1402079 - browser/base/content/test/performance/browser_windowopen_reflows.js fails on different screen resolutions. r=mconley 2017-09-24 17:33:07 -04:00
Andrea Marchesini be6c7b50a7 Bug 1401878 - Remove ServiceWorkers in SiteDataManager.jsm, r=bkelly
--HG--
extra : rebase_source : 4989e5f5da242fd0c732d519a911339d8f61c307
extra : source : 04888373f12bd5d86ec3f4057c3a2f0b2240c963
2017-09-21 21:32:00 +02:00
Lee Salzman bff46d728b Bug 1397918 - don't use versions of libxcb before 1.11.1. r=karlt
MozReview-Commit-ID: Ec8ZhCBlPj2
2017-09-22 00:10:35 -04:00
Phil Ringnalda 9728bc3636 Merge m-c to m-i
MozReview-Commit-ID: LQmIsTRxble
2017-09-21 20:49:43 -07:00
Jim Chen fc16f11c89 Bug 1401737 - 1. Add a diagnostic crash; r=me
Add a diagnostic crash for the unexpected case where
GeckoService.register() is called a second time. We know the stack for
the second call, but we want to know the stack for the first call, so we
introduce this intentional crash. r=me for trivial diagnostic patch
which will be backed out ASAP.

MozReview-Commit-ID: HobtPiVSSTR
2017-09-21 23:41:22 -04:00
Andrea Marchesini b7cd7c515d Bug 1047098 - "Clear Recent History" must clean up all the ServiceWorkers, r=bkelly
This includes minor shutdown fixes by :asuth as discussed on
https://bugzilla.mozilla.org/show_bug.cgi?id=1047098#c56 and c57.

--HG--
extra : rebase_source : d1a230cc005b2a6a71f16ef84a55851ee2f4f66e
extra : source : e89d2565799b4b02d5ee2c56da8d44dc0067f26a
2017-09-21 21:32:00 +02:00
Sean Stangl e12cd767a3 Bug 1394146 - Avoid overflow on backwards iteration of IC entries. r=jandem 2017-09-21 15:37:00 -04:00
Tom Ritter 1ccfc37292 Bug 1402065 Remove __in and __out from our in-tree copy of pdfium r=jwatt
These macros are not used by anything other than Microsoft static analysis
tools, but they break the MinGW compile. MinGW cannot define these macros
in C++ code, because they conflict with libstdc++ arguement names.

See Line 222 of cef0747077/tree/mingw-w64-headers/include/sal.h

MozReview-Commit-ID: J6LZpy6F3h4

--HG--
extra : rebase_source : cfef43bfe66671acfa8f9014f2845c8c954b0f03
2017-09-21 13:43:56 -05:00
Rob Wood 00e5bf28aa Bug 1390908 - Make mitmproxy osx binary available on tooltool and update talos tp6 accordingly; r=jmaher
MozReview-Commit-ID: 4YfZMifpq2p

--HG--
extra : rebase_source : 49b186899882e1ffe5865b7c80899101be9bfea2
2017-09-21 14:35:38 -04:00
Alastor Wu 5eddb6c449 Bug 1401147 - part2 : add test. r=jya
MozReview-Commit-ID: 2onCtimjuz4

--HG--
extra : rebase_source : 9e54641fbc2480895ff067e0d48f1eebba313911
2017-09-23 00:00:56 +08:00