Commit Graph

560655 Commits

Author SHA1 Message Date
Nicholas Nethercote
f5c40383ca servo: Merge #18649 - Devirtualize nsIAtom (from nnethercote:bug-1400459); r=froydnj
<!-- Please describe your changes on the following line: -->

https://bugzilla.mozilla.org/show_bug.cgi?id=1400459
---
<!-- Thank you for contributing to Servo! Please replace each `[ ]` by `[X]` when the step is complete, and replace `__` with appropriate data: -->
- [X] `./mach build -d` does not report any errors
- [X] `./mach test-tidy` does not report any errors
- [X] These changes fix https://bugzilla.mozilla.org/show_bug.cgi?id=1400459

<!-- Either: -->
- [ ] There are tests for these changes OR
- [X] These changes do not require tests because tested on the Gecko side.

<!-- Also, please make sure that "Allow edits from maintainers" checkbox is checked, so that we can help you if you get stuck somewhere along the way.-->

<!-- Pull requests that do not address these steps are welcome, but they will require additional verification as part of the review process. -->

Source-Repo: https://github.com/servo/servo
Source-Revision: 54f8a131ea50fe8b0480d9f146acc97e13bc45d6

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : 490a18d56715a458cad9f0ee341ca798a1b1dc2d
2017-09-27 00:52:31 -05:00
Bharat Raghunathan
ab8f04191a Bug 1393453 - Moves Tooltips to ES6 classes retaining decorators r=zer0
MozReview-Commit-ID: 98kX9zA0Lka

--HG--
extra : rebase_source : 58885e96c4318106691cf038da4dc4bb206fdb7e
2017-09-20 09:42:50 +05:30
Daniel Holbert
65c9dd0145 Bug 1383323: Add a property_database.js testcase to verify that we reject radial-gradient() expressions that lack comma between shape and first color (iff stylo is enabled). r=xidorn
As noted in my code-comment here: Gecko's CSS parser incorrectly accepts this
CSS -- wherease Stylo correctly rejects it. Rather than trying to fix this in
Gecko, I'm just adding it in such a way that our expectation changes depending
on which CSS engine we're using.  This lets us regression-test this in our
now-default stylo configuration, and still detect accidental/unexpected
behavior-changes in Gecko.

MozReview-Commit-ID: whLGIrh7TQ

--HG--
extra : rebase_source : fd80ea3ca3ef0a39d1ceae36db11ec2a9e281e25
2017-09-26 15:52:17 -07:00
Alfredo.Yang
588fc5b9e0 Bug 1389527 - add testcase for invalid sample table. r=kinetik
MozReview-Commit-ID: 5e4oQPLtcuZ

--HG--
extra : rebase_source : 1a3364037f5fe49e732983d95758a2b670667452
2017-09-25 11:16:29 +08:00
Manish Goregaokar
b4eac691a8 servo: Merge #18644 - stylo: Don't error out on trailing whitespace in attr() (from Manishearth:stylo-attr-ws); r=bz
r=bz bug 1403282

Source-Repo: https://github.com/servo/servo
Source-Revision: 97227aaca3613e22afc832554d29f7f7fdfb7220

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : d922f5a3b76b92c444cd12c9b279ee1c09481385
2017-09-26 23:56:15 -05:00
gasolin
5e148c52b0 Bug 1399536 - fix incorrect JS in test-onboarding-tour-type.js;r=Fischer
MozReview-Commit-ID: 8irepX9JY4o

--HG--
extra : rebase_source : 23114ed2f50ad9b208ee319df29b00f62158329f
2017-09-26 16:03:21 +08:00
Grigory Kruglov
95e9c477dd Bug 1403022 - Abort session on BatchingUploader failures r=rnewman
The main goal of these changes is to ensure we're not doing any unnecessary work
in the unahppy cases of BatchingUploader. We might fail in three general ways:
- encounter a 412 error
- encounter another type of HTTP error
- encounter a GUID in the "failed" array

Currently, in all of these cases, we de-facto abort the session, without performing
an actual abort. E.g. we won't commit a batch, we'll refuse to upload any still-flowing
records. This patch simplifies our unhappy-case behaviour: if something failed, actually
abort the session (triggering a shutdownNow of the work queues), declare store as failed, etc.

It's important to note that our "did the synchronization fail?" login in the SynchronizerSession
depends on the store failure counts, and so this patch maintains the "record failed to store"
delegate chain. However, these counts are largely meaningless. What does it mean to fail to store
50 records, if we abort on the 51st, and prevent the other 100 from flowing (and from being counted
as failed?).

