Commit Graph

569240 Commits

Author SHA1 Message Date
Ben Kelly
8a74305d9d Bug 1417172 P1 Validate ClientSource creation path across IPC boundary. r=baku 2017-11-14 14:36:45 -05:00
Ted Mielczarek
851b7e1370 bug 1410148 - try to work around llvm-dsymutil crashes again by lowering rust debuginfo level on cross-mac builds. r=nalexander 2017-11-14 19:48:55 +01:00
Nathan Froyd
b45a18ac13 Bug 1415920 - make better use of Maybe for computing jit warm up thresholds; r=jandem
`Maybe` has some nice utility functions that can replace conditionals;
let's use those instead of nested conditionals.
2017-11-14 13:46:16 -05:00
Ryan Hunt
0814b42b38 Only return a valid RotatedBuffer in ContentClientBasic::CreateBuffer (bug 1416790, r=dvander)
MozReview-Commit-ID: C5l4OHAWBLL

--HG--
extra : rebase_source : 720a4a458753cc27b9c2269b7da59e5712e47a22
2017-11-13 12:52:31 -05:00
Ryan Hunt
f881288e3b Don't use CompositorBridgeChild in PrepareBuffer if sync OMTP is enabled (bug 1416782, r=dvander)
MozReview-Commit-ID: DMbKcDEkkeP

--HG--
extra : rebase_source : 20608d09f18549816b10fd63d0879cfb409e8219
2017-11-13 12:51:19 -05:00
Quan
d4b0ac297e Bug 1415855 - Remove unused mIconLoadingPrincipal field. r=dao
MozReview-Commit-ID: DWokXFTJRse

--HG--
extra : rebase_source : e4b5fd8770f5128d7be8c9fcda42414a9e210e4a
2017-11-11 18:08:47 +05:30
Jon Coppeard
757573b0fe Bug 1417077 - Make JSTracer provide the current GC number and use this in nsXULPrototypeDocument::TraceProtos() r=sfink r=mccr8 2017-11-14 17:10:30 +00:00
Andrew Osmond
a230c70963 Bug 1416774 - Ensure that imgRequestProxy::CancelAndForgetObserver removes itself from the cache validator. r=tnikkel
An imgRequestProxy may defer notifications when it needs to block on an
imgCacheValidator. It may also be cancelled before the validator has
completed its operation, but before this change, we did not remove the
request from the set of proxies, imgCacheValidator::mProxies. When the
deferral was completed, it would assert to ensure each proxy was still
expecting a deferral before issuing the notifications. Cancelling a
request can actually reset that state, which means we fail the assert.

Failing the assert is actually harmless; in release we suffer no
negative consequences as a result of this sequence of events. Now we
just remove the proxy from the validator set to avoid asserting.
2017-11-14 12:02:59 -05:00
Yura Zenevich
3898a0e472 Bug 1416893 - Added getConsumers method to nsIAccessibilityService. r=surkov
MozReview-Commit-ID: EoBdYSxqEGz
2017-11-14 11:21:32 -05:00
Stephen A Pohl
16b17057eb Bug 1415340: Remove undefined (and unnecessary) property when rejecting a Promise in GMPDownloader. r=gfritzsche 2017-11-14 10:49:12 -05:00
Tim Taubert
b350f42d65 Bug 1398268 - [u2f-hid-rs] Rewrite macOS IOHIDManager communication and state machine r=jcj
Review: https://github.com/jcjones/u2f-hid-rs/pull/52
2017-11-14 11:39:29 +01:00
Tim Taubert
ec80cf873c Bug 1406468 - Web Authentication - Implement isUserVerifyingPlatformAuthenticatorAvailable() method r=jcj,smaug
Summary:
We currently implement no platform authenticators, so this would always
resolve to false. For those cases, the spec recommends a resolve timeout
on the order of 10 minutes to avoid fingerprinting.

A simple solution is thus to never resolve the promise, otherwise we'd
have to track every single call to this method along with a promise
and timer to resolve it after exactly X minutes.

