Commit Graph

522641 Commits

Author SHA1 Message Date
Andrea Marchesini
c83982c31f Bug 1341250 - Moving nsExpandedPrincipal in separate files, r=qdot
--HG--
rename : caps/nsPrincipal.cpp => caps/nsExpandedPrincipal.cpp
rename : caps/nsPrincipal.h => caps/nsExpandedPrincipal.h
2017-02-22 10:01:43 +01:00
Andrea Marchesini
0626b9d52e Bug 1341218 - nsNullPrincipal should consider its URI in ::Write/::Read, r=qdot 2017-02-22 10:01:43 +01:00
Jan Beich
c824cc6355 Bug 1339075 - stylo: don't force mozjemalloc on Tier3 platforms. r=froydnj
MozReview-Commit-ID: 91ONYHQ9zzU

--HG--
extra : rebase_source : 0e87b775b40387b8ed926a1e5df9ee50e4a88b34
2017-02-22 08:22:08 +00:00
Makoto Kato
06128d8281 Bug 833889 - Part 2. Update test result of web platform tests. r=masayuki
Update web platfrom tests's result since some tests contain this situation.

MozReview-Commit-ID: vm33zObiOW

--HG--
extra : rebase_source : fbd053d5f4d8507b13d3a2bdab3e9b6fdba1b751
extra : histedit_source : 9203ec1ffde72daf44cf15813979fae83910ff4c
2017-02-22 14:52:25 +09:00
Makoto Kato
d2b6ed15ad Bug 833889 - Part 1. Remove CSS properties even if it is default value. r=masayuki
When selected nodes are <span style="font-weight: normal;">A</span>, toggle bold inserts new span element into parent node like <span style="font-weight: bold;"><span style="font-weight: normal;">A</span><span>.  So bold isn't applied correctly.

IsCSSEquivalentToHTMLInlineStyleSet might return false even if style is applied.  Because it returns true that style isn't default value.  Since "font-weight: normal" is default property, it isn't removed.

So when style is already applied even if it is default value, we should remove it.

MozReview-Commit-ID: LgImkHRp9Ff

--HG--
extra : rebase_source : dd4d894495754a81abaf5a2aede1132056920beb
extra : histedit_source : 72d196cd9f90296eb00b97c1538704c714cc871c
2017-02-23 17:10:27 +09:00
djmdev
4e078cff7a Bug 1341586 - Fix localization of Inspector's attribute context menu by adding quotations to the values. r=gl
Removed quotes from context menu item and added them to their respective localization string.
2017-02-23 09:21:09 +05:30
Jeff Walden
938292cf1f Bug 1287006 - Final bustage followup. r=bustage in a still-CLOSED TREE 2017-02-22 20:46:46 -08:00
Jeff Walden
a457461dd8 Bug 1287006 - Followup bustage fix. r=bustage in a CLOSED TREE 2017-02-22 20:41:37 -08:00
sotaro
0a8bfc0f1b Bug 1341192 - Update LayerManager handling in nsWindow::SetSizeConstraints() r=nical 2017-02-22 10:35:39 +09:00
Honza Bambas
7478e3a8b9 Bug 1340577 - Add release-grade assertions to various XPCOM string API implementations to avoid input causing an overflow. r=froydnj
--HG--
extra : rebase_source : af6aaf66863cb6a981a4d8f0deeac8e0f40278c1
2017-02-21 11:38:00 -05:00
Alessio Placitelli
f300032c35 Bug 1334469 - Make sure Keyed Histogram APIs don't allow empty keys. r=gfritzsche
iff --git a/toolkit/components/telemetry/docs/collection/histograms.rst b/toolkit/components/telemetry/docs/collection/histograms.rst

