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

7403 Коммитов

Автор SHA1 Сообщение Дата
Kearwood "Kip" Gilbert b3309c2776 Bug 1501455 - Remove gfx/vr/gfxVROculus.cpp and gfx/vr/gfxVROpenVR.cpp r=daoshengmu
Now that the VRService thread is enabled by default, we
can remove these old files.

The OpenVR 3rd party code has been moved from gfx/vr/openvr
to gfx/vr/service/openvr to be closer to the OpenVRSession
implementation.

The Oculus header (ovr_capi_dynamic.h) has been moved from
gfx/vr/ovr_capi_dynamic.h to gfx/vr/service/oculus to be
closer to the OculusSession implementation.

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

--HG--
rename : gfx/vr/ovr_capi_dynamic.h => gfx/vr/service/oculus/ovr_capi_dynamic.h
rename : gfx/vr/openvr/LICENSE => gfx/vr/service/openvr/LICENSE
rename : gfx/vr/openvr/README.md => gfx/vr/service/openvr/README.md
rename : gfx/vr/openvr/README.mozilla => gfx/vr/service/openvr/README.mozilla
rename : gfx/vr/openvr/headers/openvr.h => gfx/vr/service/openvr/headers/openvr.h
rename : gfx/vr/openvr/moz.build => gfx/vr/service/openvr/moz.build
rename : gfx/vr/openvr/src/README => gfx/vr/service/openvr/src/README
rename : gfx/vr/openvr/src/dirtools_public.cpp => gfx/vr/service/openvr/src/dirtools_public.cpp
rename : gfx/vr/openvr/src/dirtools_public.h => gfx/vr/service/openvr/src/dirtools_public.h
rename : gfx/vr/openvr/src/envvartools_public.cpp => gfx/vr/service/openvr/src/envvartools_public.cpp
rename : gfx/vr/openvr/src/envvartools_public.h => gfx/vr/service/openvr/src/envvartools_public.h
rename : gfx/vr/openvr/src/hmderrors_public.cpp => gfx/vr/service/openvr/src/hmderrors_public.cpp
rename : gfx/vr/openvr/src/hmderrors_public.h => gfx/vr/service/openvr/src/hmderrors_public.h
rename : gfx/vr/openvr/src/ivrclientcore.h => gfx/vr/service/openvr/src/ivrclientcore.h
rename : gfx/vr/openvr/src/openvr_api_public.cpp => gfx/vr/service/openvr/src/openvr_api_public.cpp
rename : gfx/vr/openvr/src/pathtools_public.cpp => gfx/vr/service/openvr/src/pathtools_public.cpp
rename : gfx/vr/openvr/src/pathtools_public.h => gfx/vr/service/openvr/src/pathtools_public.h
rename : gfx/vr/openvr/src/sharedlibtools_public.cpp => gfx/vr/service/openvr/src/sharedlibtools_public.cpp
rename : gfx/vr/openvr/src/sharedlibtools_public.h => gfx/vr/service/openvr/src/sharedlibtools_public.h
rename : gfx/vr/openvr/src/strtools_public.cpp => gfx/vr/service/openvr/src/strtools_public.cpp
rename : gfx/vr/openvr/src/strtools_public.h => gfx/vr/service/openvr/src/strtools_public.h
rename : gfx/vr/openvr/src/vrpathregistry_public.cpp => gfx/vr/service/openvr/src/vrpathregistry_public.cpp
rename : gfx/vr/openvr/src/vrpathregistry_public.h => gfx/vr/service/openvr/src/vrpathregistry_public.h
extra : moz-landing-system : lando
2018-10-24 22:22:41 +00:00
arthur.iakab ff965569bd Merge autoland to mozilla-central a=merge 2018-10-24 01:15:18 +03:00
Ciure Andrei 09e4040e94 Merge autoland to mozilla-central. a=merge 2018-10-23 19:48:47 +03:00
Julian Descottes 73e3a16c0d Bug 1499096 - Use ok() with 2 arguments instead of 3 when possible;r=Standard8
Depends on D8740.
This changeset replaces calls to ok with 3 arguments to calls with 2 arguments
in situations where the switch does not have a significant impact on the assert.

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

--HG--
extra : moz-landing-system : lando
2018-10-23 07:13:35 +00:00
Julian Descottes 52b85a20e2 Bug 1499096 - Update wrong usage of ok() with todo_is();r=Standard8
Depends on D8739.
This changeset updates calls to ok() that were most likely intended
for is(), but are not working as is.

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

--HG--
extra : moz-landing-system : lando
2018-10-23 07:13:02 +00:00
Julian Descottes 2fcd6cb020 Bug 1499096 - Update tests using ok() to is();r=Standard8
This changeset updates all the test that were wrongly using ok() and wanted to
use is() AND for which the assert is still passing without any modification
required.

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

