Commit Graph

598434 Commits

Author SHA1 Message Date
Markus Stange
878b529707 Bug 1462784 - Rename the CSS category to LAYOUT. r=njn
The next changeset is going to move over more annotations that Gecko developers
would count as "layout" into the LAYOUT category, and which is currently marked
as GRAPHICS.
We can add a subcategory for style resolution once we have subcategories, but
for now I think it makes more sense to put style resolution into the same bucket
as reflow and display list building.

MozReview-Commit-ID: 7r9eICVBA1Z

--HG--
extra : rebase_source : ce2df7a07522e99b0ccb59e40a8eae590ebfe834
2018-05-18 17:40:52 -04:00
Markus Stange
abf5056ead Bug 1462784 - Remove EVENTS category. r=njn
Categories are useful to indicate: This much % of time was spent in this category.

The EVENTS category isn't a very good match for this. This category is currently
only set on labels of functions that handle the processing of an event. But
those functions are usually closer to the base of the stack, and the actual CPU
work during the processing of an event is usually in another category closer to
the top of the stack, e.g. in JS if we're running an event handler, or in LAYOUT
if we're hit testing the position of the event.

This changeset removes the EVENTS category and replaces all uses of it with the
OTHER category.

MozReview-Commit-ID: JPm5hQiBkvp

--HG--
extra : rebase_source : 66f8ee003d2f70111f4cff16d6e2d906ef4bf10b
2018-05-18 17:36:30 -04:00
Markus Stange
973f0de3fa Bug 1462784 - Merge GC and CC categories into one category. r=njn
They're very similar as far as most users of the profiler are concerned, I'd
say, and I don't believe it's worth giving them two different colors in the
activity graphs.

MozReview-Commit-ID: HTqjp56naL3

--HG--
extra : rebase_source : cf8d64bc3e76ed9bb07100081aebfc404845b8bc
2018-05-18 17:23:33 -04:00
Markus Stange
b085be8aeb Bug 1462784 - Change the enum ProfilingStackFrame::Category from a bitfield to a regular enum. r=njn
MozReview-Commit-ID: HmDu8Rri5AF

--HG--
extra : rebase_source : 91437b2d4fb6b81b1971d3966c4e1a4bbe2cf036
2018-05-18 17:06:13 -04:00
Panos Astithas
15b7539570 Bug 1455694 - Record the number of CPU cores in the profile. r=mstange
MozReview-Commit-ID: 3S6KV4apUwG

--HG--
extra : rebase_source : bcd2f83024dfb7af7c833a5cbbd5fd1b6f082e65
2018-05-30 22:15:30 -07:00
Csoregi Natalia
fc2ed6e92a Backed out 18 changesets (bug 1462784) for ESlint failure on FlameGraph.js:1297. CLOSED TREE
Backed out changeset 79556798ff9f (bug 1462784)
Backed out changeset 88321efb673b (bug 1462784)
Backed out changeset 7880f9dc7023 (bug 1462784)
Backed out changeset 71fe35fd1f7e (bug 1462784)
Backed out changeset a543b94b049a (bug 1462784)
Backed out changeset d1ca8b0f2221 (bug 1462784)
Backed out changeset 68eabfbf3c16 (bug 1462784)
Backed out changeset 34e71c789903 (bug 1462784)
Backed out changeset 6fe79d1ca1bd (bug 1462784)
Backed out changeset e5ad2e525ea9 (bug 1462784)
Backed out changeset 329645ff1e23 (bug 1462784)
Backed out changeset e09c38853172 (bug 1462784)
Backed out changeset 0663d1a6d2da (bug 1462784)
Backed out changeset 106967fc29d2 (bug 1462784)
Backed out changeset 99b4a433a8e5 (bug 1462784)
Backed out changeset 1d38a4cf5a4a (bug 1462784)
Backed out changeset 692017229de6 (bug 1462784)
Backed out changeset c2911a626671 (bug 1462784)
2018-06-01 23:42:00 +03:00
Harry Twyford
c9db70e774 Bug 1453722 - Improvements to Dark Theme search bar. r=dao
MozReview-Commit-ID: AH3QVBRKymc

