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

597548 Коммитов

Автор SHA1 Сообщение Дата
James Graham 42f8d7d1ff Bug 1265584 - Output asserts to wptreport.json, r=maja_zf
In the future we want to update metadata using the wptreport.json data, since
that's much much smaller and easier to parse. In addition, this is
required to determine if a test fully passed, so it makes sense to
store it here.

MozReview-Commit-ID: ErYT33BhqGg
2018-05-25 11:58:16 +01:00
James Graham 1cabd2b4ba Bug 1265584 - Use ujson where possible for faster metadata update, r=maja_zf
Profiling shows that switching to this library means we no longer
spend most of the update time parsing json (vs 80% or so before),
making other optimisations worthwhile. This is never used in
automation (except wptsync) so availability of the library in the
internal pypi isn't a problem.

MozReview-Commit-ID: U5gabb5lz8
2018-05-25 11:58:13 +01:00
James Graham 1b363212b2 Bug 1265584 - Support updating asserts with wpt-update, r=maja_zf
With support for asserts, it's also necessary to be able to update the
expected number of asserts automatically using
wpt-update. Unfortunately asserts don't work quite like test statuses,
so this involves a reasonable amount of refactoring.

For asserts the desired behaviour is that the max asserts is either
one plus the highest recorded number of asserts, or the current
value, whichever is higher, and for the minimm asserts, it's the
minumum of the current value and one lower than the lowest recorded
value (clamped at zero). Instead of creating per-platform
expectations, the code only updates the defaults (or any existing
conditional that happens to match). It's not clear that we have enough
information to meaningfully make per-platform expectations, and we
want to reduce the risk of intermittents.

MozReview-Commit-ID: HuTpbAZYGzo
2018-05-25 11:58:11 +01:00
James Graham 0a07a439cb Bug 1265584 - Reverse the order of metadata iteration, r=maja_zf
wptrunner previously iterated over properties from least significant
to most significant. However this was broken since it caused
per-directory properties to override per-test properties, which wasn't
expected. Therefore we reverse the order of iteration from most
significant to least.

MozReview-Commit-ID: 5Rh6EGNtnUS
2018-05-25 11:58:09 +01:00
James Graham 59093647f3 Bug 1265584 - Add support for recording asserts in wptrunner, r=ato, maja_zf
Gecko has an API for producing a non-fatal "assert". For quality
control, it should be possible to annotate the range of possible
numbers of these asserts produced during a test execution, and fail if
the actual number of asserts falls outside this range.

This patch adds assert checking by default in debug builds. It adds
two metadata properties; max-asserts and min-asserts for specifying
the range of possible asserts produced in a test.

MozReview-Commit-ID: BFiIfYKuB9L
2018-05-25 11:58:07 +01:00
James Graham 9087c92706 Bug 1265584 - Make base_executor_kwargs arguments match executor_kwargs, r=ato
MozReview-Commit-ID: IS7KwuRjmc6
2018-05-25 11:58:05 +01:00
James Graham fd46bd3d60 Bug 1265584 - Move wptrunner marionette usage onto a single thread, r=ato
Running marionette on a background thread is problematic in the case
that a test times out. In this case the background thread is not
terminated. If we then call into marionette again on the main thread
we may race with something that happens on the runner thread. The
marionette client isn't threadsafe, so this leads to buggy behaviour.

The simplest fx for the problem is just to move all the marionette
calls onto the main thread and instead of waiting on the main thread,
spin up a thread with a timer.

