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

612277 Коммитов

Автор SHA1 Сообщение Дата
Xidorn Quan 9bee3c7fdc Bug 1486325 - Enable webkit-prefixed unknown pseudo-element by default. r=emilio
Differential Revision: https://phabricator.services.mozilla.com/D5010

--HG--
extra : moz-landing-system : lando
2018-09-05 11:44:57 +00:00
Rob Wu f9c7d11a3a Bug 1462121 - Improve reliability of context.contentWindow/active r=zombie
- Register pagehide/pageshow events in the system group and ignore
  synthetic events to avoid interference from web pages.
- Remove unused docShell member.
- Fix memory leak in bfcached windows, by ensuring that BaseContext
  instances can be GC'd when an extension is unloaded, even if the
  context is associated with a page in the bfcache.
- Ensure that context.contentWindow and context.active always have an
  accurate value.

The latter is achieved by moving all contentWindow tracking logic in a
new helper class "InnerWindowReference".

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

--HG--
extra : moz-landing-system : lando
2018-09-05 12:11:09 +00:00
Dorel Luca a036d8964b Backed out changeset ff6b5bae0da4 (bug 1479373) for devtools failures on devtools/client/inspector/rules/test/browser_rules_completion-new-property_04.js. CLOSED TREE 2018-09-05 15:10:37 +03:00
Dorel Luca bfb495d592 Backed out changeset 2e439c0a6934 (bug 1488701) for build bustage. CLOSED TREE 2018-09-05 15:09:37 +03:00
Rob Wu c80740cd9c Bug 1462121 - Fix intermittent in browser_ext_getViews.js r=zombie
extension.getViews() returns all windows whose context.active property
is true. In an upcoming commit, this "active" property will no longer be
set to false upon pagehide (which is a bit too early, since the window
has not unloaded yet), but set to false if the window is truly unloaded
(or frozen in the bfcache).

In the extension.getViews() test, the parts that close the popup or tab
should not immediately resume the test, but wait until the window in the
extension process has unloaded. Otherwise there is a rare chance that
extension.getViews() will return the window that was expected to be
closed, which results in a test failure.

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

--HG--
extra : moz-landing-system : lando
2018-09-05 12:04:59 +00:00
Nicolas Chevobbe f0d64d744d Bug 1217198 - Better autocompletion for template literals; r=Honza.
Add a new template literal state to findCompletionBeginning so we can
better handle the autocompletion for them.

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

--HG--
extra : moz-landing-system : lando
2018-09-05 11:37:33 +00:00
Gerald Squelart 87eed890a4 Bug 1488701 - Remove misleading std::move's - r=froydnj
Doing std::move when returning/assigning a local or temporary object is
preventing the compiler from performing copy elision.

In the case of UniquePtr, it's easier to `return MakeUnique<T>(...)` instead of
the move verbose `UniquePtr<T> r(new T(...)); return r;`

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

--HG--
extra : moz-landing-system : lando
2018-09-05 11:41:07 +00:00
Gary Kwong edc15db338 Bug 1488553 - Comment out --gc-zeal flags r=jandem
Comment out --gc-zeal flags

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

--HG--
extra : moz-landing-system : lando
2018-09-05 10:25:55 +00:00
Oriol Brufau 29fc9939ad Bug 1401610 - Add "Remove Extension" context menu item to browserAction. r=dao
Differential Revision: https://phabricator.services.mozilla.com/D3565

--HG--
extra : moz-landing-system : lando
2018-09-05 10:02:52 +00:00
Ionut Goldan 03af62563c Bug 1488422 - Use boolean literal instead of string r=jmaher
Differential Revision: https://phabricator.services.mozilla.com/D5012

--HG--
extra : moz-landing-system : lando
2018-09-05 09:45:50 +00:00
Sebastian Hengst bcdcf7554b Bug 1487190 - Update bugzilla metadata in moz.build files to reflect Layout components reorganization in bug 1484408. r=heycam
Differential Revision: https://phabricator.services.mozilla.com/D4642

--HG--
extra : moz-landing-system : lando
2018-09-05 11:16:02 +00:00
Sebastian Hengst 0003a3ce96 Backed out changeset 834a75789c0a (bug 1487190) for bustage due to unused file pattern 2018-09-05 14:11:04 +03:00
Sebastian Hengst 38d937a7c0 Bug 1487190 - Update bugzilla metadata in moz.build files to reflect Layout components reorganization in bug 1484408. r=heycam
Differential Revision: https://phabricator.services.mozilla.com/D4642

