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

12831 Коммитов

Автор SHA1 Сообщение Дата
Chris Peterson edb82b8131 Bug 1416164 - Replace NS_POSTCONDITION with MOZ_ASSERT. r=froydnj
MozReview-Commit-ID: 9K3Ksf36uxr

--HG--
extra : rebase_source : c5574794ae0e0ce5e756bdbcc2601896d6916002
2017-11-04 22:48:48 -07:00
Chris Peterson feb58d9d37 Bug 1416164 - Replace NS_NOTYETIMPLEMENTED with MOZ_ASSERT_UNREACHABLE. r=froydnj
MozReview-Commit-ID: B5TZB3v52wY

--HG--
extra : rebase_source : 56bef4eead24901191f190e31d2841710097cdcf
2017-10-25 00:37:02 -07:00
Emilio Cobos Álvarez 5e27db6805 Bug 1415021: Re-disable web-components in the crashtest for leaks, see bug 1416296. r=me on a CLOSED TREE
MozReview-Commit-ID: IhWWbh7B8N
2017-11-10 18:58:11 +01:00
Emilio Cobos Álvarez 6d99e28430 Bug 1415021: Enable webcomponents in the crashtest since it calls createShadowRoot. r=me
Thanks RyanVM for the heads-up!

MozReview-Commit-ID: nOQtodKAVY
2017-11-10 17:11:28 +01:00
Nathan Froyd 17b6101551 Bug 1341234 - part 2 - add an intermediate step for determining bindgen's CFLAGS; r=gps
Add an intermediate step in old-configure.in for setting up
BINDGEN_CFLAGS (renamed to BINDGEN_SYSTEM_FLAGS), so we can add whatever
flags we like (e.g. for system libaries with their includes in
non-standard places) at a later point.
2017-11-10 10:05:36 -05:00
Emilio Cobos Álvarez f21768f547 Bug 1415021: Add crashtest. r=me
MozReview-Commit-ID: AX0CTVFJo7P
2017-11-10 15:16:32 +01:00
Nika Layzell 3409141758 Bug 1414974 - Part 2: Switch many consumers to nsGlobalWindow{Inner,Outer}, r=smaug
This is a large patch which tries to switch many of the external consumers of
nsGlobalWindow to instead use the new Inner or Outer variants.

MozReview-Commit-ID: 99648Lm46T5
2017-11-09 10:44:47 -05:00
Jason Kratzer c85719a37f Bug 1415663 - Add crashtest. r=me 2017-11-08 22:39:49 -05:00
Mats Palmgren 1c2b8c222e Bug 1414666 part 1 - Add nsIFrame::PresShell() for convenient access to the shell. r=emilio
MozReview-Commit-ID: 8FPTPKWyVtY
2017-11-09 03:00:48 +01:00
Markus Stange 62e25a4903 Bug 1414926 - Make -moz-font-smoothing-background-color changes only cause repaints, not reflows. r=emilio
This case is hit by hovering over menu items, so the optimization is somewhat worthwhile.
As a side-effect, not causing reflows also avoids a XUL <select> popup positioning bug.

MozReview-Commit-ID: AOrijytoHHL

--HG--
extra : rebase_source : c2156eb24171f6d0b0e5476c4a7dbc641a0b5301
2017-11-07 23:01:29 -05:00
Emilio Cobos Álvarez e92c9696de Bug 1415353: Crashtest. r=me
MozReview-Commit-ID: GjeTrTPfSnP
2017-11-08 15:28:38 +01:00
Martin Stransky c80f5d1b89 Bug 1413166 - Added moz-gtk-csd-* media features to resistFingerprinting tests, r=bz
MozReview-Commit-ID: FF1rVDSrpK

--HG--
extra : rebase_source : b3fb3e0a5f9492d2698a5f0fe25b7b415fa55953
2017-11-02 12:12:19 +01:00
Martin Stransky 6803a7b4e8 Bug 1413166 - Added parsing tests for moz-gtk-csd-* media features, r=bz
MozReview-Commit-ID: G0fXDJ2Bjwf