MozReview-Commit-ID: 3vVlMcwPHSx
2018-05-25 11:58:02 +01:00
James Graham bf28f809d2 Bug 1265584 - Fix logging of unexpected assertions with mach formatter, r=ahal
MozReview-Commit-ID: Dk1ahUYyYIm
2018-05-25 11:58:00 +01:00
Andrew Osmond 9b6c64c753 Bug 1382683 - Part 3. Add gtests for SurfaceFilter/Pipe::WritePixelBlocks. r=tnikkel 2018-05-25 06:52:05 -04:00
Andrew Osmond cb1d37e391 Bug 1382683 - Part 2. Switch nsGIFDecoder2 to write pixels in blocks instead of individually. r=tnikkel
nsGIFDecoder2::YieldPixel is sufficiently complex that the optimizer
does not appear to inline it with the rest of the templated methods. As
such there is a high cost to calling it. This patch modifies it to yield
a requested number of pixels before exiting, allowing us to amortize the
cost of calling across a row instead of a pixel. Based on profiling,
this will significantly reduce the time require to decode a frame.
2018-05-25 06:52:03 -04:00
Andrew Osmond 5bcb89ae72 Bug 1382683 - Part 1. Implement SurfacePipe::WritePixelBlocks for faster writing of pixels. r=tnikkel
It has been observed in profiling that the templated methods that write
pixels to an image buffer do not always inline methods properly, leading
to a high cost of writing a single pixel if it is less than trivial. As
such, there is a new SurfacePipe method, WritePixelBlocks, which
requests pixels in blocks. The provided lambda will write up to the
requested number of pixels into the given buffer. WritePixelBlocks
itself will request enough pixels to fill the row, advance the row if
complete and iterate until it is complete or we need more data.
2018-05-25 06:52:01 -04:00
Jon Coppeard b95fd0ded3 Bug 1463373 - Throw rather than assert if buggy module resolve hook returns a module we didn't expect r=anba 2018-05-25 11:42:32 +01:00
Kristen Wright baaa671de8 Bug 1462138 - Part 2: Create a reporter for nsContentUtils string bundles. r=mccr8
Created new class 'nsContentUtilsReporter' which reports 'content-utils-string-bundles' allocations that are not a part of the reported StringBundleService bundles

--HG--
extra : rebase_source : f683ce214d634c9c6f169fafe5b5de12d3f3508a
2018-05-18 16:11:06 -07:00
Kristen Wright 5e4b4031fc Bug 1462138 - Part 1: Add a memory reporter for nsStringBundleService. r=erahm
Added memory reporter in nsStringBundleService. Added SizeOfIncluding/ExcludingThis functions in IStringBundle, StringBundle, ExtensibleStringBundle, PersistentProperties, StringBundleTextOverride.

--HG--
extra : rebase_source : 0756ed2181f02ffe42dd94db282ddf3dfa59047c
2018-05-18 13:16:31 -07:00
Noemi Erli 6425126b27 Bug 1461972 - Removed OSX references. r=jmaher 2018-05-24 03:43:00 +03:00
qiaopengcheng 84a397878f Bug 1464002 - Implementation error of Atomics.compareExchange on mips. r=lth
--HG--
extra : rebase_source : cc5e9c8f507d0e6af6f2933f4591a6c6aa7766bc
2018-05-24 01:12:00 +03:00
Andreea Pavel 9ef2973212 Bug 1461968 - Removed OSX references. r=jmaher 2018-05-23 14:35:00 +03:00
Trisha 0bb8ad97fc Bug 1451412 - Use a DocumentFragment to build the site data list r=johannh
MozReview-Commit-ID: 5TbwqwmW5Q1

--HG--
extra : rebase_source : 4c0beee0e90bb590ba5a91216fb39e951ff692a8
2018-05-24 03:49:33 +08:00
Eliza Balazs e1fce902e9 Bug 1404234 - disable test_2_conformance__extensions__webgl-compressed-texture-size-limit.html on win7 for frequent failures. r=jmaher 2018-05-24 06:19:00 +03:00
Brendan Dahl 0bb125f382 Bug 1460639 - Apply persisted window settings before layout. r=smaug
Previously, with early first paint enabled, nsXULWindow incorrectly loaded the
persisted window settings from about:blank and would only load them once.
Instead, load the settings before starting layout.

MozReview-Commit-ID: 6K4ofkbmHHb

--HG--
extra : rebase_source : 7bcd804cfabbd47ee5a747800a2ef81852213889
2018-05-16 18:13:59 -07:00
J. Ryan Stinnett e2c2e9c3e4 Bug 1463924 - Remove Dev. Edition promo doorhanger. r=nchevobbe
MozReview-Commit-ID: LIg6o35CvD2

--HG--
extra : rebase_source : 0eda7252ad7962b5038b3d7df3c8fc2eee9db511
2018-05-23 18:30:36 -05:00
Brian Grinstead dcb844ebc9 Bug 1463525 - Add frontend to countReset;r=nchevobbe
MozReview-Commit-ID: DuZLisDdTeG

--HG--
extra : rebase_source : 1607c03e36bd1861fc5eacad224454d6b9a17c10
2018-05-22 11:49:47 -07:00
Harry Twyford b3985821f4 Bug 1455950 - Increased contrast on dark theme UI text links. r=dao
MozReview-Commit-ID: Kg4opEGVR4H

