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

19823 Коммитов

Автор SHA1 Сообщение Дата
Mirko Brodesser 60543b4b41 Bug 1578668: part 6) Reorder conditions using `mHasWrittenCellsForRow`. r=hsivonen
To remove the obscurity of the conditions.

Depends on D44654

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

--HG--
extra : moz-landing-system : lando
2019-09-05 08:00:18 +00:00
Mirko Brodesser 890f0eefbc Bug 1578668: part 5) Add `CurrentLine::HasContentOrIndentationHeader`. r=hsivonen
Depends on D44653

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

--HG--
extra : moz-landing-system : lando
2019-09-05 07:57:39 +00:00
Mirko Brodesser 3f8b66401f Bug 1578668: part 4) Factor out `CreateLineOfDashes`. r=hsivonen
Depends on D44652

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

--HG--
extra : moz-landing-system : lando
2019-09-05 07:57:08 +00:00
Mirko Brodesser d7ccce23f3 Bug 1578668: part 3) Add `IsSignatureSeparator`. r=hsivonen
Depends on D44651

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

--HG--
extra : moz-landing-system : lando
2019-09-05 07:56:31 +00:00
Mirko Brodesser d81a92135a Bug 1578668: part 2) Move `nsPlainTextSerializer::FlushLine` to `nsPlainTextSerializer::OutputManager::Flush`. r=hsivonen
Depends on D44650

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

--HG--
extra : moz-landing-system : lando
2019-09-05 07:55:48 +00:00
Mirko Brodesser d481f91e1a Bug 1578668: part 1) Remove some code redundancy in `nsPlainTextSerializer::EndLine`. r=hsivonen
Differential Revision: https://phabricator.services.mozilla.com/D44650

--HG--
extra : moz-landing-system : lando
2019-09-05 07:53:55 +00:00
Karl Tomlinson 22391aabe8 Bug 1578623 remove documentation for non-existent parameter r=bholley
This comment has been obsolete since
https://hg.mozilla.org/mozilla-central/rev/cf4859464f9ea5c3bb44e35d328c13d02114f13a#l2.31
where it was clarified at
https://hg.mozilla.org/mozilla-central/rev/cf4859464f9ea5c3bb44e35d328c13d02114f13a#l5.75

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

--HG--
extra : moz-landing-system : lando
2019-09-06 02:02:41 +00:00
Ting-Yu Lin f0a1298eaa Bug 1308587 Part 1 - Manually remove "-moz" prefixed multi-column properties in some tests. r=dholbert
In the next part, the patch generated by a script removes "-moz" prefix
to all multi-column properties.

However, some of the tests already have standard multi-column properties
specified. To avoid duplicating CSS multi-column rules in these
files (after applying the next part), I manually remove the prefixed
rules beforehand as many as possible.

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

--HG--
extra : moz-landing-system : lando
2019-09-05 21:32:05 +00:00
Razvan Maries 10dbfc585c Backed out changeset e18ae5f66cac (bug 1550058) for causing Android build bustages. CLOSED TREE
--HG--
rename : dom/events/ShortcutKeyDefinitionsForBrowserCommon.h => dom/xbl/builtin/ShortcutKeyDefinitionsForBrowserCommon.h
rename : dom/events/ShortcutKeyDefinitionsForEditorCommon.h => dom/xbl/builtin/ShortcutKeyDefinitionsForEditorCommon.h
rename : dom/events/ShortcutKeyDefinitionsForTextAreaCommon.h => dom/xbl/builtin/ShortcutKeyDefinitionsForInputCommon.h
rename : dom/events/ShortcutKeys.cpp => dom/xbl/builtin/ShortcutKeys.cpp
rename : dom/events/ShortcutKeys.h => dom/xbl/builtin/ShortcutKeys.h
rename : dom/events/android/ShortcutKeyDefinitions.cpp => dom/xbl/builtin/android/ShortcutKeyDefinitions.cpp
rename : dom/events/win/moz.build => dom/xbl/builtin/android/moz.build
rename : dom/events/emacs/ShortcutKeyDefinitions.cpp => dom/xbl/builtin/emacs/ShortcutKeyDefinitions.cpp
rename : dom/events/mac/ShortcutKeyDefinitions.cpp => dom/xbl/builtin/mac/ShortcutKeyDefinitions.cpp
rename : dom/events/unix/ShortcutKeyDefinitions.cpp => dom/xbl/builtin/unix/ShortcutKeyDefinitions.cpp
rename : dom/events/win/ShortcutKeyDefinitions.cpp => dom/xbl/builtin/win/ShortcutKeyDefinitions.cpp
rename : dom/events/GlobalKeyListener.cpp => dom/xbl/nsXBLWindowKeyHandler.cpp
rename : dom/events/GlobalKeyListener.h => dom/xbl/nsXBLWindowKeyHandler.h
2019-09-05 20:31:59 +03:00
Dave Townsend 3a36964e63 Bug 1550058: Move most keyboard shortcut handling out of XBL. r=masayuki
Most of our keyboard shortcut handling is handled by nsXBLWindowKeyHandler along
with nsXBLPrototypeHandler. With the impending removal of XBL this needs to
change.