--HG--
extra : moz-landing-system : lando
2018-10-23 07:12:23 +00:00
Dão Gottwald c11feff29b Bug 1501235 - Move menubar autohide code from xul.css to browser.css. r=bgrins
Differential Revision: https://phabricator.services.mozilla.com/D9499

--HG--
extra : moz-landing-system : lando
2018-10-23 14:04:13 +00:00
Paolo Amadini 42c8938dfc Bug 1493844 - Part 2 - Remove the "caption" and "groupbox" bindings. r=bgrins,dao,jaws,johannh,surkov
Proper native "groupbox" styling depends on the structure of the XBL binding. By restyling the Page Info dialog, the native styling is now unused except for the Print Page Setup dialog on Windows. The native apperance is thus not applied by default anymore, and the "groupbox" element can just be used semantically for accessibility. The Print Page Setup dialog applies the native styling on its own in a way that still works on Windows.

The only other consumers of "groupbox" are the in-content Preferences pages and dialogs. These are updated to use simpler styles that don't depend on the binding structure.

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

--HG--
extra : rebase_source : af36d911980517f9b53036f4cd4f800c5e20ad22
2018-10-23 10:14:06 +01:00
Daniel Varga 4fc7bfa931 Merge mozilla-inbound to mozilla-central. a=merge 2018-10-20 13:10:23 +03:00
Drew Willcoxon 56ea6439f4 Bug 1499581 - Autofill search engine aliases in the address bar when '@' is typed as the first character r=mak
One important unrelated change this makes is that previously (in my other patches), the only "@" aliases we recognized were the internal "@" aliases in nsSearchService.  While I was working on the new test here I realized that engines with user (or test) aliases that start with "@" aren't recognized as having "@" aliases, but why not IMO.

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

--HG--
extra : moz-landing-system : lando
2018-10-19 16:08:26 +00:00
Drew Willcoxon 2a3c8ef556 Bug 1496815 - Suggest search engine aliases in the address bar when '@' is typed as the first character r=mak
This bug touches just about every part of the urlbar: UnifiedComplete, the autocomplete binding, the formatter, CSS.

This builds on the patches in bug 1496814 and bug 1496811.

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

--HG--
extra : moz-landing-system : lando
2018-10-19 16:08:24 +00:00
Victor Porof 01f4271049 Bug 1498740 - Remove toolbar-menubar-autohide binding. r=bgrins 2018-10-18 06:06:25 +02:00
rosston 8329508f3e Bug 1389221 - Add readline navigation bindings to url bar on macOS r=dao
Support ctrl-n and ctrl-p for navigating down and up (respectively) in the url
bar on macOS. The autocomplete widget will also support the same key bindings.
This functionality matches ctrl-n/ctrl-p behavior on the other major macOS
browsers.

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

--HG--
extra : moz-landing-system : lando
2018-10-19 08:29:27 +00:00
Paolo Amadini 3a2f47fd3f Bug 1428869 - Use html:progress in front-end code. r=bgrins,Gijs
Differential Revision: https://phabricator.services.mozilla.com/D9009

--HG--
extra : rebase_source : 0e2d20dc6060a4c0ee278ef05d67668aec12e64f
2018-10-18 15:41:21 +01:00
Alex Gaynor 0f75e99151 Bug 1127393 - removed three now-unused helper functions for handling the window and document as CPOWs; r=mconley
Differential Revision: https://phabricator.services.mozilla.com/D8985

--HG--
extra : moz-landing-system : lando
2018-10-17 15:47:28 +00:00
Daniel Varga e4438031ba Backed out 5 changesets (bug 1496220) for chrome failure at toolkit/content/tests/chrome/test_findbar_events.xul. on a CLOSED TREE
Backed out changeset 2c1353f4a3f5 (bug 1496220)
Backed out changeset bc592bed0522 (bug 1496220)
Backed out changeset 7b5505d44965 (bug 1496220)
Backed out changeset 670b75f8446f (bug 1496220)
Backed out changeset c4a8a6256d7f (bug 1496220)

--HG--
extra : rebase_source : 43edfc28753cca429f7a72994d568091f30e62bc
extra : amend_source : 738723a11e8fb88a71cac79de93b878d82230409
2018-10-17 20:21:16 +03:00
Jim Chen a4f396d9c8 Bug 1496220 - 5. Pass explicit triggering principal in more places; r=jkt
When defaulting to a null triggering principal, these tests would fail
when loaded remotely. This patch adds explicit system triggering
principal to the loadURI calls.

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

--HG--
extra : moz-landing-system : lando
2018-10-17 16:12:40 +00:00
Brian Grinstead 517c9916eb Bug 1499428 - Remove display="xul:menu" on menulist and menulist-popuponly;r=emilio
Instead, set the NS_NewMenuFrame directly on menulist elements.

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

