Commit Graph

590475 Commits

Author SHA1 Message Date
Thom Chiovoloni
7be53b64d3 Bug 1453507 - Fix and simplify TPS's logout procedure r=eoger
MozReview-Commit-ID: CvnXAT0nanB

--HG--
extra : rebase_source : 00736a60200a1a4c6895493836709a5cacb156c2
2018-04-11 15:40:17 -07:00
Edouard Oger
3a0bca5c18 Bug 1443115 - Handle FxA pushEndpointExpired flag. r=markh
MozReview-Commit-ID: B0YIrtoSpOI

--HG--
extra : rebase_source : 1bf3892286914807157f3ac987f084f159d6639e
2018-04-10 15:47:26 -04:00
Hiroyuki Ikezoe
1a43163be4 Bug 1443427 - Don't flush throttled animations in Animation::FlushStyle(). r=birtles
Animation::FlushStyle() gets called only for CSS animations/transitions'
playState changes in JS or ready Promise for CSS animations.  In either case
throttled animation state, which is, to be precise, transformed position or
opacity value on the compositor, doesn't affect those results.

The first test case for CSS animations and the first test case for CSS
transitions in this patch fail without this fix.

MozReview-Commit-ID: EVym4qputL4

--HG--
extra : rebase_source : 12524c7db1d59da69687bb123fc65ad4301f5527
2018-04-11 18:01:14 +09:00
Blake Kaplan
543e672dd4 Bug 1391154 - Handle edge cases around the borders of IntersectionObservers more consistently. r=dholbert
The old code would ignore mThresholds if we happened to update when the
observed element was edge-adjacent to its root. This could cause spurious
notifications if it happened to run during a CSS transformation. The new code
more closely follows the spec with a slight deviation where the code treats
all values less than the smallest passed-in threshold as equivalent (when
looking at previousIndex). This matches Chrome's implementation and the tests.

MozReview-Commit-ID: 7oAh1EdjMiY

--HG--
extra : rebase_source : 46de4aee9c7da36bd1b41c07fa9b6bbe8ee15dc0
2018-04-10 18:54:01 -07:00
Kris Maglione
9deb8e39cf Bug 1451670: Read the changed flag from startup JSON location data. r=aswan
MozReview-Commit-ID: tgfQDvyEj3

--HG--
extra : rebase_source : 96cb5845841e4b25a8afac47a3aa4b1e22867cbd
2018-04-05 14:01:38 -07:00
Kit Cambridge
b291ceb1ab Bug 1452294 - Improve logging for records in bookmark mirror. r=markh
MozReview-Commit-ID: 69eJrbo89Sx

--HG--
extra : rebase_source : f6ef5d721ede920431540aaa5af1bc1a90f6111f
2018-04-06 17:15:28 -07:00
Rob Wu
4a63a4cd88 Bug 1453260 - run test script in specific page only r=aswan
Use a more specific entry point for the test than
"http://mochitest.test:8888" to make sure that the test is only started
once, when the test opens a tab with the entry point.

MozReview-Commit-ID: 7iAFREDuACu

--HG--
extra : rebase_source : 6ab46b1114dc824f29d0bf21ffa784cd14651447
2018-04-11 14:25:03 +02:00
William Lachance
7e91120b19 Bug 1453356 - Document new displayVersion field in telemetry environment r=chutten
MozReview-Commit-ID: IDYPL0E9Yip

--HG--
extra : rebase_source : f0057ac4dc6e0ed1483afa65568250308e838e3a
2018-04-11 10:52:33 -04:00
Mike Taylor
6b354aaea5 Bug 1409056. Allow webcompat-reporter addon to ride the trains. r=florian
(Note: this is still disabled by default for non-DevEdition and non-Nightly)

MozReview-Commit-ID: FVgZD3IQSHW

--HG--
extra : rebase_source : b3bac5d476bce61da190655b3bb5c7b044175bb4
2018-04-09 16:48:34 -05:00
Tim Nguyen
041e5707e3 Bug 1449327 - Stop sanitizing fully transparent values. r=dao
MozReview-Commit-ID: DRQjCm35QsN

--HG--
extra : rebase_source : df6c4cfe8e936519f867a7d283cebfdfb566256b
2018-04-11 21:05:13 +02:00
Kartikaya Gupta
9430ed7557 Bug 1452620 - Document the WrPipelineInfo structure. r=botond,nical
MozReview-Commit-ID: DleDZydMnKS

