Commit Graph

8067 Commits

Author SHA1 Message Date
Robert Strong
08ed524d2d Bug 1557452 - Change about:support to open the update history by using the chrome uri instead of using nsIUpdatePrompt. r=bytesized
This is in preparation of removing nsIUpdatePrompt

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

--HG--
extra : moz-landing-system : lando
2019-06-06 20:05:03 +00:00
Bogdan Tara
2f77f4ae9b Backed out changeset 584e6d9246ac (bug 1557252) for browser/components/preferences/in-content/tests* failures CLOSED TREE 2019-06-06 20:15:59 +03:00
Alexander Surkov
73acada34c Bug 1557252 - add missing style for in-content dialogs, r=bgrins
Differential Revision: https://phabricator.services.mozilla.com/D33976

--HG--
extra : moz-landing-system : lando
2019-06-06 15:56:34 +00:00
shindli
c9ee4bb3ac Merge mozilla-central to autoland. a=merge CLOSED TREE
--HG--
rename : testing/web-platform/tests/referrer-policy/generic/iframe-inheritance.html => testing/web-platform/tests/referrer-policy/generic/inheritance/iframe-inheritance-data.html
rename : testing/web-platform/tests/referrer-policy/generic/iframe-inheritance.html => testing/web-platform/tests/referrer-policy/generic/inheritance/iframe-inheritance-srcdoc.html
2019-06-06 13:51:59 +03:00
Dale Harvey
b46d6e8925 Bug 1543812 - Add ability to block all autoplay. r=johannh,alwu,flod,fluent-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D30135

--HG--
extra : moz-landing-system : lando
2019-06-06 09:06:09 +00:00
Christoph Kerschbaumer
c04c6432f9 Bug 1497216: Apply Meta CSP to about:webrtc.
Differential Revision: https://phabricator.services.mozilla.com/D33916

--HG--
extra : moz-landing-system : lando
2019-06-06 08:58:36 +00:00
Mihai Alexandru Michis
d07d090c31 Merge mozilla-central to mozilla-inbound. a=merge CLOSED TREE 2019-06-05 12:59:10 +03:00
Daniel Varga
3bc762bcf1 Backed out changeset d64cb52ebf88 (bug 1543812) for xpcshell failure at parser/xml/test/unit/test_sanitizer.js. On a CLOSED TREE 2019-06-05 03:50:16 +03:00
Dale Harvey
6066384ce3 Bug 1543812 - Add ability to block all autoplay. r=johannh,alwu,flod,fluent-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D30135

--HG--
extra : moz-landing-system : lando
2019-06-04 17:33:06 +00:00
Alexander Surkov
61cc7103cf Bug 1544916 - migrate dialog binding to Custom Element r=bgrins,whimboo
Differential Revision: https://phabricator.services.mozilla.com/D30289

--HG--
rename : toolkit/content/widgets/dialog.xml => toolkit/content/widgets/dialog.js
extra : moz-landing-system : lando
2019-06-04 17:28:16 +00:00
Andreea Pavel
516073f4fd Backed out changeset 2dacf7539a2f (bug 1543812) for multiple failures e.g bc at browser_autoplay_blocked.js on a CLOSED TREE 2019-06-05 19:29:20 +03:00
Dale Harvey
87fa55e513 Bug 1543812 - Add ability to block all autoplay. r=johannh,alwu,flod,fluent-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D30135

--HG--
extra : moz-landing-system : lando
2019-06-05 01:03:14 +00:00
Andrew Osmond
d88f3e04a9 Bug 1556822 - Add the display color profile to about:support. r=miko
This adds the base64 encoded color profile to the about:support page in
order to allow us to better diagnose and reproduce color management
issues. We can extract this, decode it and load it directly via the
gfx.color_management.display_profile pref.
2019-06-04 18:50:47 -04:00
Lars T Hansen
e6c1d3d9aa Bug 1539806 - Incorporate the Zydis disassembler source. r=froydnj, r=mhoye
The Zydis disassembler is a configurable MIT-licensed decoder and
formatter for x64 and x86.