A Relying Party has to deal with a non-response in a timely fashion, so
we can keep this as-is (and not resolve) even when we support platform
authenticators but they're not available, or a user rejects a website's
request to use them.

Reviewers: jcj, smaug

Reviewed By: jcj, smaug

Bug #: 1406468

Differential Revision: https://phabricator.services.mozilla.com/D217
2017-11-14 11:44:46 +01:00
Julian Descottes
d1a9d0eb6d Bug 1412504 - Style updates for about:devtools;r=nchevobbe
MozReview-Commit-ID: BjCimCRFYWr

--HG--
extra : rebase_source : ce071050361e703501e912609f90d894d4deed1d
2017-11-11 10:28:22 +01:00
dluca
a662f122c3 Merge Inbound to mozilla-central r=merge a=merge 2017-11-14 16:56:05 +02:00
Sebastian Hengst
31bab6f683 Backed out changeset 32958aa32cb5 (bug 1415485) for frequently failing for failing reftest layout/reftests/async-scrolling/position-fixed-in-scroll-container.html on Linux x64 QuantumRender. r=backout a=backout on a CLOSED TREE 2017-11-14 14:47:14 +02:00
Shing Lyu
176cfc3790 servo: Merge #18183 - Enable screen.width/height/availWidth/availHeight (from shinglyu:availheight); r=asajeffrey
<!-- Please describe your changes on the following line: -->
Support screen.width/height/availWidth/availHeight using information from glutin. r?@paulrouget

Since glutin don't have `availWidth` and `availHeight` information, I let them fallback to `width` and `height`. If that's not acceptable in terms of webcompat, I can remove that part.

There are some test failures on wpt css about mutating screen.width/height should throw exception, but I can't reproduce that behavior on other major browser, so I keep them disabled. Also there are some media query issues, but I believe that's due to some test harness problem on my test machine.

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

<!-- Either: -->
- [x] There are tests for these changes in wpt cssom-view
- [ ] 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: 504ad4de2a426c2bc70161a9190fddaa8728ead2
2017-11-14 14:45:52 +02:00
Sebastian Hengst
404907f077 Backed out changeset 648c91db95dd for failing reftest layout/reftests/async-scrolling/position-fixed-in-scroll-container.html on Linux x64 QuantumRender. r=backout a=backout on a CLOSED TREE 2017-11-14 13:06:07 +02:00
Sebastian Hengst
53f71049ff Backed out 2 changesets (bug 1416620) for failing own reftest. r=backout a=backout on a CLOSED TREE
Backed out changeset 3b45218edc2e (bug 1416620)
Backed out changeset c48580e1f535 (bug 1416620)
2017-11-14 13:04:52 +02:00
Sebastian Hengst
5d394948fa Backed out changeset 1a83be186f45 (bug 1397612) on request from whimboo for causing bug 1391545. r=backout a=backout on a CLOSED TREE 2017-11-14 13:04:27 +02:00
Coroiu Cristina
6a04305b5d Merge mozilla-central to inbound. r=merge a=merge on a CLOSED TREE 2017-11-14 12:31:45 +02:00
Coroiu Cristina
70be4cd18b Merge inbound to mozilla-central r=merge a=merge 2017-11-14 12:21:40 +02:00
Emilio Cobos Álvarez
64d387d52c Bug 1416756: Stub out Servo_SourceSizeList_Drop so MingGW builds again. r=heycam a=mingw32-fix
MozReview-Commit-ID: 9zvYonPJL16

