Commit Graph

670321 Commits

Author SHA1 Message Date
Nihanth Subramanya
175e5af2b0 Bug 1578187 - Reduce Protections and Identity panel scale on linux. r=dao
Differential Revision: https://phabricator.services.mozilla.com/D44882

--HG--
extra : moz-landing-system : lando
2019-09-11 08:56:41 +00:00
Andi-Bogdan Postelnicu
bc7bd7de68 Bug 1576659 - Update infer to 0.17.0. r=bastien
Differential Revision: https://phabricator.services.mozilla.com/D43471

--HG--
extra : moz-landing-system : lando
2019-09-12 12:17:50 +00:00
Nika Layzell
f103e26834 Bug 1579213 - Remove unused fields from ChangeRemoteness API, r=farre
This patch changes a few things about how nsFrameLoader is created, specifically
around the ChangeRemoteness API.

1. The private 'nsFrameLoader::nsFrameLoader' constructor has been simplified to
   only have one overload, shared by the different `::Create` static methods.

2. The creation static method used by `ChangeRemoteness` has changed name to
   `::Recreate`, as the signature is becoming more like the old method.

3. The `mNetworkCreated` bit is preserved when doing a `ChangeRemoteness`, as a
   remoteness change shouldn't be affecting that property.

4. Unused fields are removed from the ChangeRemoteness API.

5. The `remoteType` attribute is now mandatory in the ChangeRemoteness API,
   which simplifies the logic and makes it harder to accidentally misuse.

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

--HG--
extra : moz-landing-system : lando
2019-09-11 08:09:58 +00:00
Kris Maglione
d7eecef1e9 Bug 1574593: Silently ignore load attempt on/from discarded BrowsingContext. r=nika
The (non-normative) window.open spec does not specify what should happen when
window.open is called on a window with a null/discarded browsing context, but
in general the lookup and creation rules do not make sense when the window has
no BC. It does, however, specify that we should return null when a target BC
cannot be found or created, and gives us broad discretion over when we decide
to ignore a load request and return null. Since we can't trigger a
cross-process load from a discarded BC, simply aborting in that case seems
like the logical solution.

For Location objects, the spec is more specific, and requires that we ignore
load attempts on Location objects whose documents are null, which in our
implementation corresponds to a discarded BrowsingContext.
LocationBase::SetURI already enforces this, but a second check in
BrowsingContext::LoadURI is probably a good idea as well.

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

--HG--
extra : moz-landing-system : lando
2019-09-12 11:37:01 +00:00
Razvan Maries
7330509f46 Backed out changeset fdb95b58fb6c (bug 1580092) for build bustages. CLOSED TREE 2019-09-12 14:35:46 +03:00
Andreas Tolfsen
3852bf897f bug 1580470: remote: document security aspects of remote agent; r=remote-protocol-reviewers,maja_zf
This clarifies the security considerations we have made with the
remote agent.

The text is adapted from two sources:

	https://bugzilla.mozilla.org/show_bug.cgi?id=1542229
	https://docs.google.com/document/d/1LytMB7yueNLFehBp72Xzi_n4crncdHSHjQ3FCp0Meuo/edit#heading=h.k75yymb1qbxr

DONTBUILD

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

--HG--
extra : moz-landing-system : lando
2019-09-12 11:39:13 +00:00
Francesco Lodolo (:flod)
fa89d4cae1 Bug 1580092 - [ca-valencia] Search engine setup for Firefox for Catalan (Valencian) r=daleharvey
Differential Revision: https://phabricator.services.mozilla.com/D45307

--HG--
extra : moz-landing-system : lando
2019-09-12 10:53:44 +00:00
Andreas Pehrson
710f275abc Bug 1575271 - Keep a SharedDummyStream in MediaEncoder for access to the MediaStreamGraph. r=karlt
Differential Revision: https://phabricator.services.mozilla.com/D45195

--HG--
extra : moz-landing-system : lando
2019-09-12 11:26:46 +00:00
Andreas Pehrson
fdb303d9f1 Bug 1575271 - Add crashtest. r=karlt
Differential Revision: https://phabricator.services.mozilla.com/D45194

--HG--
extra : moz-landing-system : lando
2019-09-10 05:29:36 +00:00
Masayuki Nakano
d0bf28c6cc Bug 1574852 - part 103: Move TextEditRules::WillInsertLineBreak() to TextEditor r=m_kato
Differential Revision: https://phabricator.services.mozilla.com/D45297

--HG--
extra : moz-landing-system : lando
2019-09-12 08:03:57 +00:00
Masayuki Nakano
80be9ab956 Bug 1574852 - part 102: Move TextEditRules::TruncateInsertionIfNeeded() to TextEditor r=m_kato
Differential Revision: https://phabricator.services.mozilla.com/D45296

