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

614790 Коммитов

Автор SHA1 Сообщение Дата
Andreas Pehrson a677f0bd40 Bug 1253499 - Implement a new scaling algorithm for simulcast. r=bwc,dminor
webrtc.org is picky about resolutions for simulcasst layers.
As of current it will assert that all layers have identical aspect ratio.
We handle this by ignoring layers where the aspect ratio is not the same as
the highest layer's.

The new algorithm will, when simulcast is requested and at least one layer
is scaled to something other than 1.0, try to remedy this by:
- The highest resolution layer is cropped to 16-pixel alignment, to ensure
  that scaling options exist.
- A separate VideoAdapter is used for simulcast layers, with the highest
  layer's resolution as an aspect ratio requirement. This forces the
  simulcast adapter to retain that aspect ratio in any scaling decisions.

This doesn't make scaling decisions spec-compliant (floor the width and
height respectively) but it does allow for control of scaling via
setParameters and keeps scaling decisions in upstream code to ensure
good compat with upstream's part of the pipe; encoders, etc.

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

--HG--
extra : moz-landing-system : lando
2018-09-19 15:00:45 +00:00
Andreas Pehrson bfcb6bed9f Bug 1253499 - Add gtest for scaling all layers. r=dminor
Differential Revision: https://phabricator.services.mozilla.com/D4132

--HG--
extra : moz-landing-system : lando
2018-09-19 15:00:39 +00:00
Andreas Pehrson 05c3bdc366 Bug 1253499 - Update gtests to cover live-updates to codec config and new algorithm. r=dminor
Differential Revision: https://phabricator.services.mozilla.com/D4131

--HG--
extra : moz-landing-system : lando
2018-09-19 15:00:33 +00:00
Andreas Pehrson 2e9aea732c Bug 1253499 - Add simulcast scaleDownBy encoding gtest. r=dminor
Differential Revision: https://phabricator.services.mozilla.com/D4130

--HG--
extra : moz-landing-system : lando
2018-09-19 15:00:27 +00:00
Andreas Pehrson 952d6a8d56 Bug 1253499 - Add scaleDownBy encoding gtest. r=dminor
Differential Revision: https://phabricator.services.mozilla.com/D4129

--HG--
extra : moz-landing-system : lando
2018-09-19 15:00:21 +00:00
Andreas Pehrson 35e775d5ca Bug 1253499 - Add live setParameters checks to simulcast_OddResolution mochitest. r=jib
Differential Revision: https://phabricator.services.mozilla.com/D4128

--HG--
extra : moz-landing-system : lando
2018-09-19 15:00:15 +00:00
Andreas Pehrson 022de58578 Bug 1253499 - Add method for changing size to VideoFrameEmitter. r=jib
Differential Revision: https://phabricator.services.mozilla.com/D5860

--HG--
extra : moz-landing-system : lando
2018-09-19 15:00:08 +00:00
Andreas Pehrson ed6cf715a9 Bug 1253499 - Add mochitest for live-updating scaleResolutionDownBy. r=jib
Differential Revision: https://phabricator.services.mozilla.com/D4127

--HG--
extra : moz-landing-system : lando
2018-09-19 15:00:02 +00:00
Andreas Pehrson f389699776 Bug 1253499 - Update simulcast mochitests to cover new scaling algorithm. r=bwc
Differential Revision: https://phabricator.services.mozilla.com/D4126

--HG--
extra : moz-landing-system : lando
2018-09-19 14:59:56 +00:00
Andreas Pehrson 9ef4251a71 Bug 1253499 - Make VideoFrameEmitter use both width and height. r=jib
Differential Revision: https://phabricator.services.mozilla.com/D4125

--HG--
extra : moz-landing-system : lando
2018-09-19 14:59:50 +00:00
Andreas Pehrson b6fba2b5ad Bug 1253499 - Assert that chrome-only RID methods are succesful. r=bwc
A failure here typically indicates a test error, so it's useful for debugging.

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

