Commit Graph

597471 Commits

Author SHA1 Message Date
Xidorn Quan
ee0c05df56 Bug 1463687 - Apply scrollbar style of root element to scrollbars of viewport. r=heycam
MozReview-Commit-ID: GWmhehtqO1U

--HG--
extra : rebase_source : 18e73bb269c9a0b1fd7d3c4ab25f4ad788d1a065
2018-05-24 16:34:58 +10:00
Timothy Guan-tin Chien
0a30377cbf Bug 1456625 - Remove replacement XBL binding (Backout cb51f3bada90) r=Felipe
MozReview-Commit-ID: KlvjWWi3LkN

--HG--
extra : rebase_source : f6259fed961bed5eda732207b0a86748f3af64eb
2018-05-24 18:23:48 +08:00
Nick Alexander
72a9479310 Bug 1464128 - Migrate bookmarks.html.in to LOCALIZED_GENERATED_FILES. r=ted.mielczarek
This one looks to be pretty straight-forward.  It irritates me that
the jar.mn entry doesn't explicitly say that the result is coming from
the object directory, like

locale/browser/bookmarks.html (!bookmarks.html)

but that's for another day.

MozReview-Commit-ID: Cw8E0VJhSxv

--HG--
extra : rebase_source : a1045a5b564b0094b562729bc7234e69ec7a786d
2018-05-24 11:28:47 -07:00
Steve Fink
f6f838e320 Bug 1463501 - Fix string post barrier when writing string base field, r=jandem
--HG--
extra : topic : nursery.strings
extra : rebase_source : f0508c28a8e227976d8b40538508d341323e29ac
extra : histedit_source : 5025bada58e00297a4ba992ca88d2b84ae02fd63
2018-05-23 17:11:02 -07:00
Brad Werth
39c314e889 Bug 1463794: Move new WPT reftests to correct source-of-truth directory. r=dbaron+3881
MozReview-Commit-ID: DcM0kVCAsZn

--HG--
rename : testing/web-platform/tests/css/vendor-imports/mozilla/mozilla-central-reftests/shapes1/shape-outside-circle-056-ref.html => layout/reftests/w3c-css/submitted/shapes1/shape-outside-circle-056-ref.html
rename : testing/web-platform/tests/css/vendor-imports/mozilla/mozilla-central-reftests/shapes1/shape-outside-circle-056.html => layout/reftests/w3c-css/submitted/shapes1/shape-outside-circle-056.html
rename : testing/web-platform/tests/css/vendor-imports/mozilla/mozilla-central-reftests/shapes1/shape-outside-ellipse-052-ref.html => layout/reftests/w3c-css/submitted/shapes1/shape-outside-ellipse-052-ref.html
rename : testing/web-platform/tests/css/vendor-imports/mozilla/mozilla-central-reftests/shapes1/shape-outside-ellipse-052.html => layout/reftests/w3c-css/submitted/shapes1/shape-outside-ellipse-052.html
rename : testing/web-platform/tests/css/vendor-imports/mozilla/mozilla-central-reftests/shapes1/shape-outside-polygon-032-ref.html => layout/reftests/w3c-css/submitted/shapes1/shape-outside-polygon-032-ref.html
rename : testing/web-platform/tests/css/vendor-imports/mozilla/mozilla-central-reftests/shapes1/shape-outside-polygon-032.html => layout/reftests/w3c-css/submitted/shapes1/shape-outside-polygon-032.html
extra : rebase_source : add4f42d16a770eac4915b26fb4a7fffd5ac6ac4
2018-05-23 12:53:34 -07:00
Mark Hammond
4270e4fe26 Bug 1463956 - allow Sync to remove all address and credit-card records. r=kitcambridge,MattN
MozReview-Commit-ID: KSeJJfAGmRh

--HG--
extra : rebase_source : c2cc973c94f352d20ca7d37952d91cb6c07aee2e
2018-05-24 12:36:37 +10:00
Kartikaya Gupta
c372c80afc Bug 1464181 - Enable mochitests on windows10-64-qr opt builds. r=jmaher
MozReview-Commit-ID: 5oerrEozVwd

--HG--
extra : rebase_source : ec1a900453d0d8682578004041fbb17e9ff322e9
2018-05-24 15:00:26 -04:00
Narcis Beleuzu
8bfcff6f8c Backed out 3 changesets (bug 1186265) for devtools chrome failures on browser_webconsole_visibility_messages.js. CLOSED TREE
Backed out changeset 4a9965aeeef3 (bug 1186265)
Backed out changeset 55bd80764231 (bug 1186265)
Backed out changeset 00fefd3eb634 (bug 1186265)
2018-05-25 05:36:52 +03:00
Dão Gottwald
a71b9f47c1 Bug 1449860 - Focus the location bar when loading about:home. r=mak
MozReview-Commit-ID: FeeNBfGTl7Z