The code comes from two github repositories:

  https://github.com/zyantific/zydis
  https://github.com/zyantific/zycore-c

In accompanying licensing material (included in this patch) the
authors are identified as these:

  Copyright (c) 2014-2019 Florian Bernd
  Copyright (c) 2014-2019 Joel Höner

We will use Zydis to disassemble code generated by the Cranelift JIT.

This source has been taken from the master branch of Zydis on github
and incorporated here in the manner described in README.md in this
directory.  Effectively: a subset of files have been incorporated and
the files are in new locations in a flatter tree.  README.md has
instructions for repeating the job.

The files in the root Zydis directory js/src/zydis are largely
authored by me but in some cases incorporate code from the Zydis
repository on github and are therefore given a Zydis copyright when
appropriate.

--HG--
extra : rebase_source : 80f8559d2052f81461f3396002956d07eb284f2b
extra : source : d26696cdc629bbfdff98face02caeb9c8c956aca
2019-04-02 10:44:54 +02:00
Gijs Kruitbosch
3c6894d020 Bug 1543508 - revert will-change additions now that layers no longer cause compositor bugs, r=mconley
Differential Revision: https://phabricator.services.mozilla.com/D33165

--HG--
extra : moz-landing-system : lando
2019-06-03 20:10:44 +00:00
Henri Sivonen
ae34dc651a Bug 1543077 part 4 - Have only one item for Japanese in the Text Encoding menu. r=Gijs,emk.
Differential Revision: https://phabricator.services.mozilla.com/D28634
2019-06-03 15:30:41 +03:00
Christoph Kerschbaumer
ebb265feb8 Bug 1496010: Apply Meta CSP to System Privileged about:about.
Differential Revision: https://phabricator.services.mozilla.com/D33443

--HG--
extra : moz-landing-system : lando
2019-06-03 06:04:25 +00:00
arthur.iakab
36d75a7e56 Merge mozilla-central to mozilla-inbound 2019-06-01 01:30:47 +03:00
arthur.iakab
260c46830a Backed out changeset 239751330c09 (bug 1533958) for causing browser chrome leaks on browser_event_listener.js CLOSED TREE 2019-05-31 22:58:06 +03:00
Dão Gottwald
b6e691a46f Bug 1555929 - Use handleEvent and on_<event name> pattern in MozTab and MozTabbrowserTab. r=bgrins
Differential Revision: https://phabricator.services.mozilla.com/D33272

--HG--
extra : moz-landing-system : lando
2019-05-31 17:32:26 +00:00
Brian Grinstead
402bc3a970 Bug 1553188 - Part 4 - Update remaining references to browser.xul;r=bdahl
These are generally:
- Code comments to browser.xhtml
- Testcases, assertions that were mostly using browser.xul as a generic chrome URL
- References to the browser.xul path in tree

Differential Revision: https://phabricator.services.mozilla.com/D33208
2019-05-28 16:40:42 -07:00
Abdoulaye O. Ly
c178d04b3b Bug 1533958 - Make <select> works with Fission. r=neil
--HG--
extra : rebase_source : 0cd9e4cd5406b12d4de97f69740c3af778ac46d6
extra : amend_source : 955df5b76b9d91be6dc216ee77fab946115fe5e8
2019-05-31 13:17:08 -04:00
Mike Conley
82bd51e393 Bug 1533949 - Make BrowserChild functions Fission-compatible, and move to BrowserElementChild. r=NeilDeakin
Differential Revision: https://phabricator.services.mozilla.com/D30725

--HG--
rename : toolkit/actors/BrowserChild.jsm => toolkit/actors/BrowserElementChild.jsm
extra : moz-landing-system : lando
2019-05-30 19:01:29 +00:00
Alexander Surkov
33b1abfc3f Bug 1512432 - convert richlistitem binding to Custom Element, r=bgrins
Differential Revision: https://phabricator.services.mozilla.com/D32474

