Commit Graph

614053 Commits

Author SHA1 Message Date
Andrew McCreight
93b3b0138c Bug 1485040, part 5 - Automatically fix mode lines in WebIDL files r=qdot
This patch was generated by my modeline.py script.

MozReview-Commit-ID: EbVjPLwiUAT

Depends on D4159

Differential Revision: https://phabricator.services.mozilla.com/D4161

--HG--
extra : moz-landing-system : lando
2018-09-13 19:30:51 +00:00
Andrew McCreight
a67f84df8d Bug 1485040, part 4 - Add mode lines, but not the MPL, to some test files r=qdot
MozReview-Commit-ID: 8X4XDj3JOpe

Depends on D4158

Differential Revision: https://phabricator.services.mozilla.com/D4159

--HG--
extra : moz-landing-system : lando
2018-09-13 19:30:49 +00:00
Andrew McCreight
32a20c7f30 Bug 1485040, part 3 - Add missing modeline/licenses to WebIDL files r=qdot
MozReview-Commit-ID: JVgOCbO2nn6

Depends on D4157

Differential Revision: https://phabricator.services.mozilla.com/D4158

--HG--
extra : moz-landing-system : lando
2018-09-13 19:30:47 +00:00
Andrew McCreight
0a60d2df38 Bug 1485040, part 2 - Fix indentation in some WebIDL files r=qdot
MozReview-Commit-ID: DYMdVo1tO6a

Depends on D4156

Differential Revision: https://phabricator.services.mozilla.com/D4157

--HG--
extra : moz-landing-system : lando
2018-09-13 19:30:45 +00:00
Andrew McCreight
a1594361bd Bug 1485040, part 1 - Switch line endings from DOS to Unix in WebIDL files r=qdot
MozReview-Commit-ID: 92KAIEErO51

Differential Revision: https://phabricator.services.mozilla.com/D4156

--HG--
extra : moz-landing-system : lando
2018-09-13 19:30:42 +00:00
Andrew McCreight
70fe7daafb Bug 1489690, part 4 - Fix some misc. issues with the XUL sort service r=bzbarsky
Depends on D5593

Differential Revision: https://phabricator.services.mozilla.com/D5616

--HG--
extra : moz-landing-system : lando
2018-09-13 18:37:50 +00:00
Andrew McCreight
c7b30c67ec Bug 1489690, part 3 - De-COM the XUL sort service r=bzbarsky
There's only one method that is used, and we never need to create any
instances of the object, so turn it into a single method.

Depends on D5592

Differential Revision: https://phabricator.services.mozilla.com/D5593

--HG--
extra : moz-landing-system : lando
2018-09-13 18:37:48 +00:00
Andrew McCreight
4db3f10eaa Bug 1489690, part 2 - Move everything not in the nsI interface into the cpp file r=bzbarsky
There's no state on the object, so all of the methods can be turned
into static methods in the CPP files. I leave the one public method,
Sort, alone for simplicity. The internal data structure definitions
also don't need to be publicly exposed.

This patch is a bit messy because I had to rearrange methods so they
were defined before they were used. This makes the resulting code a
little nicer (as compared to forward declaring methods), but makes the
VCS history worse.

Depends on D5591

Differential Revision: https://phabricator.services.mozilla.com/D5592

--HG--
extra : moz-landing-system : lando
2018-09-13 18:37:46 +00:00
Andrew McCreight
4a93f15458 Bug 1489690, part 1 - Remove the registration for the sort service r=bzbarsky
This is only used in a single place, so having a service for it is overkill.

Differential Revision: https://phabricator.services.mozilla.com/D5591

--HG--
extra : moz-landing-system : lando
2018-09-13 18:37:44 +00:00
Xidorn Quan
2629806922 Bug 1490539 part 3 - Put CallerType into FullscreenRequest. r=smaug
Depends on D5640

Differential Revision: https://phabricator.services.mozilla.com/D5641

--HG--
extra : moz-landing-system : lando
2018-09-12 19:28:53 +00:00
Xidorn Quan
b75f5a16d1 Bug 1490539 part 2 - Remove unnecessary && from UniquePtr<FullscreenRequest>. r=smaug
We only do unconditional move for FullscreenRequest, so the &&s are
pointless, based on guidance of UniquePtr.

Depends on D5639

Differential Revision: https://phabricator.services.mozilla.com/D5640

