Commit Graph

615283 Commits

Author SHA1 Message Date
alwu
56b18353de Bug 1476649 - part1 : reuse same pattern code. r=jya
As audio track sample and video track sample are both using the same code pattern, we can eliminate
redundant codes.

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

--HG--
extra : moz-landing-system : lando
2018-09-19 21:05:32 +00:00
Aaron Klotz
98d8754140 Bug 1492865: Test NTSTATUS code to determine whether DLL load actually succeeded; r=mhowell
Differential Revision: https://phabricator.services.mozilla.com/D6434

--HG--
extra : moz-landing-system : lando
2018-09-20 21:58:04 +00:00
Anshul Malik
c4a1f5d364 Bug 832983 - Basic support for adding xhr breakpoints r=jlast
Differential Revision: https://phabricator.services.mozilla.com/D5662

--HG--
extra : moz-landing-system : lando
2018-09-20 21:52:52 +00:00
Drew Willcoxon
bf444589fe Bug 1483033 - Pass correct startup and shutdown reasons to screenshots's embedded webextension. r=_6a68
`webExtension` in bootstrap.js's `start` and `stop` functions is an `EmbeddedExtension`, and `startupReason` and the `reason` argument passed to `stop` is a numeric reason.  `EmbeddedExtension.startup` and `shutdown` take string reasons, not numeric reasons, contrary to their jsdocs.

Also, we can use `AddonManagerPrivate` instead of hardcoding `APP_STARTUP` and `APP_SHUTDOWN`.

This patch fixes bug 1483033.

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

--HG--
extra : moz-landing-system : lando
2018-09-20 21:58:44 +00:00
Drew Willcoxon
dfefffa15d Bug 1483033 - Fix LegacyExtensionsUtils comments and pass startup reason to Extension constructor. r=kmag
The jsdoc params for `EmbeddedExtension.startup` and `shutdown` don't seem to be right. These methods expect string reasons, not numeric reasons.

Also, when `startup` creates a new `Extension`, it passes only one argument, the add-on data, and when it calls `extension.startup`, it passes a reason, but that's wrong. `Extension`'s constructor expects the reason as its second argument, and `startup` doesn't take any arguments at all.

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

--HG--
extra : moz-landing-system : lando
2018-09-20 21:58:46 +00:00
Andreea Pavel
c8f8e2da0d Merge mozilla-central to autoland. a=merge on a CLOSED TREE 2018-09-21 01:00:46 +03:00
Gurzau Raul
f399af546d Backed out changeset e7665879a630 (bug 1492424) for failing at siteIdentity/browser_tls_handshake_failure.js on a CLOSED TREE 2018-09-21 00:55:16 +03:00
Rob Wood
4d17740857 Bug 1492955 - Add raptor webext to whitelist for GeckoProfiler webext API; r=aswan
Differential Revision: https://phabricator.services.mozilla.com/D6424

--HG--
extra : moz-landing-system : lando
2018-09-20 21:16:07 +00:00
Matthew Noorenberghe
7c5bfd941a Bug 1463545 - Use text-overflow:ellipsis; on <shipping-option>. r=sfoster
Depends on D5186

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

--HG--
extra : moz-landing-system : lando
2018-09-20 21:07:28 +00:00
Matthew Noorenberghe
514f9fcc29 Bug 1463545 - Replace grid layout of <address-option> with a new two line design. r=sfoster
Differential Revision: https://phabricator.services.mozilla.com/D5186

--HG--
extra : moz-landing-system : lando
2018-09-20 21:07:20 +00:00
Matthew Noorenberghe
b6c0f035ed Bug 1463545 - Update the <basic-card-option> layout to match the UI spec. r=sfoster
Depends on D6330

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

