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

699080 Коммитов

Автор SHA1 Сообщение Дата
Henri Sivonen 48b72003b0 Bug 1623092 - Avoid setting mActiveWindow in content processes. r=NeilDeakin
Differential Revision: https://phabricator.services.mozilla.com/D67191

--HG--
extra : moz-landing-system : lando
2020-04-01 12:01:51 +00:00
Henri Sivonen 3b815d9201 Bug 1618539 - Remove content-process use of nsIFocusManager::GetActiveWindow. r=NeilDeakin
Differential Revision: https://phabricator.services.mozilla.com/D66416

--HG--
extra : moz-landing-system : lando
2020-04-01 12:01:51 +00:00
Kartikaya Gupta 4e4cd29c90 Bug 1616245 - Fix unit mismatches by applying an appropriate scaling factor. r=jfkthame
Depends on D67696

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

--HG--
extra : moz-landing-system : lando
2020-04-01 10:50:40 +00:00
Kartikaya Gupta 19fc8e5c6a Bug 1616245 - Change a few nsIWidget functions to take strongly-typed arguments. r=jfkthame
These functions all have a single call site, and the call site clearly always
has rect in DesktopPixel units. So it makes sense to encode this in the API,
and propagate the strongly typed units.

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

--HG--
extra : moz-landing-system : lando
2020-04-01 11:50:47 +00:00
Jonathan Kew 9aa1468712 Bug 1626550 - Update graphite to version 1.3.14. r=lsalzman
Differential Revision: https://phabricator.services.mozilla.com/D69175

--HG--
extra : moz-landing-system : lando
2020-04-01 11:00:36 +00:00
Tim Nguyen 3459a30936 Bug 1626043 - Package devtools toolbars.css only as resource://. r=jdescottes
Differential Revision: https://phabricator.services.mozilla.com/D69178

--HG--
extra : moz-landing-system : lando
2020-04-01 11:06:58 +00:00
Henri Sivonen de9b87e674 Bug 1620173 - Avoid reading mActiveWindow in a content process in WindowHidden. r=NeilDeakin
Differential Revision: https://phabricator.services.mozilla.com/D66184

--HG--
extra : moz-landing-system : lando
2020-04-01 09:24:23 +00:00
Simon Giesecke a8c2236b19 Bug 1623278 - Replace GetStorageConnection by HasStorageConnection and MutableStorageConnection accessors. r=dom-workers-and-storage-reviewers,janv
Differential Revision: https://phabricator.services.mozilla.com/D67286

--HG--
extra : moz-landing-system : lando
2020-04-01 09:54:56 +00:00
Simon Giesecke da859a31b2 Bug 1623278 - Use SafeRefPtr for IDBFactory. r=dom-workers-and-storage-reviewers,asuth
Differential Revision: https://phabricator.services.mozilla.com/D66972

--HG--
extra : moz-landing-system : lando
2020-04-01 09:54:43 +00:00
Simon Giesecke e614684d09 Bug 1623278 - Use SafeRefPtr for TransactionBase and its subclasses. r=dom-workers-and-storage-reviewers,asuth
Differential Revision: https://phabricator.services.mozilla.com/D65711

--HG--
extra : moz-landing-system : lando
2020-04-01 09:53:52 +00:00
Simon Giesecke 02753c9665 Bug 1597954 - Switch indexedDB to use InitializedOnce from mfbt. r=dom-workers-and-storage-reviewers,janv
Differential Revision: https://phabricator.services.mozilla.com/D65710

--HG--
extra : moz-landing-system : lando
2020-04-01 09:53:39 +00:00
Simon Giesecke 64d6929415 Bug 1623278 - Use SafeRefPtr for Database. r=dom-workers-and-storage-reviewers,asuth
Differential Revision: https://phabricator.services.mozilla.com/D65568

--HG--
extra : moz-landing-system : lando
2020-04-01 09:53:16 +00:00
Simon Giesecke 88b93c652a Bug 1623278 - Use SafeRefPtr for FileInfo. r=dom-workers-and-storage-reviewers,asuth
Differential Revision: https://phabricator.services.mozilla.com/D65550

--HG--
extra : moz-landing-system : lando
2020-04-01 09:53:01 +00:00
Simon Giesecke 86efbc2cef Bug 1623278 - Use SafeRefPtr for FileManager. r=dom-workers-and-storage-reviewers,asuth
Differential Revision: https://phabricator.services.mozilla.com/D65549