--HG--
extra : moz-landing-system : lando
2018-09-05 10:54:03 +00:00
Dorel Luca b9abf01ee1 Backed out changeset 9e0481c2413d (bug 1487190) for breaking Gecko Decision Task. CLOSED TREE 2018-09-05 13:43:09 +03:00
Sebastian Hengst 447d464a1a Bug 1487190 - Update bugzilla metadata in moz.build files to reflect Layout components reorganization in bug 1484408. r=heycam
Differential Revision: https://phabricator.services.mozilla.com/D4642

--HG--
extra : moz-landing-system : lando
2018-09-05 10:00:39 +00:00
Tim Nguyen 59c2439982 Bug 1488615 - Make #urlbar-zoom-button adjustments available to all webextension themes. r=dao
Differential Revision: https://phabricator.services.mozilla.com/D4996

--HG--
extra : moz-landing-system : lando
2018-09-05 08:23:10 +00:00
Tim Nguyen 5a744e504b Bug 1488617 - Use currentColor and context-fill for tab-audio-small.svg icons. r=dao
Differential Revision: https://phabricator.services.mozilla.com/D4999

--HG--
extra : moz-landing-system : lando
2018-09-05 08:25:54 +00:00
Rob Wu 3afb2de6c7 Bug 1415333 - Use tab.setAttribute instead of tab.setUserContextId r=Gijs
Use tab.setAttribute instead of tab.setUserContextId, in case the XBL
bindings are not ready yet.

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

--HG--
extra : moz-landing-system : lando
2018-09-05 09:53:17 +00:00
Rob Wu e69ac92ea0 Bug 1415333 - Set correct userContextId at window creation r=Gijs
The container tab indicator should also be set on the tab, not just on
the browser. Otherwise it is possible for the indicator to be missing
when a new window is opened.

And previously, if the URL was an "about:blank" URL, the tab in the new
window would use the default container because of the early return in
_handleURIToLoad. This is fixed by accounting for window.arguments[6]
when initializing the default (about:blank) tab in the tabbrowser.

Unit tests for these code path will be added in bug 1393570.

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

--HG--
extra : moz-landing-system : lando
2018-09-05 09:39:56 +00:00
Soeren Hentzschel bfb302ba9e Bug 1486915 - Use the "hidden" attribute instead of a "hide" class in aboutPrivateBrowsing.js r=johannh
Differential Revision: https://phabricator.services.mozilla.com/D4821

--HG--
extra : moz-landing-system : lando
2018-09-05 09:28:17 +00:00
Nicolas Chevobbe 13d59f5645 Bug 1479373 - Refactor autocomplete popup for performance; r=jdescottes.
This patch introduces some options that can be passed to
setItems and openPopup to prevent doing unecessary work.
The main ideas here are to create all the popup items and
put them in a document fragment which then will be appended
to the popup, so we don't add them one by one which can be costly.
When creatingthe items, we also create one directly with the
selected class if autoSelect is set to true. This way, we don't have
to toggle the class later (which led to another reflow).

We take this work as an opportinuity to clean up the component.
Unused function (like appendItem and removeItem) are removed,
selectedIndex does not use a getter/setter anymore.

Some of the consumers calls are updated and so is the component test.

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

--HG--
extra : moz-landing-system : lando
2018-09-05 08:34:47 +00:00
Nicolas Chevobbe eef06be71f Bug 1488336 - Group clear mark and markText for completion text; r=bgrins.
This way, codeMirror does not trigger so many reflows and
makes setAutocompletionText faster.
An unwanted side-effect was that it made closing the console
a lot slower. Looking at the closing code of the JsTerm, we
do call setAutocompletionText("") in the end, which we don't
really need since we destroy the editor shortly after. Removing
this call keeps closing time the same as before.

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

--HG--
extra : moz-landing-system : lando
2018-09-04 16:19:23 +00:00
Boris Chiou 488cfa4114 Bug 1487838 - Move clip-path path reftest into wpt. r=xidorn
Move the reftests of path() into wpt. For the rest reftests of clip-path, we
could move them into wpt in a separate bug.

Depends on D4965

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

--HG--
rename : layout/reftests/svg/svg-integration/clip-path/clip-path-path-001.html => testing/web-platform/tests/css/css-masking/clip-path/clip-path-path-001.html
rename : layout/reftests/svg/svg-integration/clip-path/clip-path-path-002.html => testing/web-platform/tests/css/css-masking/clip-path/clip-path-path-002.html
rename : layout/reftests/svg/svg-integration/clip-path/clip-path-path-001-ref.html => testing/web-platform/tests/css/css-masking/clip-path/reference/clip-path-path-001-ref.html
rename : layout/reftests/svg/svg-integration/clip-path/clip-path-path-002-ref.html => testing/web-platform/tests/css/css-masking/clip-path/reference/clip-path-path-002-ref.html
extra : moz-landing-system : lando
2018-09-05 03:36:10 +00:00
Boris Chiou 8e384ca9b3 Bug 1487838 - Add a pref for |clip-path:path()|. r=xidorn
Add a preference, layout.css.clip-path-path.enabled, for |clip-path:path()|.

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