--HG--
extra : rebase_source : 1e86be2527841a2d1c1b999f11f9c4c03e844a2f
2018-04-10 17:26:54 -04:00
Kartikaya Gupta
97ffc1e59e Bug 1452620 - Use FfiVec to clean up WrPipelineInfo usage in C++. r=Gankro,nical
Instead of passing a WrPipelineInfo* to C++ code, we can now pass the
WrPipelineInfo directly. C++ code can access the info members without
having to call back into rust code, so the wr_pipeline_info* iterator
methods can be removed. Deleting the structure still requires passing it
back to rust.

MozReview-Commit-ID: HYcPX3mCGKW

--HG--
extra : rebase_source : f4b781cfc463c8e196f67a6e178ce4ce44a9464a
2018-04-10 17:26:54 -04:00
Kartikaya Gupta
404fe454a9 Bug 1452620 - Add an FfiVec structure. r=Gankro
This structure makes it more ergonomic to access vectors from C++. A
Vec<T> can be converted to FfiVec<T> which can safely cross the FFI
boundary. That provides an easy to use read-only access mechanism to the
vector contents. The FfiVec must be returned to rust code to be freed
properly.

MozReview-Commit-ID: AdIyEsjrPSZ

--HG--
extra : rebase_source : db87eb55e19c2d129f4c8a8155b03d9fbfc98199
2018-04-10 17:26:53 -04:00
Tomislav Jovanovic
b2409204a3 Bug 1441336 - Test addon permissions for PerformanceTiming properties r=kmag
MozReview-Commit-ID: LlySv9AinVC

--HG--
extra : rebase_source : a0030887988152361ade306391c453ebaeb064a6
2018-04-07 02:38:51 +02:00
Tomislav Jovanovic
9e09943ad5 Bug 1441336 - Use addon permissions for PerformanceTiming properties r=bz,kmag
We need to side-step existing cross-origin checks in Performance Timing code
when the caller is a web extension content script that otherwise has permission
to access the cross-origin resource.

MozReview-Commit-ID: 8IgtqZgPWgY

--HG--
extra : rebase_source : e8152c5d8ab32096d1ff7f97311c1b43b57c3694
2018-04-04 16:54:26 +02:00
Zibi Braniecki
d06d126e5d Bug 1451992 - Migrate Preferences::Subdialogs::Translation to Fluent. r=gijs,stas
MozReview-Commit-ID: JfBdle6i5wL

--HG--
extra : amend_source : 79e96b14339550e5dd6cbe72f98efa7be28326c0
2018-04-05 22:55:44 +02:00
Zibi Braniecki
6b595c6539 Bug 1451992 - Migrate Preferences::Subdialogs::SiteData to Fluent. r=jaws,flod
MozReview-Commit-ID: KzEP0iCfzGf

--HG--
extra : amend_source : 15bca3b8ca44950e1284427726e037a22fbfc7e5
2018-04-05 22:37:59 +02:00
Zibi Braniecki
2021285e2a Bug 1451992 - Migrate Preferences::Subdialogs::SelectBookmark to Fluent. r=gijs,flod
MozReview-Commit-ID: BR74Gq4ULUD

--HG--
extra : amend_source : 29b46dd465a0d4ecb1a2f8ae367df1b267fe9a4e
2018-04-05 22:16:34 +02:00
Zibi Braniecki
e6a8910e64 Bug 1451992 - Migrate Preferences::Subdialogs::Permissions to Fluent. r=gijs,gandalf
MozReview-Commit-ID: 12JINAX1Ttd
2018-04-05 22:09:13 +02:00
Zibi Braniecki
5f8d6040ce Bug 1451992 - Migrate Preferences::Subdialogs::Languages to Fluent. r=gijs,flod
MozReview-Commit-ID: 96C1P3ZbJeH

--HG--
extra : amend_source : fbc969a6a5862f461bb4612c02030a0d50d8dab9
2018-04-05 21:43:11 +02:00
Zibi Braniecki
1f13efaede Bug 1451992 - Migrate Preferences::Subdialogs::Fonts to Fluent. r=jaws,stas
MozReview-Commit-ID: LwNCJJIVobl

