Commit Graph

570400 Commits

Author SHA1 Message Date
Matt Woodrow
bae6122c8a Bug 1417529 - Part 1: Make sure UpdateBounds actually takes effect for transform separator items. r=miko 2017-11-18 10:57:56 +13:00
Matt Woodrow
7e4706b721 Bug 1417411 - Invalidate nsDisplayPerspective items when the inner transform frame changes. r=miko 2017-11-18 10:57:46 +13:00
Oriol Brufau
a3f319d3d4 Bug 1418438 - Avoid null deref in nsIDocShell's forcedCharset. r=emk
MozReview-Commit-ID: KsTWmlAhDp8

--HG--
extra : rebase_source : 21e7476103c03488628f72aa517031135cfa4fe7
2017-11-17 21:28:50 +01:00
Christian Gati
7cbed49156 servo: Merge #19182 - Treat application/xml like text/xml in ParserContext::process_response (from cgati:parse-xml); r=KiChjang
<!-- Please describe your changes on the following line: -->

* components/script/dom/servoparser/mod.rs updated to handle application/xml as text/xml, along with hoisting application/xhtml+xml from the unknown mime types match arm.
* tests updated via mach

---
<!-- 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 #15850  (github issue number if applicable).

<!-- Either: -->
- [X] These changes modify results in test files via the automated: `./mach test-wpt tests/wpt/web-platform-tests/dom/nodes --log-raw /tmp/servo && ./mach update-wpt /tmp/servo`
- [ ] These changes do not require tests because _____

<!-- 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: 60dca9cc4418b1cd0c21bee89d7b0d0bf657a7ff

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : bf51aededee6d51b599717c0b31c29e49c17dce6
2017-11-18 15:09:15 -06:00
Gurzau Raul
0758d56d18 Merge mozilla-central to autoland. r=merge a=merge CLOSED TREE 2017-11-18 22:51:47 +02:00
CYBAI
41815e53e1 servo: Merge #19277 - style: Move font-variant-numeric outside of mako (from CYBAI:font-variant-numeric-out-of-mako); r=emilio
This is a sub-PR of #19015
r? @emilio

---
- [x] `./mach build -d` does not report any errors
- [x] `./mach test-tidy` does not report any errors
- [x] These changes fix #19276
- [x] These changes do not require tests