This patch also fixes an omission in the verstion tracking logic:
- prior, if we encountered a record in the "failed" array, we'd continue on with the flow, won't upload
anything, mark the synchronization as failed, but we'd also call into 'onStoreCompleted' which will
trigger an update of syncVersion for outflowing records
- with this patch, we won't call into onStoreCompleted in the case above, and so won't update syncVersion
in case of such failures
- this is the correct behaviour for batching uploads (now enabled on all but one server), but possibly
non-optimal behaviour if batching isn't enabled. However, this behaviour should be safe from a data consistency
point of view regardless of the batching mode.

MozReview-Commit-ID: LIYCPaRX8JA

--HG--
extra : rebase_source : 110224b2db85a383635db933ec6c19b21af886e7
2017-09-26 17:36:22 -04:00
Ray Lin
5f143a8673 Bug 1397486 - Update controlBar width according to videocontrols which really grows along <audio> width. r=jaws
MozReview-Commit-ID: LpxH7Pnu7tQ

--HG--
extra : rebase_source : 455014838e4e023fa8b90941b0c2516b52c4d37e
2017-09-14 17:37:47 +08:00
Servo VCS Sync
74240de91b No bug - Revendor rust dependencies 2017-09-27 00:32:01 +00:00
Matthew Gregan
3bf2f6de54 Bug 1403048 - Update Rust deps for audioipc. r=kamidphish,rillian
--HG--
extra : rebase_source : a9765e844b818a84cfa2ce69b525a7a2ed72c6de
2017-09-26 15:51:30 +13:00
Matthew Gregan
6e690e73d3 Bug 1403048 - Update media/audioipc to b5559d28. r=kamidphish
--HG--
extra : rebase_source : aeb3f0b9a45729fa21248983d34ce956e98a9b79
2017-09-26 15:49:26 +13:00
Wes Kocher
9d9610f6a3 Merge m-c to autoland, a=merge
MozReview-Commit-ID: Kjjgw1Pdb3U
2017-09-26 17:15:46 -07:00
Wes Kocher
a341b32d06 Merge autoland to central, a=merge
MozReview-Commit-ID: 8B7y2ULc04
2017-09-26 17:11:14 -07:00
Wes Kocher
22a72df7fe Merge inbound to m-c a=merge
MozReview-Commit-ID: 6viJ4wRxLa8
2017-09-26 15:54:51 -07:00
Wes Kocher
d8619fe6c3 Merge autoland to central, a=merge
MozReview-Commit-ID: BpUM80JUkMJ
2017-09-26 13:30:38 -07:00
Bob Owen
8cf423ff54 Bug 1403230: Block WRusr.dll in child processes when using Alternate Desktop. r=jimm 2017-09-26 19:23:39 +01:00
Brian Hackett
c021969355 Backed out changeset 072f8d4a9964 (bug 1355109) for causing crashes with various extensions. a=lizzard
--HG--
extra : source : 520e300d1266d19aea623eb723587acc03751d50
2017-09-26 14:12:25 -04:00
ffxbld
3dbb47302e No bug, Automated HPKP preload list update from host bld-linux64-spot-303 - a=hpkp-update 2017-09-26 10:34:42 -07:00
ffxbld
00a87df5f6 No bug, Automated HSTS preload list update from host bld-linux64-spot-303 - a=hsts-update 2017-09-26 10:34:38 -07:00
Sebastian Hengst
3c0f8f3312 merge mozilla-inbound to mozilla-central. r=merge a=merge
MozReview-Commit-ID: 4W52wcX8xBm
2017-09-26 11:54:34 +02:00
Cameron McCormack
57d322dc42 Bug 1403073 - stylo: Fix some bindgen object layout issues. r=xidorn
MozReview-Commit-ID: CnW4J2ZlmfJ

--HG--
extra : rebase_source : 1a5318e75b1cde9a48dcdab689c7983a0b0c89b5
2017-09-26 15:06:33 +08:00
Wes Kocher
a8bbad92b3 Backed out changeset 5799b3ef8745 (bug 802749) at flod's request a=backout
MozReview-Commit-ID: INjvhFgmO9m
2017-09-25 23:08:20 -07:00
Wes Kocher
18a2426a5d Bug 1330608 - Fix up mozlint-yaml a=bustage
MozReview-Commit-ID: 5nZmpAO4R3Z
2017-09-25 22:37:58 -07:00
Kris Maglione
1eb9c4b99b Bug 1402066: Part 2 - Enable permissions tests in OOP mode. r=aswan
MozReview-Commit-ID: 4Tv2HAaSV19

--HG--
extra : source : 641430a496824e34170786f6f3bc5e587f2056eb
extra : amend_source : e049c437ad8a70766544a3476a584395df7debb3
2017-09-25 21:05:00 -07:00
Kris Maglione
da3313920f Bug 1402066: Part 1 - Fix ordering of base schema data in extension child processes. r=aswan
MozReview-Commit-ID: FtLHJq5H5oD