--HG--
extra : moz-landing-system : lando
2019-09-12 07:48:29 +00:00
Masayuki Nakano
d0e7a72d94 Bug 1574852 - part 101: Move HTMLEditRules::DidDeleteSelection() to HTMLEditor r=m_kato
Differential Revision: https://phabricator.services.mozilla.com/D45295

--HG--
extra : moz-landing-system : lando
2019-09-12 07:27:30 +00:00
Christian Holler
94e642e603 Bug 1579475 - HTTP fuzzing target should call RemoveRequestContext. r=mayhemer
Differential Revision: https://phabricator.services.mozilla.com/D45035

--HG--
extra : moz-landing-system : lando
2019-09-09 17:17:22 +00:00
Henri Sivonen
b9752dabba Bug 1561564 - Introduce a JSString WebIDL type. r=bzbarsky
Differential Revision: https://phabricator.services.mozilla.com/D42297

--HG--
extra : moz-landing-system : lando
2019-09-12 10:27:20 +00:00
Mike Conley
69618b0d2e Bug 1579716 - Disable OOP subframe crash test when Fission is not enabled. r=kmag
Differential Revision: https://phabricator.services.mozilla.com/D45594

--HG--
extra : moz-landing-system : lando
2019-09-12 07:54:48 +00:00
Mark Banner
efc1831d10 Bug 1330148 - Remove no-iterator ESLint exclusions on devtools since there are no violations now. r=jdescottes
Depends on D45400

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

--HG--
extra : moz-landing-system : lando
2019-09-12 08:02:40 +00:00
Mark Banner
187fc79c19 Bug 1580250 - Remove unnecessary entries from .eslintignore for devtools. r=jdescottes
Differential Revision: https://phabricator.services.mozilla.com/D45400

--HG--
extra : moz-landing-system : lando
2019-09-12 08:02:56 +00:00
Jon Coppeard
0de32dc6cd Bug 1580474 - Replace #defines with constants in nsJSEnvironment files r=mccr8
Differential Revision: https://phabricator.services.mozilla.com/D45531

--HG--
extra : moz-landing-system : lando
2019-09-12 09:56:52 +00:00
Nathan Froyd
2ffed65f8f Bug 1577272 - annotate some refcounted lambda tests with expected errors for C++17; r=andi
clang produces these errors itself, but only in C++17 mode.

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

--HG--
extra : moz-landing-system : lando
2019-09-12 06:40:49 +00:00
Jan Horak
ab88be917c Bug 1580174 - Don't use toplevel window as parent for the menus in popupnotification; r=stransky
Under Wayland where there's a strict popup window hierarchy, using toplevel window
for the submenus in popupnotification cause the popupnotification to hide
when opening them and this breaks user to Allow/Don't allow the action.

We have to use last opened popup window as a parent for these submenus.

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

--HG--
extra : moz-landing-system : lando
2019-09-12 09:38:05 +00:00
Valentin Gosu
96689a4a96 Bug 1579331 - URL constructor fails when input is a data URL without a comma r=baku
Differential Revision: https://phabricator.services.mozilla.com/D45372

--HG--
extra : moz-landing-system : lando
2019-09-12 09:24:23 +00:00
Bastien Abadie
0725033ef3 Bug 1550517 - Exclude 3rd party files on static-analysis check, r=sylvestre.
Differential Revision: https://phabricator.services.mozilla.com/D45630

--HG--
extra : moz-landing-system : lando
2019-09-12 08:49:40 +00:00
Emilio Cobos Álvarez
ebe6e6fb2d Bug 1579788 - Downgrade a few assertions in beta / release as to avoid crashing there. r=masayuki
This is the only short-term fix for now until we fix editor or find a
test-case...

This will keep asserting on Nightly, but the correctness issue it'd show in
release (some pseudo-classes not matching) is better than crashing.

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

--HG--
extra : moz-landing-system : lando
2019-09-12 08:46:27 +00:00
Masayuki Nakano
45ef18ee30 Bug 1574852 - part 100: Get rid of TextEditRules::DidDeleteSelection() r=m_kato
There are only 3 callers and it does simple but different 2 things.  One of
the callers is `HTMLEditRules::DidDeleteSelection()` so that if same things
are done by `TextEditor::DeleteSelectionAsSubAction()`, it does not need to
duplicate the code.  Therefore, we need to duplicate the code into
`TextEditor::DeleteSelectionAsSubAction()` and `TextEditRules::WillSetText()`.
Then, `TextEditRules::WillSetText()` can avoid accessing `Selection` since
it still grabs the modified text node.

Note that only when it's called by `TextEditRules::DidDoAction()`,
`AutoTransactionsConserveSelection` has been set.  However, neither
`DeleteNodeWithTransaction()` nor `DeleteNodeTransaction::DoTransaction()`
changes `Selection`.  Therefore, it hasn't do anything.  So, we can remove
it right now.

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