--HG--
extra : rebase_source : cc920426bb514da660a22ff53f0717c7c5326d47
2017-11-01 13:16:35 +01:00
Martin Stransky b61a9fedd5 Bug 1413166 - Export gtk_csd* atoms as media features, r=bz
Based on patch by Andrew Comminos [:acomminos] <andrew@comminos.com>

MozReview-Commit-ID: 26IV2A3vZAB

--HG--
extra : rebase_source : a4cbcafc8a8e8539b8275e5d0dfdff55175cc882
2017-10-31 14:29:17 +01:00
Martin Stransky aa7f0bf7f1 Bug 1413166 - Bind gtk_csd* atoms with LookAndFeel, r=bz
Based on patch by Andrew Comminos [:acomminos] <andrew@comminos.com>

MozReview-Commit-ID: 91pyS53yTVt

--HG--
extra : rebase_source : 7418ba9f83075211f2a8d9b0ef85039684e78121
2017-10-31 14:27:58 +01:00
Markus Stange f2f07fc63b Bug 1414147 - Move fontSmoothingBackgroundColor from nsStyleUserInterface to nsStyleFont / nsFont. r=dbaron
MozReview-Commit-ID: 7i0Sy50Badm

--HG--
extra : rebase_source : 28f36f191aa82a0ece87b412b59641f7dc061acf
2017-11-02 17:48:44 -04:00
Emilio Cobos Álvarez 9951add396 Bug 1413754: Add tests for parsing of non-content-exposed media queries. r=xidorn
MozReview-Commit-ID: 4B8EPLboM4G

--HG--
extra : rebase_source : 1731ca6931c0aa67df918cf576cd4a0dc868c2e1
2017-11-03 16:46:05 +01:00
Emilio Cobos Álvarez 421fce6c1d Bug 1410624: Allow disabling invalidation-based querySelector from C++. r=bz
Rust compile times are hard.

MozReview-Commit-ID: 9Xhtf7f3Vzv
2017-11-04 12:36:38 +01:00
Emilio Cobos Álvarez 79635409a0 Bug 1410624: Add a Document::elements_with_id API. r=xidorn
MozReview-Commit-ID: BNtbJp0RI68
2017-11-04 12:36:22 +01:00
Emilio Cobos Álvarez 707ec18980 Bug 1410624: Integrate QuerySelectorAll in Gecko. r=heycam
MozReview-Commit-ID: 2Jf3Z6ikjXB
2017-11-04 12:33:41 +01:00
Attila Craciun 334a1e2309 Backed out 5 changesets (bug 1413166) for failing valgrind-test at Conditional jump or move depends on uninitialised value(s) at nsCSSRuleProcessor::InitSystemMetrics / InitSystemMetrics / nsCSSRuleProcessor::HasSystemMetric / GetSystemMetric r=backout on a CLOSED TREE.
Backed out changeset b39bf4bf8127 (bug 1413166)
Backed out changeset e1ef2adcc815 (bug 1413166)
Backed out changeset 16fd21f5ad8c (bug 1413166)
Backed out changeset 9e5f5924dad8 (bug 1413166)
Backed out changeset 3b8671ab0719 (bug 1413166)
2017-11-03 15:55:56 +02:00
Emilio Cobos Álvarez 76b64c7c5f Bug 1374247: Keep the hack working on late beta and release, so we can land this a little earlier. r=bz,xidorn
As Xidorn mentions, if the plan is stylo-in-chrome for 59, we really should land
this assertion pretty much now. This ensures that we don't ship 58 without this
hack.

MozReview-Commit-ID: JXol2r3BMtC
2017-11-03 14:30:05 +01:00
Emilio Cobos Álvarez 101005c955 Bug 1374247: Remove the XBL children matching hack, and assert against it. r=xidorn,francois
MozReview-Commit-ID: 9Q9WpJFczxc
2017-11-03 14:30:03 +01:00
Martin Stransky 6a561c1f1f Bug 1413166 - Added moz-gtk-csd-* media features to resistFingerprinting tests, r=bz
MozReview-Commit-ID: FF1rVDSrpK