--HG--
extra : rebase_source : d30c465bb72f11484183932633b44822e7ccddb3
2018-06-01 11:13:27 -04:00
Markus Stange
c4f749faf8 Bug 1462784 - Update the devtools performance panel for the new category list. r=gregtatum
MozReview-Commit-ID: HwRFEfgA4L

--HG--
extra : rebase_source : 17453521abd14516e7f4b4635b864d0cacc24498
extra : histedit_source : 349127e9f4cca9e710ba6f2615dca0d4aca51ad4%2Cef997f401b8b3cb80a7c99e6cf51af7c58755a60
2018-05-23 23:11:41 -04:00
Markus Stange
ff3257192f Bug 1462784 - Add the list of categories into the profile JSON and bump the version to 11. r=njn
MozReview-Commit-ID: 1g4WqsWFFbg

--HG--
extra : rebase_source : 4bc8d9569ab97246723d4481aeddcbcccd648ab2
2018-05-25 17:28:39 -04:00
Markus Stange
8aaf6f7c90 Bug 1462784 - Annotate idle stacks in nsThreadPool. r=froydnj
MozReview-Commit-ID: GtHBHQiXpf3

--HG--
extra : rebase_source : be3703a710058930bfbcd53463137ab4151356c4
2018-05-24 08:58:44 -04:00
Markus Stange
082a602ba6 Bug 1462784 - Add idle annotations for DOM worker threads. r=froydnj
MozReview-Commit-ID: 7WM1ALzhDzY

--HG--
extra : rebase_source : 0461f8c5facfc90357449d0b904259203a16f8eb
2018-05-21 02:37:45 -04:00
Markus Stange
372fc9146d Bug 1462784 - Annotate idle stacks in the native event loop on Linux. r=froydnj
MozReview-Commit-ID: 3Q2A7ytsn1Y

--HG--
extra : rebase_source : 10d03534bdb9c9f75ad74961bfb7a5970ac834f6
2018-05-18 18:59:47 -04:00
Markus Stange
79e50e2622 Bug 1462784 - Annotate idle stacks in the native event loop on Windows. r=froydnj
MozReview-Commit-ID: A0c3ZLLkLUC

--HG--
extra : rebase_source : 44b0e93455798dcbebdedf608c671db974f98d32
2018-05-18 18:59:05 -04:00
Markus Stange
b2ddecd9e1 Bug 1462784 - Annotate idle stacks in the native event loop on macOS. r=spohl
MozReview-Commit-ID: HD48iBTT8EN

--HG--
extra : rebase_source : 9d3641085bd602bb9ccf92b0f439861217570373
2018-05-16 13:31:02 -04:00
Markus Stange
11e9f7cb35 Bug 1462784 - Annotate idle stacks in the main thread event loop. r=froydnj
MozReview-Commit-ID: I4WSeZtXPBD

--HG--
extra : rebase_source : 34057b3394d0557156a9d5ab82695b352786707d
2018-05-16 13:26:51 -04:00
Markus Stange
2eecff51ad Bug 1462784 - Annotate idle stacks in the chromium event loop. r=froydnj
MozReview-Commit-ID: Ac8H02GKnmV

--HG--
extra : rebase_source : 3bbf0398b2a2152a9000d51f04688436832f81e1
2018-05-18 18:17:21 -04:00
Markus Stange
4e14f33065 Bug 1462784 - Add an IDLE category. r=njn
MozReview-Commit-ID: JJ30AhXofBr

