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

7644 Коммитов

Автор SHA1 Сообщение Дата
Paolo Amadini 4c61f73d61 Bug 1470873 - Part 1 - Remove support for "components.css". r=bzbarsky
Differential Revision: https://phabricator.services.mozilla.com/D12029

--HG--
extra : rebase_source : e8528a8f04fd888112c4c9e800d0439e07beacd4
2018-11-15 14:34:18 +00:00
Csoregi Natalia 86ce20e46a Backed out changeset 5cb52fcd2fb0 (bug 1504751) for browser_misused_characters_in_strings.js failures. CLOSED TREE 2018-11-08 21:47:38 +02:00
Collin Wing 22809b0ee5 Bug 1504751 Migrate about:networking to Fluent r=jaws,flod
Differential Revision: https://phabricator.services.mozilla.com/D10977

--HG--
extra : moz-landing-system : lando
2018-11-08 16:57:14 +00:00
Olli Pettay b977d23eb2 Bug 1089326, make <button> hit testing similar to other elements which may have some content, and for click target find the common (interactive) ancestor, r=masayuki
--HG--
extra : rebase_source : 80caab4e074d552c38b62842fe3102fb6735dfd9
2018-12-11 23:35:40 +02:00
Jim Chen 317adf283d 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
2018-11-07 16:17:18 -05:00
Neil Deakin c0deb1db59 Bug 1501813, use a helper object rather than have the element implement nsITimerCallback. There is a similar usage elsewhere in the same file. r=dao 2018-11-07 14:22:55 -05:00
Gijs Kruitbosch a0bf942503 Bug 1496360 - make BrowserWindowTracker and its deps use the docshell to obtain an outerWindowID, r=dao
Differential Revision: https://phabricator.services.mozilla.com/D11003

--HG--
extra : moz-landing-system : lando
2018-11-06 09:48:46 +00:00
Dorel Luca 17253c6f93 Merge mozilla-central to mozilla-inbound 2018-11-09 19:41:24 +02:00
Paolo Amadini cdb5b4eb19 Bug 1471403 - Part 4 - Convert "notificationbox" to a custom class. r=bgrins
As part of the conversion, support for notificationsHidden and children that are not notifications is also removed.

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

--HG--
rename : toolkit/content/widgets/notification.xml => toolkit/content/widgets/notificationbox.js
extra : rebase_source : 36a5412e1e9a9dc591fd486d1123c1f763a6f173
2018-11-09 14:58:18 +00:00
Paolo Amadini f0c88ca5ba Bug 1471403 - Part 3 - Add a MozElements namespace for element classes. r=bgrins
This provides a way to access specific element classes before any associated Custom Element is instantiated, without creating a new global for each class. This can be useful to access static methods, create derived classes in a page, or allow lazy custom constructors.

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

--HG--
extra : rebase_source : 65516d2013410146b4ed372a965bd859621b74a5
2018-11-05 13:56:01 +00:00
Paolo Amadini 76b0d28ec9 Bug 1471403 - Part 1 - Stop using notificationsHidden and children that are not notifications in most places. r=dao,bgrins
This also removes testing for the unused PRIORITY_CRITICAL_BLOCK behavior, and simplifies how Print Preview hides the chrome while removing leftover code.

The only theme-specific mochitest that ever existed checked an overflow scenario that is no longer relevant, so the test and its build folder are removed as well.

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

--HG--
extra : rebase_source : 93276d403b85dea6bce3b678100328eb66486eaa
extra : source : aaf1a7164c5b4f75882be574edc92fd69e906129
2018-11-05 12:31:45 +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
shindli 7c0a5e2aef Merge inbound to mozilla-central. a=merge 2018-11-03 11:40:50 +02:00
Timothy Guan-tin Chien 720f2da242 Bug 1496242 - Part II, Convert datetimebox to UA Widget r=dholbert,jaws,smaug
This patch converts datetimebox.xml to datetimebox.js and loads it as a UA Widget,
while touches things here and there to make it work.

In HTMLInputElement manages the lifecycle of the datetimebox UA Widget.
It is loaded when in <input> has type date or time, or have its type switch to date or time.

nsDateTimeControlFrame is changed so that when UA Widget is enabled,
it would not generate <xul:datetimebox>.

Like bug 1483972, a check is added in nsCSSFrameConstructor::CreateGeneratedContentItem()
to make sure we don't generate pseudo content inside <input>.

Assertions in IntlUtils is changed to allow UAWidget to call the methods.

Depends on D9056

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

--HG--
rename : toolkit/content/widgets/datetimebox.xml => toolkit/content/widgets/datetimebox.js
extra : moz-landing-system : lando
2018-11-03 05:31:05 +00:00
Timothy Guan-tin Chien 3856b5e646 Bug 1496242 - Part I, Simplify nsIDateTimeInputArea interface r=mconley,smaug
This patch simplifies the nsIDateTimeInputArea interface, implemented by the
datetimebox bindings, to a point that is easier to convert it to dispatch events,
by doing the following:

- hasBadInput() is re-implemented in C++ in nsIDateTimeControlFrame since
  C++ needs the return value synchronously.
- SetValueFromPicker() and SetPickerState() are avoided completed since they
  are simply called by HTMLInputElement methods exposed to the frame
  script. They are avoided by having the frame script access the NAC and call
  the nsIDateTimeInputArea methods directly.
- Merge setEditAttribute() and removeEditAttribute() to updateEditAttributes()
  which takes no arguments, and have the method access the attribute values by
  reading the values from <input>.

This patch is a scaled-down version of the patch proposed in bug 1456833.
The event approach is only usable in UA Widget version of datetimebox because
there is no way to avoid leaking events to the document without Shadow DOM.

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

--HG--
extra : moz-landing-system : lando
2018-11-02 23:29:42 +00:00
Kris Maglione ade8c9ede8 Bug 1482091: Part 2 - Remove TelemetryStopwatch.jsm in favor of native implementation. r=chutten
Differential Revision: https://phabricator.services.mozilla.com/D9888

--HG--
extra : source : afd0a13bcfff4c92ad2497ec687f466484481667
extra : amend_source : 501bca3f94a0cb0c8bec1f30d0b3f64a50b04e48
extra : intermediate-source : bc03f101937e373fdaca735f3f356960a5239bc0
2018-10-25 19:04:01 -07:00
arthur.iakab 0c81738411 Backed out 2 changesets (bug 1482091) for bc failures on browser_domFullscreen_fullscreenMode.js
Backed out changeset bc03f101937e (bug 1482091)
Backed out changeset 28a19b7290ab (bug 1482091)
2018-11-03 01:08:36 +02:00
Kris Maglione 7fa01216a4 Bug 1482091: Part 2 - Remove TelemetryStopwatch.jsm in favor of native implementation. r=chutten
Differential Revision: https://phabricator.services.mozilla.com/D9888

--HG--
extra : source : afd0a13bcfff4c92ad2497ec687f466484481667
extra : amend_source : bf22d8e9ce5c081902bd5c75b892cc434a167300
2018-10-25 19:04:01 -07:00
arthur.iakab cf2aa54f83 Backed out 2 changesets (bug 1482091)for failing browser chrome failures on browser_panelUINotifications_fullscreen_noAutoHideToolbar.js
Backed out changeset afd0a13bcfff (bug 1482091)
Backed out changeset a19c6b3e0402 (bug 1482091)
2018-11-02 23:01:15 +02:00
Kris Maglione 96f3e16d1a Bug 1482091: Part 2 - Remove TelemetryStopwatch.jsm in favor of native implementation. r=chutten
Differential Revision: https://phabricator.services.mozilla.com/D9888

--HG--
extra : rebase_source : a9daea3a9efea37acdbcaecda8bf0b7f69631de4
extra : histedit_source : bb8b416b1387da9de3bd95c7a171f10426a22602
2018-10-25 19:04:01 -07:00
Gijs Kruitbosch 2f2881e670 Bug 1503915 - allow trailing newlines in selection for test_mousecapture.xhtml as we can't be 100% sure how far we'll scroll, r=kats 2018-11-02 19:09:10 +00:00
Daniel Varga e86b1d05f8 Merge mozilla-inbound to mozilla-central. a=merge
--HG--
rename : mobile/android/chrome/geckoview/GeckoViewNavigationContent.js => mobile/android/chrome/geckoview/GeckoViewNavigationChild.js
2018-11-02 00:27:53 +02:00
Dani3lNL 406bd31b37 Bug 1503671 - Add to about:telemetry a link to the Probe Dictionary r=chutten
This may help users discover more about the probes being collected.
2018-11-01 09:06:00 +02:00
Gijs Kruitbosch a4f704aafb Bug 1362774 - followup, disable test_mousecapture.xhtml on linux64 quantumrender dbg only, r=aryx 2018-11-01 16:04:50 +00:00
Victor Porof 24f2992ccd Bug 1499423 - Migrate the 3 treecol bindings into a Custom Element, r=bgrins 2018-11-01 16:03:14 +01:00
Gurzau Raul 424b125b93 Backed out changeset 523ff2753dea (bug 1490257) for causing Bug 1503757 a=backout 2018-11-01 15:27:30 +02:00
Ehsan Akhgari f8b1a27c9c Bug 1503465 - Part 3: Add a <xul:browser> API for retrieving the top-level content blocking log r=johannh
Depends on D10363

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

--HG--
extra : moz-landing-system : lando
2018-10-31 21:21:38 +00:00
Jonathan Kingston 873b26107e Bug 1490257 - Add asserts into loadURI where we imply SystemPrincipal. r=ckerschb
Differential Revision: https://phabricator.services.mozilla.com/D10221

--HG--
extra : moz-landing-system : lando
2018-10-31 18:00:40 +00:00
Neil Deakin 8a34b15d64 Bug 1482389, replace TreeBoxObject with XULTreeElement inherited from XULElement, r=peterv,paolo
--HG--
rename : dom/webidl/TreeBoxObject.webidl => dom/chrome-webidl/XULTreeElement.webidl
rename : layout/xul/tree/TreeBoxObject.cpp => dom/xul/XULTreeElement.cpp
rename : layout/xul/tree/TreeBoxObject.h => dom/xul/XULTreeElement.h
2018-12-04 11:25:30 -05:00
Jay Lim be822ccbde Bug 1472212 - Rename E10SUtils.canLoadURIInProcess to E10SUtils.canLoadURIInRemoteType and modify it to accept an E10SUtils process type instead of a nsIXULRuntime process type. r=Gijs
See next commit for more info. The idea is to use E10SUtils.canLoadURIInRemoteType to detect
if a URI can load in a given E10SUtils process type. Having it to accept a nsIXULRuntime
process type, which will be mapped back to an E10SUtils process type, is unnecessary.

