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

557428 Коммитов

Автор SHA1 Сообщение Дата
Sebastian Hengst dc47844809 Backed out changeset 1576132e98a3 (bug 1034036) for frequently failing browser-chrome's browser/components/sessionstore/test/browser_restore_reversed_z_order.js on OS X. r=backout a=backout
MozReview-Commit-ID: 9Ygvi8JI6NP
2017-09-09 13:00:36 +02:00
Sebastian Hengst 08cf7c642a Backed out changeset b9fdf5d1b402 (bug 1034036)
MozReview-Commit-ID: 6JkYTuLEJQb
2017-09-09 12:58:38 +02:00
Sebastian Hengst 3c3aa7ed62 Backed out changeset 39a94e16a369 (bug 1034036)
MozReview-Commit-ID: IcSi7Zbp96e
2017-09-09 12:58:33 +02:00
Sebastian Hengst 261dd76eb6 merge mozilla-inbound to mozilla-central. r=merge a=merge
MozReview-Commit-ID: ACCqbunIDpp
2017-09-09 11:44:38 +02:00
Phil Ringnalda 2dba33e427 Backed out 3 changesets (bug 1245527) for ASan browser-chrome leaks and Android mochitest bustage
Backed out changeset 8ee1f7aebd62 (bug 1245527)
Backed out changeset e6a5de8d1246 (bug 1245527)
Backed out changeset be63e73426b4 (bug 1245527)

MozReview-Commit-ID: AU22LgPh9iB
2017-09-09 00:09:21 -07:00
Zibi Braniecki 3523ff39ae Bug 1394977 - Move L10nRegistry to use async iterators. r=mossop
MozReview-Commit-ID: 5szrQ1UWJ64