This patch moves nsXBLWindowKeyHandler to dom/events/GlobalKeyListener and copies
nsXBLPrototypeHandler to dom/events/KeyEventHandler. Windows, text elements and
XUL <keyset> are changed to use the new copies and anything unnecessary for
those is stripped out.

XBL handler elements still remain using the existing nsXBLPrototypeHandler path.
Some of the code is ripped out there to make it compile. There is probably a
lot more that can be removed but since the whole of XBL is likely gone soon I'm
not sure it is worth cleaning that up much.

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

--HG--
rename : dom/xbl/nsXBLWindowKeyHandler.cpp => dom/events/GlobalKeyListener.cpp
rename : dom/xbl/nsXBLWindowKeyHandler.h => dom/events/GlobalKeyListener.h
rename : dom/xbl/nsXBLPrototypeHandler.cpp => dom/events/KeyEventHandler.cpp
rename : dom/xbl/nsXBLPrototypeHandler.h => dom/events/KeyEventHandler.h
rename : dom/xbl/builtin/ShortcutKeyDefinitionsForBrowserCommon.h => dom/events/ShortcutKeyDefinitionsForBrowserCommon.h
rename : dom/xbl/builtin/ShortcutKeyDefinitionsForEditorCommon.h => dom/events/ShortcutKeyDefinitionsForEditorCommon.h
rename : dom/xbl/builtin/ShortcutKeyDefinitionsForInputCommon.h => dom/events/ShortcutKeyDefinitionsForInputCommon.h
rename : dom/xbl/builtin/ShortcutKeyDefinitionsForInputCommon.h => dom/events/ShortcutKeyDefinitionsForTextAreaCommon.h
rename : dom/xbl/builtin/ShortcutKeys.cpp => dom/events/ShortcutKeys.cpp
rename : dom/xbl/builtin/ShortcutKeys.h => dom/events/ShortcutKeys.h
rename : dom/xbl/builtin/android/ShortcutKeyDefinitions.cpp => dom/events/android/ShortcutKeyDefinitions.cpp
rename : dom/xbl/builtin/android/moz.build => dom/events/android/moz.build
rename : dom/xbl/builtin/emacs/ShortcutKeyDefinitions.cpp => dom/events/emacs/ShortcutKeyDefinitions.cpp
rename : dom/xbl/builtin/android/moz.build => dom/events/emacs/moz.build
rename : dom/xbl/builtin/mac/ShortcutKeyDefinitions.cpp => dom/events/mac/ShortcutKeyDefinitions.cpp
rename : dom/xbl/builtin/android/moz.build => dom/events/mac/moz.build
rename : dom/xbl/builtin/unix/ShortcutKeyDefinitions.cpp => dom/events/unix/ShortcutKeyDefinitions.cpp
rename : dom/xbl/builtin/android/moz.build => dom/events/unix/moz.build
rename : dom/xbl/builtin/win/ShortcutKeyDefinitions.cpp => dom/events/win/ShortcutKeyDefinitions.cpp
rename : dom/xbl/builtin/android/moz.build => dom/events/win/moz.build
extra : moz-landing-system : lando
2019-09-05 16:51:27 +00:00
Coroiu Cristina 9683a17a37 Backed out changeset d2867a062f45 (bug 1574480) for browser-chrome failures at browser/base/content/test/general/browser_offlineQuotaNotification.js on a CLOSED TREE 2019-09-05 18:38:42 +03:00
Nika Layzell 0354cad681 Bug 1577711 - Part 2: Perform frame static clone after parent static clone, r=smaug
This is done by delaying the code within nsFrameLoader::CreateStaticClone until
after the document has been created. The nsFrameLoader is re-discovered using
the subframe BrowsingContext's mEmbedderElement.

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

