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

595078 Коммитов

Автор SHA1 Сообщение Дата
Andrew Osmond 14160ac3be Bug 1460258 - Re-enable discarding of animated image frames. r=aosmond 2018-05-09 08:42:58 -04:00
Bas Schouten c04589f5de Bug 1458655: Do not copy DisplayItemClip onto AssignedDisplayItemData. r=mattwoodrow 2018-05-09 12:29:01 +00:00
Andrew Osmond d19566e09c Bug 1454149 - Do not advance animated images which are not displayed. r=tnikkel
All animated images on a page are currently registered with the refresh
driver and advance with the tick refresh. These animations may not even
be in view, and if they are large and thus cause redecoding, cause a
marked increase in CPU usage for no benefit to the user.

This patch adds an additional flag, mCompositedFrameRequested, to the
AnimationState used by FrameAnimator. It is set to true each time the
current animated image frame is requested via
FrameAnimator::GetCompositedFrame. It is set to false each time the
frame is advanced in FrameAnimator::AdvanceFrame (via
FrameAnimator::RequestRefresh). If it is true when
FrameAnimator::RequestRefresh is called, then it will advance the
animation according to the normal rules. If it is false, then it will
set the current animation time to the current time instead of advancing.

This should not cause the animation to fall behind anymore or skip
frames more than it does today. This is because if
FrameAnimator::GetCompositedFrame is not called, then the internal state
of the animation is advancing ahead of what the user sees. Once it is
called, the new frame is far ahead of the previously displayed frame.
The only difference now is that we will display the previous frame for
slightly longer until the next refresh tick.

Note that if an animated image is layerized (should not happen today) or
otherwise uses an ImageContainer, this optimization fails. While we know
whether or not we have an image container, we do not know if anything is
actively using it.
2018-05-09 08:04:20 -04:00
Jason Laster 49932142ae Bug 1460054 - Update Debugger Frontend v49. r=jdescottes
MozReview-Commit-ID: 4wr5NnLBTn7

--HG--
extra : rebase_source : d277558ed7c89457bd3ac884c701c58a8f92c555
2018-05-09 13:43:46 +02:00
Andrea Marchesini b5118e1ddf Bug 1302449 - Remove the "referrer" directive in CSP, r=ckerschb 2018-05-09 13:15:08 +02:00
Andrea Marchesini c71eb06d76 Bug 1400678 - quota storage should be cleared on exit if user has requested cookies to be cleared on exit - fix a ES failure, r=me CLOSED TREE 2018-05-09 11:59:15 +02:00
Margareta Eliza Balazs 6c97db61d4 Merge mozilla-central to inbound. a=merge CLOSED TREE 2018-05-09 12:40:18 +03:00
Margareta Eliza Balazs eb6c5214a6 Merge inbound to mozilla-central. a=merge 2018-05-09 12:33:51 +03:00
Andrea Marchesini f8788ffe29 Bug 1400678 - quota storage should be cleared on exit if user has requested cookies to be cleared on exit - tests, r=johannh 2018-05-09 11:30:47 +02:00
Andrea Marchesini 769600b429 Bug 1400678 - quota storage should be cleared on exit if user has requested cookies to be cleared on exit, r=johannh, f=asuth 2018-05-09 11:30:44 +02:00
Andrea Marchesini 418c707d0e Bug 1452784 - Use malloc() instead of new[] in IDBObjectStorage to match the use of free() in memory BlobImpl, r=decoder 2018-05-09 11:02:12 +02:00
Simon Fraser 9b2ede9a8e Bug 1458854 Disable release_eta for rc on beta channel r=bhearsum
Summary:
In essence, we're allowing a new field in the task definition,
which is trusted over the one that's passed in with the config. This
wouldn't make much sense if it had a real date in, but allows us to
set an empty string for the kind that needs it

Reviewers: bhearsum

Reviewed By: bhearsum

Bug #: 1458854

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