--HG--
extra : rebase_source : b3fb3e0a5f9492d2698a5f0fe25b7b415fa55953
2017-11-02 12:12:19 +01:00
Martin Stransky a1f7fe3810 Bug 1413166 - Added parsing tests for moz-gtk-csd-* media features, r=bz
MozReview-Commit-ID: G0fXDJ2Bjwf

--HG--
extra : rebase_source : cc920426bb514da660a22ff53f0717c7c5326d47
2017-11-01 13:16:35 +01:00
Martin Stransky 49ff47e35f Bug 1413166 - Export gtk_csd* atoms as media features, r=bz
Based on patch by Andrew Comminos [:acomminos] <andrew@comminos.com>

MozReview-Commit-ID: 26IV2A3vZAB

--HG--
extra : rebase_source : a4cbcafc8a8e8539b8275e5d0dfdff55175cc882
2017-10-31 14:29:17 +01:00
Martin Stransky 29fb3228ed Bug 1413166 - Bind gtk_csd* atoms with LookAndFeel, r=bz
Based on patch by Andrew Comminos [:acomminos] <andrew@comminos.com>

MozReview-Commit-ID: 91pyS53yTVt

--HG--
extra : rebase_source : 7418ba9f83075211f2a8d9b0ef85039684e78121
2017-10-31 14:27:58 +01:00
ANDREEA PAVEL 24a187da02 Merge mozilla-inbound to mozilla-central r=merge a=merge 2017-11-02 11:40:57 +02:00
Emilio Cobos Álvarez 0426e8e468 No bug - Remove unused variable. r=me
MozReview-Commit-ID: EuOqz9FLJyy
2017-11-02 06:36:45 +01:00
Xidorn Quan 2ddfdf43a2 Bug 1412714 - Don't clone inner of XBL stylesheet in Servo. r=bz
MozReview-Commit-ID: Kzrod3SBt1k

--HG--
extra : rebase_source : 4cf96063f372ffbeb6aabde396ef9fd9f547bcb7
2017-10-30 15:16:20 +11:00
Sebastian Hengst ca88e3c4c5 Merge mozilla-central to autoland. r=merge a=merge 2017-11-01 22:58:44 +01:00
Sebastian Hengst 4ff29d14f8 merge mozilla-inbound to mozilla-central. r=merge a=merge
MozReview-Commit-ID: GSDYk9wLOAM

--HG--
rename : browser/base/content/test/general/browser_bug561636.js => browser/modules/test/browser/formValidation/browser_form_validation.js
rename : browser/base/content/test/general/browser_bug595507.js => browser/modules/test/browser/formValidation/browser_validation_iframe.js
rename : browser/modules/test/browser/browser_bug1319078.js => browser/modules/test/browser/formValidation/browser_validation_invisible.js
2017-11-01 22:55:12 +01:00
Emilio Cobos Álvarez 9bd202a77c Bug 1413288: The owner of a bullet frame is the first continuation of the parent. r=xidorn
MozReview-Commit-ID: FUsdsETkV2Q

--HG--
extra : rebase_source : 9c6183e567321c9ee541a04d001dc00fbcc7e94b
2017-11-01 12:20:55 +01:00
Cameron McCormack 1e2c9293c6 Bug 1390694 - Part 1: Add ServoStyleSet function for checking document state dependencies. r=emilio
MozReview-Commit-ID: G8Ju8yHtYx6

--HG--
extra : rebase_source : 11f25c9b9b9a45144170ff9e563e52577ca8cea2
extra : source : 38302acda5cdb8a808ee80430488d83527a415ff
2017-11-01 21:20:39 +11:00
Mike Hommey 04fe451c07 Bug 1413111 - Use nsTSubstring::Split in nsCSSRuleProcessor::LangPseudoMatches instead of manually go through with FindChar. r=dbaron,njn
--HG--
extra : rebase_source : ff5fc57a3ec6ce6878789bf59524c7180d85c716
2017-11-01 10:19:56 +09:00
Emilio Cobos Álvarez 93dd48995f Bug 1412486: Update bindgen. r=xidorn
Constified enums are default now. I think I want to introduce an option to
bindgen to allow setting the default enum behavior, but it doesn't need to block
this.

