Commit Graph

594732 Commits

Author SHA1 Message Date
Chris Pearce
ed8a27f065 Bug 1457048 - Ensure origins with autoplay-media exact permission can autoplay. r=bryce,johannh
Sites which are whitelisted should be allowed to autoplay audible media.
So check whether a HTMLMediaElement's owner doc's principal has an exact
"autoplay-media" permission. This ensures whitelisted origins can autoplay,
but sub-origins of whitelisted origins need their own permission.

MozReview-Commit-ID: 2IO5KIyplEa

--HG--
extra : rebase_source : 4a974aba0533bfbd5e9bb4c4c11d77d17a81db6d
2018-04-30 17:40:50 +12:00
Chris Pearce
70ec3d2f9d Bug 1457048 - Test that whitelisted origins are able to autoplay. r=bryce
MozReview-Commit-ID: 9kLIx8MzCY8

--HG--
extra : rebase_source : 32179f99a521582026ac5068c3d355dcf4713570
2018-04-30 17:40:22 +12:00
Gurzau Raul
fcba2de1c0 Merge mozilla-central to autoland. a=merge CLOSED TREE 2018-05-08 01:09:48 +03:00
Gurzau Raul
e39c283da6 Merge inbound to mozilla-central. a=merge 2018-05-08 01:07:00 +03:00
Kristen Wright
7acca4d986 Bug 1459363 - Remove unused NS_COLOR_* macros. r=erahm
These macros are no longer used.

MozReview-Commit-ID: L2MUHgQ6wft

--HG--
extra : rebase_source : 805684e2709c1fc74955db95aedda64fa01d8ba3
2018-05-07 14:31:20 -07:00
ffxbld
f30847c12e Update configs. IGNORE BROKEN CHANGESETS CLOSED TREE NO BUG a=release ba=release 2018-05-07 16:29:07 +00:00
ffxbld
28e101c284 No bug - Tagging mozilla-central 93443d36d4bd53dba004f7b73430879f96daa681 with FIREFOX_NIGHTLY_61_END a=release DONTBUILD CLOSED TREE 2018-05-07 16:27:53 +00:00
Narcis Beleuzu
323d4a4185 Backed out 3 changesets (Bug 1433968) for causing Bug 1459349. a=backout
Backed out changeset 82b765c5a02f (bug 1433968)
Backed out changeset 73ec9bb3e17e (bug 1433968)
Backed out changeset 0812ac0376da (bug 1433968)

