Commit Graph

621954 Commits

Author SHA1 Message Date
arthur.iakab
b6054b92d1 Backed out changeset 1d900d22c448 (bug 1502385) for causing build bustages with FATAL ERROR PROCESSING MOZBUILD FILE CLOSED TREES 2018-11-05 19:15:59 +02:00
Andrei Oprea
1b5e3e6556 Bug 1485725 - Add RTL support for CFR animation and panel r=ursula
Flip the animation in RTL mode so we get the same effect

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

--HG--
extra : moz-landing-system : lando
2018-11-01 15:25:30 +00:00
Marco Bonardo
f7c0cb4aa3 Bug 1502385 - Filter matches and providers in the Quantum Bar manager. r=adw
Differential Revision: https://phabricator.services.mozilla.com/D10348

--HG--
extra : moz-landing-system : lando
2018-11-05 17:04:07 +00:00
Julian Descottes
b1964504a7 Bug 1504681 - Stop setting unused preferences in DAMP tests;r=ochameau
Differential Revision: https://phabricator.services.mozilla.com/D10906

--HG--
extra : moz-landing-system : lando
2018-11-05 16:44:10 +00:00
Ehsan Akhgari
1d077063ca Bug 1504446 - Remove two unused members of nsITabParent r=baku
Differential Revision: https://phabricator.services.mozilla.com/D10812

--HG--
extra : moz-landing-system : lando
2018-11-05 16:52:03 +00:00
tanhengyeow
67391f6115 Bug 1496742 - Allow to display Referrer Policy for a given request. r=Honza
Display Referrer Policy for a given request.

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

--HG--
extra : moz-landing-system : lando
2018-11-05 16:44:17 +00:00
Henrik Skupin
f98d52bad6 Bug 1503804 - [wdspec] Assert for expected screenshot dimensions. r=ato
Depends on D10627

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

--HG--
rename : testing/web-platform/mozilla/tests/webdriver/take_full_screenshot.py => testing/web-platform/mozilla/tests/webdriver/take_full_screenshot/screenshot.py
extra : moz-landing-system : lando
2018-11-05 16:42:54 +00:00
Henrik Skupin
e4f809e38c Bug 1503804 - [wdspec] Use shared assert_png() method in screenshot tests. r=ato
Depends on D10626

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

--HG--
extra : moz-landing-system : lando
2018-11-05 16:42:26 +00:00
Henrik Skupin
40dd8ab3a1 Bug 1503804 - [geckodriver] Fix serialization of "Take Element Screenshot" parameters for Marionette. r=ato
Differential Revision: https://phabricator.services.mozilla.com/D10626

--HG--
extra : moz-landing-system : lando
2018-11-05 16:42:03 +00:00
Cosmin Sabou
d5f49855cd Backed out 2 changesets (bug 1482689) for browser chrome failures on browser_address_edit.js
Backed out changeset 61b49da4b9cb (bug 1482689)
Backed out changeset c810cab5dbdb (bug 1482689)
2018-11-05 18:28:15 +02:00
Arnaud Bienner
12a8b29c9c Bug 1504723 - Fix typo in enum name for some BiquadFilter and WaveShaper nodes. r=padenot
Differential Revision: https://phabricator.services.mozilla.com/D10915

--HG--
extra : moz-landing-system : lando
2018-11-05 16:08:56 +00:00
Qinghao_Jack_Song
511029a72d Bug 1491672 - Migrate About Dialog to use Fluent for localization r=flod,zbraniecki,jaws
Differential Revision: https://phabricator.services.mozilla.com/D7206

--HG--
extra : moz-landing-system : lando
2018-11-05 16:13:12 +00:00
arthur.iakab
27754a7d12 Backed out 2 changesets (bug 1402282) for turning multiple browser chrome bugs into permafail
Backed out changeset db7059b57f92 (bug 1402282)
Backed out changeset cea1d44ac776 (bug 1402282)
2018-11-05 17:56:37 +02:00
Rob Wood
bbc7462eda Bug 1503398 - Increase page-cycle limit to 3 while gecko-profiling is on; r=jmaher
Differential Revision: https://phabricator.services.mozilla.com/D10756

--HG--
extra : moz-landing-system : lando
2018-11-02 19:58:00 +00:00
Sam Foster
2dbcd5bcca Bug 1482689 - Use AddressPicker for the card billing address UI. r=MattN
* New BillingAddressPicker subclass of AddressPicker which just overrides some of the state-related behavior that isn't applicable to billing addresses.
* A couple new mochitests for the new/different behavior

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