--HG--
extra : moz-landing-system : lando
2019-09-05 14:55:19 +00:00
Nika Layzell 245b18cd39 Bug 1577711 - Part 1: Revert calling SetDocument earlier during clone from 1568055, r=smaug
This change was causing issues with images not displaying and iframes not
displaying correctly after multiple print preview calls.

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

--HG--
extra : moz-landing-system : lando
2019-09-05 14:55:11 +00:00
Paul Zuehlcke 99bfbf1328 Bug 1574480 - Updated browser.js and OfflineAppsChild.jsm to use PermissionManager principal methods. r=johannh,smaug
Differential Revision: https://phabricator.services.mozilla.com/D42620

--HG--
extra : moz-landing-system : lando
2019-09-05 13:37:55 +00:00
Dorel Luca 97d9dbf374 Backed out changeset 4035fee4dd33 (bug 1538042) for Mochitest failures in toolkit/components/windowcreator/test/test_nsFind.html 2019-09-05 12:21:18 +03:00
Mirko Brodesser b0573c2b86 Bug 1578188: part 6) Overload `OutputManager::Append`. r=hsivonen
Differential Revision: https://phabricator.services.mozilla.com/D44387

--HG--
extra : moz-landing-system : lando
2019-09-04 13:30:25 +00:00
Mirko Brodesser b10fb35c3c Bug 1578188: part 5) Move `CreateQuotesAndIndent` to `CurrentLine`. r=hsivonen
Differential Revision: https://phabricator.services.mozilla.com/D44386

--HG--
extra : moz-landing-system : lando
2019-09-04 13:30:09 +00:00
Mirko Brodesser b242474d51 Bug 1578188: part 4) Move `ResetCurrentLineContentAndIndentationHeader` to `CurrentLine::ResetContentAndIndentationHeader`. r=hsivonen
Differential Revision: https://phabricator.services.mozilla.com/D44385

--HG--
extra : moz-landing-system : lando
2019-09-04 13:29:59 +00:00
Mirko Brodesser 8141bbdc56 Bug 1578188: part 3) Add `nsPlainTextSerializer::CurrentLine`. r=hsivonen
Differential Revision: https://phabricator.services.mozilla.com/D44384

--HG--
extra : moz-landing-system : lando
2019-09-04 13:29:48 +00:00
Mirko Brodesser 546f74b5dc Bug 1578188: part 2) Use default constructor for `CurrentLineContent`. r=hsivonen
Simplifies a following refactoring.

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

--HG--
extra : moz-landing-system : lando
2019-09-04 13:29:39 +00:00
Mirko Brodesser dc15294eb0 Bug 1578188: part 1) Remove `outputQuotes` variable for clarity. r=hsivonen
Differential Revision: https://phabricator.services.mozilla.com/D44382

--HG--
extra : moz-landing-system : lando
2019-09-04 13:29:27 +00:00
Andrea Marchesini f7c969c97f Bug 1571686 - Check if the ReadableStream object exists before using it in BodyStream, r=smaug
Differential Revision: https://phabricator.services.mozilla.com/D44726

--HG--
extra : moz-landing-system : lando
2019-09-04 21:15:41 +00:00
Dorel Luca ec62854d68 Backed out changeset 890bcaee9b7d (bug 1529068) for causing massive tier2 failures on central in dom/security/test/csp/test_navigate_to.html. CLOSED TREE 2019-09-05 09:47:35 +03:00
Brad Werth b9e615d3bd Bug 1538042 Part 2: Add tests of null character searches. r=mccr8
Differential Revision: https://phabricator.services.mozilla.com/D25293

--HG--
extra : moz-landing-system : lando
2019-09-04 22:59:25 +00:00
Emilio Cobos Álvarez 7df79853f9 Bug 1578700 - Change use counter setup to propagate the page use counters together. r=smaug
This is so that SetUseCounter is as cheap as possible.