--HG--
extra : source : fbe652b8ecf7e823c0f1b10194652d1387a97df7
2017-11-13 16:41:59 +01:00
Ian Moody
4049c95d4d Bug 1416468 - Share container data parsing instead of duplicating it. r=baku a=baku 2017-11-14 01:55:17 +01:00
Csoregi Natalia
8f1a81caad Merge inbound to mozilla-central r=merge a=merge 2017-11-14 00:57:47 +02:00
Csoregi Natalia
3bf1e8b9c9 Merge autoland to mozilla-central r=merge a=merge 2017-11-14 00:55:33 +02:00
ffxbld
6f5e1e666f No bug, Automated HPKP preload list update from host bld-linux64-spot-031 - a=hpkp-update 2017-11-13 11:38:59 -08:00
ffxbld
4d11774312 No bug, Automated HSTS preload list update from host bld-linux64-spot-031 - a=hsts-update 2017-11-13 11:38:56 -08:00
ffxbld
96d2701aef No bug, Automated HPKP preload list update from host bld-linux64-spot-030 - a=hpkp-update 2017-11-13 10:56:59 -08:00
ffxbld
02130351db No bug, Automated HSTS preload list update from host bld-linux64-spot-030 - a=hsts-update 2017-11-13 10:56:56 -08:00
Simon Fraser
bab833ebee Bug 1416812 ensure next_version always present, prevent UnboundLocalError r=aki a=release 2017-11-13 17:33:50 +00:00
Narcis Beleuzu
6185875025 Merge inbound to mozilla-central r=merge a=merge 2017-11-13 11:53:28 +02:00
Makoto Kato
0e014221be Backed out changeset 607fd3ab6953 (bug 1415014) due to mistake merge
MozReview-Commit-ID: 4vyXS8Mv883

--HG--
rename : browser/branding/aurora/default64.png => browser/branding/aurora/content/icon64.png
rename : browser/branding/aurora/default128.png => browser/branding/aurora/mozicon128.png
rename : browser/branding/nightly/default64.png => browser/branding/nightly/content/icon64.png
rename : browser/branding/nightly/default128.png => browser/branding/nightly/mozicon128.png
rename : browser/branding/official/default64.png => browser/branding/official/content/icon64.png
rename : browser/branding/official/default128.png => browser/branding/official/mozicon128.png
rename : browser/branding/unofficial/default64.png => browser/branding/unofficial/content/icon64.png
rename : browser/branding/unofficial/default128.png => browser/branding/unofficial/mozicon128.png
2017-11-13 15:11:55 +09:00
Makoto Kato
834592c368 Backed out changeset 5d95a4f0d3a0 (bug 1415014)
MozReview-Commit-ID: 4wGuXXuh5uR
2017-11-13 15:11:19 +09:00
Emilio Cobos Álvarez
7812d97abf Bug 1396057: Update test expectations. r=me
MozReview-Commit-ID: 4h7bVe5pHkt
2017-11-13 04:21:33 +01:00
Emilio Cobos Álvarez
d342e85db9 Bug 1396057: Change tests of calc in media-queries so that the root element style has been resolved first. r=Manishearth
This modify the tests so that the media query evaluation they're testing happens
after style resolution, which would've caught a bug in rem unit evaluation
inside media queries in stylo.

MozReview-Commit-ID: ByaR4ZA995l
2017-11-13 04:21:03 +01:00
Emilio Cobos Álvarez
84a65079d1 servo: Merge #19194 - stylo: Bring back support for calc() in media-queries (from emilio:media-query-calc); r=Manishearth
Bug: 1396057
Reviewed-by: Manishearth
Source-Repo: https://github.com/servo/servo
Source-Revision: 4970b5d1544fe8f33287b01540e972a639baa689

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : 1c07a2da1e3037da46501bb6d96e02383ec7b982
2017-11-12 20:06:12 -06:00
Ryan VanderMeulen
b1d30ab98e Merge m-c to autoland. a=merge 2017-11-12 21:26:51 -05:00
Ryan VanderMeulen
177a5a8bdc Update configs. IGNORE BROKEN CHANGESETS CLOSED TREE NO BUG a=release ba=release
--HG--
extra : histedit_source : 46923056fd09298724464a4df4466357821a361f
2017-11-12 21:22:25 -05:00
Ryan VanderMeulen
da640ddd90 No bug - Tagging mozilla-central 1f91961bb79ad06fd4caef9e5dfd546afd5bf42c with FIREFOX_NIGHTLY_58_END. a=release DONTBUILD CLOSED TREE
--HG--
extra : amend_source : 69de693f1196a4866b9501ad1f7ee229fbf47aba
extra : histedit_source : e56eefc7582a2dbe2775efcf43b659e64c7fca54
2017-11-12 21:12:59 -05:00
tigercosmos
eb910190cb servo: Merge #19178 - enhance android build debug info in build_commands.py (from tigercosmos:python12); r=emilio
<!-- Please describe your changes on the following line: -->
I have some experience with building android.
Sometimes I forget  to set `ANDROID_NDK` or `ANDROID_SDK` when I create a new clean environment, and I would know only when build error message come out.(After very long time)
I think we could enhance the debug engineering at the beginning.