MozReview-Commit-ID: KeYkuRDyqXO

--HG--
extra : source : a8bba29ad2cb20239b87081f77cdf34249d3337b
extra : intermediate-source : 18f824674b76d87ed8cdaee516ad450c1c9b6496
extra : histedit_source : 3a0a8be23c1a5e749396d7aa8c7decbe152bc1db
2018-07-20 18:02:45 -04:00
Ciure Andrei 60ea98ca60 Backed out 10 changesets (bug 1501044, bug 1472212) for fetch-destination.https.html perma failure CLOSED TREE
Backed out changeset aa35078cabaa (bug 1472212)
Backed out changeset bf02793f802d (bug 1472212)
Backed out changeset 95a7ef6102a6 (bug 1472212)
Backed out changeset 7b7fa6ab2229 (bug 1472212)
Backed out changeset 4fe4ec18f2f3 (bug 1472212)
Backed out changeset 18f824674b76 (bug 1472212)
Backed out changeset 1978a7837502 (bug 1472212)
Backed out changeset 21a6f1a83c73 (bug 1472212)
Backed out changeset 48242d39d532 (bug 1472212)
Backed out changeset 0b5cf2f4305a (bug 1501044)
2018-10-30 23:31:10 +02:00
Alexander Surkov 93435b60f6 Bug 1502947 - Add helper function to MozXULElement for inheriting attributes;r=bgrins 2018-10-30 11:51:40 -07:00
Jay Lim a0ee0c93dd Bug 1472212 - Rename E10SUtils.canLoadURIInProcess to E10SUtils.canLoadURIInRemoteType and modify it to accept an E10SUtils process type instead of a nsIXULRuntime process type. r=Gijs
See next commit for more info. The idea is to use E10SUtils.canLoadURIInRemoteType to detect
if a URI can load in a given E10SUtils process type. Having it to accept a nsIXULRuntime
process type, which will be mapped back to an E10SUtils process type, is unnecessary.

MozReview-Commit-ID: KeYkuRDyqXO

--HG--
extra : rebase_source : c4f5d562657bc1ca0a2fe7c277f09add9c976975
extra : intermediate-source : b6996abc7d90edbc99d4ac0c5b9bb4a62c5ae5ae
extra : source : a8bba29ad2cb20239b87081f77cdf34249d3337b
2018-07-20 18:02:45 -04:00
Csoregi Natalia cc313f779c Backed out 9 changesets (bug 1472212) for browser-chrome tests run issues on Linux x64 asan and failures on browser_ext_windows_create_tabId.js. CLOSED TREE
Backed out changeset 18e46df44cd1 (bug 1472212)
Backed out changeset 2e5de66c1f60 (bug 1472212)
Backed out changeset b94f9883aef0 (bug 1472212)
Backed out changeset ebdca743668c (bug 1472212)
Backed out changeset f8a06d01437e (bug 1472212)
Backed out changeset b6996abc7d90 (bug 1472212)
Backed out changeset 24c257cd18c3 (bug 1472212)
Backed out changeset 176f3ee14e67 (bug 1472212)
Backed out changeset b4baa63e5b1b (bug 1472212)
2018-10-30 01:58:21 +02:00
Jay Lim cd2d62fbcb Bug 1472212 - Rename E10SUtils.canLoadURIInProcess to E10SUtils.canLoadURIInRemoteType and modify it to accept an E10SUtils process type instead of a nsIXULRuntime process type. r=Gijs
See next commit for more info. The idea is to use E10SUtils.canLoadURIInRemoteType to detect
if a URI can load in a given E10SUtils process type. Having it to accept a nsIXULRuntime
process type, which will be mapped back to an E10SUtils process type, is unnecessary.

MozReview-Commit-ID: KeYkuRDyqXO

--HG--
extra : rebase_source : a3f94b45b96539a969d83e4c4c10ef6f16950fb3
extra : source : a8bba29ad2cb20239b87081f77cdf34249d3337b
2018-07-20 18:02:45 -04:00
Arshad Kazmi 7e335e61a5 Bug 1494255 - Date input: disabled CSS: Shows correct style for whole text r=Gijs,emilio
Differential Revision: https://phabricator.services.mozilla.com/D9557

--HG--
extra : moz-landing-system : lando
2018-10-27 21:53:50 +00:00
Jason Orendorff 185c47a7b2 Bug 1456465 - Point the license to the actual location of UnicodeData.txt. r=mhoye
Differential Revision: https://phabricator.services.mozilla.com/D9930

--HG--
extra : moz-landing-system : lando
2018-10-26 19:34:55 +00:00
Brian Grinstead a8eabad78e Bug 1501845 - Load customElements.js inside migration.xul to fix migration UI when running with commandline;r=paolo
This is another case of a document getting loaded before MainProcessSingleton,
similar to profile manager. There's another wrinkle here, though. The migration
UI can also be loaded _after_ startup (through Bookmarks manager), which is
actually the primary way this UI is surfaced. So we need to also handle customElements.js
getting loaded twice into the same window to avoid attempting to redefine everything.

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

--HG--
extra : moz-landing-system : lando
2018-10-26 17:22:15 +00:00
Victor Porof f90b32afb1 Bug 1499421 - Remove `tree-base` binding, r=bgrins 2018-10-25 08:53:38 +02:00
Jonas Jenwald 2265e713ff Bug 1365105 - Clear all find highlights, in the PDF Viewer, when the findbar is closed. r=bdahl,paolo
In order to support this, a new "findbarclose" event (mirroring the pre-existing "findbaropen" one) was added to the `MozFindbar.close` method in the findbar.js file.
2018-10-25 15:52:02 +02:00
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
Andrea Marchesini 9c2e4cc205 Bug 1517308 - Add a search field in about:url-classifier - part 2 - about page, r=dimi, r=flod 2019-01-08 23:05:41 +01: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
Tim Nguyen 6e26790a43 Bug 1416363 - Remove colorpicker binding and related code. r=bgrins,surkov
Depends on D7575

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

--HG--
extra : moz-landing-system : lando
2018-10-04 01:03:19 +00:00
Tim Nguyen ae01f9393f Bug 1416363 - Replace existing usages of XUL colorpicker with input[type='color']. r=jaws
Differential Revision: https://phabricator.services.mozilla.com/D7575

--HG--
extra : moz-landing-system : lando
2018-10-05 15:38:53 +00:00
Timothy Guan-tin Chien fa7287c726 Bug 1493819 - Provide in-tree document on UA Widgets r=bgrins,bholley
Differential Revision: https://phabricator.services.mozilla.com/D7545

--HG--
extra : moz-landing-system : lando
2018-10-05 03:52:19 +00:00
Bogdan Tara 2f17eea600 Backed out changeset a74eb57d75ff (bug 1493819) by timdream's request CLOSED TREE 2018-10-05 06:47:36 +03:00
Timothy Guan-tin Chien e9a12c6863 Bug 1493819 - Provide in-tree document on UA Widgets r=bgrins,bholley
Differential Revision: https://phabricator.services.mozilla.com/D7545

