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

556775 Коммитов

Автор SHA1 Сообщение Дата
Doug Thayer 8aae071723 Bug 1382440 - Watch CPU usage in BHR r=froydnj
We would like to be able to see if a given hang in BHR occurred
under high CPU load, as this is an indication that the hang is
of less use to us, since it's likely that the external CPU use
is more responsible for it.

The way this works is fairly simple. We get the system CPU usage
on a scale from 0 to 1, and we get the current process's CPU
usage, also on a scale from 0 to 1, and we subtract the latter
from the former. We then compare this value to a threshold, which
is 1 - (1 / p), where p is the number of (virtual) cores on the
machine. This threshold might need to be tuned, so that we
require an entire physical core in order to not annotate the hang,
but for now it seemed the most reasonable line in the sand.

I should note that this considers CPU usage in child or parent
processes as external. While we are responsible for that CPU usage,
it still indicates that the stack we receive from BHR is of little
value to us, since the source of the actual hang is external to
that stack.

MozReview-Commit-ID: JkG53zq1MdY

--HG--
extra : rebase_source : 16553a9b5eac0a73cd1619c6ee01fa177ca60e58
2017-07-24 13:46:09 -07:00
Wes Kocher f66c96f2c8 Backed out 2 changesets (bug 1396723) for build failures in TestDoublyLinkedList.cpp a=backout
Backed out changeset 1c0f9d069ade (bug 1396723)
Backed out changeset 6ca94a450b81 (bug 1396723)

MozReview-Commit-ID: 2w3WTvhpg6J
2017-09-06 14:30:41 -07:00
Andrew McCreight d2d60daa42 Bug 1397460 - Don't throw for a failure in cpows_child.js. r=billm
When ok() is passed false, we send a message to the parent, which will
cause the test to fail. Throwing in this helper in the child just
makes the test hang for a while.

MozReview-Commit-ID: 4gwBACPYfDO

--HG--
extra : rebase_source : 10f1ee6d013fc731a4bf5bb8365924723e19f9ca
2017-09-06 13:45:22 -07:00
Mike Conley 210c56da5f Bug 1387130 - Use original tabstrip scrolling behaviour when using scrollbuttons. r=dao
In bug 1356705, we switched scrollbox to use CSS smooth scroll when
the scrollbox is configured to scroll smoothly. This caused the tab
strip to scroll with a "pulse" when using the arrow scrollbuttons.
This is because we scroll by a single tab each time, as opposed to
scrolling by pixels.

This reverts part of bug 1356705 so that we use instant scrolling
instead of smooth scrolling in the scrollbuttons case, which returns
the original behaviour of the strip without the pulse.

MozReview-Commit-ID: D8QQ8kQ7AjM

--HG--
extra : rebase_source : 400f0085b4b914003bfb2a235d2c62bc0f53ab66
2017-09-06 13:28:48 -04:00
Mike Hommey d946f42f29 Bug 1396723 - Use DoublyLinkedList in mozjemalloc. r=froydnj
Mozjemalloc uses its own doubly linked list, which, being inherited from
C code, doesn't do much type checking, and, in practice, is rather
similar to DoublyLinkedList, so use the latter instead.

--HG--
extra : rebase_source : 7f2c03d6ba5c1da5d8badb0de710b7900e9d00c1
2017-09-02 08:55:42 +09:00
Mike Hommey 9a3dd41f50 Bug 1396723 - Simplify the trait users of DoublyLinkedList need to define. r=froydnj
While the flexibility of the current trait is nice, it's actually not
used to its fullest anywhere, and is boilerplate-y. While it is useful
to be able to put the links anywhere, there's not much usefulness from
being able to split mNext and mPrev.

So instead of a trait that allows to get/set mNext and mPrev
independently, we just use a trait that tells how to get a reference to
a DoublyLinkedListElement from a list element itself.

--HG--
extra : rebase_source : b7d502754a764670e291acdd56726948db935497
2017-09-02 08:09:58 +09:00
Alexis Beingessner 3ce36bee8a Bug 1395729 - Disable frame merging for nsTextFrame. r=mattwoodrow
MozReview-Commit-ID: C0kq5IYgUMG