--HG--
extra : moz-landing-system : lando
2018-09-19 14:59:44 +00:00
Narcis Beleuzu 04ab391b65 Merge mozilla-central to autoland. a=merge CLOSED TREE 2018-09-19 19:44:24 +03:00
Narcis Beleuzu 49ae56e475 Merge inbound to mozilla-central. a=merge 2018-09-19 19:42:36 +03:00
Brindusan Cristian 711261875a Backed out changeset 5d63a6222e9e (bug 1492130) for chrome- mochitest failures on toolkit/content/tests/chrome/test_bug562554.xul. 2018-09-19 15:42:08 +03:00
Tooru Fujisawa 081f5ddbec Bug 1492069 - Do not check rest parameter while checking positional parameter. r=Yoric 2018-09-19 20:54:09 +09:00
Dão Gottwald 7f4690bc57 Bug 1492417 - Remove Browser:Home command. r=paolo 2018-09-19 12:47:29 +02:00
Gijs Kruitbosch ba80b3c145 Bug 1492196 - fix browser_searchbar_openpopup.js so we don't accidentally try to drag content in the URL bar, r=florian
Differential Revision: https://phabricator.services.mozilla.com/D6180

--HG--
extra : moz-landing-system : lando
2018-09-19 10:15:46 +00:00
Ryan VanderMeulen c5bf22cd9a Bug 1491671 - Upgrade to SQLite 3.25.1. r=mak
Differential Revision: https://phabricator.services.mozilla.com/D6207

--HG--
extra : moz-landing-system : lando
2018-09-19 13:28:02 +00:00
Miko Mynttinen 5107e2da27 Bug 1488599 - Part 2: Fix will-change budget r=mattwoodrow
Depends on D5245

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

--HG--
extra : moz-landing-system : lando
2018-09-19 10:19:30 +00:00
Miko Mynttinen 03d03110a6 Bug 1488599 - Part 1: Add RetainedDisplayListData that will store frame invalidation information r=mattwoodrow
Differential Revision: https://phabricator.services.mozilla.com/D5245

--HG--
extra : moz-landing-system : lando
2018-09-19 10:21:27 +00:00
Rob Wu e6bdaf2776 Bug 1485307 - Focus urlbar when extension opens new tab r=rpl
Differential Revision: https://phabricator.services.mozilla.com/D6029

--HG--
extra : moz-landing-system : lando
2018-09-19 12:28:20 +00:00
Dão Gottwald 033d567f0b Bug 1492130 - Load toolbarbutton.css as a document stylesheet. r=paolo 2018-09-18 20:24:43 +02:00
Neil Deakin eebb81f02b Bug 1478372, remove unneeded QueryInterface implementation for custom XUL elements as this is now done by nsXULElement::QueryInterface, r=bgrins 2018-09-19 06:46:55 -04:00
Neil Deakin 00b778c4e7 Bug 1478372, allow QueryInterface to be used for custom element implemented interfaces, r=bz,bgrins 2018-09-19 06:46:41 -04:00
Timothy Guan-tin Chien dea8a7e3af Bug 1484048 - Part V, Re-enable UA Widget on Desktop Nightly r=smaug
Backed out changeset fd0d6079d0d2

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

--HG--
extra : moz-landing-system : lando
2018-09-17 20:49:15 +00:00
Timothy Guan-tin Chien a19c690eeb Bug 1484048 - Part IV, Don't reset mDocumentLoadGroup if the same LoadGroup is passed r=bzbarsky
nsIDocument::ResetToURI() resets and set the mDocumentLoadGroup property
even if it is given the same instance. This has caused BlockOnload() to
break on media documents, which calls into there while removing UA Widget.

This patch checks the weak ref before resets it.

Depends on D3841

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

--HG--
extra : moz-landing-system : lando
2018-09-17 20:49:17 +00:00
Timothy Guan-tin Chien bfae552010 Bug 1484048 - Part III, Wait for audio source to load before starting a11y tests r=surkov
Appearently with UA Widget the page loads quicker, so the tests must now
explicitly wait for the audio source to load to test on the video controls
UI in its stable state.