This is in preparation for hooking the CSS use counters to telemetry. We want
CSS use counters to be fast and be propagated at once to the parent page. This
will make sure to use the same setup as everywhere else.

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

--HG--
extra : moz-landing-system : lando
2019-09-04 23:36:21 +00:00
Emilio Cobos Álvarez e326de9e60 Bug 1578700 - Simplify SetDocumentUseCounter. r=smaug
It's just a bit flag, should be no need of checking whether the bit is set
before.

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

--HG--
extra : moz-landing-system : lando
2019-09-04 22:10:40 +00:00
Emilio Cobos Álvarez cff66a7aaf Bug 1578700 - Rename a variable to better follow our coding style. r=smaug
It's a constant, not a global. This matches both the Mozilla and Google coding
styles so should hopefully be uncontroversial.

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

--HG--
extra : moz-landing-system : lando
2019-09-04 21:47:57 +00:00
Gijs Kruitbosch 9f3a3e9669 Bug 1578709 - Only set flash only pref for those tests that need it, r=mconley,ahal
Differential Revision: https://phabricator.services.mozilla.com/D44648

--HG--
extra : moz-landing-system : lando
2019-09-04 22:12:39 +00:00
Benjamin 2202fa3333 Bug 1529068 - Implementation of the navigate-to CSP directive as defined in CSP Level 3. r=ckerschb,mccr8
https://www.w3.org/TR/CSP3/#directive-navigate-to

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

--HG--
extra : moz-landing-system : lando
2019-09-04 20:29:37 +00:00
Brad Werth a99718cb94 Bug 1548188 Part 1: Make nsRange::GetPartialTextRect use IsInlineReversed to determine whether start is before end. r=bzbarsky
The existing logic uses RightToLeft as a determinator of whether or not the start point is above-and-to-the-left of the end point. We can get that directly (and correctly) with IsInlineReversed.

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

--HG--
extra : moz-landing-system : lando
2019-09-04 19:53:42 +00:00
Gurzau Raul f96e9cd73f Backed out changeset 887d125d7f59 (bug 1578709) for failing at test_bug427744.html on a CLOSED TREE. 2019-09-04 21:34:11 +03:00
Csoregi Natalia 2dd3b18187 Backed out changeset 99b313550fb8 (bug 1529068) for eslint failure on test_navigate_to.html. CLOSED TREE 2019-09-04 21:15:18 +03:00
Benjamin 33379674f8 Bug 1529068 - Implementation of the navigate-to CSP directive as defined in CSP Level 3. r=ckerschb,mccr8
https://www.w3.org/TR/CSP3/#directive-navigate-to

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

--HG--
extra : moz-landing-system : lando
2019-09-04 17:44:14 +00:00
Gijs Kruitbosch bb899238e7 Bug 1578709 - Only set flash only pref for those tests that need it, r=mconley,ahal
Differential Revision: https://phabricator.services.mozilla.com/D44648

--HG--
extra : moz-landing-system : lando
2019-09-04 17:28:02 +00:00
Timothy Nikkel e0a79ba9f2 Bug 1578164. Use async notifications when requesting decode of an image in most places. r=aosmond
Most of things will likely be no real change because they ask for the exact frame they want immediately before.

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

--HG--
extra : moz-landing-system : lando
2019-09-03 15:36:23 +00:00
Mirko Brodesser 3cae23189b Bug 1578149: part 5) Bundle resetting `mIndentation.mHeader` and `mCurrentLineContent`. r=hsivonen
Depends on D44349

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

--HG--
extra : moz-landing-system : lando
2019-09-02 15:25:15 +00:00
Mirko Brodesser 00a969bc92 Bug 1578149: part 4) Move truncating `mIndentation.mHeader` out of `CreateQuotesAndIndent`. r=hsivonen
Makes the method name more accurate.

Depends on D44348

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

--HG--
extra : moz-landing-system : lando
2019-09-02 15:24:37 +00:00
Mirko Brodesser a6377b2ed5 Bug 1578149: part 3) Move whitespace triming out of `OutputQuotesAndIndent`. r=hsivonen
Whitespace triming was used by only one caller, so it deserves to live
outside. Additionally, this defines the method name more precisely.

Depends on D44347

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

