Commit Graph

670488 Commits

Author SHA1 Message Date
Hiroshige Hayashizaki
95825b5ad9 Bug 1578880 [wpt PR 18850] - [WPT/referrer-policy] Regenerate img-tag http-rp tests, a=testonly
Automatic update from web-platform-tests
[WPT/referrer-policy] Regenerate img-tag http-rp tests

This CL regenerates img-tag http-rp test files
that reflects changes [1] and previous changes in
https://crbug.com/906850 and removes old files.

Purely mechanical.
This CL largely renames test file names, and [2] contains
old->new file name mapping data.

[1] https://chromium-review.googlesource.com/c/chromium/src/+/1586548
[2] https://chromium-review.googlesource.com/c/chromium/src/+/1783799

Bug: 906850
Change-Id: I3d0921dbdb2e122c75b2df8181e8697f7b831de0
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1784010
Reviewed-by: Kenichi Ishibashi <bashi@chromium.org>
Reviewed-by: Hiroki Nakagawa <nhiroki@chromium.org>
Commit-Queue: Hiroshige Hayashizaki <hiroshige@chromium.org>
Cr-Commit-Position: refs/heads/master@{#693554}

--

wpt-commits: 716f0ac8e3e016318c301828428ce241a1dd0e08
wpt-pr: 18850
2019-09-12 10:09:56 +00:00
Csoregi Natalia
383aa8e841 Merge mozilla-central to mozilla-inbound. CLOSED TREE 2019-09-12 12:52:06 +03: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
Csoregi Natalia
f15242dd6a Merge mozilla-central to mozilla-inbound. CLOSED TREE 2019-09-12 09:15:39 +03: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
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
Narcis Beleuzu
18c3932ccd Backed out 7 changesets (bug 1570337) for bustages on AndroidDataEncoder.h . CLOSED TREE
Backed out changeset 3fac005abec8 (bug 1570337)
Backed out changeset 46ac027113e1 (bug 1570337)
Backed out changeset ef026d642642 (bug 1570337)
Backed out changeset 1fee7e3711e8 (bug 1570337)
Backed out changeset f98eb813a0e5 (bug 1570337)
Backed out changeset 5f22b364fffa (bug 1570337)
Backed out changeset 28c59c800b76 (bug 1570337)
2019-09-12 04:56:40 +03:00
Brindusan Cristian
45a744bf3a Merge mozilla-central to inbound. a=merge CLOSED TREE 2019-09-12 00:55:04 +03:00
Boris Zbarsky
cdf754533a Bug 1578173 part 5. Remove vestigial binaryNames annotations from Bindings.conf. r=edgar
Differential Revision: https://phabricator.services.mozilla.com/D45393

--HG--
extra : moz-landing-system : lando
2019-09-11 21:23:25 +00:00
arthur.iakab
f6054bd0ae Merge mozilla-central to mozilla-inbound 2019-09-11 19:08:01 +03: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
Nathan Froyd
a66584728f Bug 1579523 - fix visibility definition for future NDKs on Android; r=nalexander
A previous patch defined `_LIBCPP_HIDE_FROM_ABI` to the empty string.
This definition worked for normal (opt/debug) builds, but
PGO-instrumented builds fell over with some linker errors.  A closer
look at the definition of `_LIBCPP_HIDE_FROM_ABI`:

```
#ifndef _LIBCPP_HIDE_FROM_ABI_PER_TU
#  ifndef _LIBCPP_HIDE_FROM_ABI_PER_TU_BY_DEFAULT
#    define _LIBCPP_HIDE_FROM_ABI_PER_TU 0
#  else
#    define _LIBCPP_HIDE_FROM_ABI_PER_TU 1
#  endif
#endif

#ifndef _LIBCPP_HIDE_FROM_ABI
#  if _LIBCPP_HIDE_FROM_ABI_PER_TU
#    define _LIBCPP_HIDE_FROM_ABI _LIBCPP_HIDDEN _LIBCPP_INTERNAL_LINKAGE
#  else
#    define _LIBCPP_HIDE_FROM_ABI _LIBCPP_HIDDEN _LIBCPP_EXCLUDE_FROM_EXPLICIT_INSTANTIATION
#  endif
#endif
```

says that there are two macros involved there: one to set hidden visibility
(which we don't want), and another to exclude the function definition
from explicit instantiation.  The semantics of this are not obvious (the
clang documentation only documents this attribute in terms of C++
templates; the particular case we're interested in sets the attribute on
normal function definitions).  But roughly, what this does is that it
forces the compiler to see that an equivalent function definition is
provided external to the compilation unit, so it doesn't have to keep
the annotated function definition around.

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

--HG--
extra : moz-landing-system : lando
2019-09-11 15:13:36 +00:00
Martin Stransky
eee009c581 Bug 1579849 - [Wayland] Optimize cached rendering to wl_buffer for widget.wayland_cache_mode=1, r=jhorak
- When widget.wayland_cache_mode=1 use direct rendering to wl_buffer only when there isn't any
  cached rendering pending and we're updating one big piece of screen (video playback/scrolling etc..)

- Disable frame callback commits between WindowSurfaceWayland::Lock and WindowSurfaceWayland::Commit
  as the buffer can be updated by gecko compositor

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

--HG--
extra : moz-landing-system : lando
2019-09-11 15:32:48 +00:00
Erica Wright
8fb5529dbc Bug 1579487 - Change the Protections database API to return the correct date in the user's timezone. r=johannh
Differential Revision: https://phabricator.services.mozilla.com/D45064

--HG--
extra : moz-landing-system : lando
2019-09-11 18:06:25 +00:00
Kevin Jacobs
4bf9806ed6 Bug 1562773 - Propagate Delegated Credential flag to nsITransportSecurityInfo r=keeler,jcj
This patch adds a new `mIsDelegatedCredential` parameter to nsITransportSecurityInfo, indicating whether or not a delegated credential keypair was used in the TLS handshake (see: https://tools.ietf.org/html/draft-ietf-tls-subcerts-03) .

This functionality is only available if _security.tls.enable_delegated_credentials_ is set to true.

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

--HG--
extra : moz-landing-system : lando
2019-09-11 15:19:57 +00:00
Jeff Muizelaar
b8ad0be101 Bug 1580543. Update to VS 2017 for WebRender appveyor. r=kvark
This should hopefully fix WebRender CI.

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

--HG--
extra : moz-landing-system : lando
2019-09-11 17:30:02 +00:00
Kristen Wright
2a7dbd7709 bug 1296898 - Memory api (pulled from erahm's experiment) as a part of the webextension api r=mixedpuppy
Webextension api to get memory usage. Also brings back memory.jsm, as it is used by the api. Adds test_ext_memory.js to test ext-memory.js' functionality and permissions.

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

--HG--
extra : moz-landing-system : lando
2019-09-11 17:34:04 +00:00
Paolo Amadini
ff66e620e9 Bug 1539000 - Prevent Fluent exceptions when the localized value is too long. r=zbraniecki
This is achieved by not including the offending preference state in the text provided to screen readers, while still providing the full value. It currently happens only for the "media.wmf.disable-d3d11-for-dlls" preference in new profiles, and for "network.proxy.autoconfig_url" because it is set to a "data:" URL in automation. While preferences like "browser.uiCustomization.state" might theorectically grow over the limit of 2500 characters, this may be rare as they seem to be typically around 1000 characters.

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

--HG--
extra : moz-landing-system : lando
2019-09-11 16:14:39 +00:00
John Lin
2f38ebe390 Bug 1570337 - p7: fix build error/warning for UNIFIED_SOURCES. r=jya
Differential Revision: https://phabricator.services.mozilla.com/D44588

--HG--
extra : moz-landing-system : lando
2019-09-11 15:12:02 +00:00
John Lin
58beec691c Bug 1570337 - p6: repeat calling Drain() until no more output. r=jya
Existing tests will fail when there are more than 1 pending frames when Drain()
is called. Repeatly calling it to ensure all frames will be collected.

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

--HG--
extra : moz-landing-system : lando
2019-09-11 15:13:46 +00:00
Boris Zbarsky
14c30e58d6 Bug 1578173 part 4. Switch event subclasses to constructor operations. r=smaug
Differential Revision: https://phabricator.services.mozilla.com/D45391

--HG--
extra : moz-landing-system : lando
2019-09-11 14:35:28 +00:00
Boris Zbarsky
122af58092 Bug 1578173 part 3. Remove ChromeConstructor. r=edgar
Differential Revision: https://phabricator.services.mozilla.com/D45390

--HG--
extra : moz-landing-system : lando
2019-09-11 21:04:12 +00:00
Boris Zbarsky
5d31299907 Bug 1578173 part 2. Convert chrome-webidl bits to constructor operations. r=edgar
Differential Revision: https://phabricator.services.mozilla.com/D45389

--HG--
extra : moz-landing-system : lando
2019-09-11 20:55:26 +00:00
Boris Zbarsky
c0dd336d70 Bug 1578173 part 1. Add support for constructor operations in the parser. r=edgar
The grammar changes parallel those in https://github.com/heycam/webidl/pull/700

We don't prevent having both a constructor operation and [Constructor] or
[ChromeConstructor], because those extended attributes are about to get
removed, once they are no longer used in our IDL.

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

--HG--
extra : moz-landing-system : lando
2019-09-11 20:44:01 +00:00
Glenn Watson
c873e19b84 Bug 1580677 - Update plane-split dependency to 0.15.0 r=nical
Differential Revision: https://phabricator.services.mozilla.com/D45628

--HG--
extra : moz-landing-system : lando
2019-09-12 12:46:41 +00:00
Brad Werth
6d3b2babbc Bug 1567310 Part 4: Add a test that whitespace frames are not created by opening the inspector. r=gl
Differential Revision: https://phabricator.services.mozilla.com/D45257

--HG--
extra : moz-landing-system : lando
2019-09-12 19:06:09 +00:00
Brad Werth
df189909f4 Bug 1567310 Part 3: Make all devtools callers of getBoxQuads include option to suppress whitespace frames. r=gl
Differential Revision: https://phabricator.services.mozilla.com/D45120

--HG--
extra : moz-landing-system : lando
2019-09-12 19:05:52 +00:00