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

741955 Коммитов

Автор SHA1 Сообщение Дата
Mats Palmgren b41a2b9d21 Bug 1687239 part 2 - Remove plugin support from layout/. r=emilio
Note that there's still a little plugin related code in
widget/ and gfx/ etc after this.  That can be removed
once we remove plugin support from dom/ etc.
The removal from layout/ should be pretty complete though.

Differential Revision: https://phabricator.services.mozilla.com/D102140
2021-01-25 11:53:49 +00:00
Mats Palmgren 334efb391e Bug 1687239 part 1 - Remove plugin tests from layout/, dom/ and accessible/. r=emilio
Differential Revision: https://phabricator.services.mozilla.com/D102139
2021-01-25 11:53:31 +00:00
Emilio Cobos Álvarez b74a3bb722 Bug 1688508 - Fire shadowrootattached only if devtools is observing the document. r=smaug
Much like devtools manages the existing stylesheet changed events.

This is tested by devtools/client/inspector/markup/test/browser_markup_shadowdom.js

Differential Revision: https://phabricator.services.mozilla.com/D102875
2021-01-25 11:30:51 +00:00
Butkovits Atila 0fe67c0899 Backed out changeset 64682b454ac6 (bug 1688325) for causing failures on browser_inplace-editor_maxwidth.js. CLOSED TREE 2021-01-25 13:47:02 +02:00
Edgar Chen 5cba724a17 Bug 1682527 - Enable implicit pointer capture for touch on Nightly channel; r=smaug
Differential Revision: https://phabricator.services.mozilla.com/D99788
2021-01-05 09:52:15 +00:00
Sebastian Hengst edf073f07d Bug 1688444 - set more css/css-writing-modes/float-vrl-*.xht tests as intermittent on Windows 7 DONTBUILD
Depends on D102899

Differential Revision: https://phabricator.services.mozilla.com/D102900
2021-01-25 10:32:30 +00:00
Sebastian Hengst a42efe0317 Bug 1688443 - set more css/css-writing-modes/float-vrl-*.xht tests as intermittent on Windows 7 DONTBUILD
Differential Revision: https://phabricator.services.mozilla.com/D102899
2021-01-25 10:32:11 +00:00
Masayuki Nakano 1a7d5b3f13 Bug 1664969 - Disable async font list initialization under editor/libeditor/tests r=m_kato,jfkthame
According to the debug log and result on tryserver, the frequency of this
test failure becomes higher is caused by bug 1676966.  When global reflow
is kicked during dragging the grabber, the implicit capture is released
forcibly.  Fortunately, editor behavior shouldn't depend on font list
loading system, so, disabling the feature until fixing bug 1688430 is fine.

Differential Revision: https://phabricator.services.mozilla.com/D102889
2021-01-25 10:19:12 +00:00
Dimi Lee a348d55db1 Bug 1589074 - Fix docshell mochitest failures after changing default referrer policy to strict-origin-when-cross-origin. r=smaug
Differential Revision: https://phabricator.services.mozilla.com/D98436
2021-01-22 08:48:36 +00:00
Dimi Lee ca517db190 Bug 1589074 - Revert referrer related changes made in Bug 1678042 to pass wpt failures. r=ckerschb
We now changes the default referrer policy to strict-origin-when-cross-origin to follow the spec.
This patch reverts the changes made related to referrer policy in Bug 1678042 (bypassing referrer failures after syncing latest wpt tests).