--HG--
extra : moz-landing-system : lando
2019-09-02 15:23:18 +00:00
Mirko Brodesser 8287d02b7c Bug 1578149: part 2) Simplify code in `nsPlainTextSerializer::Write`. r=hsivonen
Depends on D44346

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

--HG--
extra : moz-landing-system : lando
2019-09-02 15:15:24 +00:00
Mirko Brodesser 17ad1235da Bug 1578149: part 1) Add `nsPlainTextSerializer::Indentation`. r=hsivonen
In order to encapsulate the indentation related members.

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

--HG--
extra : moz-landing-system : lando
2019-09-02 15:13:20 +00:00
Gerald Squelart 95f77c2409 Bug 1576819 - Use PROFILER_ADD_MARKER{,_WITH_PAYLOAD} everywhere - r=gregtatum
All calls to `profiler_add_marker()` (outside of the profilers code) are
now replaced by either:
- `PROFILER_ADD_MARKER(name, categoryPair)`
- `PROFILER_ADD_MARKER_WITH_PAYLOAD(name, categoryPair, TypeOfMarkerPayload,
                                    (payload, ..., arguments))`

This makes all calls consistent, and they won't need to prefix the category pair
with `JS::ProfilingCategoryPair::`.

Also it will make it easier to add (and later remove) internal-profiling
instrumentation (bug 1576550), and to replace heap-allocated payloads with
stack-allocated ones (bug 1576555).

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

--HG--
extra : moz-landing-system : lando
2019-09-04 07:56:51 +00:00
Emilio Cobos Álvarez 6d31222f7c Bug 1577743 - Remove dead argument from nsStyledElement::ReparseStyleAttribute. r=heycam
And remove the NodeInfoChanged override that used to call it.

This is dead since we removed the old style system. Was used to force a reparse
on cross-style-back-end adoption.

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

--HG--
extra : moz-landing-system : lando
2019-09-04 00:16:28 +00:00
arthur.iakab 4ea120b5cb Backed out changeset e3f06f11de62 (bug 1237782) for causing browser-chrome failure on automation.py CLOSED TREE 2019-09-03 21:04:49 +03:00
Ehsan Akhgari 86c74f0485 Bug 1576641 - Add two new content blocking event flags to indicate a tracking/social-tracking cookie has been loaded in a tab; r=baku,droeh
Differential Revision: https://phabricator.services.mozilla.com/D44216

--HG--
extra : moz-landing-system : lando
2019-09-03 17:37:43 +00:00
Jonathan Kingston dbfd29b586 Bug 1237782 - Remove http override and add appcache pref r=baku
Differential Revision: https://phabricator.services.mozilla.com/D44472

--HG--
extra : moz-landing-system : lando
2019-09-03 16:44:13 +00:00
Jon Coppeard 335ff4bf5d Bug 1518138 - Make RunNextCollectorTimer trigger full GCs to address out of memory errors running JS reftests r=smaug
This doesn't fix the underlying problem but makes RunNextCollectorTimer more aggressive in what it does. Testing shows this substantially reduces the max GC heap size while running these tests as well as vsize and RSS. Hopefully this will fix the problem with the tests failing while we work out a good solution for the underlying issue.

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

--HG--
extra : moz-landing-system : lando
2019-09-03 12:21:45 +00:00
Mirko Brodesser 92df4c2ad8 Bug 1577425: add `nsPlainTextSerializer::OutputManager`. r=hsivonen
In order to encapsulate the output together with `mAtFirstColumn`.

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

--HG--
extra : moz-landing-system : lando
2019-09-03 09:03:17 +00:00
Edgar Chen d9f0623861 Bug 1577175 - Part 2: Add tests; r=smaug
Differential Revision: https://phabricator.services.mozilla.com/D44360

--HG--
extra : moz-landing-system : lando
2019-09-02 22:45:11 +00:00
Edgar Chen 463e0e6d20 Bug 1577175 - Part 1: Set UserGestureActivation in all ancestor of the BrowsingContext that user has interacted with; r=smaug
Differential Revision: https://phabricator.services.mozilla.com/D44358

--HG--
extra : moz-landing-system : lando
2019-09-02 22:25:57 +00:00
Bogdan Tara 19972acbe5 Backed out changeset 55f62128b50b (bug 1577425) for bustages complaining about nsPlainTextSerializer.h CLOSED TREE 2019-09-02 18:23:39 +03:00