--HG--
extra : rebase_source : 554424e067dba4c5ed39712a51f48f79912e6e6a
2017-09-06 13:49:31 -04:00
Wes Kocher bdcf67c5c3 Backed out changeset 80e9cd4126b4 (bug 1397052) for adding a hazard to the build a=backout
MozReview-Commit-ID: I5ZLNHEfj1j

--HG--
extra : rebase_source : 2fca456cfec65b668247cd6236ff1d146857f7c7
2017-09-06 13:54:07 -07:00
Navid 275812fbcb Bug 1397440 - Added a very useful comment r=rillian
This is a practice commit to clarify what arguments we're accepting.

MozReview-Commit-ID: 2qQbNAYzGwr

--HG--
extra : rebase_source : 26527c08c32d79f794601afdd7832fa0ed53ecf7
2017-09-06 16:36:22 -04:00
Wes Kocher a65f83f1c8 Backed out changeset 3adbca67c67a (bug 1386384) for failures in browser_webconsole_check_stubs_css_message.js a=backout
MozReview-Commit-ID: KcVljvaTReX
2017-09-06 13:47:13 -07:00
Josh Matthews 9611377468 servo: Merge #18396 - Reduce duplication in generated ServoComputedData::to_declaration_block (from jdm:codesize); r=emilio
This reduces the size of the code in libXUL by 23.4k according to bloaty.

---
- [x] `./mach build -d` does not report any errors
- [x] `./mach test-tidy` does not report any errors

Source-Repo: https://github.com/servo/servo
Source-Revision: af587e5f84cabaa9fd500438adb1d24218b898e2

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : 609c1d31dcd6bfc910510c92a93a1df4b9a4be7a
2017-09-06 13:44:30 -05:00
Tom Tromey 56aed5d1d1 Bug 1390455 - regression test for CSS rule columns; r=gl,jryans
This adds an integration test for the CSS rule column issue from bug
1390455.  The fix was landed in upstream rust-cssparser.

MozReview-Commit-ID: 34rLhe3BCqx

--HG--
extra : rebase_source : 2b2bcf88ca3a2ba2b90bc703d7c4e07a2422ca7f
2017-09-05 11:39:45 -06:00
Wes Kocher 2ffe3f0783 Backed out 7 changesets (bug 1364364) for failures in test_multi_sharedWorker_lifetimes.html a=backout
Backed out changeset 6298563c1a81 (bug 1364364)
Backed out changeset 285633e277cb (bug 1364364)
Backed out changeset 6abd3298188a (bug 1364364)
Backed out changeset 6a0ec9eff8c3 (bug 1364364)
Backed out changeset f23aa9861e9b (bug 1364364)
Backed out changeset 5d6bf02b495a (bug 1364364)
Backed out changeset c9420f4e27f7 (bug 1364364)

MozReview-Commit-ID: IAFeH325T14

--HG--
rename : dom/indexedDB/test/bfcache_page1.html => dom/indexedDB/test/bfcache_iframe1.html
rename : dom/indexedDB/test/bfcache_page2.html => dom/indexedDB/test/bfcache_iframe2.html
rename : dom/media/webspeech/synth/test/file_bfcache_page1.html => dom/media/webspeech/synth/test/file_bfcache_frame.html
rename : dom/media/webspeech/synth/test/file_bfcache_page2.html => dom/media/webspeech/synth/test/file_bfcache_frame2.html
rename : dom/workers/test/WorkerDebugger_frozen_window1.html => dom/workers/test/WorkerDebugger_frozen_iframe1.html
rename : dom/workers/test/WorkerDebugger_frozen_window2.html => dom/workers/test/WorkerDebugger_frozen_iframe2.html
rename : dom/workers/test/suspend_window.html => dom/workers/test/suspend_iframe.html
2017-09-06 13:07:13 -07:00
Alexandre Poirot 4a603969ef Bug 1396600 - Make some efforts to lazy load properties-db. r=tromey
MozReview-Commit-ID: LGgVb5kxN7X