Depends on D3840

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

--HG--
extra : moz-landing-system : lando
2018-09-17 20:49:16 +00:00
Timothy Guan-tin Chien 6c928dc396 Bug 1484048 - Part II, Make error label visible r=Gijs
This is a regression left over by Bug 1431255 Part IV.
I did s/anonid/id/ in videocontrols.js but I didn't do that in CSS.

anonid selectors are still needed in CSS until we remove the XBL binding.

Depends on D3667

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

--HG--
extra : moz-landing-system : lando
2018-09-17 20:49:16 +00:00
Timothy Guan-tin Chien 77d53c90a7 Bug 1484048 - Part I, Restore the video controls accessible tree r=Gijs
The UA Widget videocontrols is contained in a <div class="videocontrols">
instead of an <xul:videocontrols>.

The former is by default visible in the accessibility tree unless its
role is set to none.

Depends on D3665

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

--HG--
extra : moz-landing-system : lando
2018-09-17 20:49:15 +00:00
Michael Cooper 79be8f8910 Bug 1488923 - When notifying listeners that a study is ending, include the reason why the study is ending r=aswan
Differential Revision: https://phabricator.services.mozilla.com/D6196

--HG--
extra : moz-landing-system : lando
2018-09-19 03:19:45 +00:00
Christian Holler 3b6edb4329 Bug 1492463 - Package fuzz-tests along with JS shell. r=froydnj
Differential Revision: https://phabricator.services.mozilla.com/D6255

--HG--
extra : moz-landing-system : lando
2018-09-19 14:41:42 +00:00
shindli c5927f3aba Backed out changeset 0851acd8fd1e (bug 1491906) for clipboard failures in browser/base/content/test/general/browser_clipboard.js CLOSED TREE 2018-09-19 18:41:43 +03:00
shindli d8f561f92f Backed out changeset dd80de19f142 (bug 1473915) for mb failures in testing/mozbase/moztest/tests/test_resolve.py CLOSED TREE 2018-09-19 18:13:48 +03:00
Daisuke Akatsuka 0485028f23 Bug 1492101: Store a preference which includes extension existence after drag and drap instead of when closing toolbox. r=jdescottes
Differential Revision: https://phabricator.services.mozilla.com/D6225

--HG--
extra : moz-landing-system : lando
2018-09-19 08:24:25 +00:00
Ahilya Sinha 67be437f68 Bug 1473915 - Set up infra so we can move the wpt-manifest out of tree r=gps
Changes the wpt manifest path to the topobjdir instead so it can be moved out of tree.
Other changes so that the manifest download and update, and |mach wpt| and |mach test <wpt-test>| work with the new path.
The manifest is also downloaded and updated when creating the tests-archive to ensure that it exists when we run tests on TC.

MozReview-Commit-ID: Fp6UsKJjhTU

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

--HG--
extra : moz-landing-system : lando
2018-09-19 06:57:50 +00:00
Mike Conley c52edfe68a Bug 1491906 - Add async mode to tabpanels binding. r=NeilDeakin
We need this because the AsyncTabSwitcher is responsible for switching between the
remote browser tab panels asynchronously. Asynchronous mode for the tabpanels
binding delegates the responsibility of actually changing the index of the
underlying deck to someone else (AsyncTabSwitcher, in this case).

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

--HG--
extra : moz-landing-system : lando
2018-09-19 14:18:26 +00:00
Chris H-C de43a60e86 bug 1476613 - Restore about:telemetry search terms on load r=janerik
MozReview-Commit-ID: 4Vxh6wiceGm

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

--HG--
extra : moz-landing-system : lando
2018-09-19 07:47:54 +00:00
Ed Lee 713233eeb6 Bug 1489962 - Add snippets targeting, Pocket tagging and bug fixes to Activity Stream r=k88hudson
Differential Revision: https://phabricator.services.mozilla.com/D5914

