551140 Commits

Author SHA1 Message Date
Brendan Dahl
02dc1567cd Bug 1387170 - Use custom clipboard constructor instead of singleton. r=jrmuizel
This allows instances of the clipboard to be created (like it
was pre-headless).
2017-08-09 09:49:50 -07:00
Brendan Dahl
d1dd2ea172 Bug 1387168 - Use custom clipboard constructor instead of singleton. r=jrmuizel
This allows instances of the clipboard to be created (like it
was pre-headless).
2017-08-09 09:46:51 -07:00
Mason Chang
ce7bf90ba4 Bug 1386965 - Support async painting component-alpha layers. r=dvander 2017-08-09 09:39:07 -07:00
Eitan Isaacson
b6d69628bd Bug 1385372 - Allow same id in aria-owns. r=surkov 2017-08-09 12:33:44 -04:00
André Bargull
419b26dee6 Bug 1377349 - Remove support for nested destructuring in object rest properties. r=shu 2017-07-10 07:53:10 -07:00
André Bargull
0865d1a536 Bug 1382209 - Part 2: Use correct YieldHandling for module contexts. r=shu 2017-08-09 11:37:23 +02:00
André Bargull
c838e0d0aa Bug 1382209 - Part 1: Add new restrictions for "yield" and "await" as binding identifiers per ES2018 draft spec. r=shu 2017-08-09 11:37:01 +02:00
André Bargull
a1ebd80a83 Bug 1387400 - Part 2: Pass the original regexp flags to the specializer replacer functions. r=till 2017-08-09 11:36:34 +02:00
André Bargull
e80a99ac14 Bug 1387400 - Part 1: Only call GetElemBaseForLambda for large strings. r=till 2017-08-09 11:32:31 +02:00
André Bargull
532414f472 Bug 1387968 - Part 3: Remove unnecessary or duplicate rooting in RegExp code. r=till
--HG--
extra : rebase_source : c1a38b5cd8184ac75075c8c062c52466644eaeb6
2017-08-09 11:31:47 +02:00
André Bargull
c70f65a1f9 Bug 1387968 - Part 2: Optimize array accesses and allocations in RegExpGetSubstitution. r=till
--HG--
extra : rebase_source : 06bba8286960b5f805b152aeaceb52c62b275913
2017-08-09 11:31:29 +02:00
André Bargull
1618ce2e73 Bug 1387968 - Part 1: Reduce array copies for RegExpGetSubstitution with captures. r=till
--HG--
extra : rebase_source : d7af86e7dae8453c7bd8446934544653bce52481
2017-08-09 11:31:04 +02:00
Paul Adenot
53d0c89c38 Bug 1388372 - Fix assert and null check properly to account for the pass-through mode in gUM. r=jesup
MozReview-Commit-ID: 9kFZG0LwKRM

--HG--
extra : rebase_source : 0853efd16f1dd3743c6e07a9fa274ac82daac3d0
extra : source : 56872eb4e342150fddb7ae82b5c7156f07642a51
2017-08-09 14:58:44 +02:00
Ryan VanderMeulen
0668040c4e Bug 1388551 - Update harfbuzz to version 1.4.8. r=jfkthame
--HG--
extra : rebase_source : ed754f01ec7503c17218c6ccc52009d76ea98098
2017-08-09 08:57:22 -04:00
Ryan Hunt
c484a93af5 Bug 1387566 - Enabled "apz.keyboard.passive-listeners" in nightly. r=kats
MozReview-Commit-ID: 566GvdCxkqK

--HG--
extra : source : 6a1c370f519e9d2e7702b48721a3afd70ada3863
extra : amend_source : 4034661c9c256b8c78e7c03ceed437b42ceec231
2017-08-08 15:13:44 -05:00
Valentin Gosu
a44fac0e8f Bug 1380617 - Fix web platform tests meta to expect punycode encoding r=annevk
MozReview-Commit-ID: 4PU6Zg105SB
2017-08-09 17:44:12 +02:00
Valentin Gosu
953c52ffc5 Bug 1380617 - Fix tests that expect unicode encoding of hostname r=smaug
MozReview-Commit-ID: 6EGhUJmtjTc
2017-08-09 17:44:08 +02:00
Valentin Gosu
3b95ce67d2 Bug 1380617 - Fix tests that use nsIURI.host expecting unicode domain name r=smaug,honzab
MozReview-Commit-ID: GKnbpc8GMb2
2017-08-09 17:44:06 +02:00
Valentin Gosu
c58dcf6937 Bug 1380617 - Add test checking that URL.origin returns punycode r=smaug
MozReview-Commit-ID: 4YOu1blsiej
2017-08-09 17:44:03 +02:00
Valentin Gosu
77c03044f9 Bug 1380617 - Set network.standard-url.punycode-host to true r=mcmanus
MozReview-Commit-ID: H6vFyq6SdiJ
2017-08-09 17:44:01 +02:00
Valentin Gosu
7520c99a2c Bug 1380617 - Add nsIURI.displayPrePath r=mcmanus,Gijs
- Use displayPrePath in the pageInfo permissions that shows "Permissions for:"
- The extra displayPrePath method is necessary because it's difficult to compute it manually, as opposed to not having a displaySpecWithoutRef - as it's easy to get that by truncating displaySpec at the first '#' symbol.

