Commit Graph

602691 Commits

Author SHA1 Message Date
Wander Lairson Costa
4c52aa4d3f Bug 1465505: Replace PRMJ_Now() by mozilla::TimeStamp r=jonco
Notice as TimeStamp is not an integral type, it can't be wrapped by
mozilla::Atomic. However, we wrap it in MainThreadData to assure it only
is accessed from the main thread.

Another issue is that TimeStamp class does allow some operations on a
Null value, with assertions on debug builds.

MozReview-Commit-ID: 9GPNDUooQmI

--HG--
extra : rebase_source : e2b5fe81a4c5c696425583a04395f2ae79aeaccc
2018-07-04 16:55:11 -03:00
Andreea Pavel
a892a1e9b1 Backed out changeset 463f7fc23171 (bug 1466783) build bustages on a CLOSED TREE 2018-07-05 13:26:40 +03:00
Henri Sivonen
2363350998 Bug 218415 - Add window.event. r=smaug.
window.event is set on the wrong window when the target and the
callback are from different realms and the callback is an XPCOM
callback.

MozReview-Commit-ID: HXeUIicdMuT

--HG--
extra : rebase_source : 978a3fecf87e1ac4414ec0ea93335796bc24951a
2018-04-04 15:57:17 +03:00
Andrei Oprea
cab7d50d92 Bug 1434751 - Add Restore Defaults button to Home r=Mardak
MozReview-Commit-ID: 5NRxEhPIImg

--HG--
extra : rebase_source : 003715fdc82437a16caaff7cb3512856834a6465
2018-07-03 20:02:26 +02:00
Nazım Can Altınova
d36bbb96e0 Bug 1466783 - Avoid copying while passing the profiler data with IPC r=mstange
MozReview-Commit-ID: HfskcLojToC

--HG--
extra : rebase_source : 361efe4349cbe97303313d47450e60f35a91d1b0
2018-06-15 11:16:41 -07:00
Ciure Andrei
647372a88b Merge mozilla-central to autoland. a=merge CLOSED TREE 2018-07-05 12:53:31 +03:00
Ciure Andrei
2198f99f97 Merge inbound to mozilla-central. a=merge 2018-07-05 12:51:41 +03:00
Andreea Pavel
edb6aafdea Backed out 2 changesets (bug 1471838) for failing css/vendor-imports/mozilla/mozilla-central-reftests/shapes1/shape-outside-border-box-border-radius-005.html
Backed out changeset b21c5080232a (bug 1471838)
Backed out changeset 5e99a3c65b2f (bug 1471838)
2018-07-05 10:44:45 +03:00
Andrea Marchesini
d1b2b16ba7 Bug 1473024 - CSP should throw EvalError when blocking eval(), r=ckerschb 2018-07-05 08:21:04 +02:00
Andrea Marchesini
14d462eeb3 Bug 1418246 - Return valid columnNumber value in CSP violation events, r=ckerschb 2018-07-05 08:21:04 +02:00
Kris Maglione
17578086c0 Bug 1472523: Part 4 - Avoid unnecessary domain string duplication in preference observers. r=njn
MozReview-Commit-ID: EMCgMRTDqDn

--HG--
extra : rebase_source : 11731e5a7c53c725396a9c8b46f116071d0c6e31
2018-07-04 14:52:48 -07:00
Jan-Erik Rediger
33b95c3973 Bug 1470897 - Catch invalid data, show a warning and continue processing. r=chutten
MozReview-Commit-ID: GbbBarULSOR

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

--HG--
extra : moz-landing-system : lando
2018-07-04 19:14:51 +00:00
Valentin Gosu
6a2bda63e8 Bug 1471280 - Add new pref for how much longer resolver threads should remain idle r=bagder
The new pref is "network.dns.resolver-thread-extra-idle-time-seconds"
The default is 60 seconds. This means that threads will stay idle for an extra 60 seconds, after which they are shutdown.
Setting the pref to 0 would preserve the behaviour before the threads were swiched to use nsThreadPool - meaning that they would be shutdown immediately after ThreadFunc completes.
Setting the pref to -1 would keep the threads alive forever.

MozReview-Commit-ID: CoUB5gan4MR

--HG--
extra : rebase_source : 7b444789eebaf43c939ce9d7153218c4cd594b65
2018-07-04 21:25:28 +02:00
Valentin Gosu
2c7b0b5f89 Bug 1471280 - Use nsThreadPool for DNS resolver threads r=bagder
Instead of creating and deleteing each thread, we use a nsThreadPool with a max of 8 resolver threads.
Whereas before each thread would run ThreadFunc exactly once then shut down, the threads may now remain active for a while. During this time we may post another task(runnable) to the thread.