Source-Repo: https://github.com/servo/servo
Source-Revision: 011e52f6ed06f260c4756a4c8fd04d4cc7912839

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : 856d379ee399e0e33a43b695678cdc0ec668f2f4
2017-11-18 13:22:10 -06:00
Marco Castelluccio
4ca9bd92ec Bug 1418252 - Add missing 'sys' import. r=jmaher
--HG--
extra : rebase_source : c35fe0d1289aee2f81af7b67548f8ed98c349e07
2017-11-17 20:12:23 +01:00
Marco Castelluccio
55a92adc2e Bug 1418252 - Allow 'virtualization' key to be keyed by test platform. r=jmaher
--HG--
extra : rebase_source : 978e4705b1082f633301a4462ceb11817f6d1634
2017-11-17 15:22:30 +01:00
Marco Castelluccio
ed422e8561 Bug 1418252 - Make talos tests run in Windows coverage build. r=jmaher
--HG--
extra : rebase_source : 8bcfc4112938de91b22497d48482d80eba3ff88c
2017-11-18 00:05:51 +01:00
Tooru Fujisawa
1779eec6e9 Bug 1361276 - Wait for mousemove instead of mouseover in browser/components/search/test/browser_oneOffHeader.js. r=johannh 2017-11-18 22:57:18 +09:00
Tooru Fujisawa
b0ee34bea3 Bug 1416466 - Wait for the next event tick before resolving Promise for onload event in tests in security/manager/ssl/tests/mochitest/browser/. r=mossop 2017-11-18 22:57:18 +09:00
Tooru Fujisawa
3f7d0cfdfa Bug 1418183 - Wait for the next event tick before resolving Promise for history event in browser/components/sessionstore/test/browser_async_remove_tab.js r=mossop 2017-11-18 22:57:18 +09:00
Tooru Fujisawa
fbd6216805 Bug 1415036 - Fix events to wait for in browser_bug553455.js. r=mossop 2017-11-18 22:57:17 +09:00
Tooru Fujisawa
5e6c2faca5 Bug 1416252 - Remove conditional catch consumers in modules/libjar/. r=mossop 2017-11-18 22:57:17 +09:00
Tooru Fujisawa
4ac42f3d2f Bug 1416250 - Remove conditional catch consumers in dom/. r=billm 2017-11-18 22:57:17 +09:00
Tooru Fujisawa
315ac4f42b Bug 1416249 - Remove conditional catch consumers in devtools/. r=jmaher 2017-11-18 22:57:17 +09:00
Tooru Fujisawa
b690bcd12e Bug 1416246 - Remove conditional catch consumers in accessible/. r=MarcoZ 2017-11-18 22:57:16 +09:00
Tooru Fujisawa
4f518e7fa0 Bug 1416781 - Add explanation about encoding variants of error reporting APIs. r=jwalden 2017-11-18 22:57:16 +09:00
Michal Novotny
6d87315b29 Bug 1392841 - Enable RCWN on Nightly, r=valentin 2017-11-18 11:31:06 +01:00
Brindusan Cristian
f0a7488730 Merge mozilla-central to inbound. r=merge a=merge on a CLOSED TREE 2017-11-18 12:12:23 +02:00
sotaro
c2bdac32a6 Bug 1418035 - Fix worng decision of sending DidComposite r=nical 2017-11-18 08:56:40 +09:00
Noemi Erli
c7026c5a77 Merge mozilla-central to mozilla-inbound. r=merge a=merge CLOSED TREE
--HG--
rename : devtools/client/responsive.html/components/DprSelector.js => devtools/client/responsive.html/components/DevicePixelRatioSelector.js
rename : third_party/python/pyasn1/test/__init__.py => third_party/python/pyasn1/pyasn1/codec/native/__init__.py
rename : third_party/python/pyasn1/test/__init__.py => third_party/python/pyasn1/tests/__init__.py
rename : third_party/python/pyasn1/test/__init__.py => third_party/python/pyasn1/tests/codec/__init__.py
rename : third_party/python/pyasn1/test/__init__.py => third_party/python/pyasn1/tests/codec/ber/__init__.py
rename : third_party/python/pyasn1/test/__init__.py => third_party/python/pyasn1/tests/codec/cer/__init__.py
rename : third_party/python/pyasn1/test/__init__.py => third_party/python/pyasn1/tests/codec/der/__init__.py
rename : third_party/python/pyasn1/test/__init__.py => third_party/python/pyasn1/tests/codec/native/__init__.py
rename : third_party/python/pyasn1/test/__init__.py => third_party/python/pyasn1/tests/compat/__init__.py
rename : third_party/python/pyasn1/test/__init__.py => third_party/python/pyasn1/tests/type/__init__.py
extra : rebase_source : d9b683c2142cb0edada8891c1c3539fd2f3593ee
2017-11-18 00:33:17 +02:00
Noemi Erli
d96f41a437 Merge inbound to mozilla-central r=merge a=merge 2017-11-18 00:01:46 +02:00
Noemi Erli
1d5be20b0d Merge autoland to mozilla-central r=merge a=merge 2017-11-18 00:00:22 +02:00
ffxbld
4f3980082f No bug, Automated HPKP preload list update from host bld-linux64-spot-035 - a=hpkp-update 2017-11-17 11:41:51 -08:00
ffxbld
794ea08b42 No bug, Automated HSTS preload list update from host bld-linux64-spot-035 - a=hsts-update 2017-11-17 11:41:47 -08:00
Andrew Osmond
19e321eb9e Bug 1366097 - Part 8. Improve image memory reports to include SVG context information. r=tnikkel 2017-11-17 14:08:52 -05:00
Andrew Osmond
2278b250dc Bug 1366097 - Part 7. VectorImage::Show should delegate to ImageResource::NotifyDrawingObservers. r=tnikkel 2017-11-17 14:08:52 -05:00
Andrew Osmond
b257c6e489 Bug 1366097 - Part 6. Restrict use of SVGImageContext in VectorImage::GetImageContainerAtSize to permitted URIs. r=tnikkel 2017-11-17 14:08:52 -05:00
Andrew Osmond
114b8069b3 Bug 1366097 - Part 5. Add an SVGImageContext parameter to imgIContainer::GetImageContainerAtSize. r=tnikkel 2017-11-17 14:08:52 -05:00
Andrew Osmond
c6bd7fcdf9 Bug 1366097 - Part 4. Mark VectorImage as surface as shared when used outside an image layer. r=tnikkel
This is important because it ensures we release the shared memory handle
(although not the data itself) for the underlying surface buffer when it
turns out we will probably never need to share it. If we do need to
share the surface data with the GPU process, it will reallocate a handle
if necessary, and close it when it is finished. On some platforms we
only have a finite number of handles, so if we don't need them, we
should close them.
2017-11-17 14:08:52 -05:00
Andrew Osmond
c94d4d3f78 Bug 1366097 - Part 3. Implement VectorImage::GetImageContainerAtSize and VectorImage::IsImageContainerAvailableAtSize. r=tnikkel
This is largely trivial because the meat of the implementation is
located in ImageResource and we already added GetFrameInternal.
Interestingly VectorImage::IsUnlocked does not actually check if the
image is locked, but instead only checks for animation consumers. This
is consistent with its historical behavior on when to issue an unlocked
draw event.