--HG--
extra : rebase_source : 82145a94fa91957ffe57112a1c0d327d99e32b23
2018-05-09 09:40:55 +01:00
André Bargull 1cfe9bcd18 Bug 1456118: Update helper scripts for Python 3 compatibility. r=anba 2018-05-09 00:50:57 -07:00
Chris Peterson 87ddcb8273 Bug 1457813 - Part 3: Remove NS_PRECONDITION definition. r=froydnj
--HG--
extra : rebase_source : 9bad9e57e2e0363fb315949ac73b869fac0b9a73
2018-05-08 22:21:22 -07:00
Tooru Fujisawa c12bdc0642 Bug 1420574 - Add CustomizableUITestUtils.prototype.{addSearchBar,removeSearchBar} to show search bar in nav bar and verify it does not overflow. r=Paolo 2018-05-09 09:48:40 +09:00
Jan-Erik Rediger 43f99fc3af Bug 1320052 - Fix remaining caller of histogram snapshot API. r=Dexter
MozReview-Commit-ID: IqKsfxN12Ru

--HG--
extra : rebase_source : 584e90dfa7d483f068b46e90649b7d4935454b26
2018-05-08 17:08:33 -07:00
Kris Maglione 6807a35903 Bug 1459998: Part 2 - Cleanup cruft. r=aswan
MozReview-Commit-ID: FDDVOptdDLF

--HG--
extra : rebase_source : 08193c7c87825096cdcfe0ad4a73996b1b7ede9d
extra : histedit_source : 9e8cb320ae430e9775d32159c4595be57a68882a
2018-05-08 14:27:15 -07:00
Kris Maglione a535a8edc4 Bug 1459998: Part 1 - Rewrite tests not to use async helpers. r=aswan
MozReview-Commit-ID: CF2UGYK7wMr

--HG--
extra : rebase_source : 51db222f2fa1c0a1677faed9da09e6023b14d877
extra : histedit_source : f91a0c302c21c0bfad448382ef3dfd2aba5f4128
2018-05-08 14:12:27 -07:00
Robert Xiao ba5ba53805 Bug 1452442 - Fix Copy as cURL and add tests. r=Honza
Also fixes Bug 1378464 and Bug 1420513.
2018-05-08 18:55:00 -04:00
Bogdan Tara 95208e18f2 Backed out changeset c4608ac6ced9 (bug 1452442) for ES Lint failure on /builds/worker/checkouts/gecko/devtools/client/netmonitor/test/browser_net_copy_as_curl.js CLOSED TREE 2018-05-09 03:51:45 +03:00
Jan-Erik Rediger 1408aa33b2 Bug 1320052 - Test that clearing subsession data still works. r=chutten
MozReview-Commit-ID: K2djulsH2jZ

--HG--
extra : rebase_source : 0ec348fedd44cbf982ce615ec45a14b3c4db33f9
2018-05-04 14:32:33 +02:00
Jan-Erik Rediger 9ed325f1bb Bug 1320052 - Clamped count is not double-counted anymore. r=chutten
MozReview-Commit-ID: 284A2Z4QvxM

--HG--
extra : rebase_source : e9544ab431669ffc6e91dc6f747ca5260e9e6677
2018-05-03 10:20:09 +02:00
Jan-Erik Rediger 4836f92f18 Bug 1320052 - Update external snapshot callers to not deal with subsessions. r=chutten
MozReview-Commit-ID: DGTer5oMnwd

--HG--
extra : rebase_source : c33b725e6f61bb2b0473966d91bada8601fb4121
2018-05-02 15:56:03 +02:00
Jan-Erik Rediger ee2deffba3 Bug 1320052 - Remove now obsolete full-session/subsession tests for histograms. r=chutten
MozReview-Commit-ID: 1NJ6OAYEqIs

--HG--
extra : rebase_source : 529b2184f77adb83780082ca5d8e95a5111de41f
2018-05-02 15:55:01 +02:00
Jan-Erik Rediger cd7ba72a60 Bug 1320052 - Update internal snapshot callers to not deal with subsessions. r=chutten
MozReview-Commit-ID: CpHEaT30VYd