--HG--
extra : source : d828e2c01a60febf598dcc544da266042c74731b
2017-09-25 21:01:32 -07:00
Gabriel Luong
73c33b2403 Backed out changeset fdecf61ce83e (bug 1402318) 2017-09-26 14:05:32 -04:00
Andrew Osmond
3ab0c4aca3 Bug 1402592 - Ensure that ImageBridgeParent instances are closed by the parent during shutdown. r=dvander
We currently allow the content process to shutdown the IPDL objects on
behalf the parent, and we wait for all of these instances to be freed
before we complete shutdown. This is undesirable because it requires the
parent to trust the child rather than the other way around; the child
can hold shutdown hostage by simply not releasing its instances. The
child should already support the parent closing its graphics IPDL
objects because the GPU process itself can die abruptly and be restored
at a later time.
2017-09-26 14:03:29 -04:00
Andrew Osmond
dbcc485a7a Bug 1389759 - Ensure we tear down CompositorManagerChild correctly if init or the GPU process fail. r=dvander 2017-09-26 13:21:52 -04:00
Andrew Osmond
b294a966cd Backed out changeset 6ed0903b5242 (bug 1389759) because an old version of the patch was landed. 2017-09-26 13:20:21 -04:00
Sebastian Hengst
72edf1fd45 Backed out changeset d5bc3152714e (bug 1402279) for failing devtools' devtools/client/jsonview/test/browser_jsonview_save_json.js. r=backout
--HG--
rename : toolkit/components/jsdownloads/src/DownloadPaths.jsm => toolkit/mozapps/downloads/DownloadPaths.jsm
rename : toolkit/components/jsdownloads/test/unit/test_DownloadPaths.js => toolkit/mozapps/downloads/tests/unit/test_DownloadPaths.js
2017-09-26 18:18:32 +02:00
Sebastian Hengst
811f53c0fc Backed out changeset 41da9c5daa90 (bug 1402279) 2017-09-26 18:17:51 +02:00
Michael Layzell
7ecd15b98f Bug 1402969 - Merge nsGlobalChromeWindow into nsGlobalWindow, r=bz 2017-09-26 11:43:13 -04:00
Andrew Osmond
4ef271b6d3 Bug 1389759 - Ensure we tear down CompositorManagerChild correctly if init or the GPU process fail. 2017-09-26 11:31:50 -04:00
Michael Layzell
1579b1ad20 Bug 1345733 - Increase timeout for large allocation tests, r=smaug 2017-09-26 11:15:50 -04:00
Marco Castelluccio
5a55204eb5 Bug 1403143 - Remove useless 'using namespace mozilla::ipc' from CodeCoverageHandler. r=jmaher
--HG--
extra : rebase_source : b004bf77bf9b334586b29cbfdce1bc383a739925
2017-09-26 13:48:17 +02:00
Paolo Amadini
9c4cbe557f Bug 1402279 - Part 2 - Unify the usage of the DownloadPaths module. r=mak,aswan
MozReview-Commit-ID: HEhwkyxtYTP

--HG--
extra : rebase_source : d17ef98796d5a4fcac899c6319045eec02b0633e
2017-09-26 16:03:24 +01:00
Dan Glastonbury
e0b3ce467e Bug 1399978 - Update cubeb-pulse-rs to git commit 2e22e53. r=kinetik
MozReview-Commit-ID: INksO0nbT1F

--HG--
extra : rebase_source : ea7936f95c44972478878cb54b1e2a83c4fbc4fe
2017-09-25 15:23:30 +10:00
Makoto Kato
24d3058066 Bug 1402469 - Part 2. Add crash test. r=masayuki
MozReview-Commit-ID: HogVH2OTyd6

--HG--
extra : rebase_source : 61e23c7fcc466eccef8bf496436841fe153c4767
2017-09-25 14:11:29 +09:00
Makoto Kato
2fc292406d Bug 1402469 - Part 1. Return value of ConvertListType should use Element instead of nsresult. r=masayuki
This is a typo bug of Bug 1053779 Part 2.  ConvertListType might return NS_OK
even if ReplaceContainer doesn't return valid value.

So, to clean up code, we should return Element instead of nsresult since out
parameter of this function is Element only.

MozReview-Commit-ID: 44UHETzcdGy

--HG--
extra : rebase_source : ab76486505cb4e7caea3fb99e11fccd606878f02
2017-09-25 14:15:50 +09:00
Emilio Cobos Álvarez
e750cc6e4e servo: Merge #18640 - style: Really minor cleanups (from emilio:cleanup-as-you-go); r=nox
See commits for details.