MozReview-Commit-ID: 9RM5kQ2OqfC
2017-08-09 17:43:58 +02:00
Valentin Gosu
d1bbd84d19 Bug 1380617 - Make the PageInfo panel return unicode URLs r=Gijs
- fixing the hostName in getWindowInfo fixes the issue across the PageInfo panel
- fixing docInfo.referrer also fixes the Referring URL on the General tab
MozReview-Commit-ID: 9x9uWp2R3Yj
2017-08-09 17:43:56 +02:00
Valentin Gosu
7096f198fc Bug 1380617 - Make sure "Did you mean to go to X" displays unicode domain r=Gijs
MozReview-Commit-ID: 4EbA4QJuNIX
2017-08-09 17:43:53 +02:00
Valentin Gosu
3ebf792b66 Bug 1380617 - Change firefox code to use uri.displaySpec when unicode URLs are wanted r=Gijs
* Make URL bar show unicode URL by making losslessDecodeURI call uri.displaySpec
* Make sure URL bar copying returns unicode variant

MozReview-Commit-ID: GTESwOSJW0P
* * *
[mq]: bug1380617-url-autofill.patch

MozReview-Commit-ID: JUxFZcpc3rN
2017-08-09 17:43:51 +02:00
vincentliu
ab39d5cc75 Bug 1386487 - Add checking mechanism if ID3D11Buffer created fail. r=rhunt, dvander 2017-08-09 23:23:18 +08:00
Joel Maher
79f2a178d9 Bug 1388483 - enable mochitest on windows 10. r=Callek
MozReview-Commit-ID: AmL8qbeLL1r
2017-08-09 10:51:39 -04:00
muthuraj90ec
0d332730e8 Bug 1370403 - Synthesize contextmenu MouseEvent when performing webdriver actions; r=maja_zf
MozReview-Commit-ID: 85nQTsTRttF
2017-08-09 07:51:18 -04:00
Sebastian Hengst
65c8f5216a Backed out changeset 56872eb4e342 (bug 1388372) for failing own crashtest, at least on OS X. r=backout 2017-08-09 13:36:01 +02:00
Jonathan Kew
92d0aff08b Bug 1384862 - Update WOFF2 code to latest upstream. r=sylvestre 2017-07-27 10:33:47 +02:00
Andrew Osmond
42e6712830 Bug 1388332 - Fix a shutdown crash when destroying image decoders before initializing its SurfacePipe. r=tnikkel
A default constructed SurfacePipe contains a NullSurfaceSink as its
filter in mHead. This filter does nothing and is merely a placeholder.
Since most SurfacePipe objects are constructed with the default
constructor, and NullSurfaceSink has no (modified) state, we use a
singleton to represent it. Normally the SurfacePipe owns its filter, so
it needs to do a special check for NullSurfaceSink to ensure it doesn't
free it explicitly.

A Decoder object contains a default constructed SurfacePipe until it
needs to create the first frame from an image. This is a very brief
window because it does not take very long or much data to get to this
stage of decoding.

The NullSurfaceSink singleton is freed upon shutdown, however some
ISurfaceProvider objects may be lingering after this. If their Decoder
has yet to create the first frame, that means the SurfacePipe actually
contains a dangling pointer to the already freed singleton. To make
things worse, it actually tried to free the filter because it didn't
match the singleton (it got freed!).

As such, this change removes NullSurfaceSink entirely. We never use the
SurfacePipe before initializing it with a proper filter, and it would be
considered a programming error to do so. Instead let SurfacePipe::mHead
be null, and assert that it is not null when any operations are
performed on the SurfacePipe.
2017-08-09 06:54:55 -04:00
Jonathan Kew
009efa5e70 Bug 1340910 - pt 2+3 - Import Brotli 0.6.0 from upstream, and Gecko updates required to work with Brotli 0.6.0 API changes. r=glandium 2017-08-09 11:45:39 +01:00
Jonathan Kew
a6860e142e Bug 1340910 - pt 1 - Update our Brotli import script to pull release 0.6.0 from upstream. r=glandium 2017-08-09 11:43:52 +01:00
Ami
18023835cc Bug 1388283 - Combine two if statements; r=dao 2017-08-08 23:46:00 +02:00
Ami
a0d49a5b2d Bug 1386218 - remove unused function gfxContext::HasComplexClip; r=jrmuizel 2017-08-02 02:12:00 +02:00
Thomas Wisniewski
7acd2dd485 Bug 1286554 - Remove network.http.keep_empty_response_headers_as_empty_string. r=jduell
MozReview-Commit-ID: 3b1Gpi6tit0
2016-07-13 10:40:29 -04:00
Carsten "Tomcat" Book
769d17f306 Merge mozilla-central to mozilla-inbound 2017-08-09 12:27:38 +02:00
Carsten "Tomcat" Book
c329d562fb merge mozilla-inbound to mozilla-central a=merge 2017-08-09 11:37:08 +02:00
Christoph Kerschbaumer
6618be4e90 Bug 1366181: Convert test_title.html and test_title.xul to comply with new data: URI inheritance model. r=smaug 2017-08-09 11:21:40 +02:00
Nicholas Nethercote
446c4b6810 Bug 1386103 (part 2, attempt 2) - Convert nsFixed[C]String uses to nsAuto[C]String. r=erahm. 2017-08-09 16:34:14 +10:00
Nicholas Nethercote
353baa551a Bug 1386103 (part 1, attempt 2) - Specify nsAuto[C]String storage size via template parameter. r=dbaron. 2017-08-09 16:34:12 +10:00
Phil Ringnalda
8b6a5ead45 Backed out 2 changesets (bug 1388238) for xpcshell crashes in test_masterPassword.js
Backed out changeset 99a525a70041 (bug 1388238)
Backed out changeset 8e2f4f651250 (bug 1388238)