The ServoBindings.toml changes are somewhat hacky, but that's because of
https://github.com/rust-lang-nursery/rust-bindgen/issues/1125.

Also, the fixups now need to account for whitespace, since quote generates stuff
like root :: nsString, and we don't rustfmt the bindings if there's no rustfmt
installed.

MozReview-Commit-ID: FZOvZnfYXj5

--HG--
extra : rebase_source : 6cda8e65315d97f394ed2441dd882b6ff955efae
2017-10-30 11:54:03 +01:00
Emilio Cobos Álvarez 62b555ba78 Bug 1412486: Make the replacement for UniquePtr not have a deleter parameter. r=xidorn
Bindgen now assumes for replaced types that all the template parameters are
used, which makes sense.

We don't use the Deleter, so let's get rid of it.

MozReview-Commit-ID: AXxRgyLorD7

--HG--
extra : rebase_source : 844691924cbe692deceeda79d031d9f95bd4f33f
2017-10-30 12:01:01 +01:00
Chris Peterson 73037a0f6a Bug 1412048 - Replace NS_RUNTIMEABORT(var) with MOZ_CRASH_UNSAFE_OOL(var). r=froydnj data-review=francois
And remove unreachable code after MOZ_CRASH_UNSAFE_OOL().

MOZ_CRASH_UNSAFE_OOL causes data collection because crash strings are annotated to crash-stats and are publicly visible. Firefox data stewards must do data review on usages of this macro. However, all the crash strings this patch collects with MOZ_CRASH_UNSAFE_OOL are already collected with NS_RUNTIMEABORT.

MozReview-Commit-ID: IHmJfuxXSqw

--HG--
extra : rebase_source : 031f30934b58a7b87f960e57179641d44aefe5c5
extra : source : fe9f638a56a53c8721eecc4273dcc074c988546e
2017-10-24 23:38:38 -07:00
Chris Peterson 1df202b177 Bug 1412048 - Replace NS_RUNTIMEABORT("...") with MOZ_CRASH("..."). r=froydnj
And remove unreachable code after MOZ_CRASH().

MozReview-Commit-ID: 6ShBtPRKYlF

--HG--
extra : rebase_source : 0fe45a59411bda663828336e2686707b550144ae
extra : source : 8473fd7333d2abe1ea1cc176510c292a5b34df45
2017-10-24 23:30:31 -07:00
Emilio Cobos Álvarez 2a6ba34bad Bug 1412252 - Only fetch mPresShell after flushing the relevant content pres shell. r=bz
MozReview-Commit-ID: BkcYtu2MsNs
2017-10-29 17:39:20 -04:00
Boris Chiou f3c859eaaa Bug 1340005 - Part 8: Remove tolerance for omta tests. r=hiro
Just notice these precision errors are fixed by our other patches (i.e.
not by this patch series). Anyway, it's time to remove the tolerance.

MozReview-Commit-ID: 2ZDoRhuVOL8

--HG--
extra : rebase_source : 585ddcc4640ef9c8f5875d586e371b101626505d
2017-10-06 17:59:02 +08:00
Boris Chiou 3788926119 Bug 1340005 - Part 6: Move AppendTransformFunction into AnimationValue struct. r=birtles
MozReview-Commit-ID: KhjKXxkllEF

--HG--
extra : rebase_source : 6f22a5f0a90f3f3d160f64c67e6fd6d04a2c1441
2017-10-17 13:11:19 +08:00
Boris Chiou 387cd4d8a1 Bug 1340005 - Part 5: Implement SampleValue for Servo backend. r=birtles
Use the new added FFI, Servo_ComposeAnimationSegment, to compose an
animation segment from Servo backend on the compositor.