--HG--
extra : rebase_source : e4acc31da93eb8d88f5dbc075036d1130511ceee
2017-09-06 18:54:07 +02:00
Josh Mattheus 1642794aa1 Bug 1386900 - Add test for parsing invalid filter values. r=xidorn
MozReview-Commit-ID: FxbyxXRGmBB
2017-09-06 21:26:27 +02:00
J. Ryan Stinnett c1ce25b771 Bug 1386384 - Update DevTools CSS stubs for Stylo. r=bgrins
Two specific changes have occurred with Stylo:

* `lineText` is no longer set because it caused performance regressions to
  compute it and it is currently unused by DevTools.
* `columnNumber` is computed differently with Stylo.  It's currently the
  beginning of property, instead of the end.  Bug 1378861 is filed for future
  improvements to this info.

MozReview-Commit-ID: 5vTdjNbuhXe

--HG--
extra : rebase_source : 7a21eacb97b89f067d448c252c5e8a4e4307889c
2017-09-06 12:34:57 -05:00
Ed Lee 0d6e05576c Bug 1396282 - Add query for getting Highlights (recent bookmarks and recent history with metadata). r=mak
Adds index to moz_bookmarks.dateAdded for use by Highlights query for recent bookmarks.
MozReview-Commit-ID: 7Gs8H0kUij2

--HG--
extra : rebase_source : 23498bcde4faeeb116c534dc9e124429a86d3e14
2017-09-02 13:15:04 -07:00
Ed Lee 85b1aa47dd Bug 1389125 - Refactor ActivityStreamProvider in preparation for Highlights. r=ursula
Add helpers for shared adjusting limit, bookmarkGuid sub-SELECT, WHERE and params. More efficiently select https and correctly select bookmarks. Remove _addETLD, getHistorySize and getBookmarksSize. Allow for activity stream caller to customize more options.

MozReview-Commit-ID: Lj9AhoFJar

--HG--
extra : rebase_source : fb4bb13969b47c28c1a137075304efb23c254182
2017-09-02 13:13:52 -07:00
Samael Wang 2ec05bb44f Bug 1364364 - Part 6: Re-connect nsDocViewerFocusListener in nsDocumentViewer::Open. r=smaug
I noticed this error message on fixing dom/workers/test/test_suspend.html:

WARNING: NS_ENSURE_TRUE(mDocViewer) failed:
	file layout/base/nsDocumentViewer.cpp, line 3863

It happens when a nsDocumentViewer::Close() is followed by a
nsDocumentViewer::Open(), the viewer would have been disconnected. Since it
takes only one-line change to fix I just include it in this bug.

MozReview-Commit-ID: LMT2PJkUqi1

--HG--
extra : rebase_source : cff6ccb42610cfdcaaf0ab58aa16751e78bdc9a4
2017-09-05 18:16:10 +08:00
Samael Wang 72673db64d Bug 1364364 - Part 5.2: Remove browser.sessionhistory.cache_subframes and fix test cases relying on it. r=smaug
browser.sessionhistory.cache_subframes has been disabled for 12yrs. It's not
actually maintained and it leaks content viewers. Using this unreliable feature
in test cases is a bad practice, so remove the pref completely and fix existing
test cases.

MozReview-Commit-ID: 3tQLpsqmmaq

--HG--
extra : rebase_source : 567e01703983ef91a66fb35fdb7702d06ed3c6e4
2017-09-05 16:02:04 +08:00
Samael Wang c89347b1c0 Bug 1364364 - Part 5.1: Rename frame/iframe.html of to-be-modifed test cases. r=smaug
Since git lacks of native rename command, git-cinnabar can only recognize
and convert plain mv to hg rename, so I need a separated patch for renaming.

MozReview-Commit-ID: 4M6n5wIWoFl

--HG--
rename : dom/indexedDB/test/bfcache_iframe1.html => dom/indexedDB/test/bfcache_page1.html
rename : dom/indexedDB/test/bfcache_iframe2.html => dom/indexedDB/test/bfcache_page2.html
rename : dom/media/webspeech/synth/test/file_bfcache_frame.html => dom/media/webspeech/synth/test/file_bfcache_page1.html
rename : dom/media/webspeech/synth/test/file_bfcache_frame2.html => dom/media/webspeech/synth/test/file_bfcache_page2.html
rename : dom/workers/test/WorkerDebugger_frozen_iframe1.html => dom/workers/test/WorkerDebugger_frozen_window1.html
rename : dom/workers/test/WorkerDebugger_frozen_iframe2.html => dom/workers/test/WorkerDebugger_frozen_window2.html
rename : dom/workers/test/suspend_iframe.html => dom/workers/test/suspend_window.html
extra : rebase_source : 59bcddcb0eaf0c335ded6df90b497f1fa97a63c0
2017-09-05 15:57:21 +08:00
Samael Wang 40f3b05fec Bug 1364364 - Part 4: Add test case. r=smaug
MozReview-Commit-ID: BozQDPdx0MI

