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

78107 Коммитов

Автор SHA1 Сообщение Дата
Boris Zbarsky bf4550903b Bug 1499150. Add some more ClearDocumentDependentSlots crash instrumentation. r=mccr8 2018-10-15 14:40:14 -04:00
Boris Zbarsky 6071f7bc07 Bug 1497301 part 4. Simplify Location::CheckURL. r=bholley
The main change is to just use the principal bindings pass us to do our
CheckLoadURI check.  If we do that, we don't have to care about the current
JSContext.
2018-10-12 11:07:18 -04:00
Boris Zbarsky 25cfd38b8f Bug 1497301 part 3. Change a bunch of Location function signatures to take an ErrorResult. r=bholley
This way we can propagate errors out usefully.
2018-10-15 14:17:48 -04:00
Andrea Marchesini dac2a19947 Bug 1495862 - Ensure FeaturePolicy creation in the document, r=ckerschb 2018-10-15 12:00:23 +02:00
Diego Pino Garcia 4bc161d542 Bug 734063 - Remove the multicol element from nsContentUtils::IsHTMLBlock r=hsivonen 2018-10-12 12:59:00 +03:00
Dorel Luca dc27a8d444 Merge mozilla-central to mozilla-inbound 2018-10-15 12:54:56 +03:00
Andreas Farre c9272ef398 Bug 1437064 - Remove tracking timeouts list from TimeoutManager. r=chutten,Ehsan
Differential Revision: https://phabricator.services.mozilla.com/D7878

--HG--
extra : moz-landing-system : lando
2018-10-12 18:01:19 +00:00
Csoregi Natalia 50a1f611cf Merge mozilla-central to autoland. CLOSED TREE 2018-10-15 07:55:05 +03:00
Csoregi Natalia adeba320b0 Merge inbound to mozilla-central. a=merge 2018-10-15 07:53:34 +03:00
Jean-Yves Avenard 8ef35e13b5 Bug 1498788 - Adjust width and height so they are never bigger than source or destination. r=mattwoodrow
Why we would need this is unclear however. the destination texture should always be smaller than what comes out of the decoder.

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