--HG--
extra : rebase_source : f62cbe066b9236a90fe088f0377ee4e7ad17207c
2018-05-02 15:53:31 +02:00
Jan-Erik Rediger 871a4b2e0d Bug 1320052 - Unify histogram storage into a single container. r=chutten
On Desktop and GeckoView we only ever need to store histograms for a
subsession and clear the histograms when a snapshot is done (e.g. a main ping is built).
On Fennec we don't have subsessions and only store for a session and never clear the storage.

MozReview-Commit-ID: BeVi86kZPs2

--HG--
extra : rebase_source : 50bb218c9fb9a04c8d60d6300e4e9e67544232c0
2018-05-02 15:43:02 +02:00
Nika Layzell 9206a422c3 Bug 1455722 - Don't use FileAvoidWrite for writing .xpt files. r=mccr8
Unfortunately, FileAvoidWrite causes us to re-generate .xpt files every time we
build if a dependency of the .xpt files doesn't affect their output.

The easiest solution is to stop performing this option until we get a better
build backend like `tup` which can handle problems like this.
2018-04-30 15:15:00 -04:00
Raul Gurzau 0366123a0e Bug 1456284 - Disable browser_insecure_form.js for frequent failures. r=gbrown 2018-05-07 20:21:00 -04:00
Eitan Isaacson abb7638965 Bug 1459677 - Promisify, simplify, and unabstract jsat content tests. r=yzen 2018-05-08 14:59:00 -04:00
Robert Xiao 4ea509a01c Bug 1452442 - Fix Copy as cURL and add tests. r=Honza
Also fixes Bug 1378464 and Bug 1420513.
2018-05-08 16:36:00 -04:00
Issei Horie 0c29c92417 Bug 1451351 - Move obsolete documentation to subfolder. r=janerik 2018-05-06 14:33:10 +09:00
Ciure Andrei 4b3c343192 Merge mozilla-central to mozilla-inbound. a=merge CLOSED TREE 2018-05-09 02:03:22 +03:00
Ciure Andrei 61548f81d6 Merge inbound to mozilla-central. a=merge
--HG--
rename : testing/web-platform/meta/webdriver/tests/navigation/get_title.py.ini => testing/web-platform/meta/webdriver/tests/get_title/user_prompts.py.ini
2018-05-09 01:58:44 +03:00
Jason Laster f985568a26 Bug 1457995 - Update Debugger Frontend v48. r=jdescottes 2018-05-08 17:52:42 -04:00
Yura Zenevich 04552ee514 Bug 1441187 - wait for non-stale state instead of non-busy when waiting for root document accessible. r=pbro
MozReview-Commit-ID: 4bEkg0us2xF
2018-05-08 15:43:42 -04:00
Brian Grinstead 9cb018a075 Bug 1459985 - Include stringbundle Custom Element registration inside profile manager;r=mossop
Currently stringbundle.js is loaded in response to the document-element-inserted message
in MainProcessSingleton. But since the profile manager loads before that script is run,
we don't register the Custom Element. This fixes that by explicitly including the script.

MozReview-Commit-ID: GqQk1VUv0Df

--HG--
extra : rebase_source : 1d958661865591b3e4260d566f83c5eb16bfa1b5
2018-05-08 09:52:06 -07:00
Sylvestre Ledru affb2edb23 Bug 1460030 - Update the nightly URL in the README.txt file r=kohei
MozReview-Commit-ID: CeHanWOIpdj

--HG--
extra : rebase_source : a40193e646cf4d52ef62e0bbdfc03e929148b2eb
2018-05-08 21:22:10 +02:00
Jan Henning 6a24be748d Bug 1460028 - Experimental - Use string literal instead of static variable in SessionTest. r=gbrown
Experimentally try using a String literal in case the NullPointerException at
that line is caused by some weird class initialisation issue.

MozReview-Commit-ID: 1BexpntTBEJ