--HG--
extra : moz-landing-system : lando
2018-10-16 19:58:33 +00:00
Brian Grinstead 5392b776a6 Bug 1499476 - Add the ability to mixin the base MozXULElement;r=paolo
Differential Revision: https://phabricator.services.mozilla.com/D8898

--HG--
extra : moz-landing-system : lando
2018-10-16 19:59:16 +00:00
Alexander Surkov c17a760a73 Bug 1497837 - Progressmeter in mode=undetermined behaves very weird, r=paolo, f=paenglab 2018-10-16 14:45:37 +08:00
Emilio Cobos Álvarez 5a86920f63 Bug 1498632 - Remove some other useless declarations in datetimebox.css. r=Gijs
* Remove unused xul namespace declaration.
 * color and font are inherited, so no need to declare anything.
 * Setting -moz-appearance: none on a div element is useless.

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

--HG--
extra : moz-landing-system : lando
2018-10-14 19:54:28 +00:00
Emilio Cobos Álvarez d03714e54f Bug 1498632 - Remove cursor overrides from datetimebox.css r=Gijs
Instead set the cursor from the UA sheet, and allow authors to override it. This
matches what other UAs do.

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

--HG--
extra : moz-landing-system : lando
2018-10-14 19:55:22 +00:00
Mark Striemer b460c32c0d Bug 1490366 - Part 3: Select the first item in richlistbox on focus r=dao
Differential Revision: https://phabricator.services.mozilla.com/D8282

--HG--
extra : moz-landing-system : lando
2018-10-14 19:20:16 +00:00
shindli 27d0f9d0d2 Backed out 5 changesets (bug 1488730, bug 1490366, bug 1488727) for bc failures in | toolkit/mozapps/extensions/test/browser/browser_details.js and browser/components/enterprisepolicies/tests/browser/browser_policy_disable_flash_plugin.js CLOSED TREE
Backed out changeset 9cd889824b1c (bug 1488730)
Backed out changeset 4d076c865471 (bug 1488727)
Backed out changeset 0b8bcd97f254 (bug 1490366)
Backed out changeset 448672780572 (bug 1490366)
Backed out changeset 7e0abd16a50b (bug 1490366)
2018-10-14 19:23:09 +03:00
Mark Striemer aaf946de3d Bug 1490366 - Part 3: Select the first item in richlistbox on focus r=dao
Differential Revision: https://phabricator.services.mozilla.com/D8282

--HG--
extra : moz-landing-system : lando
2018-10-14 15:13:52 +00:00
Noemi Erli 5e9b16a94e Merge mozilla-central to autoland. a=merge CLOSED TREE 2018-10-14 01:31:28 +03:00
Tiberius Oros 3676bb6801 Disable bug 1366957 on linux for frequent failures 2018-10-13 04:27:00 +03:00
Philipp Hancke c0cf9f10eb Bug 1435789: implement relayProtocol for localcandidate stats r=smaug,ng
relayProtocol is the standardized variant of mozLocalTransport.
Spec:
  https://w3c.github.io/webrtc-stats/#dom-rtcicecandidatestats-relayprotocol

IDL:
  https://w3c.github.io/webrtc-stats/#icecandidate-dict*

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

--HG--
extra : moz-landing-system : lando
2018-10-07 07:42:48 +00:00
Brian Grinstead 92e2947f5b Bug 1476769 - Migrate tabpanels to a Custom Element r=dao
Differential Revision: https://phabricator.services.mozilla.com/D8458

--HG--
extra : moz-landing-system : lando
2018-10-12 17:52:09 +00:00
alwu 7d4abd3e75 Bug 1496496 - part5 : add test. r=padenot
Differential Revision: https://phabricator.services.mozilla.com/D7824

--HG--
extra : moz-landing-system : lando
2018-10-08 18:45:51 +00:00
Brian Grinstead 164506b0dc Bug 1491484 - Skip less of browser_findbar.js on linux opt;r=Gijs
Differential Revision: https://phabricator.services.mozilla.com/D8390

--HG--
extra : moz-landing-system : lando
2018-10-11 18:23:52 +00:00
Qinghao_Jack_Song 2d26d932b7 Bug 1486934 - Modify about:about to use fluent for localization r=Gijs,flod,jaws,Pike
Differential Revision: https://phabricator.services.mozilla.com/D5311

--HG--
extra : moz-landing-system : lando
2018-10-10 17:41:47 +00:00
Gijs Kruitbosch 631c16764e Bug 1496850 - add label to volume slider, r=MarcoZ
Differential Revision: https://phabricator.services.mozilla.com/D8202