--HG--
extra : amend_source : 146982d0b918463c3bd6eea7f9a18a8f2e9be3e2
2018-04-05 21:28:32 +02:00
Zibi Braniecki
ec51e6c910 Bug 1451992 - Migrate Preferences::Subdialogs::Connection to Fluent. r=gijs,gandalf
MozReview-Commit-ID: 6N4dE8V37l
2018-04-05 14:14:51 +02:00
Zibi Braniecki
bf66c39e72 Bug 1451992 - Migrate Preferences::Subdialogs::Colors to Fluent. r=gijs,gandalf
MozReview-Commit-ID: KlA7gS9D2W5
2018-04-05 03:17:01 +02:00
Zibi Braniecki
276dbeb028 Bug 1451992 - Migrate Preferences::Subdialogs::ClearSiteData to Fluent. r=jaws,flod
MozReview-Commit-ID: 4geJkI3OACq

--HG--
extra : amend_source : 9b31ed04f736fc03517245af0ad60c7c2f845787
2018-04-05 02:39:59 +02:00
Zibi Braniecki
529d7466ef Bug 1451992 - Migrate Preferences::Subdialogs::Blocklists to Fluent. r=gijs,flod
MozReview-Commit-ID: IXacqfUnZ2q

--HG--
extra : amend_source : dfa7ab6d368a5b5564c48a2013ad40d7869fc607
2018-04-03 04:29:25 +02:00
Martin Balfanz
5e5059eb5c Bug 1449528 - Don't rotate grid line number markers when close to the viewport edge. r=gl 2018-03-28 19:59:07 +02:00
arthur.iakab
8f77825a58 Backed out 2 changesets (bug 1453061)For frequently failing build bustage on win-32 pgo on a CLOSED TREE
Backed out changeset 6a08a9249650 (bug 1453061)
Backed out changeset 1edfe06dff5b (bug 1453061)
2018-04-11 06:01:40 +03:00
sotaro
35982d6737 Bug 1452901 - Schedule generate frame r=nical 2018-04-11 11:34:25 +09:00
Kris Maglione
32fa162ac2 Bug 1452307: Remove some dead code. r=aswan
MozReview-Commit-ID: DpV0WWW8WKF

--HG--
extra : rebase_source : e697d8fd91c40c15df21551514b239de6a9a117f
extra : histedit_source : 45120f4b9208ab3f92b9cbc295b1c6e706412bd1
2018-04-08 12:55:20 -07:00
Kris Maglione
e77bbb4f83 Bug 1452307: Remove support for old-style experiment API extensions. r=aswan
MozReview-Commit-ID: 5y48pMRQ5XW

--HG--
extra : rebase_source : 72337be11a0e5d7ebe6bb01d5ad71cb1da1cda7b
extra : histedit_source : bcba1a6a848e16aba9e4f4f606b11ba631c85e2e
2018-04-06 18:14:59 -07:00
Kris Maglione
b5c2235a0f Bug 1382953: Fix permission prompts in about:addons options browsers. r=aswan
MozReview-Commit-ID: At5F5cqGSWu

--HG--
extra : rebase_source : 2bce19447ae0bd4b6cd8f51b16f1e7fabe59d6c8
extra : amend_source : 911e5b1f2d7ee501d08918c6191a79217f0d0b6f
2018-04-07 20:38:21 -07:00
Manish Kumar
7262fc3cf9 Bug 1440292 - Remove unused gUIDensity.setCurrentMode. r=johannh
--HG--
extra : amend_source : b4717f6c074e441ea85af2ecb9c575171cfdaa80
2018-04-09 14:01:51 +02:00
Jim Blandy
863f939532 Bug 1452410 - Simplify ThrottledEventQueue's shutdown behavior. r=froydnj 2018-04-06 14:44:42 -07:00
Jeff Walden
fab5754933 Bug 1452818 - Make tokenstream positions be created by constructor-call so that their members don't have to be default-constructible. r=arai
--HG--
extra : rebase_source : 9e75b0e05536e07cb18d2b1d0d6dfc44f40e83ec
2018-04-09 16:10:25 -07:00
Jeff Walden
d9a177cdb7 Bug 1452818 - Move BytecodeCompiler::startPosition into more locally-scoped stack-frame variables. r=arai
--HG--
extra : rebase_source : 2dd98d0d6940e9890d150e97fa8b13188aca5460
2018-04-09 12:58:02 -07:00
Jeff Walden
4b9e315a13 Bug 1452754 - Handle promise rejection in cases of error or otherwise through RAII in MapDataIntoBufferSource::DoMapDataIntoBufferSource. r=jgilbert
--HG--
extra : rebase_source : 52341f938e87ab4fa35926494ed927fde8a2e744
2018-04-09 12:57:10 -07:00
Jeff Walden
cba0aa5d89 Bug 1452754 - Add tests to TestMustReturnFromCaller.cpp that verify that RAII destruction after a must-return-after expression is permitted. r=mystor
--HG--
extra : rebase_source : 6ca1082b766393fa90f3631fd09a399e01c9e6e6
2018-04-09 12:56:37 -07:00
Jeff Walden
be8ccd5a6b Bug 1452619 - Implement mozilla::IsAsciiAlpha. r=froydnj
--HG--
extra : rebase_source : fd1e3284d293edad0bd96cc378eeeeb1bc2c8829
2018-04-09 12:02:43 -07:00
Jeff Walden
a675e51266 Remove unused JS::Value::get{Int32,Double}Ref member functions. No bug, r=me as trivial
--HG--
extra : rebase_source : 3c32ceef0657739f07994929d3cdd3c32df7cf55
2018-04-05 20:45:57 -07:00
Nathan Froyd
14488e954b Bug 1453129 - don't needlessly copy data in nsClipboardProxy; r=smaug
We're already going to copy the data when we initialize the
nsISupportsString here.  There's no need to copy the data into a
temporary object before passing it in to the nsISupportsString.