--HG--
extra : moz-landing-system : lando
2018-09-05 04:50:33 +00:00
Petru Lingurar 817c2cd883 Bug 1480083 - After exiting PIP the restarted activity should have device's orientation; r=sdaswani
Differential Revision: https://phabricator.services.mozilla.com/D4939

--HG--
extra : moz-landing-system : lando
2018-09-04 16:14:30 +00:00
Ryan Kelly 8624d8b8b2 Bug 1484465 - Enable FxA Commands feature by default. r=vladikoff
This switches send-tab to use the new FxA "device commands" feature
by default, rather than the old sync client commands channel.

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

--HG--
extra : moz-landing-system : lando
2018-09-04 16:54:32 +00:00
James Teh 5fad83caf4 Bug 1488109: If the focused element has aria-activedescendant and the target id is moved to another node, move accessible focus to the new target. r=surkov
Differential Revision: https://phabricator.services.mozilla.com/D4832

--HG--
extra : moz-landing-system : lando
2018-09-05 04:43:18 +00:00
Masayuki Nakano 56966c4975 Bug 1347040 - Prevent -Woverloaded-virtual of AccessibleWrap.h when __clang__ defined r=Jamie
Some classes of a11y are defined from both IUnknown and nsISupports.  Both of
them have QueryInterface().  So, one of them is overridden by a sub class
hides the other and this is warned by clang.   However, AccessibleWrap.h
prevents this warning since it's by design when the compiler is GCC.
So, it should do same thing when the compiler is clang.

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

--HG--
extra : moz-landing-system : lando
2018-09-05 04:13:30 +00:00
Nika Layzell 933f7fe4d4 Bug 1485177 - Add |siteOrigin| information to nsIPrincipal r=Ehsan
Differential Revision: https://phabricator.services.mozilla.com/D4140

--HG--
extra : moz-landing-system : lando
2018-09-05 03:22:16 +00:00
Csoregi Natalia 0ee540d6b5 Backed out changeset 56aa054d4cc0 (bug 1399367) for browser/extensions/formautofill/test/unit/test_activeStatus.js failures. CLOSED TREE 2018-09-05 05:47:21 +03:00
Hiroyuki Ikezoe 6e8f3beb98 Bug 1478212 - Propagate MediaFeatureChangeReason::SystemMetricsChange into sub frames. r=emilio
A test case covers this will be introduced in bug 1486971.

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

--HG--
extra : moz-landing-system : lando
2018-09-05 01:50:33 +00:00
Timothy Guan-tin Chien a3d7d3c3d1 Bug 1399367 - Remove MasterPassword.{encrypt|decrypt}Sync() methods r=MattN
This also makes various AutofillRecords methods async, with the exception of
remove() and removeAll().

Noted that I didn't implement any kind of "lock" for FormAutofillStorage --
please do not call these methods concurrently -- if you must please |await|
for the last call to resolve. This most likely would happen in tests, and
shouldn't happen in the real world, given that all user actions happen on
macrotasks, and probably not at the next tick, unless Quicksilver is a
Firefox user.

FormAutofillStorage can be improved if there are complex use cases for it.

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

--HG--
extra : moz-landing-system : lando
2018-09-05 00:32:57 +00:00
Masayuki Nakano 58ccd6c812 Bug 1488337 - Rename mozilla::dom::SelectionChangeListener to mozilla::SelectionChangeEventDispatcher r=smaug
SelectionChangeListener is too generic name but it just dispatches
selectionchange event when it's necessary.  So, it should be renamed to
SelectionChangeEventDispatcher. Additionally, it's in mozilla::dom namespace
but it does not represent any DOM object. So, it should be in mozilla namespace
instead.

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

--HG--
rename : dom/base/SelectionChangeListener.cpp => dom/base/SelectionChangeEventDispatcher.cpp
rename : dom/base/SelectionChangeListener.h => dom/base/SelectionChangeEventDispatcher.h
extra : moz-landing-system : lando
2018-09-04 11:18:03 +00:00
Ting-Yu Lin 90fffcd256 Bug 1488219 - Mark nsDateTimeControlFrame as a leaf frame. r=dholbert
nsDateTimeControlFrame should be a leaf like all the other <input> frames
like nsTextControlFrame, nsCheckboxRadioFrame, etc.

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