Source-Repo: https://github.com/servo/servo
Source-Revision: 4450bbdb0c44637a3caa05bd14a6e2b9d867a74e

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : f97eac4495b2898422b8648f9dc4a3c15ddc9e76
2017-09-26 07:53:43 -05:00
Oriol Brufau
f46ecc40c7 Bug 1399265 - Avoid relayout when switching tab in devtools r=Honza
MozReview-Commit-ID: J0vsN0MiN1o

--HG--
extra : rebase_source : b9acc61d47658c270b13fa3dbed1f0dfa8075fe5
2017-09-24 15:20:13 +02:00
Patrick Brosset
fb4bb32314 Bug 1402386 - CamelCase the inspector-tab-panel component; r=Honza
MozReview-Commit-ID: 2j1ocvxYvzv

--HG--
rename : devtools/client/inspector/components/inspector-tab-panel.css => devtools/client/inspector/components/InspectorTabPanel.css
rename : devtools/client/inspector/components/inspector-tab-panel.js => devtools/client/inspector/components/InspectorTabPanel.js
extra : rebase_source : ea67ee1a6eb86943522312018be4ed2225c6190b
2017-09-25 15:40:56 +02:00
Dão Gottwald
418df4c234 Bug 1390025 - Add separator between the tab strip and the drag space in front of it. r=johannh
MozReview-Commit-ID: LOymOHgg8fr

--HG--
extra : rebase_source : 1529ee862cb46b55f15b55acb66aa9af0e6086ff
2017-09-26 15:24:04 +02:00
Ian Moody
8f68d9bde5 Bug 1331769 - Test that there is no prompt for origin permission narrowing. r=aswan
MozReview-Commit-ID: 5twKRKK5uS2

--HG--
extra : rebase_source : b6b829747e8353b3ddca6cb8358da7893d305109
2017-09-24 01:34:10 +01:00
Paolo Amadini
8418fc1ba5 Bug 1402279 - Part 1 - Move the DownloadPaths module to the jsdownloads folder. r=mak
MozReview-Commit-ID: 91ZqKef6NIE

--HG--
rename : toolkit/mozapps/downloads/DownloadPaths.jsm => toolkit/components/jsdownloads/src/DownloadPaths.jsm
rename : toolkit/mozapps/downloads/tests/unit/test_DownloadPaths.js => toolkit/components/jsdownloads/test/unit/test_DownloadPaths.js
extra : rebase_source : 7505715770e8fa383a42e0f8a18258c08e8e0f3a
2017-09-22 15:45:39 +01:00
Brian Hackett
ba9335f101 Bug 1402580 - Support yield callback used when entering the system zone group in the JS shell, r=jandem.
--HG--
extra : rebase_source : 9794f293215aff71512664d2c689246efbcad9af
2017-09-26 06:04:06 -07:00
Justin Wood
3a5e88125e Bug 1403084 - Make beta point at l10n-central for android. r=mtabara
This fixes Single Locale Repacks for Fennec 57.0 betas.

This broke because our merge scripts rewrote l10n-central to mozilla-beta expecting the l10n repo to be called 'mozilla-beta', which is no longer true with cross-channel l10n. When we patched the configs we didn't see a 'mozilla-beta' entry here, butmissed that the merge-day scripts change it on us.

MozReview-Commit-ID: F7BJzpZg0Xj

--HG--
extra : source : cc652dcb13dba40ae3f263ae89ce3e610a34165f
extra : amend_source : 9fa72e4b2a662a6a63ddfc59dbacf7f03e57dd67
2017-09-26 08:24:12 -04:00
David Anderson
502592c19b Assert that the GPU process build ID matches the UI process. (bug 1333056, r=mccr8)
MozReview-Commit-ID: 924UVeGXhsr

--HG--
extra : histedit_source : 5ac6ac13c4f34b75106911fdec1cec2260928fce
2017-09-26 10:16:14 -04:00
Ryan Hunt
83e90232cc Don't crash in SendBuildID when MessageChannel isn't connected. (bug 1333056, r=dvander)
xpcshell can sometimes create and then almost immediately kill the GPU process. This can
cause the connection state of GPUParent's message channel to be in error or closed
when it attempts to send its build ID. In this case we should ignore the request
because the process will soon close.

MozReview-Commit-ID: EAupU844iFo

--HG--
extra : histedit_source : df05a01df5ad095b4e3c91e0e038d4e145da5f9d
2017-09-22 16:15:21 -05:00
Julian Descottes
4c5032bb5b Bug 1403152 - fix test browser_html_tooltip_xul-wrapper.js for small viewports;r=me
MozReview-Commit-ID: A1W1LCDjupO

--HG--
extra : rebase_source : 30fceb0a393c767a839a554135143c1f235c0121
2017-09-26 15:04:59 +02:00