Differential Revision: https://phabricator.services.mozilla.com/D98435
2021-01-22 08:48:29 +00:00
Dimi Lee 43d07ae2ce Bug 1589074 - Update wpt tests that are expected success after changing default referrer policy to strict-origin-when-cross-origin. r=ckerschb
Differential Revision: https://phabricator.services.mozilla.com/D88555
2021-01-22 08:48:21 +00:00
Dimi Lee 3222982679 Bug 1589074 - Fix geckoview test failures after changing default referrer policy to strict-origin-when-cross-origin. r=geckoview-reviewers,agi
Differential Revision: https://phabricator.services.mozilla.com/D88554
2021-01-22 08:48:11 +00:00
Dimi Lee 047a585e08 Bug 1589074 - Fix sessionrestore mochitest failures after changing default referrer policy to strict-origin-when-cross-origin. r=mconley
Differential Revision: https://phabricator.services.mozilla.com/D88553
2021-01-22 08:48:08 +00:00
Dimi Lee 6940624a72 Bug 1589074 - Fix dom mochitest failures after changing default referrer policy to strict-origin-when-cross-origin. r=ckerschb
Differential Revision: https://phabricator.services.mozilla.com/D88552
2021-01-22 08:48:00 +00:00
Dimi Lee e262560bd8 Bug 1589074 - Fix devtools mochitest failures after changing default referrer policy to strict-origin-when-cross-origin. r=nchevobbe
Differential Revision: https://phabricator.services.mozilla.com/D88551
2021-01-25 06:43:03 +00:00
Dimi Lee 173aa7615a Bug 1589074 - Fix worker mochitest failures after changing default referrer policy to strict-origin-when-cross-origin. r=baku
Differential Revision: https://phabricator.services.mozilla.com/D88550
2021-01-22 08:47:50 +00:00
Dimi Lee 51aaccdbb2 Bug 1589074 - Fix network mochitest failures after changing default referrer policy to strict-origin-when-cross-origin. r=kershaw,necko-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D88549
2021-01-22 08:47:48 +00:00
Dimi Lee 9094cbaf53 Bug 1589074 - Fix anti-tracking mochitest failures after changing default referrer policy to strict-origin-when-cross-origin. r=timhuang
Differential Revision: https://phabricator.services.mozilla.com/D88548
2021-01-22 08:47:40 +00:00
Dimi Lee bb1e1baac7 Bug 1589074 - Set referrer policy default to strict-origin-when-cross-origin. r=ckerschb
Differential Revision: https://phabricator.services.mozilla.com/D88547
2021-01-22 08:47:37 +00:00
Emilio Cobos Álvarez 3fad455482 Bug 1688325 - Make textarea default padding 2px on all platforms. r=dholbert
This matches other browsers, and the default themed textareas on Windows
too.

To be landed after the soft freeze, just in case, of course.

Differential Revision: https://phabricator.services.mozilla.com/D102843
2021-01-24 06:03:57 +00:00
Emilio Cobos Álvarez b3eef044a7 Bug 1687127 - Remove dom.expose-incomplete-stylesheets. r=boris
Shipped in 84 (bug 1673885).

Differential Revision: https://phabricator.services.mozilla.com/D102090
2021-01-19 22:21:09 +00:00
Michael Hofmann 99540873a3 Bug 1684365 - Add a null pointer check so that Firefox won't crash when it can't initialize mRemoteServer r=stransky
Firefox 84.0.1 crashes under Gentoo Linux if it is started in
Wayland mode and if it was compiled WITH Wayland support and
WITHOUT dbus support.

I traced down the problem to line 172 of
toolkit/components/remote/nsRemoteService.cpp:

   nsresult rv = mRemoteServer->Startup(mProgram.get(), mProfile.get());

mRemoteServer is NULL and Firefox crashes.

This patch adds a NULL pointer check before that line.

See:
- Mozilla's Bugzilla, bug 1684365
- https://bugs.gentoo.org/762035
- https://forums.gentoo.org/viewtopic-t-1126235.html

Differential Revision: https://phabricator.services.mozilla.com/D101536
2021-01-25 09:29:42 +00:00
Mirko Brodesser e18a0436b9 Bug 1685303: part 28) Add `virtual` `AccessibleCaretManager::MaybeFlushLayout`. r=TYLin,smaug
In the unit-tests, flushing is not done. This was prevented implicitly
by nulling `mPresShell`. This change makes that explicit by stubbing
`MaybeFlushLayout`.

Note that `IsTerminated`, which is called in the same context is already
virtual, so I expect this to not have a noticeable performance-impact.

Depends on D102607

Differential Revision: https://phabricator.services.mozilla.com/D102608
2021-01-22 12:18:05 +00:00
Mirko Brodesser 17413678c3 Bug 1685303: part 27) Add TODO to outdated documentation of `AccessibleCaretManager`. r=TYLin
Depends on D102606