MozReview-Commit-ID: LNgpCSIlDl9

--HG--
extra : rebase_source : 5b5c145fae877b4f4b01ea54259737dc9dad2951
2017-10-27 21:09:11 +02:00
Boris Chiou 0129bb4f52 Bug 1340005 - Part 4: Retrieve transform list from AnimationValue. r=birtles
MozReview-Commit-ID: 82NAOBV2rEl

--HG--
extra : rebase_source : 073ff742dcea4573febeec3b57c60b0f1f5736e2
2017-09-25 14:25:43 +08:00
Boris Chiou 743614effe Bug 1340005 - Part 3: Use AnimationValue on the compositor thread. r=birtles
MozReview-Commit-ID: CtnDLsdcr9x

--HG--
extra : rebase_source : 3d4a0f40e2f522471555c04c88474cb08e082851
2017-09-21 17:01:48 +08:00
Boris Chiou 7086921688 Bug 1340005 - Part 2: Implement AnimationValue::Transform. r=birtles
MozReview-Commit-ID: BDKcpDIM9nb

--HG--
extra : rebase_source : 43a5e7f053d746198f422487f7e19f535ccd9dc5
2017-10-27 21:06:30 +02:00
Boris Chiou 701609334e Bug 1340005 - Part 1: Implement AnimationValue::Opacity. r=birtles
We will use Servo backend on the compositor, so implement this for opacity.

MozReview-Commit-ID: BeWR2nBSbjb

--HG--
extra : rebase_source : eb5db3cf04640a83f13857984e792a949f26bcc7
2017-10-27 21:04:52 +02:00
Daniel Holbert 680815cd6e Bug 1412346 part 5: (automated patch) Switch a bunch of C++ files in layout to use our standard mode lines. r=jfkthame
This patch was generated automatically by the "modeline.py" script, available
here: https://github.com/amccreight/moz-source-tools/blob/master/modeline.py

For every file that is modified in this patch, the changes are as follows:
 (1) The patch changes the file to use the exact C++ mode lines from the
     Mozilla coding style guide, available here:
https://developer.mozilla.org/en-US/docs/Mozilla/Developer_guide/Coding_Style#Mode_Line

 (2) The patch deletes any blank lines between the mode line & the MPL
     boilerplate comment.

 (3) If the file previously had the mode lines and MPL boilerplate in a
     single contiguous C++ comment, then the patch splits them into
     separate C++ comments, to match the boilerplate in the coding style.

MozReview-Commit-ID: EuRsDue63tK

--HG--
extra : rebase_source : 3356d4b80ff6213935192e87cdbc9103fec6084c
2017-10-27 10:33:53 -07:00
Daniel Holbert a7f82bed77 Bug 1412346 part 4: Update stale MPL license boilerplate on a few files in layout. r=jfkthame
We have a fair number of files that have a particular stale version of the MPL
boilerplate.  (It was probably originally correct, and then the official
boilerplate changed, and the stale MPL boilerplate continued to propagate via
copypasting from neighboring files into newly-added files.)

This patch updates this stale MPL text (and *only* the MPL text) to the latest
version, which can be found at https://www.mozilla.org/en-US/MPL/headers/ and
https://developer.mozilla.org/en-US/docs/Mozilla/Developer_guide/Coding_Style#Mode_Line

MozReview-Commit-ID: 8WeBb8b0uRo

--HG--
extra : rebase_source : 2c3aa8d07ba23714501c9e26ad03625aeab36a7a
2017-10-27 10:09:35 -07:00
Daniel Holbert 600885496e Bug 1412346 part 2: Split mode line into its own C++ comment & own line, in a few files within layout. r=jfkthame
(This brings these lines into conformance with our standard style for mode
lines, and it's required in order for the modeline.py script to be able to
process these files.)

MozReview-Commit-ID: KqppMKF1jHv

--HG--
extra : rebase_source : 831b29574d66b66b8104f29b5b5c538241e95eba
2017-10-27 10:08:24 -07:00