--HG--
extra : moz-landing-system : lando
2019-09-12 06:51:26 +00:00
Masayuki Nakano
d87ff4830d Bug 1574852 - part 99: Move HTMLEditRules::WillRelativeChangeZIndex() to HTMLEditor r=m_kato
Differential Revision: https://phabricator.services.mozilla.com/D45293

--HG--
extra : moz-landing-system : lando
2019-09-12 06:20:49 +00:00
Masayuki Nakano
fee93a3a4d Bug 1574852 - part 98: Move HTMLEditRules::WillAbsolutePosition() and HTMLEditRules::WillRemoveAbsolutePosition() to HTMLEditor r=m_kato
Differential Revision: https://phabricator.services.mozilla.com/D45292

--HG--
extra : moz-landing-system : lando
2019-09-12 05:45:13 +00:00
Hiroyuki Ikezoe
2e1a793c8c Bug 1541705 - Test for offscreen image in out-of-process iframe. r=tnikkel
Differential Revision: https://phabricator.services.mozilla.com/D44424

--HG--
extra : moz-landing-system : lando
2019-09-12 08:09:34 +00:00
Hiroyuki Ikezoe
6f114d0542 Bug 1541705 - Try to see whether the target frame is scrolled out of view in out-of-process iframe if we couldn't walk up the frame tree. r=surkov
Differential Revision: https://phabricator.services.mozilla.com/D44423

--HG--
extra : moz-landing-system : lando
2019-09-12 08:12:49 +00:00
Hiroyuki Ikezoe
8c9bd09b43 Bug 1541705 - Introduce nsLayoutUtils::FrameIsMostlyScrolledOutOfViewInCrossProcess. r=botond
This will be used for accessibility stuff.

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

--HG--
extra : moz-landing-system : lando
2019-09-12 08:09:09 +00:00
Hiroyuki Ikezoe
0eeb21e17f Bug 1541705 - Introduce nsLayoutUtils::FrameIsScrolledOutOfViewInCrossProcess and use it for the check whether animating element is scrolled out of view or not. r=botond,boris
Differential Revision: https://phabricator.services.mozilla.com/D44421

--HG--
extra : moz-landing-system : lando
2019-09-12 08:08:57 +00:00
Hiroyuki Ikezoe
f61192f0f0 Bug 1541705 - Notify areas of out-of-process subframes from the compositor to the corresponding process. r=botond
Note that the areas are clipped out by all ancestor scroll ports and
their coordinate systems are the screen coordinate.  So that we can tell
arbitrary elements in out-of-process iframes are scrolled out or not with
this area and the transform matrix of the iframe on screen coodinate.

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

--HG--
extra : moz-landing-system : lando
2019-09-12 08:08:45 +00:00
Hiroyuki Ikezoe
5221523b46 Bug 1541705 - Introduce remote document rect. r=botond
The rect will be used for calculating the result of the composition of the
remote display item on the compositor.

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

--HG--
extra : moz-landing-system : lando
2019-09-12 08:08:32 +00:00
Hiroyuki Ikezoe
f869493a22 Bug 1541705 - Factor out functionalities for obsversing animation style counts into testcommon.js. r=boris
We are going to use these functions in gfx/layers/apz/tests/mochitest/ for
fission.

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

--HG--
extra : moz-landing-system : lando
2019-09-12 08:08:20 +00:00
Emilio Cobos Álvarez
78a7d864e6 Bug 1577139 - Remove LengthPercentage::was_calc. r=heycam
There should not be any behavior change between specifying a percentage using %
or calc(%) per the resolution of https://github.com/w3c/csswg-drafts/issues/3482.

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

--HG--
extra : moz-landing-system : lando
2019-09-12 08:14:44 +00:00
Benjamin Bouvier
c811b52449 Bug 1507820: Pin HeapReg in Cranelift and use it as the heap base; r=lth
Differential Revision: https://phabricator.services.mozilla.com/D45017

--HG--
extra : moz-landing-system : lando
2019-09-11 15:58:09 +00:00
Benjamin Bouvier
1e8eaa6511 Bug 1580518: Don't explicitly depend on target-lexicon for Cranelift's build; r=nbp
This means that every update of target-lexicon in Cranelift won't require
Spidermonkey developers to bump the version number of target-lexicon in
Baldrdash.

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

--HG--
extra : moz-landing-system : lando
2019-09-11 16:04:20 +00:00
Benjamin Bouvier
4637d55527 Bug 1580518: Cranelift: update to new FunctionBuilder's API; r=nbp
There's a memory regression caused by the merge of
https://github.com/CraneStation/cranelift/pull/671, preventing us from reusing
the memory of the Context's func field for the Function passed to the translate
function. This is tracked as
https://github.com/CraneStation/cranelift/issues/1018.

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