--HG--
extra : amend_source : 2748b297418eea9b7d3c2be11a8e7e300f8d709c
extra : histedit_source : 6428453bbe80ad044661d01e5127d924fffed1a3%2Cd2e712ac6c597784343ff08f75199851c07be4e7
2018-05-07 17:06:30 +03:00
Narcis Beleuzu
f666a32b44 Backed out changeset b73e82f1a589 (bug 1425323) to re-enable test on Windows pgo/opt (whimboo`s request). a=backout 2018-05-07 16:08:20 +03:00
Narcis Beleuzu
b6d990ff21 bug 1454889 - Re-add expected fail mediacapture-streams/historical.html after backout. a=wpt-fix 2018-05-07 14:17:53 +03:00
Narcis Beleuzu
2b99556758 Backed out changeset 0c5a4939300c (bug 1454889) for causing frequent Leaks (Bug 1378025). a=backout 2018-05-07 12:06:25 +03:00
Narcis Beleuzu
f76ef214fb Merge inbound to mozilla-central. a=merge 2018-05-07 11:55:22 +03:00
Petru Lingurar
90629f0c51 Bug 1318046 - Allow inputting years for "date" and "datetime" html input types; r=mcomella
For "date" I switched to using platform's DatePicker in place of our custom DateTimePicker, change that will also ensure future feature compatibility.
For "datetime" and "datetime-local" I've kept using our DateTimePicker but which will now offer spinners for selecting all fields.

MozReview-Commit-ID: 2oOORFH6OJ6

--HG--
extra : rebase_source : 0676f95e8e676c06524628d138a784e7b7290df5
2018-05-04 15:03:03 +03:00
Petru Lingurar
65040de93b Bug 1459632 - Update Notifications settings summary; r=mcomella
MozReview-Commit-ID: 4CqGnyx9qt1

--HG--
extra : rebase_source : 265a18d4ab192706c60f9c8b3a66cf7ce359fa9c
2018-05-07 18:11:48 +03:00
Jason
1acb88189f Bug 1369049 - Moved code that checks for big pings after the ping is compressed. Had to update test_discardBigPings to send a 4MB ping due to the ping being compressed; r=chutten
MozReview-Commit-ID: DlCyF8BKL5Q

--HG--
extra : rebase_source : ce46b6150547f82517d55ad278e7bd54d9ae63d8
2018-05-04 20:26:31 -04:00
Alexis Beingessner
239a528013 Bug 1435094 - wire up GlyphRasterSpace to nsDisplayTransform. r=kats,mstange
When a transform thinks it's animated we should abandon screen rasterization
and instead favour local rasterization. This produces a more visually
pleasant rendering, as pixel-snapping "wobbles" the text between
frames.

The float scale of GlyphRasterSpace::Local is currently unused, but this
PR tries its best to set it to a reasonable value, based on discussion
with glennw about the intended semantics. We agreed it should specify
the scale *relative* to the parent stacking context, which means it's
just whatever scaling the stacking context's transform applies. It's
possible we'll need to clamp this value or make it properly 2-dimensional
later on.

Some book-keeping is added to StackingContextHelper to ensure that
GlyphRasterSpace::Screen is never requested by a descendent
of a stacking context using GlyphRasterSpace::Local.

nsDisplayMask is changed to use a StackingContextHelper to ensure
rasterSpace is properly propagated.

In addition, this is the first commit making use of cbindgen's new support
for bridging Rust enums natively into C++! This bumps our minimum cbindgen
to 6.0.0 (just released).

MozReview-Commit-ID: 9AlsB6nUheB

--HG--
extra : rebase_source : 247e5b197e998682cb4bb74f6f9319a9a4dd3264
2018-05-03 20:38:37 -04:00
Mihai Tabara
b0de0153b7 Bug 1446815 - cleanup in naming beetmover source checksums for consistency. r=tomprince
--HG--
rename : taskcluster/ci/beetmover-release-source-checksums/kind.yml => taskcluster/ci/release-beetmover-source-checksums/kind.yml
extra : rebase_source : 46fad2100b374cd281db315472b0398a955211dc
extra : source : 7b33e1765372bb178a33e67a3a161d102c536906
2018-05-03 19:51:20 +03:00
Emilio Cobos Álvarez
d6f7b1d2f5 Bug 1459497: Refactor the preferred style set stuff in order to move the state away from the loader. r=heycam
The main thing to have into account is that the styleset to use is either
mLastStyleSheetSet, or mPreferredStyleSheetSet.

This last one gets set from Loader::IsAlternateSheet, which is quite nasty and
what I'm trying to remove.

MozReview-Commit-ID: BI4P1Chqtli
2018-05-07 03:55:36 +02:00
Constantine Filin
ce614f2cb3 Bug 1428434: Using Framework methods instead of DBUtils for concatenateWhere/appendSelectionArgs r=JanH
MozReview-Commit-ID: JF3Wsx9IYfs

--HG--
extra : rebase_source : 9826b6b17f09fdb303bd9d17f044c73ab80b95d6
2018-05-01 18:00:15 -07:00
Henrik Skupin
666cfd2969 Bug 1414776 - [fxui] Reset security.mixed_content.upgrade_display_content preference for mixed content test. r=maja_zf
This regressed by bug 1435733 which didn't clear the pref in tearDown of the test, causing
following tests to still have this preference set.

MozReview-Commit-ID: n9conybbQz

--HG--
extra : rebase_source : fe0dfc7c785c18935035c7320a991edc04f3caae
2018-05-03 15:50:43 +02:00
Paolo Amadini
a25afcb621 Bug 1446800 - Bookmarks menu items have small padding between icon and text. r=Standard8
MozReview-Commit-ID: 8WwPu2nSMRO

--HG--
extra : rebase_source : 8bfd9804776909a9de08ddc6b07fbb1bf1786cce
2018-04-30 14:06:04 +01:00
Paolo Amadini
fda23bd6c7 Bug 1457027 - Part 8 - Add a HandlerListItem class. r=jaws
MozReview-Commit-ID: 2ohtRX1w0D3

--HG--
extra : rebase_source : 380cb9eb707998db595cbf6d9bc1a75f09d01749
2018-05-04 15:57:43 +01:00
Paolo Amadini
2be8193d10 Bug 1457027 - Part 7 - Move action icon getters to HandlerInfoWrapper. r=jaws
MozReview-Commit-ID: 9wRCqdtIqiG

--HG--
extra : rebase_source : dd979e5308f6ec9f24c442559675eb9a46573d27
2018-05-04 15:07:41 +01:00
Paolo Amadini
b3603ca86e Bug 1457027 - Part 6 - Move _describePreferredAction to HandlerInfoWrapper. r=jaws
MozReview-Commit-ID: 8b0H6g9qawF

--HG--
extra : rebase_source : 963603b730c4336d285989b60e76c78b0d1a122f
2018-05-04 14:39:18 +01:00
Paolo Amadini
0076ed20af Bug 1457027 - Part 5 - Move _describeType to HandlerInfoWrapper. r=jaws
MozReview-Commit-ID: NjmxPwLngc

--HG--
extra : rebase_source : 597e6eb0aa0c03626e5ca3b30735143ddcecb527
2018-05-04 14:17:50 +01:00
Paolo Amadini
b9c14b465a Bug 1457027 - Part 4 - Use class syntax for the HandlerInfoWrapper hierarchy. r=jaws
This also does some minor clean up of declarations and code comments.

MozReview-Commit-ID: 31uRma7NDl8

--HG--
extra : rebase_source : 5a71c0fac5783716db5b41119b25213011895883
2018-05-07 09:33:36 +01:00
Paolo Amadini
94a843745e Bug 1457027 - Part 3 - Unify references to bundlePreferences. r=jaws
MozReview-Commit-ID: G2kfPdCyaXx

--HG--
extra : rebase_source : 09208c3d31567371b33acd437fded8fdc7a6c18a
2018-05-04 14:10:10 +01:00
Paolo Amadini
004746ef07 Bug 1457027 - Part 2 - Define services using defineLazyServiceGetters. r=jaws
MozReview-Commit-ID: J33LwkbMhS1

--HG--
extra : rebase_source : 66677a25052b87d9f86f7f47bba268a0fe33a53e
2018-05-03 14:39:42 +01:00
Paolo Amadini
ab31ef697a Bug 1457027 - Part 1 - Don't persist the last selected handler. r=jaws
We plan to remove XUL persistence eventually, and this is a special case that uses the feature with an unusual attribute. This change also prevents pitfalls with getElementsByAttribute when the richlistitem descendants are made non-anonymous.

Some unneeded attributes in both the handlers and the containers richlistbox items are also cleaned up.

MozReview-Commit-ID: C05ArQGZb95

--HG--
extra : rebase_source : c5cd38498badaed8a5b8042aa906f4fbb89e47d9
2018-04-30 11:11:48 +01:00
Jeff Walden
8c0a4864c7 Bug 1458011 - Remove the TypedObject.storage function and |new TypedObject(buffer [, offset])| constructor overload because they're no longer planned to be part of standardization efforts in this area. r=sfink
--HG--
extra : rebase_source : cbeb0e62928d03c2ef06d2465168ccde4840638f
2018-04-19 11:47:55 +02:00
Jeff Walden
2690d2331a Bug 1457612 - Use BitwiseCast instead of direct bit-punning in jsdate.cpp:NowAsMillis. r=luke
--HG--
extra : rebase_source : 34fc0e7a08eaf3a971ed11984b2a979c7b8f39a5
2018-04-27 18:25:42 -07:00
Emilio Cobos Álvarez
14dba54ee1 Bug 1459401: Remove unused container argument in EventStateManager::ContentRemoved. r=smaug
MozReview-Commit-ID: HAuTfzuo3iY
2018-05-06 16:38:30 +02:00
Andreea Pavel
f82dcc78e2 Bug 1454123 - disabled browser_webconsole_split.js on Win !debug for frequent failures r=jmaher 2018-05-06 04:00:00 +03:00
Andreea Pavel
c39d5dafe5 Merge mozilla-central to mozilla-inbound. a=merge on a CLOSED TREE 2018-05-06 11:43:50 +03:00
Andreea Pavel
b28b94dc81 Merge mozilla-inbound to mozilla-central. a=merge 2018-05-06 11:41:19 +03:00
Andrea Marchesini
183a361d75 Bug 1450302 - nsInputStreamPump should interrupt the reading of the inputStream when suspended, r=michal 2018-05-05 22:58:43 +02:00
Mats Palmgren
7db87acde1 Bug 1452383 part 2 - [css-grid] Remove local enum LineRangeSide and use LogicalSide instead (idempotent patch). r=dholbert 2018-05-05 22:21:17 +02:00
Mats Palmgren
f9c9cf6df6 Bug 1452383 part 1 - [css-grid] Use LogicalAxis instead of passing member pointers (idempotent patch). r=dholbert 2018-05-05 22:21:17 +02:00
Mats Palmgren
d3994e050d Bug 1452368 part 2 - [css-grid] Adjust reftests. 2018-05-05 22:21:17 +02:00
Mats Palmgren
3518ef2a3e Bug 1452368 part 1 - [css-grid] Fix off-by-1 calculation in line clamping limit for auto-placed items. r=dholbert 2018-05-05 22:21:17 +02:00
Emilio Cobos Álvarez
0baa408319 Bug 1459436: Remove a useless unit test that no longer compiles. r=emilio
We have WPT and integration tests for the functionality in mozilla-central.

MozReview-Commit-ID: L0vdF3tfT83
2018-05-05 18:07:56 +02:00
Emilio Cobos Álvarez
71a7af886c Bug 1459436: Remove some unneeded cfg(..). r=emilio
The less not-compiled code in common builds, the better for everybody.

MozReview-Commit-ID: 3JQfz6AYhPG
2018-05-05 18:07:46 +02:00
Emilio Cobos Álvarez
d6f79cd48e Bug 1459436: Implement Debug for KeyframeAnimationStyle by hand. r=emilio
The ComputedValues format is huge and unneeded.

Signed-off-by: Emilio Cobos Álvarez <emilio@crisal.io>

MozReview-Commit-ID: 44OuCMWJPLk
2018-05-05 18:07:37 +02:00
Emilio Cobos Álvarez
6ee6a58a0f Bug 1459436: Fix servo build. r=emilio
MozReview-Commit-ID: Ex5RKgPgd8x
2018-05-05 18:07:28 +02:00
Emilio Cobos Álvarez
68affa51a4 Bug 1459436: Fix tidy issues. r=emilio
MozReview-Commit-ID: KXInHzAiiD8
2018-05-05 18:07:18 +02:00
Emilio Cobos Álvarez
73331875c7 Bug 1458814: followup: remove some unused imports. r=me
MozReview-Commit-ID: KMmH0ATu5Df
2018-05-05 17:55:52 +02:00
Emilio Cobos Álvarez
708fb42af1 Bug 1458814: Mark some tests as failing with webrender. r=jrmuizel
The patches in this bug makes layout get more accurate values. That apparently
is confusing WebRender, which renders one more pixel height in some of the
rectangles.

I have no idea why and I couldn't repro out of the reftest harness. I suspect
something something blob invalidation, but...

MozReview-Commit-ID: A2slTJLfJBx
2018-05-05 16:31:22 +02:00
Emilio Cobos Álvarez
27ca8b58c8 Bug 1458814: Remove code that is no longer called. r=hiro
Au revoir!

MozReview-Commit-ID: DjqszUSIzXs
2018-05-05 16:31:20 +02:00
Emilio Cobos Álvarez
ceca84ff64 Bug 1458814: Remove a bit of trivially dead code. r=hiro
MozReview-Commit-ID: GG41v4TejBU
2018-05-05 16:31:19 +02:00
Emilio Cobos Álvarez
42062c43db Bug 1458814: Remove unused AnimationValue::mGecko. r=hiro
MozReview-Commit-ID: I0TJsSQYe5t
2018-05-05 16:31:18 +02:00