MozReview-Commit-ID: FiE370ic1ah

--HG--
extra : rebase_source : 065bbf1f9867dfb38ac7b13816d4d06824d3a05d
2018-07-04 20:36:58 +02:00
Andreea Pavel
2ebf16b514 Backed out changeset 530f89f70093 (bug 1472199) for build bustages on a CLOSED TREE 2018-07-05 11:55:11 +03:00
Razvan Caliman
3ec682d724 Bug 1473496 - Font editor: replace string IDs for localizable strings that changed value. r=flod
MozReview-Commit-ID: H9bQuOsoZkP

--HG--
extra : rebase_source : 87a6558f72fdaf388a18c78bb8edb74188b11db8
2018-07-05 10:38:48 +02:00
Daniel Stenberg
dd6df388fc bug 1472659 - add Telemetry::DNS_TRR_FIRST and Telemetry::DNS_TRR_DISABLED r=mcmanus
To help evaluate TRRfirst sucess/error rates.

MozReview-Commit-ID: Ljrbed6UDG2

--HG--
extra : rebase_source : ac604fda9610997cde5aa2993ca15319e6213e89
2018-07-02 13:50:21 +02:00
Emilio Cobos Álvarez
8a187042bc Bug 1473225 - Update another entry in shape-margin-003.html.ini. r=me CLOSED TREE
MozReview-Commit-ID: DsSM6qSENEq
2018-07-05 05:48:25 +02:00
Emilio Cobos Álvarez
e87afd528c Bug 1471838: Update the properties database. r=me CLOSED TREE
MozReview-Commit-ID: IXeZmnElMHU
2018-07-05 05:46:56 +02:00
Dave Hunt
4d72fb0ad1 Bug 1472199 - Set the root directory for Python unit tests to topsrcdir; r=ahal
MozReview-Commit-ID: 4k4CTwzAbli

--HG--
extra : rebase_source : 688f4af6029254f986e406383c1bcd5cc6217172
2018-07-02 11:22:37 +01:00
Kris Maglione
d1882e4599 Bug 1472523: Part 3 - Use the same nsCString for pref callback/observer objects. r=njn
This reduced the additional string duplication that we currently do every time
we add a preference observer.

It changes the string that we store in the observer objects to be absolute,
rather than relative to the branch, but keeps the semantics the same, by
resolving the full preference name in the places we were previously matching
by relative string.

This actually has the effect of simplifying a lot of code, since the absolute
preference name is usually what we want.

MozReview-Commit-ID: 10WjHb0tNGB

--HG--
extra : rebase_source : b3cb0ba103fc239e42459e77cd389db0b5ecde18
2018-07-01 10:39:10 -07:00
Kris Maglione
3e400a8f72 Bug 1472523: Part 2 - Avoid unnecessary string copies in preference caches. r=njn
MozReview-Commit-ID: 74svGlwMVF1

--HG--
extra : rebase_source : ee25a335773b9afba9125c9092ed95eecc702cd9
2018-06-30 23:07:30 -07:00
Kris Maglione
8e4b8a954f Bug 1472523: Part 1 - Avoid string copies in preference callbacks. r=njn
Most preference callbacks use literal strings for their domain filters, which
means that there's no need to make copies of them at all. Currently, however,
every preference observer node makes a separate heap-allocated copy of its
domain string.

This patch switches the domain string storage to nsCString instances, which
dramatically reduces the amount of unnecessary copies, at the expense of
making the callback nodes slightly larger.

MozReview-Commit-ID: 8NA3t2JS2UI

--HG--
extra : rebase_source : 628ad9af65cec16fb8be0c8dddc608b5ee5602e2
2018-06-30 23:06:17 -07:00
Hiroyuki Ikezoe
043e18fa29 Bug 1473172 - Call MostRecentRefreshTimeUpdated when we start observering the refresh driver for DocumentTimeline. r=birtles
There seem race conditions that we do a paint process when we started observing
the refresh driver but the first tick hasn't happened yet.