--HG--
extra : rebase_source : 17892aee7f637d2e4854173bef26c591c62ad21e
2018-05-18 18:15:46 -04:00
Markus Stange
3f54b9a3dd Bug 1462784 - Relabel various other stuff as being OTHER. r=njn
Any more specific work that is happening in these methods will have its own
specific category labeling in that specific code. The instances touched in this
patch are more on the outside and don't really know what kind of code is going
to be running inside.

MozReview-Commit-ID: 47NO1DZzkdH

--HG--
extra : rebase_source : f807c14bf6a592e0c651e15b63d1e7d63e4b0159
2018-05-18 17:58:43 -04:00
Markus Stange
b229cac853 Bug 1462784 - Remove the STORAGE category. r=njn
This was used to label IndexedDB work and work in storage/mozStorage*.
I don't think this deserves its own category; categories are most useful for
the main thread, and most of the time-consuming database-related work happens
on helper threads. The main thread pieces are mostly for asynchronicity-
coordination and don't usually take up time.

This patch labels IndexedDB work as DOM instead (which is maybe debatable) and
the rest as OTHER.

MozReview-Commit-ID: 3UYhFFbi3Ry

--HG--
extra : rebase_source : f83946138d8311ea5aa91f537a1d8e420e784068
2018-05-18 17:55:18 -04:00
Markus Stange
1da5dfa148 Bug 1462784 - Add a DOM category and use it for the WebIDL binding stack labels. r=njn
MozReview-Commit-ID: AevGMqeBvXO

--HG--
extra : rebase_source : 463fd96712fb5b389fd67ce97a3de19f86d37558
2018-05-18 17:49:55 -04:00
Markus Stange
f4978ecd63 Bug 1462784 - Annotate layout-related stacks with the LAYOUT category instead of the GRAPHICS category. r=njn
MozReview-Commit-ID: 77lvtLaxgEE

--HG--
extra : rebase_source : 4490268f02b60919d3c958e07afb7e3963b611c5
2018-05-18 17:46:59 -04:00
Markus Stange
d911ceb72c Bug 1462784 - Rename the CSS category to LAYOUT. r=njn
The next changeset is going to move over more annotations that Gecko developers
would count as "layout" into the LAYOUT category, and which is currently marked
as GRAPHICS.
We can add a subcategory for style resolution once we have subcategories, but
for now I think it makes more sense to put style resolution into the same bucket
as reflow and display list building.

MozReview-Commit-ID: 7r9eICVBA1Z

--HG--
extra : rebase_source : f447dcbb9d81be81a418c7464ef814ce4778073b
2018-05-18 17:40:52 -04:00
Markus Stange
be4332c903 Bug 1462784 - Remove EVENTS category. r=njn
Categories are useful to indicate: This much % of time was spent in this category.

The EVENTS category isn't a very good match for this. This category is currently
only set on labels of functions that handle the processing of an event. But
those functions are usually closer to the base of the stack, and the actual CPU
work during the processing of an event is usually in another category closer to
the top of the stack, e.g. in JS if we're running an event handler, or in LAYOUT
if we're hit testing the position of the event.

This changeset removes the EVENTS category and replaces all uses of it with the
OTHER category.

MozReview-Commit-ID: JPm5hQiBkvp

--HG--
extra : rebase_source : fb1ff20aeebb7ac494227e62ba2101039578808c
2018-05-18 17:36:30 -04:00
Markus Stange
f6174e54cf Bug 1462784 - Merge GC and CC categories into one category. r=njn
They're very similar as far as most users of the profiler are concerned, I'd
say, and I don't believe it's worth giving them two different colors in the
activity graphs.

MozReview-Commit-ID: HTqjp56naL3

--HG--
extra : rebase_source : ed1dc54efd143ad64bc21cfc39853ae90477cc9d
2018-05-18 17:23:33 -04:00
Markus Stange
af98aa91cf Bug 1462784 - Change the enum ProfilingStackFrame::Category from a bitfield to a regular enum. r=njn
MozReview-Commit-ID: HmDu8Rri5AF