--HG--
extra : moz-landing-system : lando
2018-09-20 21:07:18 +00:00
Matthew Noorenberghe
54b2c1a068 Bug 1463545 - Overlay the selected <rich-option> on top of the native <select>. r=sfoster
* We get the shared colours (including hover) and dropmarker.
* Makes it harder to regress the clickable area of the <rich-select> since the problem will be visible.
* Hides the text for the closed state of the <select> so the <rich-option> text can be presented.

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

--HG--
extra : moz-landing-system : lando
2018-09-20 21:07:09 +00:00
Matthew Noorenberghe
027e6322f9 Bug 1463545 - Copy stylesheets from the payment dialog into mochitests. r=jaws
Differential Revision: https://phabricator.services.mozilla.com/D6233

--HG--
extra : moz-landing-system : lando
2018-09-20 21:07:07 +00:00
k88hudson
bc97d29254 Bug 1492174 - Update CFR Messages to reflect planned cohorts r=ursula
Differential Revision: https://phabricator.services.mozilla.com/D6414

--HG--
extra : moz-landing-system : lando
2018-09-20 21:09:17 +00:00
Dana Keeler
109a4a35aa bug 1492424 - check if the TLS handshake failed in nsSecureBrowserUIImpl r=Gijs
The site identity security indicator machinery treats connections where the TLS
handshake failed as insecure (also referred to as "unknown identity"). Before
bug 1468222, such cases were easily detectable as the SSLStatus field of the
relevant nsITransportSecurityInfo would be null. When we merged nsISSLStatus
into nsITransportSecurityInfo, we didn't take this differentiation into account.
This patch brings back the prior behavior by checking if the securityInfo's
securityState indicates that the handshake failed (i.e. it is
STATE_IS_INSECURE).

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

--HG--
extra : moz-landing-system : lando
2018-09-20 20:57:38 +00:00
Jeff Muizelaar
982a5601bf Bug 1492615. Improve logging of blob property changes r=mstange
Differential Revision: https://phabricator.services.mozilla.com/D6342

--HG--
extra : moz-landing-system : lando
2018-09-20 20:14:23 +00:00
Luca Greco
5f865f59f4 Bug 1491274 - Split content script-only userScripts API from ext-userScripts.js and user_scripts.json. r=robwu,mixedpuppy
Differential Revision: https://phabricator.services.mozilla.com/D6156

--HG--
rename : toolkit/components/extensions/child/ext-userScripts.js => toolkit/components/extensions/child/ext-userScripts-content.js
rename : toolkit/components/extensions/schemas/user_scripts.json => toolkit/components/extensions/schemas/user_scripts_content.json
extra : moz-landing-system : lando
2018-09-20 17:25:03 +00:00
Luca Greco
28fc8336c0 Bug 1491272 - Lock experimental userScripts API behind a pref and make it enabled by default on Nightly. r=mixedpuppy
Depends on D6146

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

--HG--
extra : moz-landing-system : lando
2018-09-20 17:10:37 +00:00
Luca Greco
792d7cbf1b Bug 1491272 - Require user_scripts manifest property to have access to the userScripts API namespace. r=robwu,mixedpuppy
Differential Revision: https://phabricator.services.mozilla.com/D6146

--HG--
extra : moz-landing-system : lando
2018-09-20 17:09:11 +00:00
Aaron Klotz
2049502646 Bug 1488627: Part 2 - Use file IDs instead of paths in launcher process parent binary check; r=mhowell
Depends on D6340

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

--HG--
extra : moz-landing-system : lando
2018-09-20 17:28:05 +00:00
Aaron Klotz
ea460b73f7 Bug 1488627: Part 1 - Add FileUniqueId and DoPathsPointToIdenticalFile to WinHeaderOnlyUtils.h; r=mhowell
Differential Revision: https://phabricator.services.mozilla.com/D6340

--HG--
extra : moz-landing-system : lando
2018-09-20 17:27:22 +00:00
Byron Campen [:bwc]
93985b16c9 Bug 1486012: Rework ICE restart. r=mjf
Differential Revision: https://phabricator.services.mozilla.com/D5897