--HG--
extra : moz-landing-system : lando
2019-09-11 16:08:14 +00:00
Benjamin Bouvier
7aaccb3171 Bug 1580518: Bump Cranelift to bdfd2adc6e2052319d04d9400122c5b49939f404; r=lth
Differential Revision: https://phabricator.services.mozilla.com/D45547

--HG--
extra : moz-landing-system : lando
2019-09-12 06:56:09 +00:00
Kris Maglione
e1a1356818 Bug 1580220: Fix unhandled rejection logging for cross-origin objects. r=smaug
Differential Revision: https://phabricator.services.mozilla.com/D45362

--HG--
extra : moz-landing-system : lando
2019-09-11 14:10:06 +00:00
Tarek Ziadé
01224ba87c Bug 1579853 - added get_sys_info() r=bc
This API returns the data from get_info() along with a handful
list of dumpsys services data.

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

--HG--
extra : moz-landing-system : lando
2019-09-11 19:23:35 +00:00
Alex Chronopoulos
da226821ef Bug 1579374 - Show information when mediacapabilities folder doesn't exist in the profile yet. r=chunmin
When the mediacapabilities folder does not exist catch the exception and print the name of the decoder.

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

--HG--
extra : moz-landing-system : lando
2019-09-11 22:40:48 +00:00
Sylvestre Ledru
ed8d1a6d4c Bug 1579845 - ride along: treeherder: Rename ml to mozlint r=ahal
ML now means Machine Learning for most people, we should be more explicit for new comers

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

--HG--
extra : moz-landing-system : lando
2019-09-11 20:53:31 +00:00
Sylvestre Ledru
6963a42813 Bug 1579845 - ride along: Strip codespell results r=ahal
Differential Revision: https://phabricator.services.mozilla.com/D45449

--HG--
extra : moz-landing-system : lando
2019-09-12 07:01:46 +00:00
Alex Chronopoulos
966ab066dc Bug 1580112 - Stop updating the database when the value has not changed. r=alwu
In most of the cases, the value to be stored is the same as the existing value, which does not require an update to the database. Setting something in the database requires disk access. By using this we avoid accessing the disk in the majority of the cases.

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

--HG--
extra : moz-landing-system : lando
2019-09-11 20:21:51 +00:00
Sylvestre Ledru
e613c24777 Bug 1579845 - Ride along: Add the line number in the file whitespace lint r=ahal
Differential Revision: https://phabricator.services.mozilla.com/D45447

--HG--
extra : moz-landing-system : lando
2019-09-12 07:01:50 +00:00
Sylvestre Ledru
d20870ad98 Bug 1579845 - Add a test to the mozlint check: file-whitespace r=ahal
Differential Revision: https://phabricator.services.mozilla.com/D45445

--HG--
extra : moz-landing-system : lando
2019-09-11 20:59:32 +00:00
Sylvestre Ledru
e3b92571a9 Bug 1579845 - Add a test to the mozlint check: file-perm r=ahal
Differential Revision: https://phabricator.services.mozilla.com/D45444

--HG--
extra : moz-landing-system : lando
2019-09-11 20:58:07 +00:00
Masayuki Nakano
878bbf3cb8 Bug 1574852 - part 97: Move HTMLEditRules::PrepareToMakeElementAbsolutePosition() to HTMLEditor r=m_kato
Only caller of it is `WillRemoveAbsolutePosition()` and it always sets
`*aHandled` to true before calling it.  Therefore, it does not need to take
it as an argument.

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

--HG--
extra : moz-landing-system : lando
2019-09-12 04:07:30 +00:00
Mark Hammond
0203cd1dd5 Bug 1574048 - Remove FxAccounts internal/external/Object.freeze()/ weirdness. r=lina,rfkelly
Differential Revision: https://phabricator.services.mozilla.com/D44083

--HG--
extra : moz-landing-system : lando
2019-09-12 02:08:50 +00:00
Masayuki Nakano
8b9c4d3ad1 Bug 1574852 - part 96: Merge HTMLEditRules::DidAbsolutePosition() with HTMLEditRules::WillAbsolutePosition() r=m_kato
Oddly, absolute position is handled as following steps.
1. `WillAbsolutePosition()` calls `PrepareToMakeElementAbsolutePosition()`
   to consider the target element.
2. Set TopLevelEditSubActionData::mNewBlockElement to it.
3. `DidAbsolutePosition()` makes it absolute-positioned.

So that, all of them can be done in `WillAbsolutePosition()` like other
edit sub-action handling.

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

--HG--
extra : moz-landing-system : lando
2019-09-12 01:54:28 +00:00