--HG--
extra : moz-landing-system : lando
2018-09-12 19:26:01 +00:00
Xidorn Quan
30703bafcb Bug 1490539 part 1 - Change FullScreen to Fullscreen in various names. r=smaug
Some methods on Window are not changed because they are part of public
interface. Method names from widget are also unchanged.

Many "full-screen" in comments are also updated to "fullscreen" instead.

Differential Revision: https://phabricator.services.mozilla.com/D5639

--HG--
extra : moz-landing-system : lando
2018-09-12 15:51:30 +00:00
Dorel Luca
70d09db423 Backed out changeset fddb4d2af447 (bug 1488296) for browser-chrome failures on browser/components/originattributes/test/browser/browser_favicon_userContextId.js 2018-09-13 01:51:59 +03:00
Brad Werth
79b8525535 Bug 1290420 Part 4: Make the PresShell create a MobileViewportManager on demand. r=botond,smaug
Depends on D3376

Differential Revision: https://phabricator.services.mozilla.com/D3377

--HG--
extra : moz-landing-system : lando
2018-09-12 22:39:38 +00:00
Nicolas Chevobbe
6f847f695a Bug 1490027 - Fix Network info panel layout in the console; r=Honza.
The overflow we are applying was impacting the layout of the
panel which is visible when a request is expanded.

Differential Revision: https://phabricator.services.mozilla.com/D5434

--HG--
extra : moz-landing-system : lando
2018-09-12 12:24:25 +00:00
Daniel Varga
4586158b9a Merge mozilla-central to autoland 2018-09-13 05:47:04 +03:00
Dorel Luca
414cf3c6d3 Backed out changeset a7c42fbaa18e (bug 1490549) for build bustage 2018-09-13 05:24:27 +03:00
Mike Hommey
52fab87d05 Bug 1490549 - Make configure choose clang by default on all platforms r=froydnj
Now that we ship builds using clang on all platforms, pick it during
configure. It is still possible to opt-in to building other compilers by
setting CC/CXX (or even only CC) to the desired compiler.

Differential Revision: https://phabricator.services.mozilla.com/D5637

--HG--
extra : moz-landing-system : lando
2018-09-12 15:27:26 +00:00
Chris Peterson
735929bed7 Bug 1490575 - wpt: Remove Mulet check from reftest annotation regex. r=dbaron
Remove `;s/ # Initial mulet triage:.*//` from the sed script because no reftests still have "Initial mulet triage" annotations.

Mulet was a Firefox OS simulator that is no longer supported: https://wiki.mozilla.org/Mulet

URL to this script in the wpt repo:

https://github.com/web-platform-tests/wpt/blob/master/css/vendor-imports/mozilla/mozilla-central-reftests/sync-tests.sh

Differential Revision: https://phabricator.services.mozilla.com/D5737

--HG--
extra : rebase_source : 129f67b1bfda546c8807e54280e1500a2b60b0bb
extra : source : eb14a06fd2272e704757acb1f1c0fa4810dd9f0c
2018-09-11 23:11:36 -07:00
Chris Peterson
77fbb409c9 Bug 1490575 - netwerk: Remove #ifdef MOZ_MULET. r=dragana
Mulet was a Firefox OS simulator that is no longer supported: https://wiki.mozilla.org/Mulet

Differential Revision: https://phabricator.services.mozilla.com/D5736

--HG--
extra : rebase_source : e6dd0146f4564e4ea8aa1ce4eaa78e1cfeb421b2
extra : source : 9e3cd534394c0e08ad8fdaa46ac7559a66a09a6b
2018-09-11 23:09:09 -07:00
Chris Peterson
e58c4d5a41 Bug 1490575 - Remove Mulet comments from build files. r=froydnj
Mulet was a Firefox OS simulator that is no longer supported: https://wiki.mozilla.org/Mulet

Differential Revision: https://phabricator.services.mozilla.com/D5735

--HG--
extra : rebase_source : d077c88b8446d0491b4af0dfe2198c4b980fa279
extra : source : 41301ab98bd094235b6995b18bcaa521f221c5f1
2018-09-11 23:07:32 -07:00
Chris Peterson
da01f965e0 Bug 1490575 - Remove MOZ_MULET checks from build files. r=froydnj
Mulet was a Firefox OS simulator that is no longer supported: https://wiki.mozilla.org/Mulet

Differential Revision: https://phabricator.services.mozilla.com/D5734