--HG--
extra : moz-landing-system : lando
2018-11-05 15:16:02 +00:00
Matthew Noorenberghe
2e969bf86c Bug 1482689 - Don't import payment-dialog.js from other elements. r=sfoster
Importing payment-dialog.js ends up importing every other element because it imports the elements needed to render the full dialog.
We don't want all of our elements to depend on every other payment one so we shouldn't import payment-dialog.js anywhere in non-test code.

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

--HG--
extra : moz-landing-system : lando
2018-11-01 22:01:50 +00:00
Andreas Farre
89cb220346 Bug 1480198 - Construct nsDocShell objects inside BrowsingContext. r=peterv
Differential Revision: https://phabricator.services.mozilla.com/D7400

--HG--
extra : moz-landing-system : lando
2018-11-05 12:43:10 +00:00
Chris H-C
a35bbfce87 bug 1501303 - Adjust Telemetry Send meta-metrics r=Dexter
TELEMETRY_FAILED_SEND_PINGS_SIZE_KB and TELEMETRY_SUCCESSFUL_SEND_PINGS_SIZE_KB
are unmonitored and don't show evidence consistent with the original
hypothesis that size correlates with send failures. So let's remove them.

TELEMETRY_SEND_FAILURE_TYPE is a useful measure to track numbers and types of
send failures, in case they change. So let's make that permanent.

MozReview-Commit-ID: GWaKhrzIvph

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

--HG--
extra : moz-landing-system : lando
2018-11-05 14:53:21 +00:00
tanhengyeow
76cb2924c1 Bug 1459539 - Netmonitor more minor css tweaks. r=Honza
Spacing between "No throttling" and the dropdown icon is now consistent with "HAR"

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

--HG--
extra : moz-landing-system : lando
2018-11-05 14:52:53 +00:00
vinoth
e14aa2974e Bug 1504605 - Add Prefs to xpcshell test files for allowing usage of eval. r=ckerschb
Reviewers: ckerschb

Reviewed By: ckerschb

Subscribers: ckerschb

Bug #: 1504605

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

--HG--
extra : rebase_source : 9abb395224bdfa7795516295babfd847ea2553f4
2018-11-05 16:41:45 +02:00
arthur.iakab
3400b2b5c0 Backed out changeset b832377ab7a5 (bug 1502857) for dt failures on browser_inspector_extension_sidebar.js and browser_fontinspector.js CLOSED TREE 2018-11-05 16:47:45 +02:00
Jean-Yves Avenard
91dbdb0a68 Bug 1504531 - P2. Add MozPromiseHolder::ResolveOrReject methods. r=gerald
Depends on D10833

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

--HG--
extra : moz-landing-system : lando
2018-11-04 22:36:43 +00:00
Jean-Yves Avenard
6f99745b62 Bug 1504531 - P1. Use forward references in MozPromiseHolder. r=gerald
Differential Revision: https://phabricator.services.mozilla.com/D10833

--HG--
extra : moz-landing-system : lando
2018-11-05 14:26:23 +00:00
Matthew Gaudet
42e2aee566 Bug 1488763 - Unify stack touch logic across all platforms r=jandem
This incidentally also -adds- the stack touch logic to ARM64.

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

--HG--
extra : moz-landing-system : lando
2018-11-05 09:35:01 +00:00
Ted Campbell
8c500290c1 Bug 1503994 - Fixup js Proxy doc comments r=jandem
Differential Revision: https://phabricator.services.mozilla.com/D10716

--HG--
extra : moz-landing-system : lando
2018-11-05 09:09:45 +00:00
Jonathan Kingston
ca7afcc659 Bug 1490257 - Add in asserts for missing triggeringPrincipal. r=ckerschb
Depends on D10884

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

--HG--
extra : moz-landing-system : lando
2018-11-05 14:03:28 +00:00
Jonathan Kingston
65e7432dba Bug 1490257 - Add triggeringPrincipal to missing cpp loads. r=ckerschb
Depends on D10883

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

--HG--
extra : moz-landing-system : lando
2018-11-05 14:03:47 +00:00
Jonathan Kingston
42bd423a94 Bug 1490257 - Add principal to JS code for passing explicit triggeringPrincipals. r=ckerschb
Depends on D10882

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

--HG--
extra : moz-landing-system : lando
2018-11-05 14:05:19 +00:00
Jonathan Kingston
4248b4c554 Bug 1490257 - Pass triggeringPrincipal to test code. r=ckerschb
Differential Revision: https://phabricator.services.mozilla.com/D10882

--HG--
extra : moz-landing-system : lando
2018-11-05 14:05:47 +00:00
Chris Martin
3824b0d43e Bug 1402282 - Change jemalloc to use secure random arena ids r=glandium
Previously the id for a new arena was just a counter that increased by one
every time. For hardening purposes, we want to make the new counter a secure
random ID, so an attacker will have a more difficult time finding the memory
they are looking for.

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