--HG--
extra : moz-landing-system : lando
2018-10-10 17:40:42 +00:00
Tiberius Oros 3315c9957a Merge mozilla-central to autoland. a=merge CLOSED TREE 2018-10-11 01:12:20 +03:00
Cristina Coroiu f20d61be72 Bug 1429649 - disable test_notificationbox.xul for frequent failures on windows and linux. r=jmaher DONTBUILD 2018-10-10 07:56:00 +03:00
Andreea Pavel 5f10842826 Backed out changeset 2fffb44333de (bug 1234567) for landing with the incorrect bug number 2018-10-10 22:45:19 +03:00
Cristina Coroiu 773e23aca4 Bug 1234567 - disable test_notificationbox.xul for frequent failures on windows and linux. r=jmaher 2018-10-10 07:56:00 +03:00
Brian Grinstead 17658b4fb2 Bug 1497599 - Only run re-initialize moz-input-box during attributeChangedCallback if the attribute actually changed;r=paolo
This is unrelated to the other changesets in the bug, just a cleanup based on
patterns that have emerged in other attributeChangedCallbacks like in progressmeter

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

--HG--
extra : moz-landing-system : lando
2018-10-10 17:12:01 +00:00
Brian Grinstead 565e117c8b Bug 1497599 - Lazify progressmeter Custom Element connection;r=paolo
As outlined by MozXULElement, we:
 - delay connectedCallback logic until after parse
 - wait for isConnectedAndReady before running attributeChangedCallbacks;r=paolo

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

--HG--
extra : moz-landing-system : lando
2018-10-10 17:12:00 +00:00
shindli 115b6f10ca Merge mozilla-central to autoland. a=merge CLOSED TREE 2018-10-09 19:29:29 +03:00
Dão Gottwald b1186958ff Bug 1473927 - Load textbox.css and numberbox.css as document stylesheets. r=paolo 2018-10-09 10:22:15 +02:00
Bryce Van Dyk 67c72df840 Bug 1495514 - Update GMP fallback downloader to Widevine CDM 4.10.1146.0. r=rhelmer
Differential Revision: https://phabricator.services.mozilla.com/D7332

--HG--
extra : moz-landing-system : lando
2018-10-01 21:31:31 +00:00
Noemi Erli 4c95fdc094 Merge mozilla-central to inbound. a=merge CLOSED TREE 2018-10-09 07:06:54 +03:00
alwu d852bb9b98 Bug 1495064 - part3 : add test. r=jib
Adding a test to check whether the wakelock state is correct under different situations. However,
the lock state of power manager doesn't equal to the actual platform lock. Now we don't have any
way to detect whether platform lock is set correctly or not, but we can at least make sure the
specific topic's state in power manager is correct.

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

--HG--
extra : moz-landing-system : lando
2018-10-05 21:56:10 +00:00
Brian Grinstead 4ee92c8669 Bug 1496425 - Provide a mechanism for Custom Elements to delay connectedCallback until after DOMContentLoaded;r=paolo
There are two reasons for this:
1) It's faster than running the connectedCallback in the middle of document parse, at least for
   <radiogroups> in about:preferences
2) It provides a construction sequence more similar to XBL, so the translation from XBL <constructor>
   to CE connectedCallback is more likely to be correct. This is because when there is markup like:
       <parent-ce><child-ce></child-ce></parent-ce>
   the parent-ce node is empty during the first connectedCallback. If we wait for DOMContentLoaded
   then the parent-ce has the child-ce node below it.

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

--HG--
extra : moz-landing-system : lando
2018-10-08 21:17:39 +00:00
Noemi Erli 31184dddce Merge inbound to mozilla-central. a=merge 2018-10-09 00:52:28 +03:00
Timothy Guan-tin Chien ca71a35fa1 Bug 1496636 - add_task() should wait for document finishes loading before starting the test r=florian
Differential Revision: https://phabricator.services.mozilla.com/D7941

--HG--
extra : moz-landing-system : lando
2018-10-08 12:59:15 +00:00
Brian Grinstead 79d34cff75 Bug 1496829 - Prevent the findbar close animation when adopting a tab that has a previously-closed findbar;r=Gijs
The connectedCallback fires after it's already in the DOM, so without this attribute setting [hidden]
will animate it closed.

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

--HG--
extra : moz-landing-system : lando
2018-10-08 07:39:00 +00:00
Alexander Surkov 2a3a5dac4b Bug 1496189 - Password quality meter show always undetermined, r=paolo 2018-10-09 10:47:04 +08:00
Mike Conley c781ec84eb Bug 1496848 - Make RemoteWebProgressManager survive remote-to-remote process flips. r=Felipe
For simplicity, we do not support remote-to-non-remote or non-remote-to-remote
nsIWebProgressListener persistence.

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

--HG--
extra : moz-landing-system : lando
2018-10-05 22:29:00 +00:00