--HG--
extra : rebase_source : 5d6c8563fe7f5b3bafa9a17d1057eb3a3db6e241
extra : source : f7c8de6bc4a978421f49e43b951188597086874b
2018-09-11 23:16:36 -07:00
Noemi Erli
9aeeb8fc28 Merge mozilla-central to inbound. a=merge CLOSED TREE 2018-09-14 06:47:16 +03:00
Nils Ohlmeier [:drno]
659b46f11a Bug 1488316: blacklist webrtc debug log prefs from troubleshooting. r=ng
Differential Revision: https://phabricator.services.mozilla.com/D5638

--HG--
extra : moz-landing-system : lando
2018-09-12 05:10:16 +00:00
Tooru Fujisawa
553ac9f61d Bug 1479659 - Part 11: Fix remaining ParseNode* in FullParseHandler methods signature. r=jwalden 2018-09-12 13:27:01 +09:00
Tooru Fujisawa
4dc8aa3ef5 Bug 1479659 - Part 10: Remove magic number for the string length in NameNode::dump. r=jwalden 2018-09-13 11:00:41 +09:00
Tooru Fujisawa
1dd95b128a Bug 1479659 - Part 9: Change NameNode::expression to NameNode::initializer and handle LabeledStatement properly. r=jwalden 2018-09-12 13:26:47 +09:00
Tooru Fujisawa
8619e5ab4c Bug 1479659 - Part 8: Add TryNode. r=jwalden 2018-09-12 13:26:37 +09:00
Tooru Fujisawa
babdf6d3b5 Bug 1479659 - Part 7: Add accessors to LexicalScopeNode. r=jwalden 2018-09-12 13:26:32 +09:00
Tooru Fujisawa
7793683fdc Bug 1479659 - Part 6: Add accessors to NullaryNode and change LoopControlStatement arity to PN_LOOP. r=jwalden 2018-09-12 13:26:27 +09:00
Tooru Fujisawa
5019874155 Bug 1479659 - Part 5: Add accessors to NameNode, CodeNode, RegExpLiteral, and add NumericLiteral. r=jwalden 2018-09-12 13:26:22 +09:00
Tooru Fujisawa
83679117c2 Bug 1479659 - Part 4: Add accessors to UnaryNode and subclasses. r=jwalden 2018-09-12 13:26:17 +09:00
Tooru Fujisawa
489a176bf2 Bug 1479659 - Part 3: Add accessors to BinaryNode and subclasses. r=jwalden 2018-09-12 13:26:12 +09:00
Tooru Fujisawa
74c7e7a968 Bug 1479659 - Part 2: Add accessors to TernaryNode. r=jwalden 2018-09-12 13:26:07 +09:00
Tooru Fujisawa
6eb57c7835 Bug 1479659 - Part 1: Add accessors to ListNode. r=jwalden 2018-09-12 13:26:02 +09:00
Tooru Fujisawa
5e096087cf Bug 1479659 - Part 0: Fix return value of MUST_MATCH_TOKEN* macros in Parser methods which returns bool. r=jwalden 2018-09-12 13:25:35 +09:00
Jeff Muizelaar
352d476720 Bug 1490640. Mark intermittent tests as random. 2018-09-12 21:58:57 -04:00
Jeff Muizelaar
ac808d8aae Bug 1490640. Update webrender to 70edb5f8a75ea1e1440ba7984cc42df9eb05ae69 2018-09-12 17:20:35 -04:00
Coroiu Cristina
a3d415bcdc Backed out changeset 1f1273ca1ad7 (bug 1490640) for reftest failures at reftests/w3c-css/submitted/images3/object-position-svg-001e.html 2018-09-13 03:48:02 +03:00
Nicholas Nethercote
73e2b20c61 Bug 1490858 - Reorder nsISHEntry. r=nika
nsISHEntry's attributes and methods are thoroughly mixed. This patch separates
them, making it easier to understand.

--HG--
extra : rebase_source : 8a7822b5289fbb67e74dfa3cb42aa31206ee0e16
2018-09-12 13:20:14 +10:00
Nicholas Nethercote
eb5daf71af Bug 1490858 - Simplify some nsISHEntry attributes. r=nika
Both nsISHEntry.URI and nsISHEntry isSubFrame are readonly, but also have a
setter. This is silly, so this patch removes the setter and makes them
modifiable.

The patch also renames nsISHEntry.setAsHistoryLoad() as setLoadTypeAsHistory(),
which makes it clearer that it modifies the loadType attribute.

