Commit Graph

605567 Commits

Author SHA1 Message Date
Brad Werth
653730a83e Bug 1471894 Part 1: Ensure that absolute positioned blocks with auto margins update their UsedMargin property. r=dholbert
MozReview-Commit-ID: EFIQVvazkTg

--HG--
extra : rebase_source : e1a9d2248a07a52ab124659f5fb7bd5e73159b83
2018-07-11 16:52:33 -07:00
Mike Shal
57f8df0a94 Bug 1473667 - Handle multiple GENERATED_FILES outputs in the faster make backend; r=gps
For files that come from the objdir in install manifests (eg: '!buildid.h'),
the FasterMake backend runs 'make -C dirname filename' to build the file
with the RecursiveMake backend before the install manifest is processed.
This works fine for GENERATED_FILES that produce a single target, but if
the GENERATED_FILES invocation produces multiple targets, the FasterMake
backend will run the command multiple times. Eg:

GENERATED_FILES += [('output1', 'output2')]
...
make -C dirname output1
make -C dirname output2

These invocations may be run in parallel, and would produce both output1
and output2 twice.

Instead we can track the GeneratedFile objects as they are emitted, and
only add the first output as a dependency on the install manifest. The
RecursiveMake backend is then only invoked once for the whole group of
GENERATED_FILES.

MozReview-Commit-ID: 6mvkHow2V2i

--HG--
extra : rebase_source : c6cd50d972fe8764831544685a63921e0548e765
2018-07-05 11:48:59 -04:00
Kartikaya Gupta
76a7f3cba7 Bug 1468020 - Add crashtest. r=mstange
MozReview-Commit-ID: KeWy2KHPSjl

--HG--
extra : rebase_source : d22c55d1d0fa17bf722f4540ab7fb3243a3001af
2018-07-24 14:21:09 -04:00
Kartikaya Gupta
970bd5648f Bug 1468020 - Extract helper function to avoid duplicated code. r=mstange
MozReview-Commit-ID: JuirkAId7Km

--HG--
extra : rebase_source : 3e2b3d228b3ad6dafc11dc89631778cd23580c9c
2018-07-24 14:21:08 -04:00
Kartikaya Gupta
af58b4a732 Bug 1468020 - Conform to static analysis bot suggestion. r=mstange
MozReview-Commit-ID: KeWy2KHPSjk

--HG--
extra : rebase_source : 4280ba5c9f2b77e5c5ed98cfc9b9e586c4794add
2018-07-24 14:21:08 -04:00
Kartikaya Gupta
614fc7e747 Bug 1468020 - Don't layerize filter and mask items. r=mstange
This restricts the active-item-detection code to wrap lists because
other wrapper items are not supported yet.

MozReview-Commit-ID: JuirkAId7Kk

--HG--
extra : rebase_source : 5dbb8af8504f301ca49273b4f6f434a91524860a
2018-07-24 14:21:07 -04:00
Mike Cooper
3c5b5341ed Bug 1477380 - Don't set startup prefs for user-branch Normandy pref-experiments r=Gijs
Differential Revision: https://phabricator.services.mozilla.com/D2305

--HG--
extra : moz-landing-system : lando
2018-07-24 18:24:22 +00:00
Ted Mielczarek
146e0cc094 bug 1447932 - Add support for localized files to fastermake backend. r=mshal
Co-authored by Nick Alexander <nalexander@mozilla.com>

This patch adds support to the fastermake backend for taking localized files
from a locale directory as specified by the combination of --with-l10n-base
and --enable-ui-locale. This allows artifact builds to be built localized
with a different locale.

MozReview-Commit-ID: 1bD9Gy0ewJ2

--HG--
extra : rebase_source : 7e7d52142e48c0e57ead11df4d3d721a3b10b3e0
2018-03-21 16:47:02 -04:00
Brian Grinstead
96dc530924 Bug 1476333 - Refer to AppConstants.BROWSER_CHROME_URL to get the browser URL from the frontend;r=Gijs
Before this change, we accessed the browser URL in the following ways:

- "chrome://browser/content/browser.xul"
- "chrome://browser/content/" (which redirects to chrome://browser/content/browser.xul)
- Services.prefs.getCharPref("browser.chromeURL") which returns "chrome://browser/content/"
- getBrowserURL() from utilityOverlay.js

MozReview-Commit-ID: I5vtRke1x9t

--HG--
extra : rebase_source : c525350a1954740873e85b045cbb14a8b43aa89d
2018-07-24 08:12:50 -07:00
Brian Grinstead
eb11f1de3b Bug 1476333 - Define the browser chrome URL as BROWSER_CHROME_URL so it can be accessed from AppConstants instead of a pref;r=gps
MozReview-Commit-ID: DPxayAW4D1s

--HG--
extra : rebase_source : 4d3f1e71b0abd1f38cd750d52b84269b6af52991
2018-07-24 08:12:48 -07:00
Dale Harvey
46b2ff755a Bug 1477350 - Fix autoplay blocked icon to use context-fill correctly. r=florian
MozReview-Commit-ID: CgPp6XjZ1qh

--HG--
extra : rebase_source : dc532803c901ec11b1d6921f58dde08312987183
2018-07-24 09:10:07 +01:00
Sebastian Hengst
bdb8237210 Bug 1477935 - Let tests/paymentrequest/ use Core :: DOM: Web Payments as bugzilla product and component. r=MattN
MozReview-Commit-ID: 9Dd4JbmprLR

--HG--
extra : rebase_source : afc5e3e4dad9cc5e04b5a76bc2bf0eb2646b4495
2018-07-24 11:23:28 +03:00
Bogdan Tara
fecaaf3862 Backed out 2 changesets (bug 1471894) for lint failure on wpt.yml CLOSED TREE
Backed out changeset 189749cc1e12 (bug 1471894)
Backed out changeset 194afde62e69 (bug 1471894)
2018-07-24 20:26:43 +03:00
Dão Gottwald
d0a8d0ffb2 Bug 1442582 - Remove the tabbrowser-tabpanels binding. r=dao
MozReview-Commit-ID: HcQgRbvcdiV

--HG--
extra : rebase_source : 4eaebcb9e651f5e5e90a5082cb04678b4739e585
2018-03-16 22:30:01 +01:00
Brad Werth
5742b9a5bc Bug 1471894 Part 2: Add a web-platform-test to check computed margin values on auto margin blocks. r=dholbert
MozReview-Commit-ID: KbSZzhoX5mu

--HG--
extra : rebase_source : 55c3ea8066dc039798bd761b62df4c6ed6f63720
2018-07-12 11:55:32 -07:00
Brad Werth
95bfc75c0f Bug 1471894 Part 1: Ensure that absolute positioned blocks with auto margins update their UsedMargin property. r=dholbert
MozReview-Commit-ID: EFIQVvazkTg

--HG--
extra : rebase_source : e1a9d2248a07a52ab124659f5fb7bd5e73159b83
2018-07-11 16:52:33 -07:00
Mark Banner
8de4344378 Bug 1462135 - Replace PlacesUtils.getCharsetForURI with PU.history.fetch with an option to fetch annotations. r=mak
This also avoids us doing main thread sync io.

MozReview-Commit-ID: KR0p7eeu1sj

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

--HG--
extra : moz-landing-system : lando
2018-07-24 16:41:22 +00:00
Rob Wood
15993592c1 Bug 1454053 - re-record tp6 pages for raptor; r=igoldan
MozReview-Commit-ID: Esy7cWeADdy

--HG--
rename : testing/raptor/raptor/playback/mitmproxy-playback-set.manifest => testing/raptor/raptor/playback/mitmproxy-recordings-raptor-tp6.manifest
extra : rebase_source : 99437134717bb9df35a7b70c493c3166319aad44
2018-07-24 09:33:10 -04:00
Julian Descottes
0db1432e3a Bug 1452061 - CamelCase all React component files in devtools performance panel;r=gregtatum
MozReview-Commit-ID: 3RW6DRE95bY

--HG--
rename : devtools/client/performance/components/jit-optimizations.js => devtools/client/performance/components/JITOptimizations.js
rename : devtools/client/performance/components/jit-optimizations-item.js => devtools/client/performance/components/JITOptimizationsItem.js
rename : devtools/client/performance/components/recording-button.js => devtools/client/performance/components/RecordingButton.js
rename : devtools/client/performance/components/recording-controls.js => devtools/client/performance/components/RecordingControls.js
rename : devtools/client/performance/components/recording-list.js => devtools/client/performance/components/RecordingList.js
rename : devtools/client/performance/components/recording-list-item.js => devtools/client/performance/components/RecordingListItem.js
rename : devtools/client/performance/components/waterfall.js => devtools/client/performance/components/Waterfall.js
rename : devtools/client/performance/components/waterfall-header.js => devtools/client/performance/components/WaterfallHeader.js
rename : devtools/client/performance/components/waterfall-tree.js => devtools/client/performance/components/WaterfallTree.js
rename : devtools/client/performance/components/waterfall-tree-row.js => devtools/client/performance/components/WaterfallTreeRow.js
extra : rebase_source : 751d10f91cd97c6ce3d916f401ce57ec94f744f1
2018-06-14 14:45:15 -07:00
Julian Descottes
a17f7800df Bug 1441535 - Remove unnecessary shadowdom check in isXBLAnonymous;r=bgrins
doc.getAnonymousNodes no longer returns shadow dom nodes, so no need
to filter them out in isXBLAnonymous.

This feature is tested in browser_markup_anonymous_02.js so reenabling
this test.

toolbarbutton has 4 children now, but since our tests are no longer
running in non-e10s, the regression was missed!

MozReview-Commit-ID: BHYb5ufyQjg

--HG--
extra : rebase_source : bb933452d3780fa1c632240314014ad9c605c52a
2018-07-24 15:56:35 +02:00
Gurzau Raul
d524578d51 Merge mozilla-central to autoland. a=merge CLOSED TREE 2018-07-24 18:51:43 +03:00
Gurzau Raul
bdfd20ef30 Merge inbound to mozilla-central. a=merge 2018-07-24 18:48:01 +03:00
Gurzau Raul
bee5304ab9 Merge autoland to mozilla-central. a=merge 2018-07-24 18:46:13 +03:00
Andreas Tolfsen
565f257e32 Bug 1477474 - Return moz:geckodriverVersion on session creation. r=automatedtester
This introduces a new extension capability, moz:geckodriverVersion, that
will be returned on session creation with the geckodriver version number.
2018-07-24 14:07:48 +01:00
Andreas Tolfsen
6c5f321c8e Bug 1477474 - Stop logging geckodriver version on startup. r=automatedtester
Any info-level log entries emitted before session creation will
not be subject to the requested log level from moz:firefoxOptions.
This can confuse users, so instead of logging the geckodriver
version number on starting the program, we can return it later
during session creation as an extension capability.

Additionally this patch reduces the log level of the port geckodriver
listens to from info to debug for similar reasons.
2018-07-24 14:07:48 +01:00
Christian Holler
2ce6b8e8ec Bug 1477981 - Disable sandboxing for win64 ASan reporter builds. r=froydnj a=aryx
--HG--
extra : rebase_source : 4282bed37a2792814c0272e70a4ea009979ffc57
extra : histedit_source : 5f5923eb953549220020518c8df1e11edc33f870
2018-07-24 14:31:03 +02:00
Sylvestre Ledru
d8cf7f225f Bug 1477979 - Add the name of the clang-tidy 6.0 as a comment r=janx
Differential Revision: https://phabricator.services.mozilla.com/D2291

--HG--
extra : moz-landing-system : lando
2018-07-24 12:15:04 +00:00
Jan Horak
294a592750 Bug 1477967 - Fix the popup menu sizes and redrawing on Wayland/hidpi monitor, r=stransky
This patch fixes redrawing of the popup element by removing the scale factor
from the invalid regions because the wl_surface_damage multiplies it with the
scale factor too.

Also we set scaling factor of the wl_surface right after we create it to avoid
flickering when the compositor switches from unscaled to scaled surface.

MozReview-Commit-ID: 1eGoFu87wtF

--HG--
extra : rebase_source : 08abe86889e34865f3eed0f3979b4a584cc74adb
2018-07-24 12:51:34 +02:00
Gurzau Raul
f2e1e857f1 Merge inbound to mozilla-central. a=merge 2018-07-24 12:49:23 +03:00
Kris Maglione
1814a2510f Bug 1477512: Follow-up: Un-inline ThreadEventQueue::SizeOfExcludingThis. r=me
--HG--
extra : amend_source : 0e611892cc6d9133ffc7ccc41cd14a7348d7c5b3
2018-07-23 23:17:12 -07:00
Nicholas Nethercote
e6f8df84ad Bug 1477622 - Add microbenchmarks measuring hash table performance. r=froydnj
--HG--
extra : rebase_source : 2d76bfcb862b3b690ea8db2b5b007dde2a90f914
2018-07-24 10:38:43 +10:00
Jeff Muizelaar
bfec1c104f Bug 1477505. Update webrender to commit e850fbd2e0e60a8de76c2d2464f0fa27316d5949 2018-07-23 23:48:02 -04:00
Paul Adenot
d097a302f8 Bug 1477704 - r=karlt
--HG--
extra : rebase_source : 165ea665512f8119efd4c9b34aa3efb38a8910d6
2018-07-23 16:47:44 +02:00
Andreas Tolfsen
394ba9bb0b Bug 1476305 - Add pref to not truncate Marionette log messages. r=automatedtester
Marionette currently truncates a selection of log messages that
exceed 250 characters.  It is however sometimes, usually when
debugging locally, to not truncate logs so one can see exactly what
is sent to and fro the server.
2018-07-24 13:33:51 +01:00
Petru Lingurar
a998b4fb5c Bug 1477234 - WeekPicker starts with incorrect values; r=jchen
MozReview-Commit-ID: AKXF2e7ktpN

--HG--
extra : rebase_source : 6541b9233e6e2e1f31d50fb32cee52022b4fc4f0
2018-07-23 10:07:39 +03:00
Andrei Lazar
6249249b03 Bug 1476424 Crash in android.os.TransactionTooLargeException: data parcel size 3124056 bytes at android.os.BinderProxy.transactNative(Native Method) r=jchen
Upon saving the state of onboarding fragments, the bundle can exceed 3MB because of the bitmaps.
Therefore, now we pass a resources id instead of passing the full bitmap through the bundle.

MozReview-Commit-ID: 9zpXrmolT38

--HG--
extra : rebase_source : 9ab3a9ad680c415852c02abc2ef046c190438a5e
2018-07-23 13:08:49 +03:00
Ekanan Ketunuti
3f1345e2c2 Bug 1476849 - Add words to en-US dictionary. r=ehsan
--HG--
extra : rebase_source : 59221034a1891c973e79a5ba1d900be4fb61fac9
2018-07-23 13:31:26 +07:00
Kris Maglione
3869956f6e Bug 1477579: Follow-up: Also skip stack allocation assertion on Android. r=me DONTBUILD 2018-07-23 19:25:00 -07:00
Kris Maglione
7aa3564a28 Bug 1477579: Part 3 - Avoid duplicating static strings in category manager entries. r=froydnj
Much like the component manager, many of the strings that we use for category
manager entries are statically allocated. There's no need to duplicate these
strings.

This patch changes the category manager APIs to take nsACStrings rather than
raw pointers, and to pass literal nsCStrings when we know we have a literal
string to begin with. When adding the category entry, it then skips making
copies of any strings with the LITERAL flag.

MozReview-Commit-ID: EJEcYSdNMWs
***
amend-catman

--HG--
extra : source : aa9a8f18e98f930a3d8359565eef02f3f6efc5f9
extra : absorb_source : 81a22ab26ee8017ac43321ff2c987d8096182d37
2018-07-23 17:41:06 -07:00
Kris Maglione
83b3ac8f23 Bug 1477579: Part 2 - Use nsID* rather than nsID for mFactories hash keys. r=froydnj
Our factory registrations already require that we store nsID pointers, which
we generally handle by using pointers to static data, or arena allocating a
copy of a dynamic ID.

Since we already have viable pointers to these IDs, there's no reason to store
an entire second copy for our hash key. We can use the pointer, instead, which
saves 16 bytes per entry.

MozReview-Commit-ID: 6MgKrXRSHv4

--HG--
extra : source : 5fb0b7746a5d56563b471e3061ccca124ea45485
extra : absorb_source : 275f5d4dc2c02e3d0391ed16e8690dac1e601758
2018-07-21 19:09:25 -07:00
Kris Maglione
b8f2198d8c Bug 1477579: Part 1 - Use literal strings for statically registered contract ID keys. r=froydnj
Most of our components are static, and registered using literal C strings. For
those components, we currently use a nsDependentCString as a key when creating
a hash entry, which leads to an unnecessary duplication. Using literal
CStrings instead avoids the duplication.

MozReview-Commit-ID: 5DOUF8ZQMlh

--HG--
extra : source : 8359f8fe418419c50ab0ed93496e7445b570ba9f
extra : absorb_source : 2a33ae4e7e6d312adcea8ece2158f07a7050e01e
2018-07-22 10:54:56 -07:00
Emilio Cobos Álvarez
d487539dd5 Bug 1477883: Revendor Rust dependencies. r=me
MozReview-Commit-ID: LQu7Lb4GMdV
2018-07-24 04:03:26 +02:00
Emilio Cobos Álvarez
1a53242e60 Bug 1477883: Appease Servo's tidy lint. r=me
MozReview-Commit-ID: CqqndCexGKW
2018-07-24 04:03:24 +02:00
Emilio Cobos Álvarez
d2466a05c8 Bug 1477883: Fix servo build. r=me
MozReview-Commit-ID: LU5Id4244ft
2018-07-24 04:03:22 +02:00
Emilio Cobos Álvarez
d94136a13b Bug 1477883: Update itoa. r=me
Has been updated in servo for a long time, and we already have the new version
in tree.

MozReview-Commit-ID: 1yNOsqwLign
2018-07-24 04:03:21 +02:00
nupurbaghel
0db62cee2a Bug 1477883: Cherry-pick style changes from servo/servo#21181. r=emilio
MozReview-Commit-ID: FpZ0YvXEYmP
2018-07-24 04:03:20 +02:00
Bastien Orivel
29f51fc11b Bug 1477883: Update parking_lot to 0.6. r=emilio
Cherry-pick of servo/servo#21216.

MozReview-Commit-ID: 4sTKSSCbrP4
2018-07-24 04:03:18 +02:00
Brindusan Cristian
91a3707d5f Backed out 3 changesets (bug 1477579) for build bustages on xpcshell\selftest.py and crashtest failures on /components/nsComponentManager.cpp. CLOSED TREE
Backed out changeset aa9a8f18e98f (bug 1477579)
Backed out changeset 5fb0b7746a5d (bug 1477579)
Backed out changeset 8359f8fe4184 (bug 1477579)
2018-07-24 04:55:03 +03:00
Kris Maglione
616ee870a3 Bug 1477512: Part 5 - Rearrange the fields of nsThread for better packing. r=erahm
This takes 16 bytes off of the allocated size of each instance.

MozReview-Commit-ID: AhfN6MWvVL1

--HG--
extra : rebase_source : badc6ab690f2c4e0184ac0b51b29f81fb11279c6
extra : absorb_source : 0f685515a6946c89e9467c8b1e8548c989b1907b
extra : histedit_source : 7bfb5db39b23c1d262819c22a6e5fcd884c52504
2018-07-21 16:00:02 -07:00
Kris Maglione
8a135e1872 Bug 1477512: Part 4 - Add memory reporter for thread kernel stack sizes. r=erahm
We don't have a way to determine these at runtime, but for Windows and Linux,
the values are known and predictable.

MozReview-Commit-ID: 57LMJLzl762

--HG--
extra : rebase_source : 415690574116d549171097cb9e33834e4d4a9a4f
extra : absorb_source : 4678306b020999f52dcf770d3907d79f1f38b249
extra : histedit_source : 0d0f3cb62b9f64322876fe568ccd62893e6ad4b1%2Ccaca0524b930cf93608565ec06247aa0f4fee7e2
2018-07-21 15:12:11 -07:00