--HG--
extra : rebase_source : c4e48ead83351697c6cc417e546ad862342c6e8e
2018-05-18 17:06:13 -04:00
James Graham
d5f5868cb9 Bug 1466124 - Readd new_disabled flag on expectation manifest root, r=maja_zf
This was unintentionally removed in Bug 1265584.

MozReview-Commit-ID: 1t5Aq7OuI0x

--HG--
extra : rebase_source : fc8db167d0d3263bd66a68bfeef051d0574a115a
2018-05-30 16:48:50 +01:00
Mathieu Leplatre
5d67782ca2 Bug 1463750 - Move RemoteSettings to services/settings/ r=mgoodwin
MozReview-Commit-ID: 7IwUysPBHZu

--HG--
rename : services/common/remote-settings.js => services/settings/remote-settings.js
rename : services/common/tests/unit/test_remote_settings.js => services/settings/test/unit/test_remote_settings.js
rename : services/common/tests/unit/test_remote_settings_jexl_filters.js => services/settings/test/unit/test_remote_settings_jexl_filters.js
rename : services/common/tests/unit/test_remote_settings_poll.js => services/settings/test/unit/test_remote_settings_poll.js
extra : rebase_source : 19384aaa4f1598bccdb856d164a96b66d36d1a39
2018-05-24 15:32:40 +02:00
Daniel Holbert
a053a5beb0 Bug 1465884: Back out no-longer-needed diagnostic for networking crash. r=mcmanus
This commit is a (rebased) backout of changeset 016bcae14073 from bug 1322610,
which simply added a diagnostic to gather more information about a crash.
We can remove that diagnostic now, hence this commit.

MozReview-Commit-ID: 6ea7SAX4PSV

--HG--
extra : rebase_source : c13d9cd5bac4761cfe2dab51f67967462b1bd962
2018-05-31 12:32:57 -07:00
Tom Prince
09e6aba6a8 No bug: [source-docs] Log the file being uploaded; r=gps
Differential Revision: https://phabricator.services.mozilla.com/D1479
2018-06-01 18:13:08 +00:00
Csoregi Natalia
f1eddfcf6a Backed out changeset 9b26de736798 (bug 1461477) for multiple CreditCards failures e.g. browser_manageCreditCardsDialog.js . CLOSED TREE 2018-06-01 21:04:39 +03:00
Jim Chen
f5ea78407f Bug 1463576 - 8. Hide selection actions on pagehide; r=snorp
When the page navigates away, we should hide any active selection
actions.

MozReview-Commit-ID: 2LojAuPxyyl

--HG--
extra : rebase_source : 26240a67d036f313bece348a6b6106fd893fc853
2018-06-01 13:39:21 -04:00
Jim Chen
510abaf834 Bug 1463576 - 7. Simplify clipboard code; r=snorp
Don't use a different thread when accessing the clipboard. The original
issue was using the clipboard required a thread with a Looper, when
GeckoThread did not have one. It does have one now so it's safe to
access the clipboard there.

Also, make hasText() return false for empty strings to avoid us
mistakenly think there is something on the clipboard.

MozReview-Commit-ID: AwKEcNnIkhT

--HG--
extra : rebase_source : 1af21efddcf461826a0da9b0407e27ee22d9cc31
2018-06-01 13:39:21 -04:00
Jim Chen
0680f56d02 Bug 1463576 - 6. Refactor GeckoRuntime; r=jchen
Add UI thread checks and reformat some code in GeckoRuntime.

MozReview-Commit-ID: 2AE1IZGFnQd

--HG--
extra : rebase_source : 16650dec8bedf1988b136c09135ce6833b651c57
2018-06-01 13:39:21 -04:00
Jim Chen
0896222d8d Bug 1463576 - 5. Use docshell commands for selection actions; r=snorp
Use nsIDocShell.doCommand to perform selection actions, in order to
simplify code in GeckoViewSelectionActionContent.