--HG--
extra : rebase_source : 7772e2c1d90d4fd9f462f20c777d6eacc65801c5
2018-09-12 12:54:11 +10:00
Nicholas Nethercote
f659c0df65 Bug 1490858 - Streamline nsISHEntry a little more. r=nika
By marking some C++-only nsISHistory methods as [noscript] or [noscript,
notxpcom].

--HG--
extra : rebase_source : 1216e755a227fd13f01057afd71ea082a2a79ad7
2018-09-12 11:59:06 +10:00
Michael Cooper
e9487b11c9 Bug 1447499 - Simplify about:studies code r=Gijs
Differential Revision: https://phabricator.services.mozilla.com/D5480

--HG--
extra : moz-landing-system : lando
2018-09-11 23:48:58 +00:00
Shane Caraveo
222014aa9f Bug 1488055 - followup fix to enable the click handler actor in sidebar, r=mconley
Depends on D5196

Differential Revision: https://phabricator.services.mozilla.com/D5780

--HG--
extra : moz-landing-system : lando
2018-09-13 17:00:47 +00:00
alwu
96bbc1cbf8 Bug 1490074 - add Telemetry to know how long the AudioContext become audible since it was created. r=padenot,francois
I want to know how many sites will have that scenario which is to create AudioContext in advance and produces sound later (ex. when user click the page or certain button).

I will add a Telemetry probe to meausure how long the AudioContext would become audible since it was created.

Differential Revision: https://phabricator.services.mozilla.com/D5453

--HG--
extra : moz-landing-system : lando
2018-09-13 16:58:05 +00:00
Andreea Pavel
c5abbc4085 Backed out changeset d965284aca14 (bug 1477046) for failing toolkit/components/url-classifier/tests/mochitest/test_fastblock_bug1477046.htm 2018-09-13 19:31:32 +03:00
Bryce Van Dyk
bedc01c77a Bug 1487811 - P4: Implement CDM10 -> CDM9 compat layer. r=cpearce
Implement a compatibility layer so that we can expose a CDM10 interface while
still using CDM9. Notably, this layer checks to make sure the new encryption
scheme introduced with CDM10 is not used with CDM9.

Depends on D5630

Differential Revision: https://phabricator.services.mozilla.com/D5631

--HG--
extra : moz-landing-system : lando
2018-09-13 15:11:17 +00:00
Bryce Van Dyk
ebabdad8ee Bug 1487811 - P3: Add CDM10 functions to IPDL. r=cpearce
The CDM10 interface makes 2 notable changes here:
1) Instead of the binary choice between unencrypted and encrypted (which assumed
cenc encryption), the interface now allows for specification of encryption used.
Practically this means we will eventually need to support choosing between not
encrypted, cenc, or cbcs.
2) The interface adds a bool for hardware secure codecs for use when
initializing the CDM.

This changeset adjusts the IPDL for the CDM to accommodate these changes. The
changes are also supported in surrounding code, but are not fully plumbed to
either the web, or the CDM.

Fully supporting new encryption schemes and hardware secure codecs will require
further work which is beyond the scope of this bug.

Some formatting drive bys so new formatting and old formatting both match
expected formatting by clang-format.

Depends on D5629

Differential Revision: https://phabricator.services.mozilla.com/D5630

--HG--
extra : moz-landing-system : lando
2018-09-13 14:49:45 +00:00
Bryce Van Dyk
0a25798c4e Bug 1487811 - P2 Remove CDM8 interface specific IPDL. r=cpearce
Remove members only used by CDM8 from the IPDL and remove code that depended on
the removed IPDL. Rename various instances of 'error' to 'exception' as from
CDM9 'exception' is used exclusively to refer to promise failure states.

Depends on D5628

Differential Revision: https://phabricator.services.mozilla.com/D5629

--HG--
extra : moz-landing-system : lando
2018-09-13 14:49:27 +00:00
Bryce Van Dyk
413ba3feef Bug 1487811 - P1: Update Widevine headers and C++ code to prepare for CDM interface 10 support. r=cpearce
Update content_decryption_module.h and other Widevine headers. This removes the
CDM8 interface and adds in the CDM10 and CDM11 interfaces. As such this patch
removes references to CDM8 from the code and adds some of the foundations for
supporting CDM10. Most of the CDM10 code will be implemented in another bug, but
there are a number of cases where it was straight forward to shuffle CDM8+9 code
-> CDM9+10, rather than deleting it and replacing it later.

Differential Revision: https://phabricator.services.mozilla.com/D5628

--HG--
extra : moz-landing-system : lando
2018-09-13 14:49:10 +00:00