--HG--
extra : moz-landing-system : lando
2018-10-14 19:01:01 +00:00
Gurzau Raul 21b5725e3c Merge inbound to mozilla-central. a=merge 2018-10-15 01:18:18 +03:00
Mats Palmgren faeddacfac Bug 1494745 part 5 - Don't check the result from ns[Auto]TObserverArray insertions since they're infallible. r=bz 2018-10-14 18:12:23 +02:00
Mats Palmgren e608cdac05 Bug 1494745 part 4 - Make Loader::AddObserver void since it's infallible. r=bz
mObservers is a nsTObserverArray which is infallible, so no need to
check the return value from AppendElementUnlessExists
(which a later patch in this series will remove).
2018-10-14 18:12:23 +02:00
Mats Palmgren 83361ab4ba Bug 1494745 part 2 - Make nsRefreshDriver::AddRefreshObserver void since it's infallible. r=bz
nsRefreshDriver::ObserverArray is a nsTObserverArray which is
infallible, so no need to check the return value from AppendElement
(which a later patch in this series will remove).
2018-10-14 18:12:22 +02:00
Narcis Beleuzu a2990eb898 Backed out 7 changesets (bug 1431441) as per haik`s request.
Backed out changeset 1dfdc7ba998d (bug 1431441)
Backed out changeset fb1a4ddbf9bf (bug 1431441)
Backed out changeset b59b1651fc15 (bug 1431441)
Backed out changeset 1e2bb579b824 (bug 1431441)
Backed out changeset 2a635530dfa3 (bug 1431441)
Backed out changeset 262da0be2fed (bug 1431441)
Backed out changeset b9cfda58fed3 (bug 1431441)

--HG--
extra : rebase_source : 7baf60c49683b419c0603979b0dff3befb2fbaf0
2018-10-14 18:20:01 +03:00
Ciure Andrei 26b40a4469 Merge inbound to mozilla-central. a=merge 2018-10-13 12:36:04 +03:00
Jeff Gilbert da38782e5c No bug - Fix compiler warnings on Windows. 2018-10-12 21:44:11 -07:00
Jeff Gilbert ad715ffdbd No bug - Replace tabs with spaces, strip EOL whitespace. 2018-10-12 21:44:09 -07:00
Karl Tomlinson fb511e7d71 Bug 1497751 update driver state before handing control to another thread r=achronop
Differential Revision: https://phabricator.services.mozilla.com/D8180

--HG--
extra : rebase_source : 28d6f37a225f5ca9a4f7edb2323497b59dd806a7
extra : amend_source : 2e1d83177eba552a95b651f13bc452cb39f5f97e
2018-10-13 12:45:18 +13:00
Diego Pino Garcia f56ddbca98 Bug 1339675 - Move TimingParams in call to SetSpecifiedTiming r=boris
--HG--
extra : histedit_source : 4d411a2a717ef0f0cd1c1b8cc4387bb3d52775d1
2018-10-12 11:28:00 +03:00
Emilio Cobos Álvarez 40b1e83d81 Bug 1498734 - Always compute angle values to degrees. r=xidorn
This matches the spec, https://drafts.csswg.org/css-values/#angles, which says:

> All <angle> units are compatible, and deg is their canonical unit.

And https://drafts.csswg.org/css-values/#compat, which says:

>When serializing computed values [...], compatible units [...] are converted into a single canonical unit.

And also other implementations (Blink always serializes angles as degrees in
computed style for example).

Also allows us to get rid of quite a bit of code, and makes computed angle value
representation just a number, which is nice.

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

--HG--
extra : moz-landing-system : lando
2018-10-13 00:41:03 +00:00
Daosheng Mu 48b9444a7c Bug 1476091 - Enable WebVR in release on macOS. r=qdot,kip
MozReview-Commit-ID: 5bmkpZDo9fz

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

--HG--
extra : moz-landing-system : lando
2018-10-12 23:25:54 +00:00
David Parks 564c9860a3 Bug 1488439: Part 2 - Patch GetFileAttributesW for appdata parent folders in sandboxed plugin process (r=bobowen,jmathies)
Flash analyzes the parents of the path to its appdata folder on Windows using GetFileAttributesW.  If it runs into an error, it makes some internal decisions that cause it to break DRM video.  Our new sandbox hardening causes GetFileAttributesW to return an error for some components of the path.  This patch alters the behavior of GetFileAttributesW so that it always reports FILE_ATTRIBUTE_DIRECTORY for any path that both 1) would otherwise return an error and 2) is an ancestor of the appdata folder.  This may not always be 100% accurate (for instance, if the folder is a reparse point) but restores video functionality.

Depends on D7532

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

--HG--
extra : moz-landing-system : lando
2018-10-12 22:36:56 +00:00
David Parks 99e17d748f Bug 1488439: Part 1 - Replace Windows temp folder in sandboxed plugin process (r=bobowen,erahm)
The sandbox blocks GetTempFileName's prior response, causing the system to end up searching a number of (inaccessible) folders to use as a replacement for the temp folder.  This patch provides a path to a new folder on the command line for the plugin process.  This new temp folder, specific to this plugin process instance, is then communicated to the system via the TEMP/TMP environment variables.  This is similar to what is done for the content process but avoids nsDirectoryService, which doesn't exist in plugin processes.

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

--HG--
extra : moz-landing-system : lando
2018-10-12 22:36:22 +00:00
alwu 710e33671f Bug 1496281 - do not create audio stream if audio has ended. r=jya
We should not init the audio steam when the audio queue is marked as finished.

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

--HG--
extra : moz-landing-system : lando
2018-10-12 22:23:40 +00:00
Jim Blandy 4c4f2bf1a3 Bug 1494195 - Back out bug 1491946, using '.fxsnapshot.gz' for memory heap snapshots. r=fitzgen 2018-10-11 15:13:47 -07:00
Sylvestre Ledru dd5741407b Bug 1498586 - Add clang-format off to avoid the reformatting of the data structures r=Ehsan
Too hard/impossible for the tool to format correctly these structs

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

--HG--
extra : moz-landing-system : lando
2018-10-12 20:48:24 +00:00
Cameron McCormack bfe5c432f4 Bug 1498755 - Part 7: Tweak a few things in ServoBindingTypes.h r=emilio
Depends on D8648

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

--HG--
extra : moz-landing-system : lando
2018-10-14 00:05:59 +00:00
Cameron McCormack cb8e3bb881 Bug 1498755 - Part 5: Split ServoCell out into a separate header, rename it, and clean it up a bit r=emilio
Depends on D8646

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

--HG--
extra : moz-landing-system : lando
2018-10-14 00:05:54 +00:00
Cameron McCormack 4842c13353 Bug 1498755 - Part 4: Clean up includes and forward declarations in Servo bindings headers r=emilio
Depends on D8645

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

--HG--
extra : moz-landing-system : lando
2018-10-14 00:05:52 +00:00
Philipp Hancke c0cf9f10eb Bug 1435789: implement relayProtocol for localcandidate stats r=smaug,ng
relayProtocol is the standardized variant of mozLocalTransport.
Spec:
  https://w3c.github.io/webrtc-stats/#dom-rtcicecandidatestats-relayprotocol

IDL:
  https://w3c.github.io/webrtc-stats/#icecandidate-dict*

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

--HG--
extra : moz-landing-system : lando
2018-10-07 07:42:48 +00:00
Jan-Ivar Bruaroey 9dde5f9fd5 Bug 1498237 - Clean up identity/test_fingerprints.html to use standard test environment in ../pc.js and async/await. r=fippo
Differential Revision: https://phabricator.services.mozilla.com/D8660

--HG--
extra : moz-landing-system : lando
2018-10-13 16:39:28 +00:00
Daniel Varga 9e234e00ff Merge mozilla-central to mozilla-inbound. a=merge on a CLOSED TREE 2018-10-13 00:55:54 +03:00
Cosmin Sabou edbc4c6715 Merge mozilla-central to autoland. a=merge CLOSED TREE
--HG--
extra : amend_source : 85893d4f90b3faf7e1cc6b214501c41a9837bd96
2018-10-12 20:35:52 +03:00
Jan-Ivar Bruaroey 7d40419bc8 Bug 1497390 - Remove support for legacy mozAutoGainControl and mozNoiseSuppression constraints. r=bzbarsky,achronop a=reland
Differential Revision: https://phabricator.services.mozilla.com/D8053

--HG--
extra : amend_source : 99bbce10577ac5fb2c32a869d74e52b0f4f02142
2018-10-12 20:25:07 +03:00
Csoregi Natalia 3f52bdba74 Merge inbound to mozilla-central. a=merge 2018-10-12 19:56:32 +03:00
Csoregi Natalia 86dc471972 Merge autoland to mozilla-central. a=merge 2018-10-12 19:55:37 +03:00
Sebastian Hengst b219f1c732 Backed out changeset 419218259bc1 (Bug 1497390) for frequently failing mda's dom/media/tests/mochitest/identity/test_fingerprints.html (bug 1498326). a=backout 2018-10-12 19:50:42 +03:00
Csoregi Natalia 28fe656de6 Merge inbound to mozilla-central. a=merge 2018-10-12 13:14:37 +03:00
Andreas Pehrson f5f6f6fdb4 Bug 1377146 - Remove AudioStreamTrack and VideoStreamTrack from js. r=jib,smaug
Differential Revision: https://phabricator.services.mozilla.com/D8063

--HG--
extra : moz-landing-system : lando
2018-10-11 15:36:11 +00:00
Emilio Cobos Álvarez 42fac17ba2 Bug 1498445 - Stop creating a style attribute for invalid property values. r=smaug
This matches all other browsers, and the spec.

Added an explicit test for this, and a test that tests what
cssstyledeclaration-mutationrecord-002.html wanted to test, which is that
changing an existing declaration doesn't generate a mutation record.

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

--HG--
rename : testing/web-platform/tests/css/cssom/cssstyledeclaration-mutationrecord-002.html => testing/web-platform/tests/css/cssom/cssstyledeclaration-mutationrecord-005.html
extra : moz-landing-system : lando
2018-10-12 09:07:00 +00:00
Csoregi Natalia de7b5dcc69 Merge mozilla-central to autoland. CLOSED TREE 2018-10-12 13:18:41 +03:00
Alex Chronopoulos 42e1c2a80b Bug 934425 - Add mochitest for setSinkId. r=jib
Differential Revision: https://phabricator.services.mozilla.com/D5875

--HG--
extra : moz-landing-system : lando
2018-10-12 08:45:17 +00:00
Alex Chronopoulos 5580e3fad1 Bug 934425 - Implement setSinkId in HTMLMediaElement. r=pehrsons
Differential Revision: https://phabricator.services.mozilla.com/D5874

--HG--
extra : moz-landing-system : lando
2018-10-12 09:39:30 +00:00
Alex Chronopoulos 79f5e13243 Bug 934425 - Add SinkId in webidl for HTMLMediaElement. r=smaug
Differential Revision: https://phabricator.services.mozilla.com/D5873

--HG--
extra : moz-landing-system : lando
2018-10-12 08:44:55 +00:00
Alex Chronopoulos 6e1c6f8946 Bug 934425 - Implement asynchronous method to switch sink in MediaDecoder. r=pehrsons
Differential Revision: https://phabricator.services.mozilla.com/D5872

--HG--
extra : moz-landing-system : lando
2018-10-12 08:44:47 +00:00
Alex Chronopoulos 2c94f04194 Bug 934425 - Set device info in MediaSink and switch sink device. r=jya
Differential Revision: https://phabricator.services.mozilla.com/D5871

--HG--
extra : moz-landing-system : lando
2018-10-12 08:44:35 +00:00
Alex Chronopoulos 662ff54a4e Bug 934425 - Create a method in MediaManager to look up a given sink id. r=jib
Implement a new method in MediaManager that enumerates audio output devices and looks up for a given sink id asynchronously.

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

--HG--
extra : moz-landing-system : lando
2018-10-12 08:44:23 +00:00
Alex Chronopoulos 12ad318568 Bug 934425 - Add device info in MediaDevice. r=jib
MediaDevice is the core object for audio device enumeration. By adding AudioDeviceInfo every information of audio devices will be available. In this case device id will be available from the first enumeration and there is no need to enumerate multiple times to get that info.

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

--HG--
extra : moz-landing-system : lando
2018-10-12 08:48:22 +00:00
Csoregi Natalia 5081138dfb Merge mozilla-central to mozilla-inbound. CLOSED TREE 2018-10-12 13:19:38 +03:00