--HG--
extra : moz-landing-system : lando
2018-11-05 00:27:31 +00:00
Chris Martin
a1d5bd1909 Bug 1402282 - Clang-format on mozjemalloc r=glandium
Differential Revision: https://phabricator.services.mozilla.com/D10794

--HG--
extra : moz-landing-system : lando
2018-11-05 00:26:00 +00:00
vinoth
896a7bbbd2 Bug 1504207 - Add Prefs for allowing usage of eval with system principal in test files r=ckerschb
Differential Revision: https://phabricator.services.mozilla.com/D10696

--HG--
extra : moz-landing-system : lando
2018-11-05 13:39:31 +00:00
ffxbld
de627b48fd No Bug, mozilla-central repo-update HSTS HPKP remote-settings tld-suffixes - a=repo-update r=RyanVM
Differential Revision: https://phabricator.services.mozilla.com/D10879

--HG--
extra : moz-landing-system : lando
2018-11-05 13:27:19 +00:00
Razvan Caliman
c1b14bfa3e Bug 1502857 - Refactor loading tools in Inspector sidebar; r=gl
- removes duplication of logic to create each panel.
- removes needless exposing of panel instances as properties on `inspector`:
  - `inspector.layoutview`
  - `inspector.fontinspector`
  - `inspector.animationinspector`
  - `inspector.changesview`
- updates tests to not rely on those exposed properties and instead
call `inspector.getPanel(toolId)` (previously created panels are stored
and a reference is returned).
- consolidates panel `destroy()` so we don't have to remember to
destroy them individually.

MozReview-Commit-ID: GVkP6z7FxKt

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

--HG--
extra : moz-landing-system : lando
2018-11-05 13:15:10 +00:00
WR Updater Bot
5f0e43a33a Bug 1504507 - Re-vendor rust dependencies. r=kats
Depends on D10889

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

--HG--
extra : moz-landing-system : lando
2018-11-05 13:14:49 +00:00
WR Updater Bot
0b6d11eb7f Bug 1504507 - Update serde branch for changes in WR PR #3264. r=kats
Depends on D10887

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