Note that we do not implement the original GetImageContainer and
IsImageContainerAvailable APIs. This is because the former does not
accept an SVG context and it would be best to discourage its use in old
code lest we get incorrect/unexpected results.
2017-11-17 14:08:52 -05:00
Andrew Osmond
e4a6ddc142 Bug 1366097 - Part 2. Implement VectorImage::GetFrameInternal as required by ImageResource for image containers. r=tnikkel
No functional change aside from the implementation from
VectorImage::GetFrameAtSize being repurposed for GetFrameInternal and
returning an additional error code with the surface.
2017-11-17 14:08:52 -05:00
Andrew Osmond
3f61fdab9e Bug 1366097 - Part 1. VectorImage::GetFrameAtSize should not create a DrawTarget if using cached surface. r=tnikkel
Creating a DrawTarget can be an expensive operation. This is especially
true in this case because checking for a cached already decoded version
of the VectorImage is expected to be fast. Currently VectorImage::Draw
is the typical path to render these images, but in the future, getting
the frames directly or indirectly (through an ImageContainer) will
become more common.
2017-11-17 14:08:51 -05:00
ffxbld
4da78d1a66 No bug, Automated HPKP preload list update from host bld-linux64-spot-030 - a=hpkp-update 2017-11-17 11:02:48 -08:00
ffxbld
8591b856f3 No bug, Automated HSTS preload list update from host bld-linux64-spot-030 - a=hsts-update 2017-11-17 11:02:45 -08:00
Nicolas Chevobbe
811cdc42fd Bug 1408929 - Rename and enable browser_webconsole_completion.js in the new console frontend; r=jdescottes.
MozReview-Commit-ID: ICu5aJViiW3

--HG--
rename : devtools/client/webconsole/new-console-output/test/mochitest/browser_webconsole_completion.js => devtools/client/webconsole/new-console-output/test/mochitest/browser_jsterm_completion.js
extra : rebase_source : 57020fe28c5b0dd215c2aa7fd6fd6f61a65eaa74
2017-11-17 12:14:44 +01:00
Cameron McCormack
2c22f8a99a Bug 1418232 - Part 2: Simplify Gecko_MatchLang a little. r=emilio
MozReview-Commit-ID: 9dHoD5KQYvF

--HG--
extra : rebase_source : 025550fe2e0dfe68c91ec02b7e6747421fc4db55
2017-11-17 16:51:01 +08:00
Cameron McCormack
de377508c9 Bug 1418232 - Part 1: Move pseudo-class matching helper methods from nsCSSRuleProcessor to nsCSSPseudoClasses. r=emilio
MozReview-Commit-ID: LYn6duc0Zwh

--HG--
extra : rebase_source : d05df8d736547426c8719d114782556571b6479b
2017-11-17 16:48:34 +08:00
Andreea Pavel
2fcbdb44fe Backed out 5 changesets (bug 1366083, bug 1410528, bug 1417267) for failing Spidermonkey jstests and jit-tests r=backout on a CLOSED TREE
Backed out changeset a83b373d2d2e (bug 1417267)
Backed out changeset 3059e975eef8 (bug 1366083)
Backed out changeset 94d20ed3c062 (bug 1410528)
Backed out changeset 5e1dc7fec0ff (bug 1410528)
Backed out changeset ec0702d55b01 (bug 1410528)