--HG--
extra : rebase_source : ea71f390ce0d683cd635aae52825871562b78feb
2018-05-08 21:55:20 +02:00
Aaron Klotz 84feb9c523 Bug 1460057: Update WindowsVersion with latest Windows 10 build numbers; r=froydnj 2018-05-07 17:24:51 -06:00
David Major a0c067cd0e Bug 1458270: Clean up in the shutdown observer. r=milan 2018-05-08 17:37:25 -04:00
Luke Wagner 32cfdd4da0 Bug 1458029 - Baldr: update wasm frame stack format string to match WebAssembly Web API spec (r=yury,bbouvier,fitzgen)
--HG--
extra : rebase_source : 526aea59059ef5710aac88aabd1ee71ddbf7512d
2018-05-08 13:26:40 -05:00
Luke Wagner e508e84004 Bug 1458029 - Baldr: tweak function display name interface (r=bbouvier)
--HG--
extra : rebase_source : 26c3f0c345155f8ed42764384b2acf16c37db001
2018-05-08 13:25:00 -05:00
Jonathan Kew e6b971d44f Bug 1458003 - speculative fix: make a local copy of the face list in CheckForLegacyFamilyNames, in case mAvailableFonts is mutated during this function. r=lsalzman 2018-05-08 20:54:02 +01:00
Randell Jesup 734a1bb77d Bug 1457323: Add network markers to Content processes, add redirects and improve markers r=mstange
Markers exist in Master and each Content process has markers for it's own
loads.  Note that there may be a time delay between content and master.
2018-05-08 15:50:39 -04:00
Jason Laster ed1c32dbdb Bug 1457989 - Update Debugger Frontend v47. r=jdescottes
MozReview-Commit-ID: Jfu0ZavS3e2
2018-05-08 15:47:47 -04:00
Andrew Halberstadt ac08b89a81 Bug 1459598 - Use profiles.json file to map test suites to the base profiles they use, r=jgraham
This serves two purposes:

1) It makes web-platform-tests pref downloading/handling a little more robust. When
run externally, it now downloads the entire testing/profiles directory. When loading
prefs it will look for both prefs_general.js (to support older versions of Firefox)
and profiles.json (for support moving forward).

This way we can add/remove/rename pref files under these directories without needing
to worry about breaking upstream wpt.

2) It provides developers an overview of which harnesses are using which base profiles.
Instead of hunting through test harness code to find this information, they can glance
at profiles.json.

MozReview-Commit-ID: AMzdnD8aGA2

--HG--
extra : rebase_source : 6fa0a802680417e49fcef99f3d03de7458a8fcba
2018-05-07 09:43:12 -04:00
Henrik Skupin 0909d2c724 Bug 1431081 - [wdspec] Unskip user prompt tests for execute (async) script tests. r=ato
With the fix on bug 1449538 the shutdown hangs which have caused the
timeout errors are gone. So we can safely re-enable the tests.

MozReview-Commit-ID: 4XTRQtwwRZd

--HG--
extra : rebase_source : 6b94222198922f6c85a36b3bc3e70bb8b7b0f461
2018-05-07 15:53:53 +02:00
Kyle Machulis f843e12625 Bug 1436241 - Check redirect status code before forwarding to NPAPI r=jimm,pauljt
NPAPI may handle a 307 redirect across different origins, while they
should only happen on same origin requests. Have the browser check
this before forwarding to NPAPI.

MozReview-Commit-ID: 5vxMooygI4g

--HG--
extra : rebase_source : 36ab35b389c1746bbfd3482ff68b81bac34e4de1
2018-04-30 12:49:15 -07:00
Sylvestre Ledru 825e3f1575 Bug 1459852 - Get rid of the AUTHORS list r=mossop
MozReview-Commit-ID: xnAZ4IVdcl

--HG--
extra : rebase_source : 5591bdf310036ebaf1068e883b06ec064a844906
2018-05-08 10:37:41 +02:00
Kris Maglione 4900714df7 Bug 1457321: Part 1 - Add bundled dictionaries to built_in_addons.json. r=ted,rhelmer
MozReview-Commit-ID: GxCSXXaz8kz

--HG--
extra : rebase_source : a334cfbeee786aeaca373b5a7fc8107fa44c2243
2018-04-27 15:42:55 -07:00