MozReview-Commit-ID: IWVh7XfQ5l8

--HG--
extra : rebase_source : eed3862b1d3f6216fc02cb565626aa58a45c5a44
2018-06-01 13:39:21 -04:00
Jim Chen
017b39944c Bug 1463576 - 4. Add SelectionActionDelegateTest; r=snorp
Add SelectionActionDelegateTest, which includes tests for all built-in
selection actions, for multiple content types such as input or
contentEditable.

MozReview-Commit-ID: Dzlzjo233Fe

--HG--
extra : rebase_source : 2d00bce24b1e7581d728994be8b63b40f6899003
2018-06-01 13:39:21 -04:00
Jim Chen
fa438fac20 Bug 1463576 - 3. Add external delegate support in GeckoSessionTestRule; r=snorp
Add support for using non-GeckoSession, external delegates with
GeckoSessionTestRule, so we can wait on the clipboard to change during a
test, for example.

MozReview-Commit-ID: D8sfJ8gMLaY

--HG--
extra : rebase_source : 7ff54c962fd1b8b0db78312558d3414ac29e3343
2018-06-01 13:39:20 -04:00
Jim Chen
3442eee048 Bug 1463576 - 2. Add test-only geckoview.selection_action.show_on_focus pref; r=jchen
Add the "geckoview.selection_action.show_on_focus" pref for testing
only. The pref makes us show selection actions when the selection is
initially collapsed in an editor, which makes it easier to test behavior
for collapsed selections.

MozReview-Commit-ID: 3U6UfzokHaI

--HG--
extra : rebase_source : fa99dc24e50e09a905664e70ebc34b0ad219dfff
2018-06-01 13:39:20 -04:00
Jim Chen
81118778f8 Bug 1463576 - 1. Add layout.accessiblecaret.script_change_update_mode pref; r=bz
Currently, if the "layout.accessiblecaret.allow_script_change_updates"
pref is false, we always hide accessible carets when the selection
changes due to JS calls (e.g. setSelectionRange(0, 1)). If the pref is
true, instead, we update the accessible carets if they are already
visible. In either case, we never show the carets if they're invisible.

However for testing purposes, it's useful to make it so we do try to
show the carets if they're invisible. This patch replaces that pref with
the new integer pref "layout.accessiblecaret.script_change_update_mode",
which can be 0 or 1, which correspond to the old pref, or the value 2,
which introduces this new behavior of always showing the carets.

MozReview-Commit-ID: Bf1gPpIzcyb

--HG--
extra : rebase_source : 5eaba6c18d800da425d5e21f61af880678d7fe3c
2018-06-01 13:39:20 -04:00
Anny Gakhokidze
905d2e81e3 Bug 1351193 - Part 3: Update status of affected Web-Platform tests, r=Nika
Because of modifications to the DataTransfer constructors, the status of the tests that use DataTransfer objects had to be changed to reflect the fact that those tests now pass. Additionally, a test had to be deleted because it tested an obscure situation using the old Chrome only constructor.

MozReview-Commit-ID: LOWuPwh0NeW

--HG--
extra : rebase_source : bdfb4509b54925a27fb3fe7b83cb97ed4ea6d877
2018-05-25 13:59:56 -04:00
Anny Gakhokidze
731da2a447 Bug 1351193 - Part 2: Prevent content sniffing of the response in original echo-content.py, r=Nika
The changes made to echo-content.py are the same as the ones made in Bug
1435781.

MozReview-Commit-ID: GEPJxuptBii

--HG--
extra : rebase_source : 5ff06e70c52b2bf5666e2b79f11368dfe5a500fa
2018-05-24 17:41:25 -04:00
Anny Gakhokidze
10ee7497cf Bug 1351193 - Part 1: Added new DataTransfer constructor, r=Nika
Deleted the old Chrome DataTransfer constructor because it was only used
for some tests which can be easily changed. Added a new constructor that
is not Chrome Only.