--HG--
extra : moz-landing-system : lando
2019-05-30 14:12:47 +00:00
Nick Alexander
aef9fc1900 Bug 1508976 - Post: Include all targets in about:buildconfig in GeckoView fat AAR. r=froydnj
Differential Revision: https://phabricator.services.mozilla.com/D15773

--HG--
extra : moz-landing-system : lando
2019-05-30 15:22:28 +00:00
Alexander Surkov
452c2f3269 Bug 1519514 - convert tabbrowser-tab binding to a Custom Element, r=aswan
Differential Revision: https://phabricator.services.mozilla.com/D28662

--HG--
extra : source : 8488d800a7856b6dc4a1619592fc776dc1a5e444
2019-05-28 22:00:28 +00:00
Alexander Surkov
543e2caf1e Bug 1519514 - convert tab binding to a Custom Element, r=bgrins
Differential Revision: https://phabricator.services.mozilla.com/D26600

--HG--
extra : source : 2cd983857de6c73d677c161faf1aaa67a4c3f500
2019-05-28 22:00:16 +00:00
Matthew Noorenberghe
328093cc71 Bug 1166113 - Use the autocomplete result GUID to fill the correct password. r=sfoster
Differential Revision: https://phabricator.services.mozilla.com/D32914

--HG--
extra : moz-landing-system : lando
2019-05-29 08:08:47 +00:00
Cosmin Sabou
fa7207a14d Backed out 4 changesets (bug 1519514) for causing several browser chrome failures. CLOSED TREE
Backed out changeset 485c2c76fab6 (bug 1519514)
Backed out changeset 8488d800a785 (bug 1519514)
Backed out changeset 858b9456eb3c (bug 1519514)
Backed out changeset 2cd983857de6 (bug 1519514)
2019-05-29 11:01:47 +03:00
Alexander Surkov
0f1bc68db8 Bug 1519514 - convert tabbrowser-tab binding to a Custom Element, r=aswan
Differential Revision: https://phabricator.services.mozilla.com/D28662

--HG--
extra : moz-landing-system : lando
2019-05-28 22:00:28 +00:00
Alexander Surkov
9a4862fe5e Bug 1519514 - convert tab binding to a Custom Element, r=bgrins
Differential Revision: https://phabricator.services.mozilla.com/D26600

--HG--
extra : moz-landing-system : lando
2019-05-28 22:00:16 +00:00
Oana Pop Rus
ac6f9d6c71 Merge mozilla-central to autoland. a=merge CLOSED TREE 2019-05-29 01:09:35 +03:00
Ehsan Akhgari
2b13205aa8 Bug 1555020 - Make sure closing the findbar doesn't close the entire window; r=mossop
Differential Revision: https://phabricator.services.mozilla.com/D32858

--HG--
extra : moz-landing-system : lando
2019-05-28 17:21:32 +00:00
Andrew Osmond
fd0fefd13a Bug 1554540 - Expose window protocol (X11, Wayland) in nsIGfxInfo and about:support. r=kats,stransky,flod
Differential Revision: https://phabricator.services.mozilla.com/D32651
2019-05-28 06:40:34 -04:00
Ehsan Akhgari
ad6a833e39 Bug 1549560 - Move HTMLDocument.open/close/write/writeln to Document; r=farre
Differential Revision: https://phabricator.services.mozilla.com/D32388

--HG--
extra : moz-landing-system : lando
2019-05-27 23:03:03 +00:00
Bogdan Tara
2bcd3a4566 Backed out changeset c352b73db92b (bug 1549560) for dom/base/Document.cpp related build bustages CLOSED TREE 2019-05-27 23:57:00 +03:00
Ehsan Akhgari
6b308d9e98 Bug 1549560 - Move HTMLDocument.open/close/write/writeln to Document; r=farre
Differential Revision: https://phabricator.services.mozilla.com/D32388