--HG--
extra : moz-landing-system : lando
2018-11-05 13:14:07 +00:00
WR Updater Bot
a42012aeb7 Bug 1504507 - Update webrender to commit b04e28d59a339fe0b155ff4e5edfe2f2edac71f9 (WR PR #3264). r=kats
Differential Revision: https://phabricator.services.mozilla.com/D10887

--HG--
extra : moz-landing-system : lando
2018-11-05 13:13:55 +00:00
Gerald Squelart
69cacfa74d Bug 1504347 - Add IDLE markers and AUTO_PROFILER_THREAD_SLEEP around Necko waits - r=mayhemer
IDLE markers help with categorizing threads in the profiler UI.
_SLEEP makes the profiler spend less time sampling threads that haven't changed.

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

--HG--
extra : moz-landing-system : lando
2018-11-05 12:58:51 +00:00
Masayuki Nakano
2bde324acf Bug 1501663 - part 7: HTMLEditor::GetSelectedElement() shouldn't return element node when Selection starts before the element node r=m_kato
This fixes odd case of this API.  GetSelectedElement() ignores non-element
nodes before an element node.  This must be intended to allow Selection to
start from in an element node.  However, current code allows to select starting
from previous text node.  This patch changes this behavior to stop looking
for element node if non-element node appears before an element node.

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

--HG--
extra : moz-landing-system : lando
2018-11-05 11:38:10 +00:00
Masayuki Nakano
189f0a35de Bug 1501663 - part 6: Get rid of |foundElmentInRange| r=m_kato
The |for| loop in HTMLEditor::GetSelectedElement() does not allow to be
after an element node because if another element is found, returns nullptr,
and if another non-element node is found, lastElementInRange which is
result of the method is cleared.  So, we checking lastElementInRange at
first of the for loop (i.e., immediately after calling
nsIContentIterator::Next()), we can get rid of use ugly bool flag.

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

--HG--
extra : moz-landing-system : lando
2018-11-05 11:16:20 +00:00
Masayuki Nakano
8442e9e0f6 Bug 1501663 - part 5: Rewrite the loop in HTMLEditor::GetSelectedElement() with |for| r=m_kato
HTMLEditor::GetSelectedElement() uses |while| and calls
nsIContentIterator::Next() at the last line.  Therefore, it cannot use
early-continue style.  Because nsIContentIterator::Next() is always called,
it should be rewrite with |for|.

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

--HG--
extra : moz-landing-system : lando
2018-11-05 11:07:34 +00:00
Masayuki Nakano
db5abeb169 Bug 1501663 - part 4: Clean up first-half of HTMLEditor::GetSelectedElement() r=m_kato
HTMLEditor::GetSelectedElement() should use RangeBoundary to reduce auto
variables which are in large scope.  So, first optimization block can be
optimized with RangeBoundary.

Then, the second block, for handling nsGkAtoms::href, does not need to
retrieve AnchorRef() nor FocusRef() since this is exactly same as
StartRef() and EndRef() of the first range when there is only one selected
range.  So, the last |if| block in this block is not necessary since
this has already been handled by the first block.

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

--HG--
extra : moz-landing-system : lando
2018-11-05 11:05:54 +00:00
Masayuki Nakano
82618136b1 Bug 1501663 - part 3: HTMLEditor::GetElementOrParentByTagNameInternal() shouldn't return <a> element when it's looking for nsGkAtoms::href or nsGkAtoms::anchor but found <a> element does not match with <a href="..."> or <a name="..."> r=m_kato
HTMLEditor::GetElementOrParentByTagNameInternal() may return <a> element
which does not match for nsGkAtoms::href or nsGkAtoms::anchor (in the former
case, it should return only an <a> element which has "href" attribute and
its value is not empty.  in the latter case, it should return only <a> element
which has "name" attribute and its value is not empty).

This patch makes it won't check found element's name when nsGkAtoms::href or
nsGkAtoms::anchor is specified.

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

--HG--
extra : moz-landing-system : lando
2018-11-05 06:52:11 +00:00
Masayuki Nakano
2654031504 Bug 1501663 - part 2: HTMLEditor::GetSelectedElement() should return nullptr if 2 or more elements are in selected range r=m_kato
This is also regression of bug 1432944, but hidden by the optimization of
bug 1482019.

In bug 1482019, we removing the code clearing |found| flag when the loop
meets second element in selection range.
https://searchfox.org/mozilla-central/diff/0dd29e18302c5e6b07b88aac7164889d752acda7/editor/libeditor/HTMLEditor.cpp#2751-2753
because the flag won't be referred.

However, before the fix of bug 1432944, it's referred and the cleared flag
makes the method return nullptr.

Therefore, this patch makes it return nullptr when 2 or more elements are
in selected range.

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

--HG--
extra : moz-landing-system : lando
2018-11-05 04:57:02 +00:00
Masayuki Nakano
fa95dc80c3 Bug 1501663 - part 1: HTMLEditor::GetSelectedElement() should return nullptr when first found element is not what the caller is looking for r=m_kato
This takes back old behavior, 59 or earlier version.

|selectedElement| may be set to an element which is not what the caller is
looking for.  Therefore, if the first element node in the selected range is
not what the caller is looking for, it should return nullptr.

This regression is caused by this changeset:
https://hg.mozilla.org/mozilla-central/rev/93c1d149d757 (bug 1432944)

Additionally, this patch modifies the automated test for conforming to
original idea of the API.  This API must not be intended to retrieve
usual inline elements like <b>, <i>, etc.

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

--HG--
extra : moz-landing-system : lando
2018-11-05 03:52:10 +00:00
ffxbld
e35d7cbe8f No Bug, taskcluster/docker/funsize-update-generator pipfile-update. r=sfraser
Differential Revision: https://phabricator.services.mozilla.com/D10872

--HG--
extra : moz-landing-system : lando
2018-11-05 12:28:30 +00:00
arthur.iakab
a4fd61f751 Backed out changeset dda13ad0cdee (bug 1393004) for failing TV tests on spv-only-sent-to-initiator.sub.html CLOSED TREE
--HG--
rename : testing/web-platform/tests/content-security-policy/navigate-to/form-action/form-action-blocks-navigate-to-allows.sub.html => testing/web-platform/tests/content-security-policy/navigate-to/form-action/form-action-blocks-navigate-to-allows.html
rename : testing/web-platform/tests/content-security-policy/navigate-to/spv-only-sent-to-initiator.sub.html => testing/web-platform/tests/content-security-policy/navigate-to/spv-only-sent-to-initiator.html
2018-11-05 14:07:22 +02:00
Emilio Cobos Álvarez
8babb8a035 Bug 1504644 - Fix servo build. 2018-11-05 12:47:03 +01:00
Emilio Cobos Álvarez
0fce47dc20 Bug 1504644 - Fix tidy issues. 2018-11-05 12:25:59 +01:00
Emilio Cobos Álvarez
dddb8d0f6a Bug 1504644 - Cherry-pick servo/servo#21644. 2018-11-05 12:25:24 +01:00