Differential Revision: https://phabricator.services.mozilla.com/D102607
2021-01-22 18:37:50 +00:00
Daisuke Akatsuka 851bbbd9d9 Bug 1688132: Update MDN compat data. r=Honza
Differential Revision: https://phabricator.services.mozilla.com/D102672
2021-01-25 08:36:12 +00:00
Emilio Cobos Álvarez 0ed6409ab9 Bug 1688004 - Build top layer items for XUL documents that don't have scrollframes. r=miko
This will allow the browser chrome to use `<dialog>` etc, see
bug 1685313.

Tweak the check to support scrolling="false" on reftests, so that we can
test this.

Differential Revision: https://phabricator.services.mozilla.com/D102623
2021-01-25 00:31:30 +00:00
Cameron McCormack 16a7d47723 Bug 1687879 - Fix chrome mochitests that use <splitter>s to work when the non-native theme is enabled. r=spohl
Differential Revision: https://phabricator.services.mozilla.com/D102656
2021-01-24 23:07:29 +00:00
Gerald Squelart 1338970d1b Bug 1688400 - Fixed English typo in about:profiling - r=fluent-reviewers,flod DONTBUILD
Differential Revision: https://phabricator.services.mozilla.com/D102848
2021-01-24 06:09:49 +00:00
Oliver Pope af50c8192a Bug 1626600 - removed PiP from browser_contextmenu tests r=mhowell
Differential Revision: https://phabricator.services.mozilla.com/D102865
2021-01-24 18:10:31 +00:00
Oliver Pope 8e6cb89585 Bug 1626600 - added check for readyState in nsContextMenu to see if PiP should display r=mtigley,mhowell
Differential Revision: https://phabricator.services.mozilla.com/D102864
2021-01-24 15:32:16 +00:00
Lee Salzman 4dac9993b6 Bug 1688323 - refactor WR gradient shaders with gradient_shared. r=gw
Differential Revision: https://phabricator.services.mozilla.com/D102813
2021-01-24 19:51:18 +00:00
Swapnik Katkoori 44f1241414 Bug 1670094 - Add RTL support for PIP explainer. r=mtigley,mhowell
Differential Revision: https://phabricator.services.mozilla.com/D102849
2021-01-24 16:34:07 +00:00
Tony Froman d77729fe84 Bug 1678351 - Removed .pictureInPictureToggleIcon style code, removed above class selector from multi-class selector statement. r=mtigley,mhowell
Differential Revision: https://phabricator.services.mozilla.com/D102842
2021-01-24 16:14:15 +00:00
Olli Pettay c7fd62bbcb Bug 1688312 - Consider to use nsAtoms in PerformanceEntry, r=sefeng
Differential Revision: https://phabricator.services.mozilla.com/D102807
2021-01-24 12:16:55 +00:00
Henri Sivonen 9b210c311e Bug 1686463 - Gather telemetry about automatic encoding detection outcomes. r=chutten,emk
Differential Revision: https://phabricator.services.mozilla.com/D102397
2021-01-24 00:11:07 +00:00
Botond Ballo 7431701c98 Bug 1682919 - Avoid creating a new DisplayPortMargins object as a side effect of querying the displayport. r=tnikkel
DisplayPortMargins objects are only meant to be created when setting
display port margins, not when querying them, because the object's
constructor records the visual and layout scroll offsets at the time
of construction to use for adjusting the margins to be layout-relative.

Differential Revision: https://phabricator.services.mozilla.com/D102075
2021-01-24 04:08:00 +00:00
Brindusan Cristian dc813a31cc Backed out changeset 870a4ac0af45 (bug 1583901) for devtools failures at browser_rules_preview-tooltips-sizes.js. 2021-01-24 01:22:23 +02:00
Sebastian Zartner f6362f9f72 Bug 1583901 - New inactive CSS rule to show warning when fill-* or stroke-* is used on non-SVG-basic-shape and non-SVG-text elements. r=fluent-reviewers,flod,jdescottes
Differential Revision: https://phabricator.services.mozilla.com/D101295
2021-01-23 21:38:22 +00:00
Emilio Cobos Álvarez dc3b061703 Bug 1572798 - Call MaybeActiveMediaComponents only if the visibility state changed. r=bzbarsky,farre
All sets of mVisibilityState go through this function now, and not
having a window implies that the visibility state must be hidden, so
this should be sound now.