--HG--
extra : moz-landing-system : lando
2020-04-01 09:52:54 +00:00
Simon Giesecke 3d2232e5e2 Bug 1623278 - Use SafeRefPtr for FullDatabaseMetadata. r=dom-workers-and-storage-reviewers,asuth
Differential Revision: https://phabricator.services.mozilla.com/D65548

--HG--
extra : moz-landing-system : lando
2020-04-01 09:54:24 +00:00
Simon Giesecke bd9cd54c52 Bug 1623278 - Workaround to make gcc 8.3.0 happy. r=jstutte
Depends on D65547

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

--HG--
extra : moz-landing-system : lando
2020-04-01 09:56:58 +00:00
Simon Giesecke f990e77e90 Bug 1620273 - Add SafeRefPtr. r=asuth,dom-workers-and-storage-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D65547

--HG--
extra : moz-landing-system : lando
2020-04-01 09:54:24 +00:00
Andrea Marchesini 1c292faf71 Bug 1626540 - Anti-tracking redirect heuristic must run on the parent process only, r=dimi
Differential Revision: https://phabricator.services.mozilla.com/D69166

--HG--
extra : moz-landing-system : lando
2020-04-01 09:34:36 +00:00
Drew Willcoxon f01cf92b19 Bug 1623944 - Improve tip button color in dark themes and fix hover and active states. r=dao
This uses `rgba(249, 249, 250, 0.24)` for the tip button background in dark themes. 0.24 is the largest alpha with two significant digits that passes the WebAIM contrast check for normal text, considering that the button text color is `rgb(249, 249, 250)`. i.e., 0.25 fails. I think it looks OK, but open to tweaks.

This patch also fixes existing problems with the hover and active states for the non-selected tip button. We've been incorrectly using primary button colors for those states even when the button isn't selected and therefore shouldn't be using primary colors. It becomes more obvious in dark mode, at least to my eye. Also the problem only shows up for intervention tips, not search tips. We should use default colors for those states when the button isn't selected and primary colors when it is selected.

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

--HG--
extra : moz-landing-system : lando
2020-04-01 09:49:33 +00:00
Jon Coppeard 1863abe22f Bug 1625212 - Check that all cells have a cell header and that it is at the start of the cell r=sfink
Differential Revision: https://phabricator.services.mozilla.com/D68840

--HG--
extra : moz-landing-system : lando
2020-04-01 09:45:53 +00:00
Jon Coppeard 97180dd083 Bug 1625212 - Give BaseShape a cell header r=tcampbell
Differential Revision: https://phabricator.services.mozilla.com/D68839

--HG--
extra : moz-landing-system : lando
2020-04-01 09:45:51 +00:00
Jon Coppeard a3b859fac8 Bug 1625212 - Give Symbol a cell header r=tcampbell
Differential Revision: https://phabricator.services.mozilla.com/D68838

--HG--
extra : moz-landing-system : lando
2020-04-01 09:45:48 +00:00
Jon Coppeard ab358a67a6 Bug 1625212 - Give RegExpShared a cell header r=sfink
I had to reorder the fields here to make so the first field was simple to replace.

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

--HG--
extra : moz-landing-system : lando
2020-04-01 09:45:46 +00:00
Jon Coppeard 05f7710a8a Bug 1625212 - Give JSObject a cell header r=jandem
Differential Revision: https://phabricator.services.mozilla.com/D68836

--HG--
extra : moz-landing-system : lando
2020-04-01 09:45:44 +00:00
Jon Coppeard c0fbec8dce Bug 1625212 - Give Scope a cell header r=jandem
I had a compilation issue with making the cell header contain a scope pointer due to the Scope class not being fully defined at that point so I worked around it by reodering the fields.

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

--HG--
extra : moz-landing-system : lando
2020-04-01 09:44:04 +00:00
Jon Coppeard 66ca4d935e Bug 1625212 - Give JSScript a cell header r=tcampbell
Differential Revision: https://phabricator.services.mozilla.com/D68833

--HG--
extra : moz-landing-system : lando
2020-04-01 09:43:41 +00:00
Jon Coppeard ea2d35586c Bug 1625212 - Give JitCode a CellHeader r=jandem,tcampbell
Differential Revision: https://phabricator.services.mozilla.com/D68832

--HG--
extra : moz-landing-system : lando
2020-04-01 09:43:18 +00:00
Jon Coppeard ecbd72e069 Bug 1625212 - Add CellHeaderWithTenuredGCPointer and use it for Shape r=sfink
Differential Revision: https://phabricator.services.mozilla.com/D68831