--HG--
rename : dom/media/tests/mochitest/test_peerConnection_restartIceLocalAndRemoteRollback.html => dom/media/tests/mochitest/test_peerConnection_restartIceLocalAndRemoteRollbackNoSubsequentRestart.html
rename : dom/media/tests/mochitest/test_peerConnection_restartIceLocalRollback.html => dom/media/tests/mochitest/test_peerConnection_restartIceLocalRollbackNoSubsequentRestart.html
extra : moz-landing-system : lando
2018-09-20 16:07:51 +00:00
Thomas P.
dae33d978b Bug 1483780: enable sanitizer-less libfuzzer builds r=froydnj superreview=decoder
--HG--
extra : histedit_source : 6fd1a37c3fb5d8997be11f7846b2976fc7b8a647
2018-09-11 03:49:37 +00:00
Jed Davis
f2f934dc7e Bug 1400051 - IPC: use process_util_linux on BSD and remove process_util_bsd. r=glandium
This change is mainly to avoid the use of SetAllFDsToCloseOnExec, which
has an unavoidable race condition that can leak file descriptors into
child processes.  The "Linux" implementation of child process creation,
now that B2G support has been removed, is essentially a generic Unix
fork+dup2+execve which works on BSD (and is already used on Solaris).
2018-09-20 19:53:31 -06:00
Dimi Lee
08b5cd489f Bug 1479898 - P3. Increase the application reputation remote lookup timeout to 15sec. r=francois
3% download protection remote lookup failures are from timeout.
Increase the timeout from 10sec to 15sec to see if this help.

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

--HG--
extra : moz-landing-system : lando
2018-09-07 18:28:35 +00:00
Dimi Lee
d81ea01968 Bug 1479898 - P2. Add telemetry to know the response time of download protection remote lookup. r=francois
Telemetry::APPLICATION_REPUTATION_REMOTE_LOOKUP_RESPONSE_TIME can be
used to give us an idea how could we adjust the timeout accordingly.

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

--HG--
extra : moz-landing-system : lando
2018-09-20 14:04:31 +00:00
Dimi Lee
e96ff9fea9 Bug 1479898 - P1. Only set false to APPLICATION_REPUTATION_REMOTE_LOOKUP_TIMEOUT when it is not timeout. r=francois
Right now no matter it is timeout or not, we will always add the counter
to the false case of APPLICATION_REPUTATION_REMOTE_LOOKUP_TIMEOUT.
We should only set the counter(false) when it is not timeout.

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

--HG--
extra : moz-landing-system : lando
2018-09-20 00:18:12 +00:00
Xidorn Quan
ffdb7477c7 Bug 1491787 - Use document rather than event target to check fullscreen state in Android's browser.js. r=snorp
The content of e.target has been changed in bug 1375319 from document
to the fullscreen element, so the current code makes it never dispatch
DOMFullScreen:Start, so the Java side would not be aware of such state.

This code was initially added in bug 859683 for supporting scrolling
when the fullscreen element is the document element. Since then, it
seems that the related code had been refactored, and the only usage
of rootElement was removed in bug 1416330.

Because of that, it is no longer necessary to use event target, and
we can just use document directly, which would fix this issue.

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

--HG--
extra : moz-landing-system : lando
2018-09-20 13:50:09 +00:00
Gijs Kruitbosch
38496797c8 Bug 1492186 - make browser_pageinfo_images.js more reliable, r=florian
Differential Revision: https://phabricator.services.mozilla.com/D6323

--HG--
extra : moz-landing-system : lando
2018-09-20 13:51:56 +00:00
yulia
825e041cf6 Bug 1485378 - Replace CallWatcher actor with helper; r=jdescottes
creates a CallWatcherActor only for tests and migrates other functionality to the helper

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