--HG--
extra : rebase_source : 1ef9bdf4d5a149a8d8dabc9acbaa51ff644e4510
2018-05-23 11:17:25 +02:00
Miko Mynttinen
10427be70b Bug 1464065 - Avoid unnecessary work in nsIFrame::IsStackingContext() when frame is visually atomic r=mattwoodrow
MozReview-Commit-ID: 3g5PqD65I2p

--HG--
extra : rebase_source : 7427ed54043bfa312c20acd887b31f7a22be13f7
2018-05-24 15:24:49 +02:00
Dão Gottwald
9515340567 Bug 1459887 - Relabel the "Remove Bookmark" button to "Cancel" in the New Bookmark dialog. r=standard8
MozReview-Commit-ID: EcCW2eBzfBT

--HG--
extra : rebase_source : f9160b3a36085f375bb47fe0d18740fd7e020ebb
2018-05-25 10:53:53 +02:00
Dave Hunt
c5cc043842 Bug 1464088 - Vendor six via |mach vendor python|; r=ahal
MozReview-Commit-ID: KO2q3tP6hdQ

--HG--
extra : rebase_source : 97a84de60d56a9e2f4066518c80ceec297bfac8b
2018-05-24 16:04:45 +01:00
Brendan Dahl
3dcc09bf6b Bug 1460639 - Add test for loading persisted size of a navigated window. r=smaug
MozReview-Commit-ID: 2hrI735MR7p

--HG--
extra : rebase_source : 18c6c9a366c982e61dd8addd1581a6b4eed277b5
2018-05-22 15:55:13 -07:00
Yura Zenevich
067bbee8c9 Bug 1463498 - fixing this.telemetry is undefined error in toolbox-options.js. r=jdescottes
MozReview-Commit-ID: BOMEvvD7yrX
2018-05-22 10:55:00 +03:00
Gabriel Luong
b6e607efa1 Bug 1455779 - Reset inspector sidebar sizes when switching host types. r=pbro
MozReview-Commit-ID: JHthtWqa8gg
2018-05-22 01:22:34 -04:00
Valentin Gosu
0faa23c878 Bug 1459666 - Ensure that DivertToParent is only called during OnStartRequest r=dragana 2018-05-21 21:16:10 +02:00
Vinothkumar Nagasayanan
26243dc0d3 Bug 1453396 - Tests splitted into two to fix intermittent test timed out. r=ckerschb
--HG--
rename : dom/base/test/test_bug704320.html => dom/base/test/test_bug704320-1.html
rename : dom/base/test/test_bug704320.html => dom/base/test/test_bug704320-2.html
2018-05-25 16:20:32 +03:00
Andrew Osmond
644583163d Bug 1462650 - Improve imgTools::EncodeScaledImage performance. r=lsalzman
We should avoiding creating a DrawTarget to create a new
DataSourceSurface when the original surface produced by
RasterImage::GetFrameAtSize matches our requirements in
imgTools::EncodeScaledImage. We should also be using Skia instead of
Cairo.

This patch also fixes a few error conditions where we would not have
unmapped the surface properly.
2018-05-25 09:02:20 -04:00
Andrea Marchesini
9f5a134c05 Bug 1463767 - ReleasingTimerHolder should expose nsINamed::GetName only if MOZ_COLLECTING_RUNNABLE_TELEMETRY is defined, r=smaug 2018-05-25 14:46:44 +02:00
Julian Seward
afeb821105 Bug 1461727 - The name of the type field in the type descriptor for WebAssembly.Global shall be "value". r=lth.
The current name is "type".  Henceforth it shall be known as "value", per CG
decision of 15 May 2018.

--HG--
extra : rebase_source : 3a0dabf9acb1d95abe35dd66da0172cae8014b08
2018-05-25 13:31:46 +02:00
Emilio Cobos Álvarez
441ab566e4 No bug - Fix some bogus indentation. r=me
MozReview-Commit-ID: 6G7oS6MkJ0Y
2018-05-25 14:18:29 +02:00
Emilio Cobos Álvarez
fd50762838 No bug - Use a static atom instead of a dynamic one. r=me
MozReview-Commit-ID: CUTwfsCrovQ
2018-05-25 14:14:15 +02:00
Gurzau Raul
c406b410bc Backed out changeset 5bb547481faf (bug 1451973) for testChild failures on a CLOSED TREE 2018-05-25 14:16:34 +03:00
James Graham
0ebb40fcee Bug 1265584 - Update wpt metadata, r=maja_zf
MozReview-Commit-ID: F0KYHBJ8nIh
2018-05-25 11:58:20 +01:00
James Graham
1a3bcbfdd3 Bug 1265584 - Add a test for wpttest metadata, r=maja_zf
MozReview-Commit-ID: Jme9GND8ihS
2018-05-25 11:58:18 +01:00
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