--HG--
extra : moz-landing-system : lando
2019-05-27 18:42:23 +00:00
Mihai Alexandru Michis
1dd6cb6ee5 Backed out 6 changesets (bug 1543077) for causing bc failures at docshell/test/browser/browser_bug1543077.js
Backed out changeset f593045cc48f (bug 1543077)
Backed out changeset 25449ba8aceb (bug 1543077)
Backed out changeset ccc438262e29 (bug 1543077)
Backed out changeset 4573c25b1ce0 (bug 1543077)
Backed out changeset 1cbaafb9373a (bug 1543077)
Backed out changeset 1a0e7ced8e47 (bug 1543077)

--HG--
extra : rebase_source : f04bf405303fe03776f0e70b03db076c0a41ae45
2019-05-27 12:00:21 +03:00
Henri Sivonen
533527938d Bug 1543077 part 4 - Have only one item for Japanese in the Text Encoding menu. r=emk,Gijs
Differential Revision: https://phabricator.services.mozilla.com/D28634

--HG--
extra : moz-landing-system : lando
2019-05-27 07:55:27 +00:00
Jean-Yves Avenard
022c57caf3 Bug 1550422 - P23. Remove now unused gfxPrefs. r=jrmuizel
And with some tidying some comments and removing stray #include "gfxPrefs.h"

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

--HG--
extra : moz-landing-system : lando
2019-05-26 14:31:53 +00:00
Gurzau Raul
967bc2a754 Backed out 31 changesets (bug 1552643, bug 1550422) for xpcshell crash on a CLOSED TREE.
Backed out changeset e30c1aa75529 (bug 1552643)
Backed out changeset caadcd7e02d3 (bug 1552643)
Backed out changeset aa7086ab09be (bug 1552643)
Backed out changeset 0b4029671710 (bug 1550422)
Backed out changeset a16295296035 (bug 1550422)
Backed out changeset 3b70307c0db5 (bug 1550422)
Backed out changeset 69df7818d4a3 (bug 1550422)
Backed out changeset d98dfc565927 (bug 1550422)
Backed out changeset 6f0997976944 (bug 1550422)
Backed out changeset 0edd264464c2 (bug 1550422)
Backed out changeset 9ea6da7a74ec (bug 1550422)
Backed out changeset f855f9309c8b (bug 1550422)
Backed out changeset 1033546224a7 (bug 1550422)
Backed out changeset ade7384c6186 (bug 1550422)
Backed out changeset 75b04de7e99c (bug 1550422)
Backed out changeset 91c3acdb2454 (bug 1550422)
Backed out changeset 77d2f80257d1 (bug 1550422)
Backed out changeset e0cd10d35327 (bug 1550422)
Backed out changeset 097091082423 (bug 1550422)
Backed out changeset 2f328853c1ab (bug 1550422)
Backed out changeset f92f2cc29cb1 (bug 1550422)
Backed out changeset 6dc82f88333d (bug 1550422)
Backed out changeset c20f66494d69 (bug 1550422)
Backed out changeset 2ba22cddeb6f (bug 1550422)
Backed out changeset 3aa72f89e295 (bug 1550422)
Backed out changeset ab4c4e806977 (bug 1550422)
Backed out changeset 72e5de040dda (bug 1550422)
Backed out changeset 7d3c2d486706 (bug 1550422)
Backed out changeset 132e0b8d8468 (bug 1550422)
Backed out changeset 54c85ac75dd0 (bug 1550422)
Backed out changeset d7ba4a18dd54 (bug 1550422)
2019-05-25 09:07:49 +03:00
Jean-Yves Avenard
074aea57fe Bug 1550422 - P23. Remove now unused gfxPrefs. r=jrmuizel
And with some tidying some comments and removing stray #include "gfxPrefs.h"

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

--HG--
extra : moz-landing-system : lando
2019-05-24 11:37:50 +00:00
Timothy Nikkel
c2b7c26de8 Bug 1553061. Futher bump expected assert counts on toolkit/content/tests/chrome/test_bug437844.xul for beta. r=aosmond
Beta sees a couple more of these same asserts for some reason.