--HG--
rename : devtools/server/actors/call-watcher.js => devtools/client/canvasdebugger/test/call-watcher-actor.js
rename : devtools/shared/fronts/call-watcher.js => devtools/client/canvasdebugger/test/call-watcher-front.js
rename : devtools/shared/specs/call-watcher.js => devtools/client/canvasdebugger/test/call-watcher-spec.js
rename : devtools/server/actors/call-watcher.js => devtools/server/actors/utils/call-watcher.js
rename : devtools/server/actors/call-watcher.js => devtools/server/actors/utils/function-call.js
rename : devtools/shared/fronts/call-watcher.js => devtools/shared/fronts/function-call.js
rename : devtools/shared/specs/call-watcher.js => devtools/shared/specs/function-call.js
extra : moz-landing-system : lando
2018-09-20 13:41:26 +00:00
Julian Descottes
4f0efc181d Bug 1492373 - Wait for media-list-changed events to settle in browser_styleeditor_media_sidebar_links.js;r=ochameau
Differential Revision: https://phabricator.services.mozilla.com/D6283

--HG--
extra : moz-landing-system : lando
2018-09-20 07:14:27 +00:00
Bryce Van Dyk
d3c1de1214 Bug 1491117 - Do not add crypto info to unencrypted samples from encrypted WebM tracks. r=jya
WebMs with encrypted tracks may have unencrypted samples in these tracks.
Previously we would populate some of the crypto metadata on these samples. This
data was correct, but it was potentially misleading to include crypto metadata on
clear samples.

This changeset alters the behaviour so that we do not populate any such data for
unencrypted packets. This should not alter existing behaviour, notably the
Widevine CDM version 9 should continue to work. However, this change makes our
samples easier to feed to version 10 of the CDM. Without this change, we would
need to do extra conversion steps to appease the new CDM.

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

--HG--
extra : moz-landing-system : lando
2018-09-19 17:09:29 +00:00
Margareta Eliza Balazs
5f3eea312b Merge mozilla-central to autoland. a=merge CLOSED TREE 2018-09-20 16:30:08 +03:00
Mark Banner
b890fde6ec Bug 1491253 - Link the UrlbarController with the input and the view. r=dao
This links together the controller with the input and view. It moves the fake results generation to the controller. As a result, there is now an input -> controller -> view round-trip in place.

Also hooks up the input with determining if we're in private browsing mode or not.

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

--HG--
extra : moz-landing-system : lando
2018-09-20 13:07:18 +00:00
ffxbld
1263cc5298 No Bug, mozilla-central repo-update HSTS HPKP blocklist remote-settings - a=repo-update r=RyanVM
Differential Revision: https://phabricator.services.mozilla.com/D6386

--HG--
extra : moz-landing-system : lando
2018-09-20 12:47:19 +00:00
Alexandre Poirot
8d5356574c Bug 1485605 - Remove usages of TabTarget.window. r=yulia
This code only works on non-e10s and appear to no longer be used.

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

--HG--
extra : moz-landing-system : lando
2018-09-20 12:16:51 +00:00
Ahilya Sinha
8f5e322404 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-20 12:07:58 +00:00
Masayuki Nakano
20d1804f6b Bug 1484111 - part 1: Create HTMLEditor::InsertTableCellsWithTransaction() for internal use of nsITableEditor::InsertTableCell() r=m_kato
nsITableEditor::InsertTableCell() is an XPCOM method but used internally.  So,
HTMLEditor should implement it with a non-virtual method and all internal users
should use it instead.

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

--HG--
extra : moz-landing-system : lando
2018-09-20 11:44:35 +00:00
Masayuki Nakano
3a48cf1623 Bug 1484111 - part 0: Add automated tests for nsITableEditor.insertTableCell.html r=m_kato
Differential Revision: https://phabricator.services.mozilla.com/D6258