--HG--
extra : moz-landing-system : lando
2020-04-01 09:43:06 +00:00
Jon Coppeard 42cc5e671d Bug 1625212 - Add CellHeaderWithNonGCPointer class and use it for ObjectGroup r=sfink
Differential Revision: https://phabricator.services.mozilla.com/D68830

--HG--
extra : moz-landing-system : lando
2020-04-01 09:42:38 +00:00
Jon Coppeard a5987161e6 Bug 1625212 - Introduce CellHeader base class and convert String and BigInt to use an explicit cell header field r=tcampbell
Differential Revision: https://phabricator.services.mozilla.com/D68827

--HG--
extra : moz-landing-system : lando
2020-04-01 09:42:25 +00:00
Tim Nguyen cc320d0a03 Bug 1626485 - Clean up some prefs styling. r=dao
Differential Revision: https://phabricator.services.mozilla.com/D69144

--HG--
extra : moz-landing-system : lando
2020-04-01 09:16:20 +00:00
Jan de Mooij 24e95391ab Bug 1626201 - Support OSR in WarpBuilder. r=iain
The strategy is the same as in IonBuilder: create an OSR entry block and a second
block merging the two predecessor blocks before the loop.

This is a lot simpler than IonBuilder because we don't attempt to type-specialize
OSR values. If this becomes an issue we'll need a strategy for that. Hopefully
this will be good enough for now until we make bigger changes to how OSR and the
Ion backend work.

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

--HG--
extra : moz-landing-system : lando
2020-04-01 07:39:42 +00:00
James Graham 5eba193cb7 Bug 1624280 - Allow specifying routes in mach try fuzzy, r=ahal
These routes are applied to all tasks except the decision task. There
is currently no validity checking in the frontend, so if the provided
routes aren't valid the decision task will fail.

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

--HG--
extra : moz-landing-system : lando
2020-03-27 19:02:07 +00:00
James Graham 28b1ea3d10 Bug 1624280 - Add support for routes in try_task_config.json, r=ahal
This adds an optional routes key to the task_task_config schema,
 which is a list of strings. Anything in this key is added to the list
of routes for tasks scheduled by the decision task.

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

--HG--
extra : moz-landing-system : lando
2020-04-01 09:18:37 +00:00
Julian Descottes 68b8fef105 Bug 1626210 - Add a test for devtools prepare-tcp-connection r=daisuke
Depends on D68982

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

--HG--
extra : moz-landing-system : lando
2020-04-01 09:10:08 +00:00
Andy Wingo c5bbdbffa6 Bug 1622828 - Implement wasm->js multi-value calls r=lth
This patch implements calls from WebAssembly to JS, where the JS
function returns multiple values.  The multiple values are returned as
an iterable.

Spec here:
https://webassembly.github.io/multi-value/js-api/index.html#exported-function-exotic-objects

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

--HG--
extra : moz-landing-system : lando
2020-04-01 08:57:58 +00:00
Sebastian Hengst 056be60630 Bug 1625577 - expectation update for /html/cross-origin-embedder-policy/cache-storage-reporting-dedicated-worker.https.html: allow crash 2020-04-01 10:56:58 +02:00
Masayuki Nakano 72cf6dc13d Bug 1624011 - Make constructor of `AlignStateAtSelection` not assert when there is no selection ranges r=m_kato
`AlignStateAtSelection` class is instantiated outside of editor class so that
we shouldn't make each user guarantee that there is selection range
(fortunately, the putting off cost is really low).

And as far as I tested, Blink and WebKit does not throw exception when
`Document.qeuryCommand*("justify*")` is called without selection ranges.
So, this patch also prevents exception in this situation.

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

--HG--
extra : moz-landing-system : lando
2020-04-01 06:38:16 +00:00
Sam Foster 1cc1c59b0b Bug 1618587 - Add autoFilledLoginGuid argument to promptToSavePassword and promptToChangePassword. r=MattN
* Add autofilledLoginGuid argument to the .idl and toolkit implementations of promptToSavePassword and promptToChangePassword
* Pass the guid of the autofilled login along to the prompter methods in LoginManagerParent
* Don't show the password visibility toggle in the capture doorhanger when the login was autofilled

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

--HG--
extra : moz-landing-system : lando
2020-04-01 07:46:55 +00:00
Sam Foster e2e1680644 Bug 1618587 - Refactor the browser_doorhanger_toggles.js test. r=MattN
Differential Revision: https://phabricator.services.mozilla.com/D68965