And as long as we're fixing the big mistakes, we might as well fix the
small ones, like copying the flavor string from the IPC object.
2018-04-10 19:07:40 -04:00
Nicholas Nethercote
fe6068a327 Bug 1451658 - Remove JS_STATIC_CLASS in favour of MOZ_STATIC_CLASS. r=mystor
MozReview-Commit-ID: B2fynvjOSG7

--HG--
extra : rebase_source : 8f2ca40231561e5c7a140bad4f7fe79c89aeef04
2018-04-10 17:31:55 +10:00
Nicholas Nethercote
374e333b76 Bug 1451658 - Add MOZ_STATIC_CLASS. r=mystor
MozReview-Commit-ID: HlbfoQypMcI

--HG--
extra : rebase_source : 3f91229f7190f04a9f512a6ac594674e05829039
2018-04-10 17:31:31 +10:00
Jason Laster
b37082d190 Bug 1453066 - Update Debugger Frontend v34. r=jdescottes 2018-04-10 18:38:13 -04:00
Kris Maglione
08184e1c91 Bug 1452827: Follow-up: Flush the jar cache after fetch()ing a jar: URI at install. r=bustage
MozReview-Commit-ID: BcU9vQrcIvk

--HG--
extra : rebase_source : 4f5911678bb56c7e477cc9da12d051aa102c3f1b
extra : amend_source : 83eacfa483a226bfcf46d8b93c1cbfa313e2eb9e
2018-04-10 15:19:17 -07:00
arthur.iakab
bbca7c7700 Merge mozilla-central to inbound 2018-04-11 01:17:20 +03:00
arthur.iakab
280690d83e Merge mozilla-central to inbound 2018-04-11 01:02:05 +03:00
Nika Layzell
4d3a49a4fb Bug 1445668 - Don't hide includes when -showIncludes is explicitly passed to cl.exe, r=gps 2018-04-10 17:49:51 -04:00
Nika Layzell
6d83ce8024 Bug 1444151 - Part 5: Update rust-url to 1.7.0, r=valentin 2018-04-10 17:49:51 -04:00
Nika Layzell
da7423dfa5 Bug 1444151 - Part 4: Remove the now-unnecessary xpcom-style segment getters, r=valentin 2018-04-10 17:49:50 -04:00
Nika Layzell
4f380cfe7d Bug 1444151 - Part 3: Only create a single allocation for MozURL objects, which is managed by rust, r=valentin
This patch rewrites the rust-url-capi crate as the mozurl crate, which
provides a threadsafe MozURL object which is compatible with the
previous MozURL class.

Creating a MozURL this way performs a single allocation, which contains
only a rust-url Url object and an atomic refcnt, however it is fully
compatible with the C++ RefPtr type.

This patch also exposes methods for accessing dependent substrings of
the serialized spec, meaning that string copies can be avoided in many
situations when inspecting attributes of the MozURL.




--HG--
rename : netwerk/base/rust-url-capi/.gitignore => netwerk/base/mozurl/.gitignore
2018-04-10 17:49:50 -04:00