MozReview-Commit-ID: EkiP42ZVpqz
2017-02-21 06:03:00 +01:00
Sebastian Hengst
918b5fdc92 No bug - Fix typo in localization comment for positionAndDuration.nameFormat. r=me DONTBUILD 2017-02-22 09:46:10 +01:00
Andrea Marchesini
9f369c0e29 Bug 1339710 - Remove the implementation of SlicedInputStream::ReadSegments, r=smaug 2017-02-22 09:42:27 +01:00
Andrea Marchesini
930614ab07 Bug 1339710 - SlicedInputStream should be nsISeekableStream, r=smaug 2017-02-22 09:41:59 +01:00
Andrea Marchesini
e87ad16573 Bug 1339710 - Remove nsIPartialFileInputStream, r=smaug 2017-02-22 09:41:51 +01:00
Andrea Marchesini
0500e8f2e7 Bug 1339710 - SlicedInputStream should be an nsIIPCSerializableInputStream, r=smaug 2017-02-22 09:41:05 +01:00
Andrea Marchesini
5dfc951f15 Bug 1339710 - SlicedInputStream should not be nsICloneableInputStream if the source stream is not, r=smaug 2017-02-22 09:40:46 +01:00
Iris Hsiao
f9bdfe10bb Backed out 5 changesets (bug 1339710) for GTest failures in TestSlicedInputStream.StartBiggerThan
Backed out changeset 7c0ec55b44dc (bug 1339710)
Backed out changeset cbb4e1c2aada (bug 1339710)
Backed out changeset c685dca493f5 (bug 1339710)
Backed out changeset 4761a15d45fd (bug 1339710)
Backed out changeset 7561692c1bc7 (bug 1339710)
2017-02-22 16:19:50 +08:00
Iris Hsiao
c2bb6f5851 Merge mozilla-central to mozilla-inbound 2017-02-22 16:18:56 +08:00
Iris Hsiao
4b9cf39daa Backed out changeset 0172497c1024 (bug 1337940) 2017-02-22 16:16:10 +08:00
Iris Hsiao
6c63b5ced7 Backed out changeset dd8c7da15822 (bug 1337940) for tc-M(31) perma failure 2017-02-22 16:16:06 +08:00
Iris Hsiao
cac0976ded Backed out changeset 28c5827d707c (bug 1337325) for tc-M(31) perma failure 2017-02-22 16:15:49 +08:00
Tooru Fujisawa
030e18d7ef Bug 1339964 - Support export async function f() {}. r=till 2017-02-22 16:11:35 +09:00
Tooru Fujisawa
fa1ef124e8 Bug 1339963 - Part 3: Check IdentifierName in ExportClause without from. r=jwalden 2017-02-22 16:11:35 +09:00
Tooru Fujisawa
9f15eb94a2 Bug 1339963 - Part 2: Use MUST_MATCH_TOKEN for contextual keyword where it can be used. r=jwalden 2017-02-22 16:11:35 +09:00
Tooru Fujisawa
7248e52372 Bug 1339963 - Part 1: Split Parser::exportDeclaration. r=jwalden 2017-02-22 16:11:35 +09:00
Tooru Fujisawa
68a70f5550 Bug 1340923 - Remove remaining Iterator consumer from devtools/. r=jryans 2017-02-22 16:11:35 +09:00
Tooru Fujisawa
8abf3f1675 Bug 1340924 - Remove Iterator consumer from intl/. r=Pike 2017-02-22 16:11:34 +09:00
Tooru Fujisawa
8f6cb3e9d7 Bug 1338262 - Remove legacy generator from netwerk/test/. r=mayhemer 2017-02-22 16:11:34 +09:00
Andrea Marchesini
2431d460d2 Bug 1339710 - Remove the implementation of SlicedInputStream::ReadSegmenets, r=smaug 2017-02-22 07:57:54 +01:00
Andrea Marchesini
76b13c0185 Bug 1339710 - SlicedInputStream should be nsISeekableStream, r=smaug 2017-02-22 07:57:14 +01:00
Andrea Marchesini
190bf147a2 Bug 1339710 - Remove nsIPartialFileInputStream, r=smaug 2017-02-22 07:56:29 +01:00
Andrea Marchesini
a75afeb38f Bug 1339710 - SlicedInputStream should be an nsIIPCSerializableInputStream, r=smaug 2017-02-22 07:55:50 +01:00
Andrea Marchesini
f981e3155b Bug 1339710 - SlicedInputStream should not be nsICloneableInputStream if the source stream is not, r=smaug 2017-02-22 07:54:46 +01:00
John Lin
584224e8cd Bug 1340582 - handle shared memory allocation failure. r=jchen
MozReview-Commit-ID: ETk9nHHkyYA
2017-02-22 14:17:26 +08:00
Phil Ringnalda
53ccf8158e Backed out 5 changesets (bug 1318370) for mozilla-central Windows static-analysis bustage
Backed out changeset 196f9ddbf7aa (bug 1318370)
Backed out changeset 72f6eace33a1 (bug 1318370)
Backed out changeset c0c0e10ed613 (bug 1318370)
Backed out changeset a8032ae9cb2a (bug 1318370)
Backed out changeset 0848b3201c40 (bug 1318370)
2017-02-21 21:22:01 -08:00
Phil Ringnalda
e7d67b74f2 Bug 1318370 followup, touch CLOBBER to try to unbreak mozilla-central Windows static-analysis builds, a=hope 2017-02-21 19:22:29 -08:00
Wes Kocher
13e1cccb3f Merge inbound to central, a=merge
MozReview-Commit-ID: EEMZdLCheAm
2017-02-21 17:35:01 -08:00
Micah Tigley
83ea92dc1b Bug 1341498 - Stringify grid areas for CSS Grid Fragments in css-grid-utils.js. r=gl
MozReview-Commit-ID: 3CfoZM2YXjH
2017-02-21 18:10:35 -07:00
Trevor Saunders
c886524f63 bug 1340579 - add another diagnostic assert r=davidb 2017-02-21 22:27:49 -05:00
Trevor Saunders
b2600d1cbe bug 1340903 - work around binding child docs to non outer DocAccessibles r=eeejay 2017-02-21 22:27:49 -05:00
Wes Kocher
aa292f210f Merge autoland to central, a=merge
MozReview-Commit-ID: 1jc25nYhPbA
2017-02-21 17:05:17 -08:00
Grigory Kruglov
11a71d0abd Bug 1341125 - Clear accounts in-memory cache when necessary. r=nalexander
MozReview-Commit-ID: sf5WhXxRVg
2017-02-21 11:31:22 -08:00
Eric Rahm
cbfbc77ab8 Bug 1333899 - Part 3: Avoid extra copies in nsDataChannel::OpenContentStream. r=bz
This switches over to cloning the URI without it's ref which will most likely
avoid a copy. The new |ParsePathWithoutRef| is used, again to avoid needing a
copy of the path substring.