--HG--
extra : rebase_source : 31dde50e0575acac79db9f72e29ffd33df254b58
extra : source : dc4bd31e15f044463376d327b490ddd39e463784
2018-05-17 17:15:22 -04:00
Alessio Placitelli 431c1f8dce Bug 1459144 - Add gtest coverage for GeckoView measurements' persistence. r=janerik
This patch changes GeckoView persistence code so that it will always get compiled
and linked to the final executable, even outside of Android. By doing so, we are
able to easily add gtest coverage for this code on all platforms other than Android
on which gtest is not yet supported.
In addition to that, this patch adds proper test cases for measurements' serialization
and deserialization for both scalars and histograms.

MozReview-Commit-ID: J0Snhl3Y8jk

--HG--
extra : rebase_source : efb6476177c1b4de22986545554bfaf357646657
2018-05-22 17:15:33 +02:00
Alessio Placitelli c5ecfdbb33 Bug 1459144 - Fix CountHistogram deserialization for GeckoView. r=chutten,janerik
This adds all the samples from the provided sample set to the CountHistogram's
storage, instead of just adding 1 sample of value 1. This change does not affect
code outside of GeckoView persistence since |AddSampleSet| is not used in other
places.

MozReview-Commit-ID: 9bE0M9dgrtE

--HG--
extra : rebase_source : c2147d084415518b02148daa83107045f2993c0f
2018-05-22 17:15:26 +02:00
Alessio Placitelli a665236679 Bug 1459144 - Allocate enough memory for all the processes when deserializing histograms. r=chutten
This is needed as we might end up serializing only one process, but its id might
be greater than 1 when deserializing.

MozReview-Commit-ID: EzXOOhlNV1Y

--HG--
extra : rebase_source : 85c8b32ce1d023cdbd329da2fd5e343c5c2c1941
2018-05-22 17:12:59 +02:00
Noemi Erli 3c6c3227f7 Merge mozilla-central to autoland. a=merge CLOSED TREE 2018-05-24 18:51:10 +03:00
Noemi Erli bf4def01bf Backed out 3 changesets (bug 1459785) for causing https://bugzilla.mozilla.org/show_bug.cgi?id=1464089 a=backout
Backed out changeset 88675b68241a (bug 1459785)
Backed out changeset b7c91a6f1b0a (bug 1459785)
Backed out changeset 21af8dc00aa8 (bug 1459785)
2018-05-24 18:46:25 +03:00
Noemi Erli 3180433f81 Backed out changeset 07344dd47432 (bug 1217748) for increasing the frequency of https://bugzilla.mozilla.org/show_bug.cgi?id=1439979 a=backout 2018-05-24 18:44:44 +03:00
Noemi Erli 9205eb539e Merge inbound to mozilla-central. a=merge 2018-05-24 18:40:38 +03:00
Carol Ng 8c6134f180 Bug 1424100 - Make sidebar text color consistent with panel UI r=dao,eoger
MozReview-Commit-ID: 1nWICvZ01q7