MozReview-Commit-ID: HjcgafSiWfM

--HG--
extra : rebase_source : 987afee2b6568bcf15c2ad99e715e6e0a112e3ed
2018-05-23 11:57:08 -04:00
Anny Gakhokidze
9d2274bc09 Bug 1464205 - Clear cached values unconditionally in DataTransferItemList::SetDataWithPrincipal, r=Nika
MozReview-Commit-ID: 9HLkDwNkdo7

--HG--
extra : rebase_source : 95a67b968bba5a49f805418486b5072c98ee0390
2018-05-25 10:35:43 -04:00
Anny Gakhokidze
0be83b1ffa Bug 1464211 - In DataTransferItemList::Remove do not throw an error if deleting nonexistent item, r=Nika
In the spec, https://html.spec.whatwg.org/multipage/dnd.html#dom-datatransferitemlist-remove,
DataTransferItemList::Remove does not specify that an error should be thrown if a nonexistent item
is to be removed.

MozReview-Commit-ID: 8HriMr6poTY

--HG--
extra : rebase_source : 25658d2dcda19f7db0d3df57492d7175833e90e2
2018-05-25 10:43:36 -04:00
Gregory Szorc
776e41b866 Bug 1465996 - Disable l10n-check in code coverage builds; r=ted
Because we don't care about them for this build configuration.

MozReview-Commit-ID: JKEN2pN2x4K

--HG--
extra : rebase_source : b7ce0228f7086a5f933a7cdd6c4695eabb1530f1
2018-05-31 17:35:52 -07:00
Dão Gottwald
cde050c206 Bug 1465497 - Stop setting a color on hovered checkboxes and radio buttons. r=jaws
Gtk checkboxes and radio buttons used to render a solid background on hover and so we also set a text color for that state. Apparently we're not getting that background anymore.

MozReview-Commit-ID: 7c5dbWroRbP

--HG--
extra : rebase_source : 4159ac0ff197f700e86692c7d1d939601c1453bd
2018-06-01 18:46:40 +02:00
Jared Wein
2c05715cdd Bug 1461477 - Create a CreditCard.jsm to consolidate various credit card handling and validation. r=MattN
MozReview-Commit-ID: 3tJdzU3hBvY

--HG--
extra : rebase_source : 10f10ef89f2ee20ccd01fb94d230261df19985c6
2018-05-15 12:41:35 -04:00
Tom Prince
3b6ab041c5 Bug 1458700: [release] Don't hard-code firefox in bouncer filenames; r=jlorenzo
This allows thunderbird to be supported.

Differential Revision: https://phabricator.services.mozilla.com/D1484
2018-06-01 16:54:51 +00:00
Tom Prince
601875af82 Bug 1458700: [release] Allow passing extra-config to bouncer-check from taskcluster; r=jlorenzo
This allows passing configuration like `bouncer_prefix` per-branch, without
needing multiple mozharness configs.

Differential Revision: https://phabricator.services.mozilla.com/D1483
2018-06-01 09:10:54 +00:00
Dustin J. Mitchell
09632bab66 Bug 1459274 - update BUG_COPMONENT to represent reality; r=gps
MozReview-Commit-ID: 7J0DRtwDoRY

--HG--
extra : rebase_source : 15e6b667441cc11d72d067c926f4b6f598953b01
extra : source : 4d76259df5e263df8ed7338e24d1c752e12c9de6
2018-06-01 13:47:35 +00:00
Julian Descottes
f5969ec9dc Bug 1454696 - Update console stubs to use const rather than let;r=nchevobbe
MozReview-Commit-ID: DqquWq8anJ0

--HG--
extra : rebase_source : 0ebdde99dd84c04f2bba78bc801172d0bd8ce0b3
2018-06-01 15:19:44 +02:00