A pipe is no longer used for the input stream, instead we use a string stream
which in most cases will be able to share the string data buffer rather than
copying it.

For the base64 case in the best case we only allocate the decoded buffer, worst
case there's another buffer for the URL decoded data. So either 3/4 transient
or 1 3/4 transient, both of which are better than 3.5.

MozReview-Commit-ID: 4tYI3iyxMCl
2017-02-21 17:56:36 -08:00
Eric Rahm
57307ce7cf Bug 1333899 - Part 2: Add nsDataHandler::ParsePathWithoutRef. r=valentin
This adds a version of |ParseURI| that only deals with the path portion of the
URI and expects the ref not to be present. It's mainly copy and pasted from
|ParseURI| but updated to use nsString methods rather than NSPR.

Additionaly it only returns a substring to the path passed in for the data
buffer if requested.

|ParseURI| is updated to advance past the scheme and trim the ref, then it
just uses |ParseURIWithoutRef|.

MozReview-Commit-ID: F5h6bcSLd8P
2017-02-21 17:56:35 -08:00
Eric Rahm
9279ddcaa9 Bug 1333899 - Part 1: Add a fallible NS_UnescapeURL. r=froydnj
This adds a fallible version of |NS_UnescapeURL| that can be used to
gracefully handle allocation failures when the string needs to be unescaped.

MozReview-Commit-ID: 1eXPzeB2yrI
2017-02-21 17:56:34 -08:00
Wes Kocher
5295bd9f91 Merge m-c to inbound, a=merge
MozReview-Commit-ID: AoD5GpFatBw
2017-02-21 17:41:05 -08:00
Boris Zbarsky
aed0bcf617 Bug 1340760. Link sdp_file_parser against mozglue, since it uses the PrintfTarget stuff from there. r=froydnj
MozReview-Commit-ID: K3nkeLd3oCs
2017-02-21 19:50:22 -05:00
Wes Kocher
39e4b25a07 Merge graphics branch to m-c a=merge
MozReview-Commit-ID: KJaEnbJJNCD
2017-02-21 10:16:43 -08:00
Jon Coppeard
7b865b5def Bug 1340145 - Don't allow HTML comments in module scripts r=anba 2017-02-21 17:18:04 +00:00