--HG--
extra : rebase_source : 861931ed42bd00cb698e051818d98808d828d65e
2017-08-30 17:00:12 +08:00
Samael Wang 1abc251a98 Bug 1364364 - Part 3: Clear dynamic subframe entries in RemoveFromBFCacheSync/Async. r=smaug
MozReview-Commit-ID: F8OTxbWIp5O

--HG--
extra : rebase_source : 000ac21b857f53268b6dae54ab76a44f1c7b0e3e
2017-08-24 15:17:39 +08:00
Samael Wang b05c486ba5 Bug 1364364 - Part 2: Extract a part of EvictExpiredContentViewerForEntry to a new function FindTransactionForBFCache, and implement RemoveDynEntriesForEntry on top of it. r=smaug
MozReview-Commit-ID: EzK2U0c94v8

--HG--
extra : rebase_source : 472fae2733efae09157b8440c466a8c5ccc6b626
2017-08-24 14:32:23 +08:00
Samael Wang e2a185808f Bug 1364364 - Part 1: Why are we declaring private virtual functions? r=smaug
MozReview-Commit-ID: KQxFTrEO1aq

--HG--
extra : rebase_source : 6b56cae60b7f82f3695d57d0e3f23bd59cc06756
2017-08-24 11:27:11 +08:00
Tom Ritter 568bd0f7fc Bug 1349912 Do not use win32 local includes for libstagefright on MinGW build r=froydnj
This duplicates all the win32 includes except pthread.h into a new directory
for MinGW. MinGW needs all the same dummy includes _except_ it needs its
own pthread.h for winpthreads.

MozReview-Commit-ID: AlIvHhFoSIS

--HG--
extra : rebase_source : aba50e79b0be3bc7306bd32b4010076a8ca1184b
2017-08-30 20:39:51 -05:00
Felipe Gomes 5241aa4c05 Bug 1397379 - getStringPref in clicktoplay-rollout addon throws for new profiles. r=Gijs
MozReview-Commit-ID: GN0Cgl3jqK5

--HG--
extra : rebase_source : 6e2532876a65641e407f72b65d1bff8c7f62ecec
2017-09-06 15:33:57 -03:00
Josh Matthews 52e444ade8 servo: Merge #18394 - Report more specific error for invalid filter properties (from jdm:filtererr); r=xidorn
Reviewed by xidorn in https://bugzilla.mozilla.org/show_bug.cgi?id=1386900.