I'll land this separately anyway since it's slightly more risky.

Differential Revision: https://phabricator.services.mozilla.com/D41439
2021-01-23 20:48:20 +00:00
Andreu Botella 4710b50f85 Bug 1687820 - Fix bugs with null bytes in form payloads. r=smaug
On `multipart/form-data` payloads, a null byte on the name, filename or string
value cuts off the rest of the name, filename or value. On `text/plain`
payloads, a null byte anywhere cuts off the rest of the entire payload.

This is because `nsLinebreakConverter::ConvertLineBreaks` is called without
giving a length parameter, which causes it to treat the input C string as
null-terminated.

The tests for `text/plain` are under review on WPT:
https://github.com/web-platform-tests/wpt/pull/26740
(https://wpt.fyi/results/html/semantics/forms/form-submission-0/text-plain.window.html?label=pr_head&max-count=1&pr=26740)

Differential Revision: https://phabricator.services.mozilla.com/D102625
2021-01-23 20:25:05 +00:00
Emilio Cobos Álvarez ed2fc6bdce Bug 1687868 - Prevent skia fuzziness in nsNativeBasicTheme. r=heycam
Differential Revision: https://phabricator.services.mozilla.com/D102773
2021-01-23 19:31:33 +00:00
Csoregi Natalia 3337733df4 Backed out 2 changesets (bug 1688327) as per request.
Backed out changeset 991388ec272d (bug 1688327)
Backed out changeset 6648750ced7e (bug 1688327)
2021-01-23 19:45:30 +02:00
Tooru Fujisawa 16c72b6507 Bug 1688352 - Allocate vector/map variant of SharedDataContainer on heap. r=tcampbell
SharedDataContainer took 48 bytes, even if there's single entry.
To reduce the space taken by SharedDataContainer in delazifcations vector,
move vector/map variant out of SharedDataContainer itself, and allocate them
on heap.
Also use low-bit tagging, so that SharedDataContainer takes 8 bytes.

Differential Revision: https://phabricator.services.mozilla.com/D102831
2021-01-23 15:21:50 +00:00
Kartikaya Gupta 61f758440f Bug 1686002 - Don't retarget touches if they land inside a clickable element. r=botond
Touches that land on a descendant of a clickable element should
not get retargeted to other nearby elements because the descendant
itself can react to those touch events.

Differential Revision: https://phabricator.services.mozilla.com/D102827
2021-01-23 06:00:21 +00:00
Sylvestre Ledru 006c640d30 Bug 1679688 - Fix a mozlint warning (File does not end with newline character) DONTBUILD
Differential Revision: https://phabricator.services.mozilla.com/D102837
2021-01-23 15:06:23 +00:00
Ted Campbell b8f5c2c599 Bug 1688327 - Move memberInitializers to ScriptExtraStencil. r=arai
Differential Revision: https://phabricator.services.mozilla.com/D102823
2021-01-23 14:59:51 +00:00
Ted Campbell f7759b2626 Bug 1688327 - Compute ScriptStencil::memberInitializers in initial parse. r=arai
During initial parse we know the number of member-initializers for each class
constructor so we can directly store the count on the lazy function stencil.
This lets us remove the UpdateEmittedInnerFunctions logic and makes more
things immutable.

Differential Revision: https://phabricator.services.mozilla.com/D102822
2021-01-23 14:59:49 +00:00
Robbendebiene cdec8d59d8 Bug 1679688 - make host permissions grant access to privileged parts of the tabs API and fix Bug 1686443 r=robwu,geckoview-reviewers,agi
Differential Revision: https://phabricator.services.mozilla.com/D98471
2021-01-23 14:09:22 +00:00
Francesco Lodolo (:flod) f56289c230 Bug 1687375 - Remove closing period from badge tooltip, r=rpl
Differential Revision: https://phabricator.services.mozilla.com/D102832
2021-01-23 14:23:18 +00:00
Sylvestre Ledru a617470289 Bug 1688372 - fix some reference to 'Glyph' is ambiguous r=andi
Just like we did in bug 1671813

Differential Revision: https://phabricator.services.mozilla.com/D102834
2021-01-23 12:07:07 +00:00