--HG--
extra : source : 39b52bba2abfddf3a4bee78b0cce9a505d93f204
2017-11-17 10:13:38 +02:00
Ciure Andrei
92d28bd8f2 Merge inbound to mozilla-central r=merge a=merge 2017-11-17 11:59:03 +02:00
Cameron McCormack
0c8270fed4 Bug 1418222 - Move system metrics handling to nsMediaFeatures. r=TYLin
MozReview-Commit-ID: 25yWc29Wt4R

--HG--
extra : rebase_source : 2f17bd7444de71c6e4d4cb2429ba85180425fc52
2017-11-17 15:35:26 +08:00
Kartikaya Gupta
81e67cd608 Bug 1417519 - Hook up APZ to use the hit-testing API. r=botond,mstange
This adds the code that APZ needs to use the WR hit-testing API. For now
(if the pref is enabled) it just does the hit-test and compares the
result to the regular hit-test, printing out discrepancies. It also
doesn't yet get the scrollbar result.

MozReview-Commit-ID: 3pjYSWDGeDr

--HG--
extra : rebase_source : 9766fe3e77dd85f130ce155041cec7c0daae67ec
2017-11-17 20:28:44 -05:00
Kartikaya Gupta
ce6a99a6e8 Bug 1417519 - Add a mechanism for APZ to get the WebRenderAPI instance. r=botond
MozReview-Commit-ID: FhdQhKIfQbw

--HG--
extra : rebase_source : 13c61233da0cb0ce4ed0d7072ac43d53509b222c
2017-11-17 10:54:24 -05:00
Kartikaya Gupta
6946f16436 Bug 1417519 - Don't allow things to get raw pointers to WebRenderAPI. r=sotaro
It seems like a footgun to expose raw pointers to WebRenderAPI which is
a refcounted object. Let's only expose it via refcounting pointers.

MozReview-Commit-ID: AKmTZg2V99r

--HG--
extra : rebase_source : 805f13d56a64bafbcdf3bf4266eec47c70856564
2017-11-17 10:54:24 -05:00
Kartikaya Gupta
9d9fb92aed Bug 1417519 - Log layers id as a hex value. r=botond
These days (at least with webrender enabled), the layers id is created
by mashing together two uint32 values into the uint64. Printing it as in
base 10 produces some large number near the 32-bit boundary, and it's
much more legible/easier to compare when printed in hex.

MozReview-Commit-ID: JsGhqyLtDBv

--HG--
extra : rebase_source : ed60d26d8223d968f37e8d933e60b1ee6552d1e9
2017-11-17 10:54:23 -05:00
Nicolas Chevobbe
7c542cfde6 Bug 1371936 - Fix erroneous Object as ArrayLike grip; r=bgrins.
We only label Object as being ArrayLike if they have consecutive, numeric indexes, starting at 0,
and that could contain only a non-numeric length property that matches the actual number of numeric
keys in the object.
A test is added to make sure we don't regress this.
Fix old console frontend tests which relied on the bad implementation of ArrayLike (and delete
test cases now covered by the server test).

MozReview-Commit-ID: ATF7WypNVhh

--HG--
extra : rebase_source : 5e6a0ef0da84cf89518164f518a257bd1f0d5fd8
2017-11-16 16:04:42 +01:00
Josh Matthews
20f87b6f9b servo: Merge #19252 - Add pulseaudio requirement to readme (from servo:jdm-patch-2); r=SimonSapin
Update known requirements for building.

---
- [x] `./mach build -d` does not report any errors
- [x] `./mach test-tidy` does not report any errors
- [x] These changes fix #19238.

Source-Repo: https://github.com/servo/servo
Source-Revision: b2b51d333e99c1d2a7322ae53357f2b095ba2d40

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : 7a8a1c0a960f0d7fd1309a29c90fde9cea8a17f8
2017-11-18 02:55:28 -06:00
Francesco Lodolo (:flod)
618992092f Bug 1415896 - Update plural rule #3 (lv, ltg) for numbers ending in 0 r=Pike
MozReview-Commit-ID: IHhE3xg3nb0

--HG--
extra : rebase_source : 3135b6d5c716e1359ad7fc5ae21d6885e9918543
2017-11-17 11:13:47 +05:30
Brindusan Cristian
9982b7b765 Merge mozilla-central to autoland. r=merge a=merge on a CLOSED TREE 2017-11-18 12:10:02 +02:00