MozReview-Commit-ID: 2kexqxo5E6O
2017-08-08 22:45:21 -07:00
sotaro
481dd4d078 Bug 1380979 - Enable DXGITextureHostD3D11 usage with WebRender r=nical 2017-08-09 14:28:15 +09:00
Phil Ringnalda
858a553b02 Backed out 2 changesets (bug 1386103) for Android x86 build bustage
Backed out changeset eec506d87d03 (bug 1386103)
Backed out changeset 3f9ec011c9bd (bug 1386103)

MozReview-Commit-ID: 8ak71R7vUOC
2017-08-08 22:08:54 -07:00
Boris Chiou
977c62dc0f servo: Merge #18016 - stylo: Don't apply the rotation if it cannot be normalized (from BorisChiou:stylo/transform/rotate); r=heycam
According to the spec, the computed value of transform is as specified, but
with relative lengths converted into absolute lengths, so in Gecko, we do
nothing while computing the value of rotate3d(), and do normalization in
ProcessRotate3D(). If the direction cannot be normalized, we treat it as
an identity matrix.

However, in Servo, we do normalization in to_computed_value(), and looks
like we are trying to normalize any kind of direction vectors, so according
to the spec, let's move the normalization into Fragment::transform_matrix(),
and return an identity matrix if we cannot normalize its direction vector.

---
- [X] `./mach build -d` does not report any errors
- [X] `./mach test-tidy` does not report any errors
- [X] These changes fix [Bug 1388216](https://bugzilla.mozilla.org/show_bug.cgi?id=1388216).
- [X] These changes do not require tests because the added test is on Gecko side.

Source-Repo: https://github.com/servo/servo
Source-Revision: 89971910cf8ef5e24ae1542c93699b9ee7c4132c

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : 0edf045ff54cceabb2ccca3a06445dbe6fbac6df
2017-08-08 22:33:03 -05:00
Paul Adenot
93e9705362 Bug 1388372 - Fix assert and null check properly to account for the pass-through mode in gUM. r=jesup
MozReview-Commit-ID: 9kFZG0LwKRM
2017-08-08 17:14:57 +02:00
Dão Gottwald
152f142a9f Bug 1387783 - Add lazy browser shims for fullZoom and textZoom. r=kevinjones
MozReview-Commit-ID: 9AH0KT1BWF5
2017-08-09 10:24:31 +02:00
Manish Goregaokar
04fe065d58 Bug 1387953 - Exit early before calling Servo_HasAuthorSpecifiedRules without element data; r=bholley
MozReview-Commit-ID: VrtKytWlcg

--HG--
extra : rebase_source : 7c0f3060b7ebf9c384b5ceba884d5ff9a3394c0b
2017-08-07 13:48:09 -07:00
steveck-chung
a2ae47851d Bug 1388238 - Add encrypt/decrypt methods to MasterPassword.jsm. r=MattN
MozReview-Commit-ID: AHpzYNbnnWv

--HG--
extra : rebase_source : 5c324c252d1ac55ece40dd15ab7275c5d927d75d
2017-08-07 20:44:08 -07:00
steveck-chung
865acf06ce Bug 1388238 - Implement waitForMasterPasswordDialog helper which handles open dialogs. r=MattN
MozReview-Commit-ID: A8jx8s37f1k

--HG--
extra : rebase_source : 713902e23974b19900d9f28352d20686871e4e09
2017-08-08 20:53:49 -07:00
Phil Ringnalda
e50c48b068 Backed out 2 changesets (bug 1388238) for eslint failures
CLOSED TREE

Backed out changeset 55f44886a839 (bug 1388238)
Backed out changeset 7b7aa4e9ae5a (bug 1388238)

MozReview-Commit-ID: CRkGar72Nra
2017-08-08 20:16:48 -07:00