551124 Commits

Author SHA1 Message Date
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
steveck-chung
ee43547809 Bug 1388238 - Add encrypt/decrypt methods to MasterPassword.jsm. r=MattN
MozReview-Commit-ID: AHpzYNbnnWv

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

--HG--
extra : rebase_source : 66e5e8427ffe07f3566fc1173522083de2290a95
2017-08-07 20:43:02 -07:00
Ricky Chien
6367e31f55 Bug 1361957 - Update new icons for about:preferences to match Photon spec r=dao
--HG--
extra : rebase_source : ee7c284aa329663e48ad9c1a7486b26e22831197
2017-08-09 09:49:46 +08:00
Francois Marier
abc9db6106 Bug 1388570 - Remove trailing period from Safe Browsing advisory titles. r=hchang
MozReview-Commit-ID: I2cxQcTyQjc

--HG--
extra : rebase_source : af287158f3be9bfdadb350ab51099c796690fc3c
2017-08-08 17:27:35 -07:00
Nicholas Nethercote
7512aa2dea Bug 1386103 (part 2) - Convert nsFixed[C]String uses to nsAuto[C]String. r=erahm.
In all of these cases the fixed buffer has the same lifetime as the string
object, so we can use nsAuto[C]String for simplicity.

For the 128-length ones in dom/xul/ I just switched to the default of 64 for
simplicity, because the choice of 128 didn't seem that important. (These code
paths weren't hit when I started the browser and opened a few sites.)

Finally, the patch also changes LoggingIdString to use
nsAutoCStringN<NSID_LENGTH>, similar to NullPrincipalURI.
2017-08-01 11:58:56 +10:00
Nicholas Nethercote
e9daf4d245 Bug 1386103 (part 1) - Specify nsAuto[C]String storage size via template parameter. r=dbaron.
This patch parameterizes nsAuto[C]String, renames them as nsAuto[C]StringN, and
redefines nsAuto[C]String as typedefs for nsAuto[C]StringN<64>.

(The alternative would be to templatize nsAuto[C]String and use a default
parameter, but that would require writing "nsAuto[C]String<>" everywhere.)
2017-08-01 11:58:45 +10:00
Nicholas Nethercote
3b50454376 Bug 1388253 - Remove nsTextFormatter:[v]smprintf(). r=erahm.
--HG--
extra : rebase_source : 27f080dda37d107f64eb8f341c6ebb20b874471b
2017-08-09 10:41:21 +10:00
Nicholas Nethercote
d4e19d954a Bug 1388253 - Convert nsTextFormatter:[v]smprintf() use to [v]ssprintf(). r=erahm.
[v]ssprintf() is just a better way of doing things.

--HG--
extra : rebase_source : 25337787b9557f8a7080a67645dba70609a8f646
2017-08-09 10:41:14 +10:00
sotaro
5ae793d1a7 Bug 1388254 - Fix borrowed DrawTarget's transform of DXGITextureData r=nical 2017-08-09 10:38:18 +09:00
Yoshi Huang
8249b8ae4c Bug 1366151 - rewrite dom/html/test/test_fullscreen-api-race.html. r=smaug
Run this test with security.data_uri.unique_opaque_origin set to false
so we can reply on SimpleTests.waitForFocus() to be fired.
2017-08-09 08:58:11 +08:00
Ehsan Akhgari
eefe461ec1 Bug 1379344 - Avoid traversing the display list twice inside nsDisplayList::UpdateBounds(); r=mstange 2017-08-08 20:54:48 -04:00
Ehsan Akhgari
061d437c9e Bug 1386960 - Call nsTextInputListener's callback manually after using the non-transaction based editor code path for setting values of input controls; r=bzbarsky 2017-08-08 18:27:42 -04:00
Dustin J. Mitchell
64c81d4d30 Bug 1382729: allow uploading docs at all levels; r=gps
The upload now uses MOZ_SCM_LEVEL to determine which secret and bucket to
upload to, so it can potentially run at any level.

This also modifies task descriptions to allow {level} in scopes, and updates
try syntax to allow `-j doc-upload` even though run-on-tasks says it doesn't
run on try by default.

MozReview-Commit-ID: Dm27TGPa7IM

--HG--
extra : rebase_source : f1131abc8cd639251e085c8ebf776827a6b831ed
extra : amend_source : b2b0cb253c7f6e90fdd710c2c788877411bd9e1d
2017-08-08 19:13:05 +00:00
Jed Davis
2a133d756a Bug 1388545 - Fix PulseAudio breakage caused by read restrictions. r=gcp
MozReview-Commit-ID: 518mslh9xy
2017-08-08 16:17:52 -06:00
Wes Kocher
7651bde05c Merge m-c to inbound, a=merge
MozReview-Commit-ID: 9Abf0fILvvK
2017-08-08 15:16:00 -07:00
Wes Kocher
650baf5c45 Merge inbound to central, a=merge
MozReview-Commit-ID: HpVAbc2vi78
2017-08-08 15:14:28 -07:00