---
- [X] `./mach build -d` does not report any errors
- [X] `./mach test-tidy` does not report any errors
- [X] These changes fix [bug 1386900](https://bugzilla.mozilla.org/show_bug.cgi?id=1386900).
- [X] There are tests for these changes

Source-Repo: https://github.com/servo/servo
Source-Revision: a7ea6741d38388bc562d5b1cb53e4bf581f6fafe

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : f5ac669e2aab0e477c7dd36dcb0de4b17ef40553
2017-09-06 12:18:41 -05:00
Bobby Holley 9e2964bc63 Bug 1397052 - Don't update |result| after the acquire fence in nsThreadSafeRefCnt::operator--. r=froydnj
MozReview-Commit-ID: 1Yp4kFXA5gV
2017-09-06 11:42:08 -07:00
Andrew McCreight 7f7f149167 Bug 1395636 - Convert code to use NS_IMPL_ISUPPORTS_CYCLE_COLLECTION_INHERITED. r=peterv
MozReview-Commit-ID: DivJPerL5SF

--HG--
extra : rebase_source : 890df75914906a5d34e8af67f9fc3a4be239d2d6
2017-08-31 16:29:22 -07:00
Dustin J. Mitchell d7b6f0148a Bug 1397318: mozlint -l py2 for taskcluster/; r=ahal
MozReview-Commit-ID: 1ZUOrIfxQef

--HG--
extra : rebase_source : c398af2faa83812a70213679d5cb4ad0024d8f7d
2017-09-06 17:29:32 +00:00
Francois Marier 92f446a67e Bug 1394053 - Disable download protection on non-official builds. r=gcp
This is a follow up to revision 05907bcce126.

MozReview-Commit-ID: L8jpGpIQa9K

--HG--
extra : rebase_source : fc83a5fecb3e8f9b61ba597ef8f61d78ffd18425
2017-09-05 12:49:48 -07:00
Edouard Oger f67e87ebd4 Bug 1373897 - Clear the succeeded records GUIDs list after each POST in non-batched mode. r=Grisha
MozReview-Commit-ID: 4VnYZc6gMkc

--HG--
extra : rebase_source : 85facf778436845d51848f4abbedd9609df5404b
2017-08-30 16:46:41 -04:00
Brian Grinstead 2ed7602d7a Bug 1394207 - Export a function to show the sidebar without firing focus for session restore;r=Gijs
MozReview-Commit-ID: uHrShpl2xJ

--HG--
extra : rebase_source : b9a79d541171982c6860edec366722821844f3e1
2017-09-06 08:58:10 -07:00
Brian Grinstead 935f53a280 Bug 1394207 - Only fire the SidebarFocused event for non-startup entry points;r=Gijs
If the sidebar is being opened during startup (either at delayedLoad or when being
adopted from another window), we don't want sidebar panels to steal focus from the page

MozReview-Commit-ID: 4mBP2dQdyKY

--HG--
extra : rebase_source : 1349ddcac55fc7bf7e02ff410e6d49d1c03facb3
2017-09-06 08:49:07 -07:00
Dão Gottwald c51246a9b1 Bug 1397285 - Set standard toolbarbutton-1 icon size as width rather than max-width to reserve space for icons while they're loading. r=johannh
MozReview-Commit-ID: 28cKHeOamDh

--HG--
extra : rebase_source : 82d4fabd0039f128960c91aeb9ea71f179a2422d
2017-09-06 16:33:22 +02:00
Sebastian Hengst 2f7f455fa1 Backed out changeset 9306866e8df0 (bug 1395636) for build bustage. r=backout on a CLOSED TREE
--HG--
extra : amend_source : 20d028d6b971cf6a221dc2f1553687d6c074bdcb
2017-09-06 19:18:06 +02:00
Dão Gottwald 056bbf6f27 Bug 1393505 - Prevent the overflow indicator background from repeating when it doesn't fill the whole element due to the border scaling differently. r=daleharvey
MozReview-Commit-ID: 28h2EI9A3R6

--HG--
extra : rebase_source : 6aef7af72f1c04ac18e257a29b1e42cd752487f5
2017-09-06 13:14:38 +02:00
Andrew McCreight 4d6e76dfcf Bug 1395636 - Convert code to use NS_IMPL_ISUPPORTS_CYCLE_COLLECTION_INHERITED. r=peterv
MozReview-Commit-ID: DivJPerL5SF

--HG--
extra : rebase_source : cb952cfc5600a163a5580438e5b0177595689dab
2017-08-31 16:29:22 -07:00
J. Ryan Stinnett aa01270ba7 Bug 1396997 - Update try pretty names for stylo-disabled jobs. r=froydnj
MozReview-Commit-ID: 9N54Hot4LdF

--HG--
extra : rebase_source : 3170a42139eecd25a8a50d6e51fdebbf7496f459
2017-09-05 15:52:52 -05:00
Kit Cambridge 3136ed3935 Bug 1396967 - Fix undeclared assignments in MozMill. r=tcsc
MozReview-Commit-ID: 7C5zFAHmRQQ

--HG--
extra : rebase_source : f6b0d5e1cac37ec1031176f291a13953f5af4e83
2017-09-05 12:32:36 -07:00
Wei-Cheng Pan 18a2475e81 servo: Merge #18389 - Add a function to find out if a node has any ancestor that is pending for restyling (from legnaleurc:has_pending_restyle_ancestor); r=emilio
Fixes [Bug 1397168](https://bugzil.la/1397168).

<!-- Thank you for contributing to Servo! Please replace each `[ ]` by `[X]` when the step is complete, and replace `__` with appropriate data: -->
- [x] `./mach build -d` does not report any errors
- [x] `./mach test-tidy` does not report any errors
- [x] These changes fix [Bug 1397168](https://bugzil.la/1397168) (github issue number if applicable).

<!-- Either: -->
- [ ] There are tests for these changes OR
- [ ] These changes do not require tests because _____

<!-- Also, please make sure that "Allow edits from maintainers" checkbox is checked, so that we can help you if you get stuck somewhere along the way.-->

<!-- Pull requests that do not address these steps are welcome, but they will require additional verification as part of the review process. -->

Source-Repo: https://github.com/servo/servo
Source-Revision: 00867711b3b1a21d150cfdbf0d62e14945619392

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : 0e51d10864a5ba8d4cd8e6ac5233f1e847a661ed
2017-09-06 10:47:32 -05:00
Sebastian Hengst 1c4ad71269 Backed out changeset 1e12a866239c (bug 1394381) for busting web-platform-tests. r=backout on a CLOSED TREE 2017-09-06 18:51:32 +02:00
Erica Wright c030f1308f Bug 1393870 - Panels anchored to bottom have weird animation. r=sfoster
MozReview-Commit-ID: LH3vRWJeYbU

--HG--
extra : rebase_source : 5eb9eb9831af2e35782debffc2518c43196c0b7b
2017-08-31 15:41:02 -04:00
Sebastian Hengst 3ec43c624c Backed out changeset 6f1782b58101 (bug 1396884) for OS X bustage. r=backout on a CLOSED TREE 2017-09-06 18:27:03 +02:00
Chris Peterson 9705687227 Bug 1324677 - Remove unnecessary asserts-if(stylo) annotation from layout crashtests. r=heycam
These tests no longer assert so we can remove the stylo annotations.

MozReview-Commit-ID: 7sWWTkoFp1G

--HG--
extra : rebase_source : e42f418ef1756a08bc0f11b02b42b2a1737deb76
2017-09-05 19:13:18 -07:00
Thomas Nguyen dd42019824 Bug 1385609 - Fix backoff issue that makes SB lists no longer update r=francois
The issue occurs when nsITimer is fired earlier than the backoff time. In that
case, the update doesn't proceed and we never make another attempt because the
backoff update timer was oneshot.

We fix the issue in two ways:

- Add a tolerance of 1 second in case the timer fires too early.
- Set another oneshot timer whenever we are prevented from updating due to
backoff.

MozReview-Commit-ID: E2ogNRsHJVK

--HG--
extra : rebase_source : c81fa77934f6c39e1c5d07b19785a01546e02542
2017-08-30 18:04:10 +08:00
bechen@mozilla.com c41c3a07ae Bug 1372329 - Disable layout/reftests/webm-video/poster-2.html on Android 4.3. r=alwu
MozReview-Commit-ID: CMzmIA8YI3i

--HG--
extra : rebase_source : c0db6e48e85642701b90cedf2190776c13b457ba
2017-09-06 11:03:09 +08:00
Josh Matthews 6ac23c60d4 servo: Merge #18382 - Add CEReactions to element creation APIs (from servo:jdm-patch-1); r=cbrewster
This addresses https://github.com/whatwg/dom/pull/506.

---
- [X] `./mach build -d` does not report any errors
- [X] `./mach test-tidy` does not report any errors
- [X] These changes do not require tests because they will exist upstream in the future.

Source-Repo: https://github.com/servo/servo
Source-Revision: 4ada03febf2ecdae8220f174a80d22a49a232c5f

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : 28ab9c1ef0dcf993ab1764401ef3ac8a39f2bcad
2017-09-06 09:38:58 -05:00
Patrick Brosset 2d31297cd5 Bug 1382576 - Switch over from the old-event-emitter to event-emitter in the animation inspector; r=jdescottes
MozReview-Commit-ID: ftItsTkomw

--HG--
extra : rebase_source : eb2facf35130f8b3805fafdb16087cf807471ae7
2017-09-06 16:51:50 +02:00