MozReview-Commit-ID: KRP8WR644q1
2018-07-05 10:44:42 +09:00
Nathan Froyd
c1a8b8a10d Bug 1473291 - handle valueless dynamic section entries; r=glandium
Some dynamic entry types, like DT_BIND_NOW, are printed without a value
by readelf.  Handle such types gracefully.
2018-07-04 20:51:25 -04:00
Coroiu Cristina
e4c49c7635 Merge mozilla-central to mozilla-inbound a=merge on a CLOSED TREE 2018-07-05 03:34:37 +03:00
Coroiu Cristina
a4fb127451 Merge inbound to mozilla-central a=merge 2018-07-05 03:14:19 +03:00
Coroiu Cristina
b204063b4b Backed out 2 changesets (bug 1470333) for xpcshell failures at browser/extensions/formautofill/test/unit/test_getFormInputDetails.js
Backed out changeset dbea1942a32f (bug 1470333)
Backed out changeset 440ee3fab72a (bug 1470333)
2018-07-05 00:24:27 +03:00
Coroiu Cristina
caf49f9745 Backed out changeset a21149d9d236 (bug 1465953) for browser-chrome failures at browser/base/content/test/static/browser_all_files_referenced.js
--HG--
extra : rebase_source : 7ae744bf8fb568992e63fb5a15d1a64d69a3cb8e
2018-07-04 23:48:08 +03:00
Kris Maglione
e1e8de61c8 Bug 1470333: Part 2 - Avoid creating ConsoleAPI instances when debug logging is not enabled. r=MattN
MozReview-Commit-ID: Edck1SgCcDA

--HG--
extra : source : dbea1942a32f8bd565f3d500d79fa19db8916fcc
extra : absorb_source : e50ef26aa346f7890d135637411b8988925b9700
2018-07-04 12:43:21 -07:00
Kris Maglione
5540b0b58f Bug 1470333: Part 2 - Avoid creating ConsoleAPI instances when debug logging is not enabled. r=MattN
MozReview-Commit-ID: Edck1SgCcDA

--HG--
extra : rebase_source : 1152d01ba7456d06a6f66ac65ceba2ef85e4747d
2018-07-04 12:43:21 -07:00
Kris Maglione
25544ae690 Bug 1470333: Part 1 - Optimize debug logging statements in FormAutoFillContent. r=MattN
These cause us to load Console.jsm and create a ConsoleAPI instance in every
content process, which is expensive both in terms of memory and startup
performance.

Checking the log level before we touch the console object is much cheaper,
in terms of both memory and performance.

MozReview-Commit-ID: 19f0ggAda2J

--HG--
extra : source : 440ee3fab72afc5d483a5bb2b0630f3c2ed3212f
extra : absorb_source : 35ba172bb0e9da002bf1b733463b61ed214cf225
2018-06-30 15:55:18 -07:00
Kris Maglione
0b96fa7467 Bug 1470333: Part 1 - Optimize debug logging statements in FormAutoFillContent. r=MattN
These cause us to load Console.jsm and create a ConsoleAPI instance in every
content process, which is expensive both in terms of memory and startup
performance.

Checking the log level before we touch the console object is much cheaper,
in terms of both memory and performance.

MozReview-Commit-ID: 19f0ggAda2J

--HG--
extra : rebase_source : 38077a14122d201d11079330565d82f6f963b428
2018-06-30 15:55:18 -07:00
Gabriel Luong
d57137608c Bug 1456681 - Toggle the flexbox highlighter from the markup display badges. r=pbro 2018-07-04 16:20:29 -04:00
Matthew Gaudet
0b9e22cd4e Bug 1455770: Collapse AliasAnalysis into AliasAnalysisShared r=jandem 2018-07-03 16:08:30 -04:00
Emilio Cobos Álvarez
07ead1fbee Bug 1471838: Turn layout.css.offset-logical-properties.enabled off by default. r=xidorn
Differential Revision: https://phabricator.services.mozilla.com/D1857

--HG--
extra : moz-landing-system : lando
2018-06-28 10:35:13 +00:00
Emilio Cobos Álvarez
38ff952014 Bug 1473225 - Serialize a few more lengths with Servo. r=xidorn
Differential Revision: https://phabricator.services.mozilla.com/D1934

--HG--
extra : moz-landing-system : lando
2018-07-04 06:42:38 +00:00
Hiroyuki Ikezoe
8015da3cef Bug 1472654 - Drop SchedulePaint call in AddAnimationsForProperty. r=birtles
This call was added in bug 929362, but the key factor to fix the bug was just
setting a flag representing that the target frame doesn't allow the animation
running on the compositor and checking the flag in the function whether the
animation can be run on the compositor or not in later ticks.  So the call
wasn't necessary in the first place.