Also fix the previous work  #19109
I forgot to consider if `open()` crash(file not exist).

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

<!-- 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: ccc739d635b8071e0375fbf6c9fb2eb2366882eb

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : 7c2c8803a9e7c9f792e7e2cb5b0a1d95c2010cfa
2017-11-12 18:37:10 -06:00
tigercosmos
f3abc6bb9f servo: Merge #19127 - scroll, SetScrollTop, SetScrollLeft in element.rs (from tigercosmos:overflow10); r=emilio
<!-- Please describe your changes on the following line: -->
Currently dom-element-scroll have not finished yet. (Step 10)
This PR finish the step 10 of `scroll`, `SetScrollTop`, `SetScrollLeft`

[Step 10 description](https://drafts.csswg.org/cssom-view/#dom-element-scrolltop):
> If the element does not have any associated CSS layout box, the element has no associated scrolling box, or the element has no overflow, terminate these steps.
---
<!-- 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 #19114 (github issue number if applicable).

<!-- Either: -->
- [X] There are tests for these changes

<!-- 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: 37760054e2cf742c9043b96b832d2fbdf796d367

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : 0ef07d51bdd1317c10e1e17dda15740f2df610ad
2017-11-12 17:24:33 -06:00
shindli
0d157e6e2e Merge inbound to mozilla-central r=merge a=merge 2017-11-12 23:48:36 +02:00
shindli
2ac3bb4bb7 Merge autoland to mozilla-central r=merge a=merge 2017-11-12 23:47:04 +02:00
Chris Pearce
5f0719ad1d Bug 1416597 - Include Printf.h in Logging.cpp. r=froydnj
MozReview-Commit-ID: 5ZMMkvaOKtO

--HG--
extra : rebase_source : 6b50d30388b9e9e5ba0b2cec6117d6a9f91920ef
2017-11-13 10:07:39 +13:00
ffxbld
8802fbf292 No bug, Automated HPKP preload list update from host bld-linux64-spot-033 - a=hpkp-update 2017-11-12 11:35:21 -08:00
ffxbld
014fe21cbb No bug, Automated HSTS preload list update from host bld-linux64-spot-033 - a=hsts-update 2017-11-12 11:35:17 -08:00
ffxbld
54eff2095e No bug, Automated HPKP preload list update from host bld-linux64-spot-030 - a=hpkp-update 2017-11-12 11:06:31 -08:00
ffxbld
f5ee17bd6f No bug, Automated HSTS preload list update from host bld-linux64-spot-030 - a=hsts-update 2017-11-12 11:06:28 -08:00
Gijs Kruitbosch
ec42d7e872 Bug 1416561 - update readability from git ( c3ff1a2d2c94c1db257b2c9aa88a4b8fbeb221c5 ), r=already-reviewed
MozReview-Commit-ID: 3WX99CsZ4z5

--HG--
extra : rebase_source : 9b87a522b8ecf039a15b2da58af329f8b0eba923
2017-11-12 12:47:32 +00:00
JerryShih
9d834c457f Bug 1416543 - use the gecko profiler macro to register/unregister the thread name. r=me
MozReview-Commit-ID: 3ueSAuNCbGp
2017-11-12 22:21:22 +08:00