--HG--
extra : rebase_source : b72a952128d0b4aed9a142c0e4d4b30b26960f80
2017-09-08 23:19:49 -07:00
Phil Ringnalda 8cb8e27250 Backed out changeset 97dbcd99280d (bug 1394977) for xpcshell failures in test_localization.js
MozReview-Commit-ID: 1ZyUZB7cigl
2017-09-08 22:21:00 -07:00
Hiroyuki Ikezoe ad4feb676c Bug 1397122 - Handle values as valid in single transition shorthand even if the transition-property is 'none'. r=xidorn
A single transition value that includes 'none' for transition-property is
valid, so we should store whole specified values (if it's valid).  Whereas,
the spec [1] clearly says for the case where there are multiple entries;
  If there is more than one <single-transition> in the shorthand, and any of
  the transitions has none as the <single-transition-property>, then the
  declaration is invalid.

'none 2s linear 2s' is a test case for the former, '1s width, 2s none' is a
test case for the latter.

Note that with this patch, 'transition: none' is serialized as 'none 0s ease 0s'
instead of 'none' but it matches Gecko.

[1] https://drafts.csswg.org/css-transitions/#single-transition

MozReview-Commit-ID: 3o3z5GFyMqh

--HG--
extra : rebase_source : c553af804124c0c76554fb8ad007e78e2813d321
2017-09-09 11:34:06 +09:00
Hiroyuki Ikezoe 1798e97abb servo: Merge #18426 - Transition shorthand fix (from hiikezoe:transition-shorthand); r=xidorn,boris
<!-- Please describe your changes on the following line: -->

https://bugzilla.mozilla.org/show_bug.cgi?id=1397122
---
- [X] `./mach build -d` does not report any errors
- [X] `./mach test-tidy` does not report any errors

Source-Repo: https://github.com/servo/servo
Source-Revision: c0c43da1f90afc37ac9d78bb7ef0f52cf02f2611

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : 22db9b32cc829408d2a04a42941069c07a00ea13
2017-09-08 22:11:50 -05:00
Kris Maglione 77f405ec4c Bug 1398357: Part 2 - Assert that Preferences methods observer/callback args are never null. r=njn
MozReview-Commit-ID: 10vbA1OnDC0

--HG--
extra : rebase_source : 3f5831e8c02e51724c4d8d4389e4d54c6a468d38
extra : histedit_source : 918e123b21605082306b3d9069e8085d0295f943
2017-09-08 14:36:54 -07:00
Kris Maglione 93fb7fb9ac Bug 1398357: Part 1 - Fix removal of LocaleService preference observers. r=gandalf
By the time the LocaleService destructor is called, by definition sInstance
has been cleared and its preference observers have been removed, since both
are strong references. In practice, this doesn't seem to cause trouble, but it
does lead to worrying warnings at shutdown in debug builds, which are annoying
red herrings when debugging other issues.

MozReview-Commit-ID: IalOigr2GWN

--HG--
extra : rebase_source : f86a8e81b91c639dedaca85e5bc3b53d54e01645
extra : histedit_source : 643b76de0d29ca4890ac4dd4175259989a63688e
2017-09-08 17:51:43 -07:00
Geoff Brown 105f384ee4 Bug 1347690 - Skip test_localStorageQuotaSessionOnly2.html for frequent intermittent failures; r=asuth 2017-09-08 21:42:48 -06:00
Andrei Oprea d4cd0423d0 Bug 1398080 - Fix intermittent failures related to about:home search. r=Mardak
MozReview-Commit-ID: 1SRe0a0nIDT

--HG--
extra : rebase_source : 944f1ff24d08f66e5f7960bf5ca48d9ac3adf020
2017-09-06 10:34:26 +03:00
Emilio Cobos Álvarez 8e336e2d7a servo: Merge #18423 - More stale todos (from emilio:more-stale-todos); r=nox
Just removing or rewording stale stuff.

Source-Repo: https://github.com/servo/servo
Source-Revision: 8065eac0ebcadcdab0fd3649cf9e18c591d47ed6

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : 6cf44e72d503154f38c84a8ba3b210ac2d18e0b6
2017-09-08 21:09:58 -05:00
Emilio Cobos Álvarez fac392650a servo: Merge #18422 - style: Remove stale todo about handling scrollbars in viewport units (from emilio:stale-todo); r=bholley
This is effectively not going to happen, per
https://github.com/w3c/csswg-drafts/issues/1766

Source-Repo: https://github.com/servo/servo
Source-Revision: 9c0abfea239077bc490ed8a2d4a7c32ba782942d

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : 6131b7b2610f82b5888e54841a02e09e59ba5a05
2017-09-08 16:30:26 -05:00
Daosheng Mu ae7ecb064c Bug 1397397 - Detect vrdisplayconnect/vrdisplaydisconnect events with IsTrackedDeviceConnected() in OpenVR; r=kip
MozReview-Commit-ID: 1Q8zyCZhQuC

--HG--
extra : rebase_source : eb7befe980cb70b8c86adb379190b8aa0a76d973
2017-09-08 15:35:53 +08:00
J.C. Jones 9ade50e63c Bug 1245527 - Remove NSS U2F SoftToken. r=ttaubert, r=jed
The nsIU2FToken and its implementors are no longer needed; the soft token was
re-implemented into dom/webauthn/U2FSoftTokenManager.cpp during the WebAuthn
implementation. When the dom/u2f/ code changed to the implementation from
WebAuthn, the old synchronous version became dead code.

This patch removes the dead code.

MozReview-Commit-ID: 2yDD0tccgZr

--HG--
extra : transplant_source : %B3%96Te%E7%02%08%98%1A%B2%FA%1C%40%C4J%BC%B2%85j%81
2017-09-05 12:32:42 -07:00
J.C. Jones 50501cbead Bug 1245527 - Rewrite U2F.cpp to use U2FTokenManager. r=keeler, r=ttaubert
- This patch reworks the U2F module to asynchronously call U2FManager,
  which in turn handles constructing and managing the U2FTokenManager
  via IPC.
- Add U2FTransaction{Parent,Child} implementations to mirror similar ones for
  WebAuthn
- Rewrite all tests to compensate for U2F executing asynchronously now.
  - Used async tasks, used the manifest parameters for prefs and scheme,
    and generally made these cleaner.

NOTE TO REVIEWERS:
 Since this is huge, I recommend the following:

 keeler - please review U2F.cpp/h, the tests, and the security-prefs.js. Most
          of the U2F logic is still in U2F.cpp like before, but there's been
          some reworking of how it is called.

 ttaubert - please review U2FManager, the Transaction classes, build changes,
            and the changes to nsGlobalWindow. All of these should be very
            similar to the WebAuthn code it's patterned off.


MozReview-Commit-ID: C1ZN2ch66Rm

--HG--
extra : transplant_source : %EA%98%D2%87C%FD%CC%A5%3D%B5%9B%1C%DA%A5J%CD%05%94%13%0D
2017-09-05 12:32:42 -07:00
Jonathan Kingston cd6bb3887f Bug 1395659 - Rejecting contextual identity APIs when containers are disabled. r=kmag
MozReview-Commit-ID: LCiI74SN12y

--HG--
extra : rebase_source : 86c883e610e406e115ca9558b5f4128db426a8e5
2017-08-31 11:46:31 -07:00
Jonathan Kingston 23b1fbea74 Bug 1390738 - Await for pref change if containers aren't enabled. r=aswan
MozReview-Commit-ID: GOf1py5uZkh

--HG--
extra : rebase_source : dbdcec159ccf5e4086e710efba882a62877d05f5
2017-09-07 22:20:47 -07:00
Zibi Braniecki b45802f003 Bug 1394977 - Move L10nRegistry to use async iterators. r=mossop
MozReview-Commit-ID: I6KuXyoItOQ

--HG--
extra : rebase_source : 97c1ada528e3a1536ea64905023e5fa41311a9a6
2017-08-29 01:06:47 -07:00
Daniel Holbert 66109d5421 Bug 1398379 part 2: Remove GetRootScrollFrameAsScrollableExternal() since it has no more callers. r=mats
MozReview-Commit-ID: 5m6p7sS2jRS

--HG--
extra : rebase_source : 9b7c26006cb542968c2b92b356a2beb1a334c2c9
2017-09-08 16:36:34 -07:00
Daniel Holbert fb2c2ce4a5 Bug 1398379 part 1: Make callers of GetRootScrollFrameAsScrollableExternal() use its equivalent non-"External" version instead. r=mats
This is a simplification. GetRootScrollFrameAsScrollableExternal() is just a
wrapper around its non-"External" version, GetRootScrollFrameAsScrollable(), so
we might as well just directly call *that* version.  All of the callers here
are inside of libxul, so they don't need the special "External" version.

MozReview-Commit-ID: GGMMDAlJ9xu

--HG--
extra : rebase_source : a3bd19a6300d0ce66f38fb8433db20b4ec03abfb
2017-09-08 16:36:32 -07:00
Daniel Holbert 1c67d21eda Bug 1398376 part 3: Collapse formerly-MOZILLA_INTERNAL_API-guarded Foo()/FooInternal() functions together in nsIPresShell and nsPresContext. r=mats
This is just simplifying things by eliminating a layer of now-unnecessary
abstraction.

MozReview-Commit-ID: 1MBagjYXbCD

--HG--
extra : rebase_source : a0e7e78ef4925efd00eac969ae126d1ba3f4f607
2017-09-08 16:25:03 -07:00
Daniel Holbert c6e12c7a35 Bug 1398376 part 2: Remove formerly-MOZILLA_INTERNAL_API-guarded FooExternal() functions from nsIPresShell and nsPresContext. r=mats
These functions are now dead code.  And really, they were already dead code
even before this patch-stack -- they were only called in never-evaluated
(and now-deleted) #else clauses.

MozReview-Commit-ID: AeY6Z3ybmsv

--HG--
extra : rebase_source : deb51373f4d32580ab2ffb71c5c078132e4a76a6
2017-09-08 16:25:01 -07:00
Daniel Holbert 8a68df9e64 Bug 1398376 part 1: Remove MOZILLA_INTERNAL_API guards from nsIPresShell.h and nsPresContext.h, since these headers are only used in libxul. r=mats
This patch drops all MOZILLA_INTERNAL_API checks (and the bodies of any
associated "#else" clauses) from these files.  The basic assumption here is
that MOZILLA_INTERNAL_API is #defined in all (supported) compilation units that
#include these files, so the checks are superfluous and the #else clauses are
dead code.

(If this assumption is mistaken and there is some .cpp file in our codebase
that #includes this header and yet does not have MOZILLA_INTERNAL_API, we will
find out via bustage on treeherder.)

MozReview-Commit-ID: 8dHJFBDVHwT

--HG--
extra : rebase_source : 476a6e2de8468dea2e26e11f415c3868326126e5
2017-09-08 16:24:59 -07:00
Jeff Hajewski 65f131cb7f Bug 1383816 - Removes FocusTargetType ParamTraits specialization; r=botond
MozReview-Commit-ID: Gao4O3eJKmp

--HG--
extra : rebase_source : 339e5029ccb7ab49ad1cf6d0e2ea2cc23c18fb2c
2017-09-03 08:11:59 -05:00
Jeff Hajewski 91957254d0 Bug 1383816 - Adds IPC Read and Write methods for FocusTarget and NoFocusState structs and creates EmptyStructSerializer helper class; r=botond
Since NoFocusState is am empty struct used in the |mData| variant in
FocusTarget, we need to add a Reader and a Writer for IPC for NoFocusState so we
can properly read and write the |mData| variant. The NoFocusState Read and Write
methods do not read or write anything, since NoFocusState does not contain any
data. This is done by creating a helper class EmptyStructSerliazer and
inheritting from EmptyStructSerializer for the NoFocusState specialization.

The |Read| and |Write| methods for FocusTarget are updated by removing the read
and write code for the individual types of |mData| and instead makes use of the
IPC read and write methods for Variant.

MozReview-Commit-ID: 3159sp6FLek

--HG--
extra : rebase_source : ff82797c26abffbd8bbcc465dc40c621be3257d0
2017-09-02 14:10:40 -05:00
Jeff Hajewski 521f2c7947 Bug 1383816 - Updates FocusState to use variant matcher; r=botond
Updates FocusState::Update to use a matcher on the the mData variant. This
replaces a switch statement that was used to unpack the mData union, prior to
making mData a variant.

FocusTargetDataMatcher has three match methods, which are largely unmodified
from the three cases of the original switch statement. The constructor takes two
arguments: a reference to |this| (FocusState) and a copy of the
|sequenceNumber|. |sequenceNumber| was added to the constructor to avoid passing
in a reference to |target|, since we only needed the |sequenceNumber| property
from |target|.

MozReview-Commit-ID: FkjQm8oGysM

--HG--
extra : rebase_source : 4ef8da00fe0925ed5a477063449e83bf601f49ee
2017-09-02 14:05:16 -05:00
Jeff Hajewski 43927bb0f1 Bug 1383816 - Adds Variant in implementation of FocusTarget and removes union; r=botond
FocusTarget.h
* Adds Variant property to FocusTarget
* Adds RefLayerId typedef for uint64_t
* Adds empty struct for the case where there is no focus target
* Adds operator== for ScrollTargets struct
* Updates mData from union to mozilla::variant
* Removes FocusTargetType enum
* Removes FocusTargetData union
* Removes mType property

FocusTarget.cpp
* Updates methods using mData to use proper variant methods
* Removes references to mType, instead using the appropriate
  variant methods

MozReview-Commit-ID: BAarVxSGDtJ

--HG--
extra : rebase_source : 47ca7243619a756408cf1ee406b94890d083da3b
2017-09-03 08:35:08 -05:00
Jeff Hajewski 4a5af78bc9 Bug 1383816 - Fixes several minor errors in Variant's IPC implementation. r=botond
* VariantWriter construction switched to use aggregate initialization
* Call to AsVariant was inappropriately called via |paramType| when it should
  have been called via |mozilla|
* |Next::Read| call in VariantReader specialization was missing the |result|
  argument

MozReview-Commit-ID: Izany7iDX0k

--HG--
extra : rebase_source : 7387e72100c7d2ba8fcfd1e5a3b6d0ce6be6c740
2017-09-03 06:30:42 -05:00
Kyle Machulis 2f8387c6cb Bug 1398071 - Rewrite youtube embeds that use enablejsapi; r=cpeterson
Youtube has now deprecated flash embeds completely, meaning
enablejsapi in embeds will no longer work. We can now rewrite these to
use HTML5, as any functionality related to the js api will no
longer function anyways.

MozReview-Commit-ID: kZTwpyLaYw

--HG--
extra : rebase_source : 7b6516183a4c7de8fe47fb328e4f28f3ad7bc03f
2017-09-08 12:59:52 -07:00
Michael Comella 00721ed12d Bug 1395645: Increase Pocket Stories refresh to once an hour. r=liuche
I haven't tested this because it's very time-consuming for such a simple
change.

MozReview-Commit-ID: 7f4LLlBbrLw

--HG--
extra : rebase_source : ce8fbbbf2a745395f0986fd76442f72743dc68ca
2017-09-08 14:22:21 -07:00
Bob Silverberg bad1c19a1b Bug 1397383 - Add loadReplace option to tabs.update, r=mixedpuppy
This adds a loadReplace option into the updateOptions object for tabs.update()
which, when set to true, will cause the loading of the new URL to replace the
current URL in the tab's history.

MozReview-Commit-ID: KZTuEl7cgb0

--HG--
extra : rebase_source : 24f006fe197f56b3102cb00e226d53036b9ba93b
2017-09-08 08:31:39 -04:00
Alexis Beingessner 9c1a7b4766 Bug 1398324 - remove broken optimization from webrender (hotfix). r=jrmuizel
MozReview-Commit-ID: FbgWy74U1e0

--HG--
extra : rebase_source : dd6867f3fe686203baddc8e6eae2b5114ba8df92
2017-09-08 16:20:52 -04:00
Lorena Diaconescu 40a6d7faec Bug 1361548 - Removed unreachable isCollapsed if condition. r=mats
MozReview-Commit-ID: EinCtNyaK6e

--HG--
extra : rebase_source : 55f08ef227bc96e31dbb83c597448274a7836a35
2017-09-06 15:48:20 -04:00
Kit Cambridge d6cced9ca1 Bug 1394525 - Reset tracker scores before syncing. r=markh
MozReview-Commit-ID: 1wHdOeiZOyl

--HG--
extra : rebase_source : 765094feecdbe79cfa30f5c5a2886f8113890077
2017-08-28 11:24:26 -07:00
J.C. Jones e2109ded03 Bug 1245527 - Use PWebAuthnTransactionParent superclass for U2FTokenManager. r=keeler
This is a change to permit interacting with the U2FTokenManager from
the dom/U2F context in addition to the dom/WebAuthn one.

MozReview-Commit-ID: BvP5BY2wVYi

--HG--
extra : transplant_source : %BEt%83%DBq%1C%1E%AE%24%D3%81%94%ACK%08%9C9%3F%0D%EF
2017-08-25 18:37:17 -07:00
Nomis101 88f18e1e34 Bug 1398300 - Fix "buton" typo in all.js. r=stone 2017-09-08 21:24:43 +02:00
Kris Maglione c389591944 Bug 1392210: Follow-up: Fix missing Services.jsm import. r=trivial
MozReview-Commit-ID: 9YqoYN5yAIe
2017-09-08 17:26:37 -07:00
Nicholas Nethercote 5a4fba2531 Bug 1397472 - Measure ElementData. r=bholley.
We already measure (in Rust code) the things hanging off it, but overlooked the
object itself. This patch adds measurement on the C++ side.

--HG--
extra : rebase_source : f7daf62b4ec43cdc95034ffcb2a3aca27d995ae3
2017-09-09 00:12:25 +10:00
David Keeler 2b6bbd5ca1 Bug 910207 - Test that we don't show the client cert selection dialog on speculative connect r=mak
MozReview-Commit-ID: 1A2vvkPdPA7

--HG--
rename : browser/base/content/test/urlbar/browser_urlbar_search_speculative_connect_mousedown.js => browser/base/content/test/urlbar/browser_urlbar_search_no_speculative_connect_with_client_cert.js
2017-09-08 14:16:23 -07:00
Honza Bambas 43860c7a61 Bug 910207 - Prevent client certificate pop-up coming from a speculative connection, r=dkeeler
MozReview-Commit-ID: IHKzHwsJUiQ
2017-09-01 10:42:00 +02:00
Kris Maglione c4e733b63f Bug 1396652: Fix WebRequestService destructor ordering issue. r=mixedpuppy
MozReview-Commit-ID: HYDNYzb5bnM

--HG--
extra : rebase_source : 4238fc77e76886bffc08f9e0ff56fa77aaf0910c
extra : amend_source : db6e6fa6c21922bd0285fb74561e3ed5ca443a36
2017-09-07 19:04:01 -07:00
David Parks 7e742d04cb Bug 1397445: Remove expiring FILE_EMBEDDED_SERVICEWORKERS telemetry probe. r=bkelly
This measured service workers registered in https iframes contained in file:// pages.
2017-09-08 11:21:27 -07:00
Ryan VanderMeulen af96b53a25 Bug 1398347 - Update pdf.js to version 1.9.530. r=bdahl 2017-09-08 17:10:53 -04:00
Jim Mathies 910a0df0c0 Bug 1385991 - Provide a chrome side notification informing the user about an incompatible version of JAWS screen reader. r=felipe 2017-09-08 16:05:06 -05:00
Jim Mathies 0b042659d9 Bug 1385991 - Prevent initialization of content accessibility when older versions of the JAWS screen reader are detected. r=surkov 2017-09-08 16:05:06 -05:00
Jim Mathies b5d3d9c7c9 Bug 1385991 - Initialize accessibility compaitibility information earlier in accessibility service startup. r=eitan 2017-09-08 16:05:06 -05:00
Geoff Brown 00747ece8f Bug 1393940 - Skip xpcshell test_proxy_scripts.js on linux for frequent intermittent timeouts; r=mixedpuppy 2017-09-08 15:00:28 -06:00