--HG--
extra : rebase_source : 3bfabb2b10fa5a8996f786910e0d7eb9916ce9ac
2018-05-24 10:49:59 -04:00
Noemi Erli 2be73dec54 Backed out changeset c19f0dedfb15 (bug 1463794) for reftest failures in build/tests/reftest/tests/layout/reftests/w3c-css/submitted/shapes1/shape-outside-circle-056.html on a CLOSED TREE
--HG--
rename : layout/reftests/w3c-css/submitted/shapes1/shape-outside-circle-056-ref.html => testing/web-platform/tests/css/vendor-imports/mozilla/mozilla-central-reftests/shapes1/shape-outside-circle-056-ref.html
rename : layout/reftests/w3c-css/submitted/shapes1/shape-outside-circle-056.html => testing/web-platform/tests/css/vendor-imports/mozilla/mozilla-central-reftests/shapes1/shape-outside-circle-056.html
rename : layout/reftests/w3c-css/submitted/shapes1/shape-outside-ellipse-052-ref.html => testing/web-platform/tests/css/vendor-imports/mozilla/mozilla-central-reftests/shapes1/shape-outside-ellipse-052-ref.html
rename : layout/reftests/w3c-css/submitted/shapes1/shape-outside-ellipse-052.html => testing/web-platform/tests/css/vendor-imports/mozilla/mozilla-central-reftests/shapes1/shape-outside-ellipse-052.html
rename : layout/reftests/w3c-css/submitted/shapes1/shape-outside-polygon-032-ref.html => testing/web-platform/tests/css/vendor-imports/mozilla/mozilla-central-reftests/shapes1/shape-outside-polygon-032-ref.html
rename : layout/reftests/w3c-css/submitted/shapes1/shape-outside-polygon-032.html => testing/web-platform/tests/css/vendor-imports/mozilla/mozilla-central-reftests/shapes1/shape-outside-polygon-032.html
2018-05-24 18:30:36 +03:00
Johann Hofmann 27c998b1e4 Bug 1464010 - Add an ellipsis to the new clear site data string in control center. rs=flod 2018-05-24 13:07:17 +02:00
Jan de Mooij 814de94fef Bug 1461938 part 34 - Move IteratorCache from JSCompartment to ObjectRealm. r=jonco 2018-05-24 12:02:54 +02:00
Jan de Mooij 98ab8b6b91 Bug 1461938 part 33 - Introduce ObjectRealm and use it for some fields. r=jonco 2018-05-24 12:02:53 +02:00
Jan de Mooij 6c800ba481 Bug 1461938 part 32 - Rename JitCompartment to JitRealm and move to JS::Realm. r=luke
--HG--
rename : js/src/jit/JitCompartment.h => js/src/jit/JitRealm.h
2018-05-24 12:02:53 +02:00
Jan de Mooij 94b5cf539f Bug 1461938 part 31 - Move detachedTypedObjects flag to JS::Zone. r=jwalden 2018-05-24 12:02:53 +02:00
Dão Gottwald 326cf07eab Backed out changeset 8416a4f99552 (bug 1424100) 2018-05-24 11:50:30 +02:00
Margareta Eliza Balazs ae2fc24a7c Merge mozilla-central to inbound. a=merge CLOSED TREE 2018-05-24 12:44:13 +03:00
Margareta Eliza Balazs 03394c438d Merge inbound to mozilla-central. a=merge 2018-05-24 12:37:58 +03:00
Noemi Erli d08fe5245d Backed out 2 changesets (bug 1460561) for failures in toolkit/components/extensions/test/mochitest/test_ext_webrequest_upload.html on a CLOSED TREE
Backed out changeset dc358abeba45 (bug 1460561)
Backed out changeset eea17fb77684 (bug 1460561)
2018-05-24 11:58:48 +03:00
Jon Coppeard 02d634159d Bug 1463723 - Remove ubi::Census' pointer to the atoms zone r=fitzgen 2018-05-24 09:40:46 +01:00
Jon Coppeard 19daeee9b3 Bug 1463717 - Move all finsished builders to lazy link list to avoid possible quadratic behaviour r=jandem 2018-05-24 09:40:30 +01:00
Boris Zbarsky b134958200 Bug 1452666. Implement nsISerializable on expanded principals. r=kmag 2018-05-24 02:43:14 -04:00
Andrea Marchesini 95fd40defd Bug 1460561 - nsMultiplexInputStream should behave correctly when NS_InputStreamIsBuffered() is used - gtests, r=froydnj 2018-05-24 07:52:31 +02:00
Andrea Marchesini 4d94837722 Bug 1460561 - nsMultiplexInputStream should behave correctly when NS_InputStreamIsBuffered() is used, r=michal 2018-05-24 07:51:53 +02:00
Fabrice Desré 1d3ef19262 Bug 1452245 - The parent side isn't closed if the child dies unexpectedly, r=valentin 2018-05-23 15:22:00 +03:00
Hiroyuki Ikezoe 0408cbb49e Bug 1463605 - Check continuation or IB split sibling frames in nsDOMWindowUtils::CheckAndClearPaintedState. r=mstange
MozReview-Commit-ID: CgyErEGeZJS

--HG--
extra : rebase_source : 1e179f64a39e0cab6b32074fa6ebf6c1884c8b32
2018-05-23 18:18:43 +09:00
Hiroyuki Ikezoe 265c5c817a Bug 1463605 - A reftest that IB sibling frames are correctly marked as 'NeedsDisplayItemRebuild' when there is an animation on the frames. r=mattwoodrow
MozReview-Commit-ID: FG7SQYKOq3r

--HG--
extra : rebase_source : a42ffc7a601b4dc872f4a2dae83d2ea1366b2f86
2018-05-23 18:15:12 +09:00
Hiroyuki Ikezoe c14fa231c7 Bug 1463605 - Check continuation or IB split sibling frames in nsDOMWindowUtils::CheckAndClearDisplayListState. r=mattwoodrow
MozReview-Commit-ID: 6PjC5INFyym

--HG--
extra : rebase_source : 3b6b39e700cf51ea926b8441c832e50118398f41
2018-05-23 18:15:12 +09:00