--HG--
extra : moz-landing-system : lando
2020-04-01 07:43:44 +00:00
Narcis Beleuzu 7fba7adfcd Backed out changeset 16d82f57e0fb (bug 1602808) for bc failures on browser_privatebrowsing_windowtitle.js . CLOSED TREE 2020-04-01 10:24:08 +03:00
Christoph Kerschbaumer cc0919a14b Bug 1625918: Remove superfluous null checks for mLoadInfo within Necko. r=dragana
Differential Revision: https://phabricator.services.mozilla.com/D68790

--HG--
extra : moz-landing-system : lando
2020-04-01 06:58:13 +00:00
Narcis Beleuzu 708c3f91f3 Backed out 2 changesets (bug 1589275) for bustages on dom/security . CLOSED TREE
Backed out changeset e2bab42cfd60 (bug 1589275)
Backed out changeset d0a77f4a0ad8 (bug 1589275)
2020-04-01 09:48:11 +03:00
janelledement 4053f6a30c Bug 1616984 - Make sure subtree mutation breakpoints get cleared when parent is deleted. r=loganfsmyth
This patch makes sure that subtree mutation breakpoints get detached when the parent element is removed.

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

--HG--
extra : moz-landing-system : lando
2020-04-01 03:49:46 +00:00
Matt Woodrow d4c04ad489 Bug 1589275 - Run DocumentChannel CSP checks in the parent, and send only the violations to the content process. r=nika,ckerschb
Differential Revision: https://phabricator.services.mozilla.com/D68497

--HG--
extra : moz-landing-system : lando
2020-03-31 23:29:07 +00:00
Matt Woodrow feb48f19fb Bug 1589275 - Add an option to provide a custom violation event callback. ?rckerschb r=ckerschb
Differential Revision: https://phabricator.services.mozilla.com/D68496

--HG--
extra : moz-landing-system : lando
2020-03-31 23:28:42 +00:00
Masayuki Nakano 37f3ac6663 Bug 1625633 - part 4: Move `WSType` into `WSRunScanner` to hide it from `HTMLEditor` r=m_kato
Now, `WSType` is used only by `WSRunScanner`, `WSRunObject` and `WSScanResult`.
We should hide this mysterious `enum` from other classes for making other
developers easier to understand.  Therefore, this patch moves `WSType` into
`WSScanResult` and share it with `WSRunScanner` with making them friends.

Depends on D68675

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

--HG--
extra : moz-landing-system : lando
2020-03-31 15:46:56 +00:00
Masayuki Nakano 85e5b5f208 Bug 1625633 - part 3: Get rid of `WSFragment::mType` r=m_kato
Surprisingly, each value meaning of `WSFragment::mType` is different from
`WSFragment::mRightType` and `WSFragment::mLeftType`.  It uses only 3 bits,
`WSType::normalWS`, `WSType::leadingWS` and `WSType::trailingWS`.
According to the second `if` block of `WSRunScanner::GetRuns()`, the latter
2 values mean whether the fragment starts from and/or ends by a hard line.
And also, according to there, `normalWS` means the run is visible or not.
(However, according to the first `if` block, `Visible::Yes` might be set to
for empty fragment too, but I have no better idea of its name.)

Therefore, `mType & WSType::leadningWS` can call "is start of hard line",
`mType & WSType::trailingWS` can call "is end of hard line",
`mType == WSType::normalWS` can call "is visible and not edges of hard line"
and `mType & WSType::normalWS` can call "is not edges of hard line".

So, 3 `bool` members can represent all of their status.  Therefore, we should
get rid of this odd use case of `WSType`.

Depends on D68674

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

--HG--
extra : moz-landing-system : lando
2020-03-31 12:15:53 +00:00
Masayuki Nakano d7856a0043 Bug 1625633 - part 2: Encapsulate `WSFragment::mLeftType` r=m_kato
Similarly, it indicates the previous content type of the fragment.

Depends on D68673

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

--HG--
extra : moz-landing-system : lando
2020-03-30 09:22:21 +00:00
Masayuki Nakano 2135d8a449 Bug 1625633 - part 1: Encapsulate `WSFragment::mRightType` r=m_kato
It means why the `WSFragment` ends by.  I.e., it tells next content type of
the fragment.

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

--HG--
extra : moz-landing-system : lando
2020-03-30 09:13:49 +00:00