--HG--
extra : moz-landing-system : lando
2018-09-19 13:53:10 +00:00
Dan Minor 5e340f6470 Bug 1491128 - Add comment block to dom/webidl/RTCDTMFToneChangeEvent.webidl; r=baku
Differential Revision: https://phabricator.services.mozilla.com/D5857

--HG--
extra : moz-landing-system : lando
2018-09-17 13:58:02 +00:00
Jamie Nicol a39f93b45b Bug 1418816 - Part 4: Allow image layers to be created for repeated backgrounds. r=mattwoodrow
Depends on D6026

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

--HG--
extra : moz-landing-system : lando
2018-09-19 04:44:57 +00:00
Jamie Nicol 0d93291c01 Bug 1418816 - Part 3: Handle repeated image layers in advanced layers. r=mattwoodrow
Depends on D6025

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

--HG--
extra : moz-landing-system : lando
2018-09-19 12:14:15 +00:00
Jamie Nicol b1d6426ad5 Bug 1418816 - Part 2: Handle repeated image layers in ImageLayerComposite. r=mattwoodrow
Depends on D6024

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

--HG--
extra : moz-landing-system : lando
2018-09-19 12:14:10 +00:00
Jamie Nicol 5294656897 Bug 1418816 - Part 1: Add repeat size property to ImageLayer. r=mattwoodrow
Differential Revision: https://phabricator.services.mozilla.com/D6024

--HG--
extra : moz-landing-system : lando
2018-09-19 04:44:26 +00:00
Daisuke Akatsuka e00f05a482 Bug 1490981: Disable browser_animation_keyframes-progress-bar test on win ccov. r=sparky
Differential Revision: https://phabricator.services.mozilla.com/D6229

--HG--
extra : moz-landing-system : lando
2018-09-19 11:46:03 +00:00
Marcos Cáceres f616da00ba Bug 1472026 - Implement PaymentResponse.prototype.onpayerdetailchange. r=edenchuang,baku
Implement PaymentResponse.prototype.onpayerdetailchange, per spec.

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

--HG--
extra : moz-landing-system : lando
2018-09-19 11:23:33 +00:00
Matthew Gaudet 8f865737b4 Bug 1490638 - Increase worker stack size for EvalInWorker r=jandem
Differential Revision: https://phabricator.services.mozilla.com/D6188

--HG--
extra : moz-landing-system : lando
2018-09-19 10:22:34 +00:00
Mathieu Leplatre c8ed5791e4 Bug 1483948 - Upgrade vendored kinto.js to v12.0.0 r=glasserc
Differential Revision: https://phabricator.services.mozilla.com/D3610

--HG--
extra : moz-landing-system : lando
2018-09-19 10:16:41 +00:00
Masayuki Nakano 3113cbebc3 Bug 1484119 - part 2: Make HTMLEditor::DeleteTableCellWithTransaction() remove <table> element if it becomes empty r=m_kato
HTMLEditor::DeleteTableCellWithTransaction() does not remove <table> element
even if it becomes empty only when 2 or more cell elements are selected.
Therefore, we should check table size before removing a row and if it's the
last row, the method should remove <table>.

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

--HG--
extra : moz-landing-system : lando
2018-09-19 09:00:06 +00:00
Masayuki Nakano 80a2f99daf Bug 1484119 - part 1: Create HTMLEditor::DeleteTableCellWithTransaction() for internal use of nsITableEditor::DeleteTableCell() r=m_kato
nsITableEditor::DeleteTableCell() is an XPCOM method but used internally.
So, HTMLEditor should implement it with non-virtual method and use it
internally.

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

--HG--
extra : moz-landing-system : lando
2018-09-19 08:50:11 +00:00
Masayuki Nakano 45c321017b Bug 1484119 - part 0: Add automated tests for nsITableEditor.deleteTableCell.html r=m_kato
Although this has a lot of todo_is() since this API is really broken.

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

--HG--
extra : moz-landing-system : lando
2018-09-19 02:03:29 +00:00