Explanation of logic for bumping these counts can be found in bug 1530190 where we bumped them already before.

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

--HG--
extra : moz-landing-system : lando
2019-05-24 10:45:37 +00:00
Barret Rennie
1cca2811c0 Bug 1510569 - Port onStateChange notifications inside WebProgressChild.jsm to C++ r=baku,kmag
We now also only access the document when the state is
nsIWebProgress::STATE_STOP. The comments in the previous code indicated that
touching the document inside the event handler when the state is not STATE_STOP
would result in the content creating a new about:blank document to retrieve the
values from. However, it then went on to do this in another location, causing a
document to be created whenever we received an onStateChange event. This should
no longer occur.

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

--HG--
extra : moz-landing-system : lando
2019-05-23 18:49:08 +00:00
Barret Rennie
0345083532 Bug 1510569 - Keep track of whether we are navigating to a new URI in nsDocShell r=mconley,kmag,qdot
Previously the `WebNavigationChild` would keep track of when triggering its
`nsIWebNavigation`, `goForward`, `goBack`, `gotoIndex`, and `loadURI` methods.
It's `nsIWebNavigation` instance is always an `nsIDocShell` and as part of
porting `OnStateChange` and `OnLocationChange` events from
`WebProgressChild`/`RemoteWebProgress` to `BrowserChild`/`BrowserParent`, this
informations needs to be available from the `BrowserChild`. As it stands, it is
currently an expando property on the `WebProgressChild`.

Instead of introducing yet another XPCOM interface for the WebProgressChild, we
now store this information directly on the `nsDocShell`. Furthermore, instead
of having the `WebNavigationChild` manage this part of the `nsDocShell`'s
state, we can have the `nsDocShell` manage this state itself so it is always
consistent.

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

--HG--
extra : moz-landing-system : lando
2019-05-23 18:48:48 +00:00
Barret Rennie
cf23208d84 Bug 1510569 - Only forward nsIWebProgress events to the BrowserParent after the WebProgressChild has loaded r=kmag,mconley
Before the WebProgress event handlers started migrating to C++, the parent
process would only receive WebProgress events after the child process had
finished loading the WebProgressChild script. Now that listeners are registered
much earlier (before the BrowserChild has finished setting up its frame
scripts), the BrowserParent would receive WebProgress events that were
heretofore not received unless the BrowserChild was *very* careful about when
it sent the IPC messages.

However, even while being very careful, the OnStateChange event handler would
always fire events for initial about:blank loads that break a lot of unit
tests. Before porting that event, we are now ensuring that the WebProgressChild
has finished loading before the BrowserChild will send IPC messages for these
events to the BrowserParent.

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

--HG--
extra : moz-landing-system : lando
2019-05-23 18:48:18 +00:00
Tim Nguyen
cce8333093 Bug 1550559 - Convert findbar XUL textbox to HTML input. r=bgrins
Differential Revision: https://phabricator.services.mozilla.com/D30542

--HG--
extra : moz-landing-system : lando
2019-05-20 21:54:15 +00:00
Mike Conley
68d6458052 Bug 1547795 - Hide Picture-in-Picture toggle on videos where its probably more annoying than not. r=JSON_voorhees
This makes our video controls bindings check on loadedmetadata events whether or not to display
the toggle.

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

--HG--
extra : moz-landing-system : lando
2019-05-24 01:41:08 +00:00
Myk Melez
d51f3ab18c Bug 1543829 - include LMDB license in about:license r=mossop,mhoye
Differential Revision: https://phabricator.services.mozilla.com/D30122

--HG--
extra : moz-landing-system : lando
2019-05-24 01:25:44 +00:00
Andreea Pavel
b6b841afb8 Backed out changeset 9b60f95e81da (bug 1547795) for breaking a11y at test_media.html on a CLOSED TREE 2019-05-23 23:47:50 +03:00