--HG--
extra : moz-landing-system : lando
2018-09-05 00:27:43 +00:00
Bogdan Tara a7d0d30177 Merge mozilla-central to autoland. a=merge CLOSED TREE 2018-09-05 03:15:48 +03:00
Bogdan Tara 32e713bf8b Merge mozilla-central to autoland. a=merge CLOSED TREE 2018-09-05 02:43:23 +03:00
Sebastian Hengst e5d9fb7164 Backed out changeset 4fc8d640d0f9 (bug 1488450) because it depends on bug 1471764 which got backed out. a=backout CLOSED TREE
--HG--
extra : amend_source : 78c794ae4a518be3642828e9902f1a1675307ab5
2018-09-05 02:42:10 +03:00
Bogdan Tara bc4c3d2021 Backed out changeset 4ad33c6fbfca (bug 832834) for merge conflict. CLOSED TREE 2018-09-05 02:41:48 +03:00
Bogdan Tara f302cbb0b3 Merge inbound to mozilla-central. a=merge 2018-09-05 02:24:27 +03:00
David Keeler 5e13847479 bug 832834 - reimplement nsSecureBrowserUIImpl r=franziskus,Felipe
It turns out nsSecureBrowserUIImpl is considerably more complicated than it
needs to be. This patch reimplements it in terms of OnLocationChange only, which
is all it needs to produce the same behavior as before.

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

--HG--
extra : moz-landing-system : lando
2018-09-04 23:10:37 +00:00
Bogdan Tara 8b38c1ae85 Merge autoland to mozilla-central. a=merge 2018-09-05 01:53:44 +03:00
Brian Grinstead 743343fdfc Bug 1485157 - Check to make sure document.activeElement exists before attempting to blur it;r=Gijs
We're ending up in a case here where document.activeElement is null in
browser.xhtml but it's a <browser> tag in browser.xul.

We'll need more analysis and testing to decide if we want the HTML or XUL
activeElement behavior, and then adjust as needed. But in the meantime,
this unbreaks a bunch of browser.xhtml tests and is a safe null check in
both cases.

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

--HG--
extra : moz-landing-system : lando
2018-09-04 20:46:08 +00:00
Mike Hommey 9dae4fbe09 Bug 1487931 - Avoid using linker scripts as file lists when doing LTO with BFD ld. r=froydnj
At least, when that combination doesn't work. This requires passing the
LTO flags to the compiler invocations for the test, which in turn
requires actually calling the linker directly on Windows, instead of
directly through the compiler, as when actually building.

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

--HG--
extra : moz-landing-system : lando
2018-09-04 21:49:16 +00:00
Tim Nguyen eda7b67115 Bug 1488000 - Allow theming sidebar border color. r=jaws
Differential Revision: https://phabricator.services.mozilla.com/D4839

--HG--
extra : moz-landing-system : lando
2018-09-04 21:33:46 +00:00
Nathan Froyd 4454f01d19 Bug 1480552 - handle aarch64 windows when determining MOZ_D3DCOMPILER_VISTA_DLL; r=ted.mielczarek
AArch64 Windows includes the necessary DLL in its default configuration,
so we don't need to bother locating it in the SDK.  We made need to
distribute an updated version that won't by on the system by default,
though, so we need some extra checking.
2018-09-04 16:41:08 -04:00
Nathan Froyd cc7ab9c447 Bug 1487122 - fix icudata assembly for aarch64 windows; r=ted.mielczarek
Apparently the assembler was willing to accept the previous version, but
was unwilling to find the necessary symbols to link some JS code.  This
version correctly quotes the data symbol and adds a little extra quoting
based on examining compiler-generated output.
2018-09-04 16:41:08 -04:00
Gurzau Raul 9e0f009576 Backed out 2 changesets (bug 1485151) on developer's request
Backed out changeset 2e667a7854b6 (bug 1485151)
Backed out changeset bae80c903001 (bug 1485151)
2018-09-04 23:38:35 +03:00
ffxbld ebe4d2e4d6 Update configs. IGNORE BROKEN CHANGESETS CLOSED TREE NO BUG a=release ba=release 2018-09-04 11:15:27 -07:00
ffxbld ae7c0c9fa9 No bug - Tagging mozilla-central 034c5ef24e98b0ce85fa849face079f568eb397c with FIREFOX_NIGHTLY_63_END a=release DONTBUILD CLOSED TREE 2018-09-04 11:10:28 -07:00
Sebastian Hengst 5a18fb5aee Backed out changeset c91d997687bf (bug 1487327) for busting beta. a=backout 2018-09-04 20:07:59 +03:00