The test case here fails without this fix.  The test case actually doesn't
observe animation restyle count at all, so it might look a bit awkward in
file_restyles.html, if we add other test cases checking SchedulePaint calls
in future, we will move the tests in a different file.
(The reason there is no animation restyles in this case is that we properly
 throttle the animation in this case.)

MozReview-Commit-ID: AyHciRJHM0s

--HG--
extra : rebase_source : f3963336ea9165b0a9c1a662bdac5c645b209219
2018-07-05 07:18:45 +09:00
Coroiu Cristina
85d1eae068 Merge mozilla-central to autoland a=merge on a CLOSED TREE 2018-07-05 03:33:16 +03:00
Dorel Luca
88782acd58 Backed out changeset 01837d6c41b6 (bug 1372458) for Reftest failures on layout/reftests/svg/filters-and-group-opacity-01.svg 2018-07-05 03:01:56 +03:00
Drew Willcoxon
b6ae98cf37 Bug 1467627 - Calculate origin frecency as the sum of all URL frecencies instead of the max. r=mak
MozReview-Commit-ID: KZi9C7olvsj

--HG--
extra : rebase_source : e95bf70b9de576fe464d21f17aa0eeb27decb60b
2018-07-04 14:01:28 -07:00
Arnaud Bienner
6de8cbcb2b Bug 1471843: Remove audioWorklet attribute from Window. r=baku,karlt
MozReview-Commit-ID: 9SJRZ2keJpb

--HG--
extra : rebase_source : f71d4be51e06f44cad6d8efb9ecde63a2d1dc7b7
2018-07-03 16:58:16 +02:00
Kanika Saini
a79aa16a78 Bug 1465953 - Create the basic structure for an about:policies page. r=felipe 2018-06-26 18:13:37 +05:30
Paolo Amadini
b4b62f90c9 Bug 1472153 - Load the "tabbrowser.css" content stylesheet right after "browser.css". r=dao
MozReview-Commit-ID: 7IHOn7rfych

--HG--
extra : rebase_source : 79f78a37ab7366d041ef6b2e770786378bcf978f
extra : intermediate-source : c25115854b1586761a553dc522eba3938066c974
extra : source : 839c17021ae03dd14eef2dfa10b9208250f5cfff
2018-07-02 08:52:17 +01:00
Paolo Amadini
bf4924de4a Bug 1421433 - Load the "global.css" and "browser.css" skin stylesheets earlier. r=dao
MozReview-Commit-ID: JbEHlM9XpFs

--HG--
extra : rebase_source : 4804ce5fec16b5e03aa4663f0e1462dd43305ab3
extra : intermediate-source : 1efb74e05dc52cfb62b94c6acc7610feba843e8d
extra : source : 4503f56bf96f55eb665b27df95b7d5108a9f96dc
2018-07-02 08:51:05 +01:00
Olli Pettay
34620de771 bug 1472427, <img usemap> should work in shadow DOM, r=baku 2018-07-04 20:26:09 +03:00
Matthew Gaudet
c15c5925f7 Bug 1472233: Ensure registers are saved at prepareVMCall site r=jandem
Take AutoSaveLiveRegisters as an argument, and use that to ensure the registers were saved

--HG--
extra : rebase_source : bb54592bd009afc67aaa0ca9c705ab28f4a45d44
2018-07-03 11:00:18 -04:00
Matthew Gaudet
d1e94adfd7 Bug 1472233: Add missed register save for Ion emitCompareStringResult r=jandem
--HG--
extra : rebase_source : 791a93a6d5800c43a7d2f980fe29d9a4f4958683
extra : source : 94543110b6eddf5d23b6d4ba51821a4894243f32
2018-06-29 11:56:01 -04:00
moz-wptsync-bot
dd2ad0cf72 Bug 1472741 - [wpt-sync] Update web-platform-tests to 7b2cd8b78d938ea8879adc6419f2ea14b6af8bad, a=testonly
wpt-head: 7b2cd8b78d938ea8879adc6419f2ea14b6af8bad
wpt-type: landing
MozReview-Commit-ID: 4skvwpLpHzT
2018-07-04 18:15:10 +01:00
Luke Bjerring
57562145b4 Bug 1467968 [wpt PR 11445] - Clean up budget-api idl test, a=testonly
Automatic update from web-platform-testsClean up budget-api idl test (#11445)

Follow up for #9763 now that #10338 is resolved and we have #10381 too.
--

wpt-commits: 7b2cd8b78d938ea8879adc6419f2ea14b6af8bad
wpt-pr: 11445
2018-07-04 18:15:09 +01:00