--HG--
extra : moz-landing-system : lando
2018-10-05 03:34:18 +00:00
Brian Grinstead 9f095c8011 Bug 1496137 - Handle asynchronous XBL construction of <radio> elements beneath <radiogroup>;r=jaws
Previously, the <radio> constructor just nulled out the _radioChildren of the <radiogroup>.
This leads to some issues that existed before the Custom Element migration to <radiogroup>,
in which state wouldn't get synchronized between an already-appended radiogroup and a newly
add radio (i.e. the [disabled] attribute on the radiogroup wouldn't copy down to the new radio,
and the [value] attribute wouldn't get moved up onto the radiogroup if the new radio is [selected]).

In addition to that, the Custom Element migration introduced a worse bug, in which the
XBL constructors on radio elements sometime haven't run when the radio is connected. This
means the radiogroup doesn't recognize any children, and the selectedItem / value is wrong.

This patch makes it so that the radio will notify the radiogroup when it is constructed,
and if necessary, the radiogroup can make sure all the state is consistent.

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

--HG--
extra : moz-landing-system : lando
2018-10-04 20:20:10 +00:00
Timothy Guan-tin Chien 234c9e9169 Bug 1496232 - Remove references to textbox.css in datetimebox.xml r=dao
Differential Revision: https://phabricator.services.mozilla.com/D7662

--HG--
extra : moz-landing-system : lando
2018-10-04 06:05:43 +00:00
Tim Nguyen f67936427b Bug 1473926 - Move datetimepopup.css rules to browser.css. r=mconley
Differential Revision: https://phabricator.services.mozilla.com/D7650

--HG--
extra : moz-landing-system : lando
2018-10-03 21:10:51 +00:00
Brendan Dahl 856ed80bda Bug 1461798 - Migrate <tooltip> to a C++ implementation. r=smaug
Move the implementation of the XBL tooltip to C++ so the element can safely
be created during native anonymous content creation. The 'mouseover' and
'mouseout' event handlers were not moved as they appear to be legacy code
that is no longer needed.

A number of tests started perma-failing after this patch. Most failures
were caused by a timing change where plugins sometimes load after the
document "load" event. Many of the failures had intermittents associated
with them and the tests were not waiting for plugins to load before
starting. The test "test_weakmap_keys_preserved2.xul" had a bug where it
was possible for it to finish before all the tests were run.

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

--HG--
extra : moz-landing-system : lando
2018-10-03 20:42:19 +00:00
Timothy Guan-tin Chien ab99365a10 Bug 1483656 - Part I, Correct references in TouchUtils r=jaws
Differential Revision: https://phabricator.services.mozilla.com/D6423

--HG--
extra : moz-landing-system : lando
2018-10-03 15:14:36 +00:00
Ciure Andrei 50a315138b Merge mozilla-central to mozilla-inbound. a=merge CLOSED TREE 2018-10-03 14:21:44 +03:00
Eliza Balazs 38ba6ae11b Bug 1366957 - Disable test_videocontrols_keyhandler.html on linux for frequent failures. r=jmaher 2018-10-02 23:54:00 +03:00
Timothy Guan-tin Chien dcaec159d1 Bug 1495833 - Allow <audio> to go back to the intrinsic control size r=jaws
This fixes a regression caused by bug 1493525 and detectable by
the reftest added in bug 1367875.

The width sizing of <audio> is still broken, see bug 1495821.

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

--HG--
extra : moz-landing-system : lando
2018-10-03 03:53:49 +00:00
Ryan Hunt 3bb8e3eca9 Bug 1475139 part 12 - Expose drawSnapshot API to <browser>. r=nika
This commit initially exposes the drawSnapshot API off of <browser>. This
is done by adding a WebIDL binding to FrameLoader and wrapping it in
browser.xml.

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

--HG--
extra : rebase_source : 9f819b13c102edf42ab2bb2466578751a7a2f647
2018-09-24 21:48:30 -05:00
Alexander Surkov ff145aa9c4 Bug 1491197 - replace progressmeter XBL binding by a custom element, r=paolo
--HG--
rename : toolkit/content/widgets/progressmeter.xml => toolkit/content/widgets/progressmeter.js
2018-10-03 11:13:05 +05:00
Timothy Guan-tin Chien 7657bebf17 Bug 1486278 - Workaround Bug 1495350 in video controls r=Gijs,birtles
For compositor animations, we don't guarantee the finished promise callback
to run in the first frame after the animation finishes. By setting
fill: both, we set the animation to fill until the main thread has a chance
to catch up.

A filling animation has to be cancelled explicitly, otherwise the
value of the animating style will be locked at the last frame of the animation.

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

--HG--
extra : moz-landing-system : lando
2018-10-02 19:11:31 +00:00
Mike Conley c941c4c08f Bug 1492482 - Stop sending CPOWs with WebProgressChild messages. r=Felipe
Depends on D6972

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

--HG--
extra : moz-landing-system : lando
2018-10-02 18:38:39 +00:00
Mike Conley 9b0b5947ec Bug 1492482 - Remove CPOW usage from browser_saveImageURL.js. r=baku
This also "fixes" what appears to be some broken checks by switching
them to todo()'s. I filed bug 1492885 to investigate these busted
checks, and re-enable them.

Depends on D6970

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

--HG--
extra : moz-landing-system : lando
2018-10-02 18:38:48 +00:00
Mike Conley 49f0fb11c5 Bug 1492482 - Remove CPOW usage from browser_datetime_picker.js. r=Felipe
Depends on D6969

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

--HG--
extra : moz-landing-system : lando
2018-10-02 18:02:59 +00:00
Gurzau Raul ca3641419f Merge inbound to mozilla-central. a=merge
--HG--
rename : docshell/test/bug123696-subframe.html => docshell/test/mochitest/bug123696-subframe.html
rename : docshell/test/bug404548-subframe.html => docshell/test/mochitest/bug404548-subframe.html
rename : docshell/test/bug404548-subframe_window.html => docshell/test/mochitest/bug404548-subframe_window.html
rename : docshell/test/bug413310-post.sjs => docshell/test/mochitest/bug413310-post.sjs
rename : docshell/test/bug413310-subframe.html => docshell/test/mochitest/bug413310-subframe.html
rename : docshell/test/bug529119-window.html => docshell/test/mochitest/bug529119-window.html
rename : docshell/test/bug530396-noref.sjs => docshell/test/mochitest/bug530396-noref.sjs
rename : docshell/test/bug530396-subframe.html => docshell/test/mochitest/bug530396-subframe.html
rename : docshell/test/bug570341_recordevents.html => docshell/test/mochitest/bug570341_recordevents.html
rename : docshell/test/bug668513_redirect.html => docshell/test/mochitest/bug668513_redirect.html
rename : docshell/test/bug668513_redirect.html^headers^ => docshell/test/mochitest/bug668513_redirect.html^headers^
rename : docshell/test/bug691547_frame.html => docshell/test/mochitest/bug691547_frame.html
rename : docshell/test/dummy_page.html => docshell/test/mochitest/dummy_page.html
rename : docshell/test/file_anchor_scroll_after_document_open.html => docshell/test/mochitest/file_anchor_scroll_after_document_open.html
rename : docshell/test/file_bfcache_plus_hash_1.html => docshell/test/mochitest/file_bfcache_plus_hash_1.html
rename : docshell/test/file_bfcache_plus_hash_2.html => docshell/test/mochitest/file_bfcache_plus_hash_2.html
rename : docshell/test/file_bug1121701_1.html => docshell/test/mochitest/file_bug1121701_1.html
rename : docshell/test/file_bug1121701_2.html => docshell/test/mochitest/file_bug1121701_2.html
rename : docshell/test/file_bug1151421.html => docshell/test/mochitest/file_bug1151421.html
rename : docshell/test/file_bug1186774.html => docshell/test/mochitest/file_bug1186774.html
rename : docshell/test/file_bug1450164.html => docshell/test/mochitest/file_bug1450164.html
rename : docshell/test/file_bug385434_1.html => docshell/test/mochitest/file_bug385434_1.html
rename : docshell/test/file_bug385434_2.html => docshell/test/mochitest/file_bug385434_2.html
rename : docshell/test/file_bug385434_3.html => docshell/test/mochitest/file_bug385434_3.html
rename : docshell/test/file_bug475636.sjs => docshell/test/mochitest/file_bug475636.sjs
rename : docshell/test/file_bug509055.html => docshell/test/mochitest/file_bug509055.html
rename : docshell/test/file_bug511449.html => docshell/test/mochitest/file_bug511449.html
rename : docshell/test/file_bug540462.html => docshell/test/mochitest/file_bug540462.html
rename : docshell/test/file_bug580069_1.html => docshell/test/mochitest/file_bug580069_1.html
rename : docshell/test/file_bug580069_2.sjs => docshell/test/mochitest/file_bug580069_2.sjs
rename : docshell/test/file_bug590573_1.html => docshell/test/mochitest/file_bug590573_1.html
rename : docshell/test/file_bug590573_2.html => docshell/test/mochitest/file_bug590573_2.html
rename : docshell/test/file_bug598895_1.html => docshell/test/mochitest/file_bug598895_1.html
rename : docshell/test/file_bug598895_2.html => docshell/test/mochitest/file_bug598895_2.html
rename : docshell/test/file_bug634834.html => docshell/test/mochitest/file_bug634834.html
rename : docshell/test/file_bug598895_1.html => docshell/test/mochitest/file_bug637644_1.html
rename : docshell/test/file_bug598895_2.html => docshell/test/mochitest/file_bug637644_2.html
rename : docshell/test/file_bug640387.html => docshell/test/mochitest/file_bug640387.html
rename : docshell/test/file_bug653741.html => docshell/test/mochitest/file_bug653741.html
rename : docshell/test/file_bug660404 => docshell/test/mochitest/file_bug660404
rename : docshell/test/file_bug660404-1.html => docshell/test/mochitest/file_bug660404-1.html
rename : docshell/test/file_bug660404^headers^ => docshell/test/mochitest/file_bug660404^headers^
rename : docshell/test/file_bug653741.html => docshell/test/mochitest/file_bug662170.html
rename : docshell/test/file_bug668513.html => docshell/test/mochitest/file_bug668513.html
rename : docshell/test/file_bug669671.sjs => docshell/test/mochitest/file_bug669671.sjs
rename : docshell/test/file_bug675587.html => docshell/test/mochitest/file_bug675587.html
rename : docshell/test/file_bug680257.html => docshell/test/mochitest/file_bug680257.html
rename : docshell/test/file_bug703855.html => docshell/test/mochitest/file_bug703855.html
rename : docshell/test/file_bug728939.html => docshell/test/mochitest/file_bug728939.html
rename : docshell/test/file_close_onpagehide1.html => docshell/test/mochitest/file_close_onpagehide1.html
rename : docshell/test/file_close_onpagehide2.html => docshell/test/mochitest/file_close_onpagehide2.html
rename : docshell/test/file_framedhistoryframes.html => docshell/test/mochitest/file_framedhistoryframes.html
rename : docshell/test/file_pushState_after_document_open.html => docshell/test/mochitest/file_pushState_after_document_open.html
rename : docshell/test/historyframes.html => docshell/test/mochitest/historyframes.html
rename : docshell/test/mochitest.ini => docshell/test/mochitest/mochitest.ini
rename : docshell/test/start_historyframe.html => docshell/test/mochitest/start_historyframe.html
rename : docshell/test/test_anchor_scroll_after_document_open.html => docshell/test/mochitest/test_anchor_scroll_after_document_open.html
rename : docshell/test/test_bfcache_plus_hash.html => docshell/test/mochitest/test_bfcache_plus_hash.html
rename : docshell/test/test_bug1045096.html => docshell/test/mochitest/test_bug1045096.html
rename : docshell/test/test_bug1121701.html => docshell/test/mochitest/test_bug1121701.html
rename : docshell/test/test_bug1151421.html => docshell/test/mochitest/test_bug1151421.html
rename : docshell/test/test_bug1186774.html => docshell/test/mochitest/test_bug1186774.html
rename : docshell/test/test_bug123696.html => docshell/test/mochitest/test_bug123696.html
rename : docshell/test/test_bug1450164.html => docshell/test/mochitest/test_bug1450164.html
rename : docshell/test/test_bug384014.html => docshell/test/mochitest/test_bug384014.html
rename : docshell/test/test_bug385434.html => docshell/test/mochitest/test_bug385434.html
rename : docshell/test/test_bug387979.html => docshell/test/mochitest/test_bug387979.html
rename : docshell/test/test_bug402210.html => docshell/test/mochitest/test_bug402210.html
rename : docshell/test/test_bug404548.html => docshell/test/mochitest/test_bug404548.html
rename : docshell/test/test_bug413310.html => docshell/test/mochitest/test_bug413310.html
rename : docshell/test/test_bug475636.html => docshell/test/mochitest/test_bug475636.html
rename : docshell/test/test_bug509055.html => docshell/test/mochitest/test_bug509055.html
rename : docshell/test/test_bug511449.html => docshell/test/mochitest/test_bug511449.html
rename : docshell/test/test_bug529119-1.html => docshell/test/mochitest/test_bug529119-1.html
rename : docshell/test/test_bug529119-2.html => docshell/test/mochitest/test_bug529119-2.html
rename : docshell/test/test_bug530396.html => docshell/test/mochitest/test_bug530396.html
rename : docshell/test/test_bug540462.html => docshell/test/mochitest/test_bug540462.html
rename : docshell/test/test_bug551225.html => docshell/test/mochitest/test_bug551225.html
rename : docshell/test/test_bug570341.html => docshell/test/mochitest/test_bug570341.html
rename : docshell/test/test_bug580069.html => docshell/test/mochitest/test_bug580069.html
rename : docshell/test/test_bug590573.html => docshell/test/mochitest/test_bug590573.html
rename : docshell/test/test_bug598895.html => docshell/test/mochitest/test_bug598895.html
rename : docshell/test/test_bug634834.html => docshell/test/mochitest/test_bug634834.html
rename : docshell/test/test_bug637644.html => docshell/test/mochitest/test_bug637644.html
rename : docshell/test/test_bug640387_1.html => docshell/test/mochitest/test_bug640387_1.html
rename : docshell/test/test_bug640387_2.html => docshell/test/mochitest/test_bug640387_2.html
rename : docshell/test/test_bug653741.html => docshell/test/mochitest/test_bug653741.html
rename : docshell/test/test_bug660404.html => docshell/test/mochitest/test_bug660404.html
rename : docshell/test/test_bug662170.html => docshell/test/mochitest/test_bug662170.html
rename : docshell/test/test_bug668513.html => docshell/test/mochitest/test_bug668513.html
rename : docshell/test/test_bug669671.html => docshell/test/mochitest/test_bug669671.html
rename : docshell/test/test_bug675587.html => docshell/test/mochitest/test_bug675587.html
rename : docshell/test/test_bug680257.html => docshell/test/mochitest/test_bug680257.html
rename : docshell/test/test_bug691547.html => docshell/test/mochitest/test_bug691547.html
rename : docshell/test/test_bug694612.html => docshell/test/mochitest/test_bug694612.html
rename : docshell/test/test_bug703855.html => docshell/test/mochitest/test_bug703855.html
rename : docshell/test/test_bug728939.html => docshell/test/mochitest/test_bug728939.html
rename : docshell/test/test_bug797909.html => docshell/test/mochitest/test_bug797909.html
rename : docshell/test/test_close_onpagehide_by_history_back.html => docshell/test/mochitest/test_close_onpagehide_by_history_back.html
rename : docshell/test/test_close_onpagehide_by_window_close.html => docshell/test/mochitest/test_close_onpagehide_by_window_close.html
rename : docshell/test/test_forceinheritprincipal_overrule_owner.html => docshell/test/mochitest/test_forceinheritprincipal_overrule_owner.html
rename : docshell/test/test_framedhistoryframes.html => docshell/test/mochitest/test_framedhistoryframes.html
rename : docshell/test/test_pushState_after_document_open.html => docshell/test/mochitest/test_pushState_after_document_open.html
rename : docshell/test/test_triggeringprincipal_location_seturi.html => docshell/test/mochitest/test_triggeringprincipal_location_seturi.html
rename : docshell/test/test_windowedhistoryframes.html => docshell/test/mochitest/test_windowedhistoryframes.html
rename : docshell/test/url1_historyframe.html => docshell/test/mochitest/url1_historyframe.html
rename : docshell/test/url2_historyframe.html => docshell/test/mochitest/url2_historyframe.html
rename : third_party/rust/syn/src/parsers.rs => third_party/rust/syn-0.14.6/src/parsers.rs
rename : third_party/rust/syn/src/verbatim.rs => third_party/rust/syn-0.14.6/src/verbatim.rs
rename : third_party/rust/uuid/.travis.yml => third_party/rust/uuid-0.5.1/.travis.yml
rename : third_party/rust/uuid/src/rustc_serialize.rs => third_party/rust/uuid-0.5.1/src/rustc_serialize.rs
rename : third_party/rust/uuid/src/serde.rs => third_party/rust/uuid-0.5.1/src/serde.rs
2018-10-02 19:03:40 +03:00
Tim Nguyen 4619394724 Bug 1473929 - Load tree.css as a document stylesheet. r=dao
Differential Revision: https://phabricator.services.mozilla.com/D7411

--HG--
extra : moz-landing-system : lando
2018-10-02 11:38:51 +00:00
Brian Grinstead 7bbf81a3cb Bug 1481949 - Use querySelectorAll instead of a treeWalker for finding radios underneath a radiogroup;r=timdream
This is faster. It does drop support for skipping non-XUL-namespaced radiogroup
tags, but we don't have or plan to have HTML namespaced radiogroups in the same
document as a XUL-namespaced radiogroup.

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

--HG--
extra : moz-landing-system : lando
2018-10-01 20:35:35 +00:00
Brian Grinstead 27c32c10cf Bug 1481949 - Migrate <radiogroup> to a Custom Element;r=timdream
Differential Revision: https://phabricator.services.mozilla.com/D6326

--HG--
rename : toolkit/content/widgets/radio.xml => toolkit/content/widgets/radio.js
extra : moz-landing-system : lando
2018-10-01 18:01:02 +00:00
Brian Grinstead 574c7d7a6d Bug 1481949 - Don't load Custom Element script files for dummy.xul windows;r=kmag
They are unnecessary for most every element, and we load multiple dummy.xul
documents even in clean profiles.

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

--HG--
extra : moz-landing-system : lando
2018-10-01 18:01:00 +00:00
Doug Thayer 351745db30 Bug 1495032 - Proactively adjust tab priority on switch r=mconley
Our current prioritization mechanism doesn't account for tab
warming, or for the fact that the current tab should be
deprioritized. This corrects that.

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

--HG--
extra : moz-landing-system : lando
2018-10-01 17:05:32 +00:00
Alexander Surkov bdd3f4e880 Bug 1494230 - replace #text-base binding by webidl control, r=smaug 2018-10-01 11:37:39 +08:00
Drew Willcoxon 3f112a8327 Bug 1491724 - Search engine keyword should be highlighted only when the search will actually be performed on the corresponding search engine r=mak
My reasoning in https://bugzilla.mozilla.org/show_bug.cgi?id=1484737#c3 was wrong. I assumed that if a result started with a search alias then it had to be a search alias result, but that's clearly not true.

This is such a pain to get right, and all the messy logic in this patch reflects that.

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

--HG--
extra : moz-landing-system : lando
2018-09-28 23:29:26 +00:00
Dão Gottwald bef9d48a23 Bug 1473928 - Load numberbox.css as a document stylesheet. r=paolo
--HG--
rename : toolkit/themes/shared/numberbox.inc.css => toolkit/themes/shared/numberbox.css
2018-09-28 12:20:16 +02:00
Benjamin Bouvier 8d07c821a6 Bug 1469027: License changes; r=mhoye
--HG--
extra : rebase_source : 8b0bdd8b5bd53358650a2d09113f0db0d1523aa3
2018-08-29 16:09:55 +02:00
Brian Grinstead eaaac5ca03 Bug 1460982 - Convert <searchbar> to a Custom Element;r=adw
Differential Revision: https://phabricator.services.mozilla.com/D5912

--HG--
rename : browser/components/search/content/search.xml => browser/components/search/content/searchbar.js
extra : moz-landing-system : lando
2018-09-27 23:09:55 +00:00
Timothy Guan-tin Chien 35b063fc71 Bug 1493525 - Part II, Make videocontrols guard itself from reading the layout at the wrong time r=jaws
This patch adds a few guards to the DOM elements the videocontrols holds as
properties. Any future changes that attempt to access the blacklisted layout
properties of the DOM elements will throw.

Depends on D6725

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

--HG--
extra : moz-landing-system : lando
2018-09-27 17:44:53 +00:00
Timothy Guan-tin Chien 52fcb4df46 Bug 1493525 - Part I, Access layout dimensions in resizevideocontrols event only r=jaws
Given that the videocontrols UA Widget initializes when the DOM is inserted
(as opposed to the XBL binding only when the element is visible), the code should
not be tapping into layout until it updates.

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

--HG--
extra : moz-landing-system : lando
2018-09-27 17:44:44 +00:00
shindli 128034a509 Merge mozilla-central to inbound. a=merge CLOSED TREE 2018-09-27 06:17:16 +03:00
Timothy Guan-tin Chien 5293d136af Bug 1493089 - Cancel the pending animation instead of reversing it r=Gijs
My understanding of Web Animation API was wrong in bug 1449532. If a running
animation is pending, playing a new (reversed) animation will cause it to
play from the beginning of the new animation, instead of having the new animation
to play, in reverse, from the current position.

This has caused the user to see a fade out animation that shouldn't take
place when the video loops, i.e. going from "seeking" to "seeked".

The code now probe into the state of the animation instance and cancel
the pending animation, reverse the running animation, or start the new
(reversed) animation accordingly.

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

--HG--
extra : moz-landing-system : lando
2018-09-26 19:38:29 +00:00
Gijs Kruitbosch 76afb51661 Bug 1493655 - make nsISecureBrowserUI initialize from a docshell instead of a window, r=keeler,nika
This also removes the (afaict, unused) stub implementation from TabParent. The netwerk header
inclusions were necessary because those files included TabParent.h and through it,
nsISecureBrowserUI, but now TabParent.h no longer does that.

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

--HG--
extra : moz-landing-system : lando
2018-09-26 17:48:38 +00:00
Alexander Surkov 6ae4105332 Bug 1494167 - remove @crop property from text-base binding, r=paolo 2018-09-27 08:12:15 +08:00
alwu b0130df3e1 Bug 1493027 - part2 : add test. r=cpearce
Differential Revision: https://phabricator.services.mozilla.com/D6541

--HG--
extra : moz-landing-system : lando
2018-09-23 22:12:43 +00:00
Jared Wein d783e3ca71 Bug 1476852 - Implement keyboard selection for multiselect tabs. r=Gijs,Jamie
To use this (Windows/Linux instructions), press Ctrl+L to give focus to the location bar. Shift+Tab to move focus backwards to the tab.
Ctrl+Left/Ctrl+Right to change which tab is focused
Ctrl+Space to add/remove a tab from the multiselection
Moving a tab has been changed from Ctrl+Left/Ctrl+Right to Ctrl+Shift+Left/Ctrl+Shift+Right, respectively.

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

--HG--
extra : moz-landing-system : lando
2018-09-24 20:36:59 +00:00
Brian Grinstead 22f06659d2 Bug 1492967 - Merge together remote-browser and browser bindings;r=ochameau,mconley
Differential Revision: https://phabricator.services.mozilla.com/D6462

--HG--
extra : moz-landing-system : lando
2018-09-24 16:24:04 +00:00
Collin Wing 1e54660e25 Bug 1486935 - Migrated aboutProfiles to fluent for localization r=Gijs,flod
Differential Revision: https://phabricator.services.mozilla.com/D5283

--HG--
extra : moz-landing-system : lando
2018-09-23 17:26:44 +00:00
Luke Schwalfenberg 92ff34baee Bug 1488241 - Error link from about:support leads to about:policies#active instead of about:policies#errors. r=felipe
Differential Revision: https://phabricator.services.mozilla.com/D6538

--HG--
extra : amend_source : 2e9a6ffd871ed445a6eb74322ff852a5e701a646
2018-09-22 16:19:08 +01:00
Bogdan Tara 0eedaf7640 Merge inbound to mozilla-central. a=merge 2018-09-22 00:59:34 +03:00
Zibi Braniecki 83ea94f5ba Bug 1491394 - Update callsites to use new mozILocaleService API. r=jfkthame
Depends on D5924

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

--HG--
extra : moz-landing-system : lando
2018-09-21 15:30:37 +00:00
Nicolas Ouellet-Payeur b5b19652b2 Bug 462674 - URLBar: Autocomplete "about:" URLs r=mak
Pages that are whitelisted for displaying on about:about can be
autocompleted in the URL bar.

MozReview-Commit-ID: BYhWUImyiJH

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

--HG--
extra : moz-landing-system : lando
2018-09-21 00:31:02 +00:00
Andreea Pavel f5f6c0b588 Merge mozilla-inbound to mozilla-central. a=merge 2018-09-21 00:54:47 +03:00
Mike Conley eb269e3d6e Bug 1491906 - Add async mode to tabpanels binding. r=NeilDeakin
We need this because the AsyncTabSwitcher is responsible for switching between the
remote browser tab panels asynchronously. Asynchronous mode for the tabpanels
binding delegates the responsibility of actually changing the index of the
underlying deck to someone else (AsyncTabSwitcher, in this case).

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

--HG--
extra : moz-landing-system : lando
2018-09-20 15:57:33 +00:00
Coroiu Cristina b51e5a983e Backed out changeset 494efc7d8c29 (bug 1486934) for build bustage at chrome/global/aboutAbout.dtd on a CLOSED TREE 2018-09-20 18:45:28 +03:00
Cristina Coroiu 0b67a1688b Bug 1491484 - disable browser_findbar.js on linux opt and pgo for frequent failures. r=jmaher 2018-09-20 09:51:00 +03:00
Jack Smith 3670974038 Bug 1486937 - Migrates about:url-classifier to use fluent for localization r=Gijs,flod,zbraniecki,jaws
Migrates strings from aboutUrlClassifier.dtd and aboutUrlClassifier.properties files to aboutUrlClassifier.ftl

Modifies aboutUrlClassifier.xhtml and aboutUrlClassifier.js to use fluent.

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

--HG--
extra : moz-landing-system : lando
2018-09-16 13:52:25 +00:00
Qinghao_Jack_Song 4c06855cb5 Bug 1486934 - Modify about:about to use fluent for localization r=Gijs,flod,jaws
Differential Revision: https://phabricator.services.mozilla.com/D5311

--HG--
extra : moz-landing-system : lando
2018-09-19 19:02:37 +00:00
Kris Maglione 1c20e8cbbb Bug 1486147: Part 2 - Update JS string enumerator callers to use JS iteration. r=mccr8
Differential Revision: https://phabricator.services.mozilla.com/D4270

--HG--
extra : rebase_source : 2adadcc8e51a7bce1da02f4bee1333b77bfa9944
extra : histedit_source : 9df920fd186f8c96a5d8b9cbff53ea9529f26ee0
2018-08-24 16:22:40 -07:00
Bogdan Tara e7c653959c Merge inbound to mozilla-central. a=merge 2018-09-20 00:58:18 +03:00
Narcis Beleuzu 04ab391b65 Merge mozilla-central to autoland. a=merge CLOSED TREE 2018-09-19 19:44:24 +03:00
Brindusan Cristian 711261875a Backed out changeset 5d63a6222e9e (bug 1492130) for chrome- mochitest failures on toolkit/content/tests/chrome/test_bug562554.xul. 2018-09-19 15:42:08 +03:00
Dão Gottwald 033d567f0b Bug 1492130 - Load toolbarbutton.css as a document stylesheet. r=paolo 2018-09-18 20:24:43 +02:00
Neil Deakin eebb81f02b Bug 1478372, remove unneeded QueryInterface implementation for custom XUL elements as this is now done by nsXULElement::QueryInterface, r=bgrins 2018-09-19 06:46:55 -04:00
Neil Deakin 00b778c4e7 Bug 1478372, allow QueryInterface to be used for custom element implemented interfaces, r=bz,bgrins 2018-09-19 06:46:41 -04:00
Timothy Guan-tin Chien 6c928dc396 Bug 1484048 - Part II, Make error label visible r=Gijs
This is a regression left over by Bug 1431255 Part IV.
I did s/anonid/id/ in videocontrols.js but I didn't do that in CSS.

anonid selectors are still needed in CSS until we remove the XBL binding.

Depends on D3667

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

--HG--
extra : moz-landing-system : lando
2018-09-17 20:49:16 +00:00
Timothy Guan-tin Chien 77d53c90a7 Bug 1484048 - Part I, Restore the video controls accessible tree r=Gijs
The UA Widget videocontrols is contained in a <div class="videocontrols">
instead of an <xul:videocontrols>.

The former is by default visible in the accessibility tree unless its
role is set to none.

Depends on D3665

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

--HG--
extra : moz-landing-system : lando
2018-09-17 20:49:15 +00:00
shindli c5927f3aba Backed out changeset 0851acd8fd1e (bug 1491906) for clipboard failures in browser/base/content/test/general/browser_clipboard.js CLOSED TREE 2018-09-19 18:41:43 +03:00
Mike Conley c52edfe68a Bug 1491906 - Add async mode to tabpanels binding. r=NeilDeakin
We need this because the AsyncTabSwitcher is responsible for switching between the
remote browser tab panels asynchronously. Asynchronous mode for the tabpanels
binding delegates the responsibility of actually changing the index of the
underlying deck to someone else (AsyncTabSwitcher, in this case).

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

--HG--
extra : moz-landing-system : lando
2018-09-19 14:18:26 +00:00
Chris H-C de43a60e86 bug 1476613 - Restore about:telemetry search terms on load r=janerik
MozReview-Commit-ID: 4Vxh6wiceGm

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

--HG--
extra : moz-landing-system : lando
2018-09-19 07:47:54 +00:00
Alexander Surkov 5050b3952b Bug 1492046 - get rid of nsIDOMXULLabeledControlElement, r=smaug 2018-09-19 15:11:02 +08:00
Brian Grinstead 2ebe13510b Bug 1492247 - Allow for null document.head in browser.xhtml inserting localization links;r=zbraniecki
This prevents an exception in browser.xhtml when there's no head, since
it's currently sharing the markup with browser.xul.

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

--HG--
extra : moz-landing-system : lando
2018-09-18 21:45:51 +00:00
alwu 8f7b86117b Bug 1489375 - part2 : add test. r=padenot
add test.

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

--HG--
extra : moz-landing-system : lando
2018-09-18 14:59:48 +00:00
Gijs Kruitbosch 6b518d3722 Bug 1491243 - remove subscribe button, menu items and subscription section out of feed previews, r=florian
This removes subscribe UI and functionality from the main browser window,
the page info window, and from feed previews. It may leave some stray strings
in subscribe.properties/dtd, which will be removed in bug 1477669 when the
preview code goes away completely.

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

--HG--
extra : moz-landing-system : lando
2018-09-18 06:06:27 +00:00
Arshad Kazmi 54aa0aa1bc Bug 1474852 - Removed obsolete icon attributes from toolkit r=dao
Differential Revision: https://phabricator.services.mozilla.com/D6053

--HG--
extra : moz-landing-system : lando
2018-09-18 07:50:59 +00:00
Coroiu Cristina 9a2b88d99e Backed out changeset d61965849528 (bug 1491243) for en-US failures at testing\firefox-ui\tests\puppeteer\test_page_info_window.py 2018-09-17 22:23:58 +03:00
Gijs Kruitbosch 1b1f1b759d Bug 1491243 - remove subscribe button, menu items and subscription section out of feed previews, r=florian
This removes subscribe UI and functionality from the main browser window,
the page info window, and from feed previews. It may leave some stray strings
in subscribe.properties/dtd, which will be removed in bug 1477669 when the
preview code goes away completely.

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

--HG--
extra : moz-landing-system : lando
2018-09-17 18:06:05 +00:00
Jonathan Kingston c7c96baf75 Bug 1485305 - toolkit/ Ensure loadURI always passes a triggeringPrincipal() r=Mossop
Differential Revision: https://phabricator.services.mozilla.com/D4563

--HG--
extra : source : 390737876a61c5da48a1957d284d3c315fbd541a
extra : intermediate-source : f0b190c1cfb5d2df482f1051bbc0ff98de71235b
2018-08-29 15:49:12 +01:00
Brindusan Cristian 1db0587c0e Backed out 10 changesets (bug 1485305) for browser-chrome failures on docshell/test/browser/browser_loadURI.js. CLOSED TREE
Backed out changeset 50439ec01661 (bug 1485305)
Backed out changeset a05e40ef7215 (bug 1485305)
Backed out changeset c99b97b4348b (bug 1485305)
Backed out changeset 75220b2f6669 (bug 1485305)
Backed out changeset e698f2fc1c1a (bug 1485305)
Backed out changeset acce14683c13 (bug 1485305)
Backed out changeset 323773a395cc (bug 1485305)
Backed out changeset 1b74152cabc1 (bug 1485305)
Backed out changeset 4b5c9d5929fc (bug 1485305)
Backed out changeset 238d92348159 (bug 1485305)
2018-09-19 18:47:27 +03:00
Jonathan Kingston 55aa31a10b Bug 1485305 - toolkit/ Ensure loadURI always passes a triggeringPrincipal() r=Mossop
Differential Revision: https://phabricator.services.mozilla.com/D4563

--HG--
extra : source : 47f9b77e7e560818234862c97eef1f7124d6da4c
2018-08-29 15:49:12 +01:00
Marco Zehe 647a685fab Bug 1491744 - Give the More Actions button and popup menu in doorhanger notifications a better accessibility label, r=Gijs
When screen readers speak the button and subsequent menu when it pops up, the current full prompt is spoken by screen readers. This patch adds a localizable string that is spoken for both instances instead, but it not being displayed visually. This streamlines and improves the screen reader experience for this control and its menu popup a lot.

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

--HG--
extra : moz-landing-system : lando
2018-09-17 13:19:30 +00:00
Csoregi Natalia 3c1bd03590 Merge mozilla-central to autoland. CLOSED TREE 2018-09-17 12:53:34 +03:00
Alexander Surkov 28ba2a831a Bug 1488620 - get rid of nsIDOMXULLabelElement, r=smaug 2018-09-17 15:30:57 +08:00
Preeti Mukherjee fde4af9027 Bug 1489091 - Remove support for the inputtooltiptext attribute; r=dao
Remove support for the inputtooltiptext attribute

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

--HG--
extra : moz-landing-system : lando
2018-09-17 09:37:13 +00:00
Bogdan Tara 6489a48863 Merge mozilla-central to mozilla-inbound. a=merge CLOSED TREE 2018-09-15 00:52:08 +03:00
Brian Grinstead a2db8cd913 Bug 1411707 - Switch findbar and findbar-textbox from XBL bindings into a Custom Element;r=paolo
MozReview-Commit-ID: F95i9H9FvYv

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

--HG--
rename : toolkit/content/widgets/findbar.xml => toolkit/content/widgets/findbar.js
extra : moz-landing-system : lando
2018-09-14 18:30:31 +00:00
Dão Gottwald 6a1c6379e6 Bug 1411707 - Load findBar.css as a document stylesheet;r=paolo
Differential Revision: https://phabricator.services.mozilla.com/D5776

--HG--
extra : moz-landing-system : lando
2018-09-14 18:30:29 +00:00
alwu 2183140f78 Bug 1489278 - part2 : add test. r=padenot
Differential Revision: https://phabricator.services.mozilla.com/D5611

--HG--
extra : moz-landing-system : lando
2018-09-13 11:39:14 +00:00
Brian Grinstead aaf1aea124 Bug 1490457 - Add test for dynamically inserted localization links after parse;r=zbraniecki
Differential Revision: https://phabricator.services.mozilla.com/D5781

--HG--
extra : moz-landing-system : lando
2018-09-14 00:31:36 +00:00
Cosmin Sabou bf7f51d9c9 Backed out changeset c5dc6b7928ad (bug 1476852) for browser chrome failures on browser_bug563588. CLOSED TREE 2018-09-13 22:18:33 +03:00
Jared Wein bea9eb3553 Bug 1476852 - Implement keyboard selection for multiselect tabs. r=Gijs,Jamie
To use this (Windows/Linux instructions), press Ctrl+L to give focus to the location bar. Shift+Tab to move focus backwards to the tab.
Ctrl+Left/Ctrl+Right to change which tab is focused
Ctrl+Space to add/remove a tab from the multiselection
Moving a tab has been changed from Ctrl+Left/Ctrl+Right to Ctrl+Shift+Left/Ctrl+Shift+Right, respectively.

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

--HG--
extra : moz-landing-system : lando
2018-09-13 17:32:49 +00:00
Alexander Surkov 0868d78991 Bug 1446831 - move label, description css rules out of minimal-xul.css, patch=bgrins, surkov, r=smaug 2018-09-13 11:06:32 +08:00
Dão Gottwald 6c22936032 Bug 1473921 - Load checkbox.css and radio.css as document stylesheets. r=paolo 2018-09-14 19:35:47 +02:00
alecclarke a95f20e3d1 Bug 1486630 - Remove _manifestURI field and handling of the MozApplicationManifest message. r=mconley
Remove the _manifestURI field and handling of the MozApplicationManifest message.

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

--HG--
extra : rebase_source : 352630ba837a27c00ed0fbba1df1ace91f7119d3
2018-09-12 15:21:14 +00:00
Emma Malysz 696ceb303f Bug 1465219, use XULMenuElement, a subclass of nsXULElement, instead of MenuBoxObject for menu and menulist elements, r=paolo,bz
MozReview-Commit-ID: 5253hAlxbhw

--HG--
rename : dom/webidl/MenuBoxObject.webidl => dom/chrome-webidl/XULMenuElement.webidl
rename : layout/xul/MenuBoxObject.cpp => dom/xul/XULMenuElement.cpp
rename : layout/xul/MenuBoxObject.h => dom/xul/XULMenuElement.h
2018-07-31 12:30:17 -07:00
Brindusan Cristian 6d457f4a36 Merge mozilla-central to inbound. a=merge CLOSED TREE 2018-10-02 07:05:47 +03:00
Alexander Surkov e3b5779853 Bug 1494529 - kill #text-label binding, r=smaug 2018-10-02 10:15:51 +08:00
Dão Gottwald 91ba802f2e Bug 1492130 - Load toolbarbutton.css and scrollbox.css as document stylesheets. r=paolo 2018-09-21 17:16:45 +02:00
Noemi Erli 33a13f4638 Backed out changeset ced8a51eff4a (bug 1492130) for wpt failures in css/css-shapes/shape-outside/values/shape-outside-shape-arguments-000.html 2018-09-21 16:22:49 +03:00
Dão Gottwald d389551269 Bug 1492130 - Load toolbarbutton.css and scrollbox.css as document stylesheets. r=paolo 2018-09-21 14:23:53 +02:00
Brian Grinstead 150199f6f8 Bug 1488938 - Round two: migrate mochitest-browser tests to use element variations of firstChild, etc;r=Gijs
This is a follow up to Bug 1482667. The list of callers was gathered by instrumenting
the webidl calls to these methods and dumping JS stack when they are called in browser.xul.

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

--HG--
extra : moz-landing-system : lando
2018-09-07 15:31:38 +00:00
Brian Grinstead 2f2baff3ce Bug 1488938 - Migrate two more nextSibling/previousSibling callers to use element variation;r=Gijs
Differential Revision: https://phabricator.services.mozilla.com/D5184

--HG--
extra : moz-landing-system : lando
2018-09-07 15:31:35 +00:00
Mark Banner 20196fe4b9 Bug 1469825 - The tree component no longer needs to wait before selecting and setting focus when starting editing. r=NeilDeakin
Differential Revision: https://phabricator.services.mozilla.com/D2001

--HG--
extra : moz-landing-system : lando
2018-09-06 19:27:20 +00:00
Dão Gottwald 476817dd80 Bug 1489063 - Remove unused autocomplete-textbox class. r=standard8 2018-09-06 11:46:21 +02:00
Jan Henning d56c15bf20 Bug 1485151 - Part 1 - Import StrictModeContext from Chromium. r=jchen,mhoye
Differential Revision: https://phabricator.services.mozilla.com/D4888

--HG--
extra : rebase_source : ddef96908ba44f5360efd5eb7b58a6396a2c0a2e
extra : source : f65da9b6f22e2d4f1cf59c39c590f726637a5764
2018-09-04 22:28:19 +02:00
Neil Deakin 857a44d468 Bug 1484176, somewhat revert the change from bug 1454358 for places menu.xml since the boxObject being used should be for the inner scrollbox, r=dao 2018-09-05 11:43:56 +02:00
Bogdan Tara f302cbb0b3 Merge inbound to mozilla-central. a=merge 2018-09-05 02:24:27 +03: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
James Teh eeb98454b6 Bug 1200038: Don't use the system group for XUL tabbox keydown handlers. r=dao
Bug 1008772 moved all key handlers related to browser tabs to the system group to prevent websites from stealing tab switching keys.
However, this is only necessary for global tab switching keys; e.g. Control+Tab, Control+PageUp.
It is not necessary for keys which only operate when the tab bar is focused; e.g. Up/DownArrow.
This is because when the browser chrome is focused (including the tab bar), content key handlers can't intercept key presses.
Furthermore, having these in the system group gives them precedence over XUL context menus.
This causes tab switches to occur when the arrow keys are pressed while the context menu is open, which is highly undesirable.
Moving these (non-global) keydown handlers into the normal group fixes this.

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

--HG--
extra : moz-landing-system : lando
2018-09-04 09:34:23 +00:00
Alexander Surkov a522765f56 Bug 1488116 - get rid of nsIDOMXULDescriptionElement, r=smaug 2018-09-04 09:08:39 +08:00
Dão Gottwald 59fd1ac122 Bug 1486845 - Remove unused eventNode handling in tabbox. r=enndeakin
--HG--
extra : source : ef8c5c529210fb992f4bff90fb26a4989743aeb8
extra : histedit_source : 34caa35431489f33c9600b62bfa369d560f99b12
2018-08-29 12:38:05 +02:00
Sebastian Hengst 4f39161869 Backed out 18 changesets (bug 1487647, bug 1487271, bug 1487001, bug 1487105, bug 1486845, bug 1485738, bug 1487595, bug 1347060, bug 1480900, bug 1487889) for accidential push of inbound to central. a=backout
Backed out changeset 331706d8558f (bug 1487595)
Backed out changeset d78b833293db (bug 1487595)
Backed out changeset f292ef31ef0b (bug 1487595)
Backed out changeset ef8c5c529210 (bug 1486845)
Backed out changeset 9cbc8592d649 (bug 1487889)
Backed out changeset 05a0118455e4 (bug 1487105)
Backed out changeset 78b8ff889992 (bug 1487105)
Backed out changeset 5a55e5b74107 (bug 1480900)
Backed out changeset ea2402bdef40 (bug 1347060)
Backed out changeset 3f831b709e37 (bug 1485738)
Backed out changeset d1c29bfb5ea9 (bug 1480900)
Backed out changeset 8e60483ec824 (bug 1480900)
Backed out changeset 328589a86dd1 (bug 1487647)
Backed out changeset d974ef1647f3 (bug 1480900)
Backed out changeset 0509636cc5d5 (bug 1487001)
Backed out changeset c57165730494 (bug 1487271)
Backed out changeset a55d81761fc4 (bug 1480900)
Backed out changeset eaa2d0e9b62d (bug 1480900)

--HG--
rename : gfx/docs/AsyncPanZoomArchitecture.png => gfx/doc/AsyncPanZoom-HighLevel.png
rename : gfx/webrender_bindings/README.webrender => gfx/doc/README.webrender
rename : gfx/docs/SilkArchitecture.png => gfx/doc/silkArchitecture.png
2018-09-01 02:01:23 +03:00
Dão Gottwald bad6c69469 Bug 1486845 - Remove unused eventNode handling in tabbox. r=enn
--HG--
extra : rebase_source : c79a1d9ecf499c88dc6c5038f44daaeb2880a03d
2018-08-29 12:38:05 +02:00
Mark Banner 691543ee89 Bug 1486739 - Add missing dangling commas in browser/, services/, taskcluster/ and toolkit/. r=mossop
Automatic changes by ESLint, except for manual corrections for .xml files.

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

--HG--
extra : moz-landing-system : lando
2018-08-31 05:59:17 +00:00
Jan Henning 3e5cdb5011 Bug 1485151 - Part 1 - Import StrictModeContext from Chromium. r=jchen,mhoye
Differential Revision: https://phabricator.services.mozilla.com/D4888

--HG--
extra : source : 424fcd7c1bef5f9591d749555c042c184cfbf313
extra : histedit_source : 614bd7bac33d7312079337aed2184b1e47d04418
2018-08-22 20:16:34 +02:00
Ehsan Akhgari 8038c6973e Bug 1486487 - Toggle a label's control in case it's a checkbox; r=dao
Differential Revision: https://phabricator.services.mozilla.com/D4833
2018-09-04 10:18:52 -04:00
ahillier 5cbb200d5c Bug 1486779: Update CFR doorhanger to reflect new designs r=Mardak
Differential Revision: https://phabricator.services.mozilla.com/D4532

--HG--
extra : moz-landing-system : lando
2018-08-30 20:24:13 +00:00
Narcis Beleuzu 05d91d3e02 Merge inbound to mozilla-central. a=merge 2018-08-30 19:58:52 +03:00
Rob Wu 5fec51b0d0 Bug 1484914 - Never append duplicate access key hints r=bzbarsky
On macOS, access keys are not visually observable.

On Linux and Windows, access keys are underlined.
Moreover, if intl.menuitems.alwaysappendaccesskeys is set, the access
key is always appended as "(X)", optionally preceded by a space, where X
is the uppercased version of the access key.

This commit updates the logic to not append a new "(X)" if this expected
suffix is already present at the end of the label.

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

--HG--
extra : moz-landing-system : lando
2018-08-29 22:00:32 +00:00
Paolo Amadini 5aaf848c8b Bug 1457218 - Part 3 - Remove the "menu-button" binding. r=surkov,bgrins
Differential Revision: https://phabricator.services.mozilla.com/D4531

--HG--
extra : rebase_source : 502aa0ff24d0e3d46ef60c7a14498e25c66d1c81
2018-08-29 14:04:25 +01:00
Alexander Surkov b27e40d606 Bug 1486674 - get rid of nsIDOMXULCheckboxElement, r=smaug 2018-08-30 08:17:11 +08:00
Paolo Amadini 348900743b Bug 1457218 - Part 2 - Remove support for menu button types in notification bars. r=bgrins
The "menu-button" notification button type is unused, and the "menu" type is implemented using a normal button that opens a popup.

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

--HG--
extra : rebase_source : b662ec12f98bbb6841aaf4682393bb0e29830e73
2018-08-29 10:56:09 +01:00
Margareta Eliza Balazs 2fe43133db Merge inbound to mozilla-central. a=merge 2018-08-29 12:43:37 +03:00
Ciure Andrei c7bd3f7ba5 Merge mozilla-central to autoland. a=merge CLOSED TREE 2018-08-29 01:06:58 +03:00
Brian Grinstead ecede4d0e5 Bug 1469902 - Migrate <tabbox> to a Custom Element;r=dao
MozReview-Commit-ID: HNDiMYmKgkg

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

--HG--
rename : toolkit/content/widgets/tabbox.xml => toolkit/content/widgets/tabbox.js
extra : moz-landing-system : lando
2018-08-28 16:07:28 +00:00
Jorg K fa56d8a61b Bug 1486178 - fix mouse-up and mouse-move handling in auto-complete if widget embedded in richlistbox. r=Gijs 2018-08-27 10:14:00 +03:00
ExE Boss 8330d51c91 Bug 1473130 - Change parseXULToFragment to take an array of URLs for entities r=paolo
Differential Revision: https://phabricator.services.mozilla.com/D4024

--HG--
extra : moz-landing-system : lando
2018-08-27 09:40:40 +00:00
Brian Grinstead e864b4f797 Bug 1486220 - Revert document.createXULElement change from Bug 1485426 in videocontrols.xml;r=me
Since videocontrols run in content, this is generally a content privileged HTML
document which doesn't have access to that API. And besides, we actually want
this to be an <html:button>.
2018-08-26 06:26:35 -07:00
arthur.iakab 7df3c5baab Merge inbound to mozilla-central a=merge 2018-08-25 06:35:21 +03:00
Brendan Dahl f6923ccc24 Bug 1485426 - Use createXULElement instead of createElement in XUL docs. r=bgrins
Preparing for transitioning to XHTML.

MozReview-Commit-ID: JLlmUxsvhIB

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

--HG--
extra : moz-landing-system : lando
2018-08-25 00:16:27 +00:00
Timothy Guan-tin Chien 80558b2dbc Bug 1484544 - Allow focusable element to function on top level video element r=Gijs
Differential Revision: https://phabricator.services.mozilla.com/D4169

--HG--
extra : moz-landing-system : lando
2018-08-24 17:37:15 +00:00
Paolo Amadini bfef02108d Bug 1457216 - Remove support for editable menulists. r=surkov,bgrins
Differential Revision: https://phabricator.services.mozilla.com/D4306

--HG--
extra : rebase_source : e8b4946c8f657e2283bc96cb08de802493e3a826
2018-08-24 15:44:38 +01:00
Tiberius Oros 2ee9341d01 Merge inbound to mozilla-central. a=merge 2018-08-24 12:43:45 +03:00
alwu eb9569d512 Bug 1485160 - part2 : add test. r=mconley
Differential Revision: https://phabricator.services.mozilla.com/D3931

--HG--
extra : moz-landing-system : lando
2018-08-23 21:50:14 +00:00
Kris Maglione 6adf9223ce Bug 1484496: Part 5b - Convert toolkit/ nsISimpleEnumerator users to use JS iteration. r=Gijs
Differential Revision: https://phabricator.services.mozilla.com/D3730

--HG--
extra : rebase_source : 935f166ec2c6581ba6f3fffe912404e81c8dc3d6
extra : histedit_source : ba701801de5205dcce6cfdccabe7b26aa7c7859c
2018-08-18 19:27:50 -07:00
arthur.iakab dcedbb628b Merge mozilla-central to inbound 2018-08-25 01:09:50 +03:00
Dão Gottwald 4ba5a12fb0 Bug 1446168 - Load tabbox.css as a document stylesheet. r=bgrins 2018-08-24 17:33:12 +02:00
shindli 34bbe66fbd Backed out changeset 2f9c90bd0f2f (bug 1446168) for R3 failures in /tests/reftest/tests/layout/reftests/xul/mac-tab-toolbar-ref.xul 2018-08-23 03:10:03 +03:00
Dão Gottwald 526114e5e9 Bug 1446168 - Load tabbox.css as a document stylesheet. r=bgrins 2018-08-17 14:13:00 +02:00
Eliza Balazs 334166becd Bug 1312652 - Disable browser_autoscroll_disabled.js on multiple platforms for frequent failures. r=jmaher 2018-08-22 04:40:00 +03:00
Timothy Guan-tin Chien 4b6408eacd Bug 1485133 - Remove Web Animation polyfill in video controls r=birtles
Differential Revision: https://phabricator.services.mozilla.com/D3918

--HG--
extra : moz-landing-system : lando
2018-08-21 22:43:55 +00:00
Mike Conley bda8a0dccd Bug 1478112 - Get rid of preselect tabbox workaround, and adjust focus after changing visible tab right away. r=dao
The "select" event handler workaround was originally added in bug 1379270 to make it
possible to focus and select the URL bar a little bit later. This ugly hack was to
workaround an issue with WebExtensions that override about:newtab with the
chrome_url_overrides property (the issue would be that the URL bar would not be
properly focused and selected if about:newtab was overridden).

Back in the day, this was necessary because the overriding URL was fully displayed
in the URL bar (moz-webextension://...). These days, when about:newtab is overridden,
the URL bar is still empty - we just end up showing the information about the
WebExtension overriding about:newtab to the left of the URL bar.

So I think we can remove the old workaround.

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

--HG--
extra : moz-landing-system : lando
2018-08-21 06:55:47 +00:00
Csoregi Natalia 6a5d41b053 Merge inbound to mozilla-central. a=merge
--HG--
rename : devtools/server/actors/webconsole/moz.build => devtools/server/actors/webconsole/listeners/moz.build
2018-08-21 01:00:01 +03:00
Timothy Guan-tin Chien df8a644582 Bug 1483408 - Set focus to the video element when the media document loads r=Gijs
For some reason we might miss the initial focus event. This ensures the video
element is focused when the document loads.

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

--HG--
extra : moz-landing-system : lando
2018-08-20 13:06:01 +00:00
shindli 1d3a8e90da Merge mozilla-central to inbound. a=merge CLOSED TREE 2018-08-20 19:36:01 +03:00
Paolo Amadini 99697b4790 Bug 1393965 - Fix intermittent browser_default_image_filename.js. r=mconley
Differential Revision: https://phabricator.services.mozilla.com/D3775

--HG--
extra : rebase_source : 30d8d75d478403264ec0530452def76984e47fb0
2018-08-20 13:42:19 +01:00
Emilio Cobos Álvarez 69f98d5c58 Bug 1484474 - Make the ua widget flag in ShadowRoot write-only. r=smaug
Letting people set it back to false would be bad.

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

--HG--
extra : moz-landing-system : lando
2018-08-18 21:32:38 +00:00
spillner ae484ea026 Bug 260562 - Remove obsolete accessibility.typeaheadfind.enabletimeout preference. r=kmag
Summary:
Mike DeBoer correctly noted in a comment at https://bugzilla.mozilla.org/show_bug.cgi?id=254592 that enabletimeout is no longer used and should be removed.  I updated the timeout logic to treat a zero or negative value as effectively "no automatic timeout" for the quick-find dialog (otherwise, setting the timeout value to a small or negative value makes the feature unusable).

This is a corollary to the bugfix at https://phabricator.services.mozilla.com/D3404 ; I've split it out into a separate patch to avoid confusing that issue.

Update: this specific issue already had its own bug at https://bugzilla.mozilla.org/show_bug.cgi?id=260562, and another mention at https://bugzilla.mozilla.org/show_bug.cgi?id=265915 .

Reviewers: kmag

Reviewed By: kmag

Bug #: 260562

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

--HG--
extra : rebase_source : 1c2b73d6af1343d536a2380dee784f8ea2339b61
extra : amend_source : cc00a2398b2c478003e842b4dc9b99bf53af6824
2018-08-19 08:47:57 +03:00
Drew Willcoxon f90bca5e29 Bug 1484067 - Hide search em-dash when search query only contains spaces r=Mardak
Differential Revision: https://phabricator.services.mozilla.com/D3659

--HG--
extra : moz-landing-system : lando
2018-08-17 20:56:31 +00:00
Timothy Guan-tin Chien 166aa2d738 Bug 1483972 - Allow videocontrols to initialize without style r=jaws,dholbert!,jaws!
This crash happens because nsVideoFrame didn't know what to do with two
children in the UA Widget Shadow Root.

The two children are both videocontrols, with the first one being the lingering
DOM inserted by first constructor call that throws.

The subsequent appendChild of the same element caused the videocontrols
to be initialized again, since the previous run didn't return a widget
instance to UAWidgetsChild.

The fix here removes the throw statement added in
https://hg.mozilla.org/mozilla-central/rev/dca187f7c72c#l3.15 ,
allowing the constructor to complete.

Without this statement, we will rely on assertion in the test here
https://hg.mozilla.org/mozilla-central/rev/4ddca5eb06c2#l2.18
to fail on slower platforms to ensure the stylesheet is loaded synchronously.

An alternative fix would be to wrap up the contructor in a try catch block
from UAWidgetsChild and make sure the DOM is cleaned up when the constructor
throw. That however will hide the error thrown so I decided to remove the throw
statement instead.

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

--HG--
extra : moz-landing-system : lando
2018-08-17 20:43:46 +00:00
Tiberius Oros 482b5ce92a Merge mozilla-central to inbound. a=merge CLOSED TREE 2018-08-17 00:38:55 +03:00
Tiberius Oros 246f2b4fab Merge inbound to mozilla-central. a=merge 2018-08-17 00:32:50 +03:00
Matthew Noorenberghe 7b9e74a701 Bug 1483672 - Inject the autofill autocomplete-item stylesheets like formautofill.css. r=aswan
Differential Revision: https://phabricator.services.mozilla.com/D3442

--HG--
extra : rebase_source : 31d43a73a895d3933efde83b68b5a1d8a87fb0c8
2018-08-15 14:09:50 -07:00
Andrew Swan 3badf01810 Bug 1449055 Convert formautofill to a webextension r=MattN,kmag
--HG--
rename : browser/extensions/formautofill/bootstrap.js => browser/extensions/formautofill/api.js
rename : browser/extensions/formautofill/install.rdf.in => browser/extensions/formautofill/manifest.json
rename : browser/extensions/formautofill/skin/shared/autocomplete-item.css => browser/extensions/formautofill/skin/shared/autocomplete-item-shared.css
rename : browser/extensions/formautofill/skin/shared/editDialog.css => browser/extensions/formautofill/skin/shared/editDialog-shared.css
extra : rebase_source : 8ddd40e3bbf84fadb7ef07b30822030e346ae341
extra : intermediate-source : 45306ff933fe8dfad0ab11b2f4072389b15fd993
extra : source : ecda6532c852b3f225fce998e3ce83ad157760e6
2018-07-28 14:06:07 -07:00
Timothy Guan-tin Chien 3a8416b993 Bug 1431255 - Part XIII, Make <link> in UA Widget load stylesheets synchronously r=bzbarsky
Set SheetLoadData::mSyncLoad to true when the link element is in a UA Widget.

MozReview-Commit-ID: 2NPSJnL0rKl

--HG--
extra : rebase_source : 9af8c7add41b39f6eb8e3ac02dbefb9607b905f9
2018-08-07 11:20:31 -07:00
Timothy Guan-tin Chien 0f3d6a3193 Bug 1431255 - Part XII, Don't set hidden explicitly on animating elements r=jaws
For elements with an animationProp, always set its hidden state from the
startFade() method, so the reverse-direction animation can be correctly
cancelled.

Additionally, considers elements with "fadeout" class as hidden,
so other states can be toggled correctly.

This patch fixes intermittent failures on slower platforms, and perma-orange
on Windows.

MozReview-Commit-ID: KgQXaryEHad

--HG--
extra : rebase_source : b2c7eb81110bf2a55820460cfc24b3418fd4bbdb
2018-07-17 23:01:00 +08:00
Timothy Guan-tin Chien fd253ac962 Bug 1431255 - Part XI, Remove bogus comments in videocontrols.js r=jaws
Also removing unremoved <xul:slider> properties and workarounds.

MozReview-Commit-ID: 8JrcDyDOBWS

--HG--
extra : rebase_source : ebd8c3af91d07769ab2d71e8ac9be541e7fae68f
2018-07-06 22:39:10 +08:00
Timothy Guan-tin Chien c36e4f22d6 Bug 1431255 - Part X, Remove XBL workaround in bug 462114 r=jaws
This is documented throughly in bug 448909 comment 79.
It is no longer needed for our current setup.

MozReview-Commit-ID: 9XWCqGUYHW4

--HG--
extra : rebase_source : 7d8e042d2e11704b68fb42ea14b421d9eada4abb
2018-07-06 20:51:22 +08:00
Timothy Guan-tin Chien fe66d98d86 Bug 1431255 - Part IX, Remove fullscreenchange workaround for bug 718107 r=jaws
Acknowledge the control bar hidden behavior caused by the bug.
Also, set the cursor state before early return, because the video might not
be in the same fullsreen state the last time control bar is hidden/shown.

MozReview-Commit-ID: 3oN3r8dsUvH

--HG--
extra : rebase_source : 34a95e9d5ddfd8abb96adde452858e4b7acb4946
2018-07-06 18:37:10 +08:00
Timothy Guan-tin Chien 4f4992fc3d Bug 1431255 - Part VIII, Adjust videocontrols tests to test on UA Widget r=jaws
Duplicates the unchanged tests to xbl dir, ensuring the legacy XBL
videocontrols continue to work.

Opt out of related reftests until we've found a way to load the UA Widget in
reftests. Also opt out of DevTools test until a decision is made on the
representation of UA Widgets in the inspector.

MozReview-Commit-ID: 9sDD7xeuv2H

--HG--
rename : toolkit/content/tests/widgets/chrome.ini => toolkit/content/tests/widgets/xbl/chrome.ini
rename : toolkit/content/tests/widgets/head.js => toolkit/content/tests/widgets/xbl/head.js
rename : toolkit/content/tests/widgets/mochitest.ini => toolkit/content/tests/widgets/xbl/mochitest.ini
rename : toolkit/content/tests/widgets/test_audiocontrols_dimensions.html => toolkit/content/tests/widgets/xbl/test_audiocontrols_dimensions.html
rename : toolkit/content/tests/widgets/test_bug898940.html => toolkit/content/tests/widgets/xbl/test_bug898940.html
rename : toolkit/content/tests/widgets/test_videocontrols.html => toolkit/content/tests/widgets/xbl/test_videocontrols.html
rename : toolkit/content/tests/widgets/test_videocontrols_audio.html => toolkit/content/tests/widgets/xbl/test_videocontrols_audio.html
rename : toolkit/content/tests/widgets/test_videocontrols_audio_direction.html => toolkit/content/tests/widgets/xbl/test_videocontrols_audio_direction.html
rename : toolkit/content/tests/widgets/test_videocontrols_error.html => toolkit/content/tests/widgets/xbl/test_videocontrols_error.html
rename : toolkit/content/tests/widgets/test_videocontrols_iframe_fullscreen.html => toolkit/content/tests/widgets/xbl/test_videocontrols_iframe_fullscreen.html
rename : toolkit/content/tests/widgets/test_videocontrols_jsdisabled.html => toolkit/content/tests/widgets/xbl/test_videocontrols_jsdisabled.html
rename : toolkit/content/tests/widgets/test_videocontrols_keyhandler.html => toolkit/content/tests/widgets/xbl/test_videocontrols_keyhandler.html
rename : toolkit/content/tests/widgets/test_videocontrols_onclickplay.html => toolkit/content/tests/widgets/xbl/test_videocontrols_onclickplay.html
rename : toolkit/content/tests/widgets/test_videocontrols_orientation.html => toolkit/content/tests/widgets/xbl/test_videocontrols_orientation.html
rename : toolkit/content/tests/widgets/test_videocontrols_size.html => toolkit/content/tests/widgets/xbl/test_videocontrols_size.html
rename : toolkit/content/tests/widgets/test_videocontrols_standalone.html => toolkit/content/tests/widgets/xbl/test_videocontrols_standalone.html
rename : toolkit/content/tests/widgets/test_videocontrols_video_direction.html => toolkit/content/tests/widgets/xbl/test_videocontrols_video_direction.html
rename : toolkit/content/tests/widgets/test_videocontrols_video_noaudio.html => toolkit/content/tests/widgets/xbl/test_videocontrols_video_noaudio.html
rename : toolkit/content/tests/widgets/test_videocontrols_vtt.html => toolkit/content/tests/widgets/xbl/test_videocontrols_vtt.html
extra : rebase_source : 474e4d1967bb96b4ffad283f83055e5fe58165f0
2018-07-06 13:27:12 +08:00
Timothy Guan-tin Chien dab48182aa Bug 1431255 - Part V, Set the reflectors of the UA Widget DOM to UA Widget Scope r=bholley
The DOM elements within the UA Widget Shadow DOM should have its reflectors in
the UA Widget Scope. This is done by calling nsINode::IsInUAWidget() which
would check its containing shadow and its UA Widget bit.

To prevent JS access of the DOM element before it is in the
UA Widget Shadom DOM tree, various DOM methods are set to inaccessible to
UA Widget script. It would need to use the two special methods in ShadowRoot
instead to insert the DOM directly into the shadow tree.

MozReview-Commit-ID: Jz9iCaVIoij

--HG--
extra : rebase_source : b7b17be68dcde00cfeb207cb39cf16b486f2ab02
2018-06-29 13:39:46 -07:00
Timothy Guan-tin Chien 3fc48b5fcd Bug 1431255 - Part IV, Load videocontrols.js, migrated from videoControls binding r=jaws
videocontrols.js handles the controls attribute with a callback named
"onattributechange" called by UAWidgets, replaces the CSS selectors.

MozReview-Commit-ID: 8rrw0Pbu8Dj

--HG--
rename : toolkit/content/widgets/videocontrols.xml => toolkit/content/widgets/videocontrols.js
extra : rebase_source : 8d8a38afac0273621f711b988c1be82d04865e33
2018-06-27 11:55:38 -07:00
Brian Grinstead 9382a39249 Bug 1483274 - Remove nsIRemoteBrowser and always use nsIBrowser;r=smaug
Browsers can switch at runtime from remote to non-remote and vice versa,
which on the C++ side is detected from a XBL binding change which causes
nsIRemoteBrowser to either be implemented or not. Custom Elements can't
change at runtime in the same way, so unifying on a single [implements]
will allow browser (both remote and non-remote) to be migrated to a single
Custom Element.

To keep current functionality, this updates Qi calls into nsIRemoteBrowser
to instead Qi into nsIBrowser and check isRemoteBrowser.

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

--HG--
extra : moz-landing-system : lando
2018-08-15 19:21:22 +00:00
Cosmin Sabou 1c8ad7b4ba Merge mozilla-inbound to mozilla-central. a=merge 2018-08-15 03:51:45 +03:00
Kris Maglione b5be6c0987 Bug 1483363: Stop loading ZoomChild.jsm before necessary. r=mconley
--HG--
extra : rebase_source : 0145f5c1cded4b38f65570b75710d98370da3a32
extra : amend_source : dd6b99a67ffd22b439544295d6e16a8deb0d6dd8
2018-07-31 19:41:09 -07:00
Brendan Dahl 195f739823 Bug 1482256 - Support switching to browser.xul to browser.xhtml. r=mossop
Adds a new environment variable MOZ_BROWSER_XHTML to change Firefox to load
a modified version of browser.xul as browser.xhtml. Adds the xhtml
namespace to the script tags to make them work.

MozReview-Commit-ID: 2adtOVzXHKd
2018-08-14 13:13:38 -07:00
Brian Grinstead 829d7647d3 Bug 1479538 - Rewrite non-test callers of document.createElementNS(XUL_NS, ...) to use document.createXULElement(...);r=paolo
Differential Revision: https://phabricator.services.mozilla.com/D3275

--HG--
extra : moz-landing-system : lando
2018-08-14 16:22:44 +00:00