--HG--
extra : moz-landing-system : lando
2018-09-20 11:44:33 +00:00
Coroiu Cristina
2e3f6d7d15 Backed out changeset 261d22d6d396 (bug 1491253) for browser-chrome failures at browser/base/content/test/static/browser_all_files_referenced.js on a CLOSED TREE 2018-09-20 14:22:58 +03:00
Alexandre Poirot
162cf2b6ee Bug 1487337 - Bump devtools compatibility threshold up to 62 (current release version) r=jdescottes
Differential Revision: https://phabricator.services.mozilla.com/D6252

--HG--
extra : moz-landing-system : lando
2018-09-20 09:11:26 +00:00
Jan Horak
44decbf9eb Bug 1490297 Use parent window scale factor for the popup windows under Wayland; r=mattwoodrow
In the Wayland we don't know the absolute position of the window, so we cannot
use it to determine on which monitor the window is. We need to use parent window
scale factor to scale popup windows, otherwise popup windows will be wrongly
placed in the hi+normal dpi monitor setup.

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

--HG--
extra : moz-landing-system : lando
2018-09-20 08:17:18 +00:00
Michael Ratcliffe
7cfa3eab78 Bug 1488206 - TelemetryStopwatch: error requesting elapsed time for nonexisting stopwatch r=Honza
Because firefox can be closed with the toolbox in a half initialized state telemetry can throw if it expects a tool to be closing when no tools are fully initialized although this is completely expected. Here we simply choose not to report those errors because this is expected behaviour.

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

--HG--
extra : moz-landing-system : lando
2018-09-20 11:06:58 +00:00
Carl Corcoran
90c6d0ed17 Bug 1488181: Preload psapi.dll to prevent hangs in the exception handler;r=ted
Differential Revision: https://phabricator.services.mozilla.com/D6361

--HG--
extra : moz-landing-system : lando
2018-09-20 09:53:26 +00:00
Mark Banner
c562a56e7d Bug 1491253 - Link the UrlbarController with the input and the view. r=dao
This links together the controller with the input and view. It moves the fake results generation to the controller. As a result, there is now an input -> controller -> view round-trip in place.

Also hooks up the input with determining if we're in private browsing mode or not.

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

--HG--
extra : moz-landing-system : lando
2018-09-20 10:11:47 +00:00
Luca Greco
e834e90cb2 Bug 1433335 - Send telemetry events for each AddonManager action on an extension. r=aswan
- Added definitions for the new telemetry events
- Send telemetry events for each AddonManager action on an extension.
- Ensure that telemetry events are sent also for the extension prompts.

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

--HG--
extra : moz-landing-system : lando
2018-09-19 16:43:11 +00:00
Andi-Bogdan Postelnicu
06c6a4c550 Bug 1488778 - Disregard exit code when calling static-analysis from mach. r=janx
Differential Revision: https://phabricator.services.mozilla.com/D5036

--HG--
extra : moz-landing-system : lando
2018-09-07 10:07:39 +00:00
Dorel Luca
c1a2ab3088 Backed out changeset 6a4032171aaf (bug 1485605) for Eslint failure on builds/worker/checkouts/gecko/devtools/client/framework/target.js. CLOSED TREE 2018-09-20 12:42:40 +03:00
Masayuki Nakano
9c1afc4bee Bug 1484116 - part 1: Create HTMLEditor::InsertTableColumnsWithTransaction() for internal use of nsITableEditor::InsertTableColumn() r=m_kato
nsITableEditor::InsertTableColumn() is an XPCOM method but it's used internally.
So, HTMLEditor should implement it with a non-virtual method and internal
users should use it instead.

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

--HG--
extra : moz-landing-system : lando
2018-09-20 09:15:08 +00:00
Masayuki Nakano
3582509a37 Bug 1484116 - part 0: Add automated tests for nsITableEditor.insertTableColumn() r=m_kato
Differential Revision: https://phabricator.services.mozilla.com/D6256

--HG--
extra : moz-landing-system : lando
2018-09-20 09:15:06 +00:00