Commit Graph

531522 Commits

Author SHA1 Message Date
Chris Peterson
45ad5ab207 Bug 1356843 - Fix -Wcomma warning in extensions/spellcheck/src/mozSpellChecker.cpp. r=masayuki
clang's -Wcomma warning warns about suspicious use of the comma operator such as calling a function for side effects within an expression. Check NS_SUCCEEDED() to use HasMoreElement() in an expression and confirm that it actually returned a legitimate out parameter.

extensions/spellcheck/src/mozSpellChecker.cpp:532:54 [-Wcomma] possible misuse of comma operator here

MozReview-Commit-ID: 3GnKVvx8Nu4

--HG--
extra : rebase_source : 0ceaaad16e3d701e24029e431a9d577e9636d626
extra : source : ceb864752cc324d629118d44f22a01d9594b26fd
2017-03-27 21:24:35 -07:00
Chris Peterson
064b9e3229 Bug 1356843 - Fix -Wcomma warnings in dom/svg/SVGGeomeetryElement.h. r=dholbert
clang's -Wcomma warning warns about suspicious use of the comma operator such as between two statements.

dom/svg/SVGGeometryElement.h:117:21 [-Wcomma] possible misuse of comma operator here
dom/svg/SVGGeometryElement.h:117:41 [-Wcomma] possible misuse of comma operator here
dom/svg/SVGGeometryElement.h:128:14 [-Wcomma] possible misuse of comma operator here
dom/svg/SVGGeometryElement.h:128:23 [-Wcomma] possible misuse of comma operator here

MozReview-Commit-ID: CfNOsfcJTEp

--HG--
extra : rebase_source : a9cda16923d853b4b9fd26d796ba1a6739e85383
extra : source : 91d3b4d038285c034294ea3164c4e55e300e4823
2017-04-17 22:22:51 -07:00
Chris Peterson
3613a6700f Bug 1356843 - Fix -Wcomma warnings in dom/base/ and dom/xml/. r=bz
clang's -Wcomma warning warns about suspicious use of the comma operator such as between two statements or to call a function for side effects within an expression.

This warning indicates that nsXMLFragmentContentSink::CloseElement() has been calling aContent->IsHTMLElement() but not using its return value to determine whether to call PreventExecution(). This was a regression from bug 1134280 back in 2015.

dom/base/nsGlobalWindow.cpp:9344:55 [-Wcomma] possible misuse of comma operator here
dom/xml/nsXMLFragmentContentSink.cpp:227:50 [-Wcomma] possible misuse of comma operator here

MozReview-Commit-ID: DontBxeHqGI

--HG--
extra : rebase_source : a48455dd7a38bf7dd5f3aa58954b7cbe9ac8f831
extra : source : d7d072099c332af4c05564abb9cce10489ee99e1
2017-03-27 19:41:50 -07:00
Dragana Damjanovic
ecca1ff420 Bug 1310197 - Implement fast open nspr part. r=mcmanus,bagder 2017-04-20 14:11:26 +08:00
Robert Strong
d760090512 Bug 1336979 - Remove unnecessary logging of the update.status contents in the maintenance service. r=mhowell 2017-04-19 22:59:30 -07:00
Ehsan Akhgari
f26370d441 Bug 1356913 - Remove support for the mozapptype attribute; r=billm
This is dead functionality now that mozapp support has been removed.
2017-04-20 01:09:28 -04:00
Phil Ringnalda
9a02b667ce Bug 1350732 - set the pref to enable dom.storageManager in a __dir__.ini instead of playing Whac-A-Test 2017-04-19 22:06:34 -07:00
Boris Zbarsky
9de4579df7 Bug 1357646 part 3. Move the setting of mType from HTMLMenuItemElement::ParseAttribute to HTMLMenuItemElement::AfterSetAttr. r=mystor
This also fixes mType for cases in which the type attribute is removed.
2017-04-20 00:35:20 -04:00
Boris Zbarsky
08a07bf222 Bug 1357646 part 2. Move the setting of mType from HTMLMenuElement::ParseAttribute to HTMLMenuElement::AfterSetAttr. r=mystor
This also fixes mType for cases in which the type attribute is removed.
2017-04-20 00:35:19 -04:00
Boris Zbarsky
d6ac03b76b Bug 1357646 part 1. Move the setting of mType from HTMLButtonElement::ParseAttribute to HTMLButtonElement::AfterSetAttr. r=mystor
ParseAttribute should generally not mutate the element.
2017-04-20 00:35:19 -04:00
Nicholas Nethercote
28f7ae49bb Bug 1357936 - Don't leak ProfilerIOInterposeObserver. r=mstange.
The patch adds a missing |delete|. (This leak only occurred when the
"mainthreadio" feature was enabled, which is not the default.)

The patch also makes the unregistering of the interpose observer conditional on
there being one in the first place, avoiding a harmless but useless
unregistering of |nullptr|.

--HG--
extra : rebase_source : 7cc3679192e3effa8d86edad5374643d2e2b8948
2017-04-20 09:24:17 +10:00
Kershaw Chang
30b3084e4f Bug 1355700 - Correct the count of available new connections. r=honzab 2017-04-19 19:03:00 +08:00
L. David Baron
56f6982df5 Bug 1357951 - Update two transforms tests that should now point to css-transforms-2 following the spec split. r=SimonSapin
MozReview-Commit-ID: K8VBj6DaPGY

--HG--
extra : transplant_source : %5DX%0Dk%D9%A8z%D44%A5%CE%DE%01%EB%EF%C4%BB%1C%7D%D9
2017-04-20 11:23:19 +09:00
Arthur Edelstein
07b1d25b5a Bug 1357247 - Fix comment for network.http.referer.hideOnionSource. r=mcmanus
DONTBUILD
2017-04-19 17:08:00 -04:00
Wes Kocher
ca3a99fc7e Merge m-c to inbound, a=merge 2017-04-19 17:15:26 -07:00
Jeff Gilbert
408eae60b9 Bug 1356540 - Remove unused TextureGarbageBin. - r=daoshengmu
MozReview-Commit-ID: 3EON2kNdEBh
2017-04-19 17:03:03 -07:00
Kris Maglione
726576d314 Bug 1356810: Follow-up: Fix SDK worker tests. a=merge
MozReview-Commit-ID: 8ObX3OKozCF

--HG--
extra : source : bf8468e259dce509bfe0c4cc51874a0797932e36
2017-04-19 14:10:52 -07:00
Wes Kocher
cb8ce82cca Merge inbound to m-c a=merge 2017-04-19 17:10:04 -07:00
Andrew Swan
251c58d506 Bug 1357410 follow-up sign remaining unsigned permission test xpis r=andym
MozReview-Commit-ID: JA3fAWPIIJn

--HG--
extra : rebase_source : 3d3e64d03cb9e9576ff51efd21049174b7698898
2017-04-19 12:29:34 -07:00
Jonathan Kew
7e488692ea Bug 1357694 - Use AutoTArray for the array members in BidiLineData, to reduce heap allocation costs. r=dholbert 2017-04-19 20:09:32 +01:00
Kris Maglione
32d79e3539 Bug 1356810: Follow-up: Fix xpcshell test for async subscript return value.
MozReview-Commit-ID: 2lgw8KzvjBT

--HG--
extra : rebase_source : db0dfd6eaf3dc32f56b25ba319dd797ec1b7b06a
2017-04-19 12:07:52 -07:00
Geoff Brown
b609a95faf Bug 1204281 - Increase number of test chunks for linux64-asan mochitest-bc; r=jmaher
Some linux64-asan mochitest-bc jobs intermittently timeout after 3600 seconds;
I hope to avoid some of those.
2017-04-19 07:34:59 -06:00
Bill McCloskey
f55aa04abd Bug 1355178 - Don't call MessageChannel::ProcessPendingRequests if we don't expect it to do anything (r=kanru)
MozReview-Commit-ID: BJBBkhaNKki
2017-04-19 11:51:14 -07:00
Bill McCloskey
fb57ac5b38 Bug 1355178 - Remove unnecessary refcounting from MessageChannel::mPending (r=froydnj)
MozReview-Commit-ID: DWEF1ObNmMa
2017-04-19 11:51:14 -07:00
Tushar Saini (:shatur)
163e27b705 Bug 1337509 - Do not create tab objects with an unsupported 'selected' property. r=bsilverberg,mixedpuppy
MozReview-Commit-ID: 4Bi6LdNUxMo

--HG--
extra : rebase_source : 52baba39e08bc9d250ace3f4b46a591d7f641d47
2017-04-18 22:07:38 +05:30
Andrzej Hunt
e52aba5a9b Bug 1357629 - Add httpclientandroidlib to .inferconfig ignore list r=nalexander,njpark
We probably don't want to tackle these issues since httpclientandroidlib is already deprecated,
and we have more pressing infer issues in the main app. (We can always reenable if needed,
but this means we can more rapidly get to a state of 0 infer reports, allowing use of infer
to catch newly introduced issues in the core app.)

MozReview-Commit-ID: 2jMlrh68kOE

--HG--
extra : rebase_source : 73e75eb0fb4a5eece242d64a624cfe80916208ca
2017-04-18 20:05:25 -07:00
Tom Tromey
e4a467e282 Bug 1355233 - quote unmatched open paren in function tokens correctly; r=gl
When rewriting in the rule view, the rewriter quotes unmatched open
parens to avoid some edits affecting the rest of the style sheet.  This
was bug 1321970.  However, that change didn't correctly handle the case
of a function token, where the paren in question appears at the end, not
the start, of the token.

MozReview-Commit-ID: GjA40M2KsvX

--HG--
extra : rebase_source : 0dec92ca958d20f02da5c7c4163ad971b2529920
2017-04-17 08:00:58 -06:00
Andrew McCreight
30fb73cef2 Bug 1357828 - Remove B2G-specific code from mozJSComponentLoader::ReallyInit(). r=mrbkap
MozReview-Commit-ID: I0h6Y9VQETJ

--HG--
extra : rebase_source : 87b885ae6eff09b5a7b6b5d1ad5e36d433814bba
2017-04-19 10:33:04 -07:00
Cykesiopka
7c0b9e9d34 Bug 1356522 - Remove unnecessary nsICryptoHash output CRLF filtering in nsCSPUtils.cpp. r=ckerschb
This filtering is no longer necessary now that the fix for Bug 1338897 has landed and has gotten rid of the CRLF behaviour.

MozReview-Commit-ID: 9OKmrtQN3Cq

--HG--
extra : transplant_source : %C2%CD%AC%F6j%F5%D0%00%7E%AC%D2j%ACW%83%60%3B%F0%ED%CC
2017-04-17 17:34:18 +08:00
André Bargull
8e13ef12e5 Bug 1345115 - Part 3: Update TypedArray constructor with ArrayBuffer argument to follow latest spec. r=Waldo
--HG--
extra : rebase_source : 5e2ea35f1b1bd13a370ca7a44432c54f9583b27d
2017-04-19 06:07:47 -07:00
André Bargull
502f9cf9e6 Bug 1345115 - Part 2: Reduce duplicated byte length/offset computations in TypedArray constructor. r=Waldo
--HG--
extra : rebase_source : 478ea40d015c3aa7fc42d396431a368b041f1bce
2017-04-19 06:07:43 -07:00
André Bargull
5bb206b75b Bug 1345115 - Part 1: Don't switch compartment when typed array constructor is called with arraybuffer from other compartment. r=Waldo
--HG--
extra : rebase_source : 97867f565d4dfc46519d440304bc8249f7e49966
2017-04-19 06:07:16 -07:00
Kris Maglione
fe513a5fbc Bug 1356810: Use noScriptRval option by default for loadSubScript. r=billm
MozReview-Commit-ID: 50QVvrG4lzV

--HG--
extra : rebase_source : 357d4a4fb03e96efb74de2c5669d4da40ffa618e
2017-04-15 09:32:34 -07:00
Eric Rahm
d96cdc6174 Bug 1357585 - Stop inheriting from PRCList in XPCWrappedNativeScope. r=bholley
XPCWrappedNativeScope inherits from PRCList, but is never used in a PRCList.

MozReview-Commit-ID: CGqxwHEleFx
2017-04-19 11:14:49 -07:00
Sebastian Hengst
b3c4bc23ba merge mozilla-central to mozilla-inbound. r=merge a=merge 2017-04-19 18:58:34 +02:00
Sebastian Hengst
d8ac097a1d Backed out changeset b5def807ceda (bug 1335778) for permafailing test_crash.py TestCrash.test_crash_content_process on Windows 8. r=backout a=backout
MozReview-Commit-ID: 1uXKHg77IKy
2017-04-19 18:55:49 +02:00
Sebastian Hengst
d11a1a2118 Backed out changeset 2cfb401403e3 (bug 1335778)
MozReview-Commit-ID: 7TKRyAbnbrU
2017-04-19 18:53:37 +02:00
Sebastian Hengst
b1985f3e25 Backed out changeset 938d57f025ea (bug 1335778)
MozReview-Commit-ID: 1PODrjHutgJ
2017-04-19 18:53:32 +02:00
Sebastian Hengst
8571b4be42 Backed out changeset 7d8f800a7229 (bug 1335778)
MozReview-Commit-ID: LGFPR1XveMh
2017-04-19 18:53:27 +02:00
Sebastian Hengst
5f2fdfb80c Backed out changeset 724b17184279 (bug 867815) for letting web-platform-test /editing/run/formatblock.html fail. r=backout 2017-04-19 18:30:22 +02:00
Andrew Swan
c66904017f Bug 1357419 Sign browser_webext_update1.xpi r=andym
MozReview-Commit-ID: 9L1FCI4XPBG

--HG--
extra : rebase_source : 5dc9ff82dd30e965420fd3cda8c0df59744b779a
2017-04-19 09:11:33 -07:00
Ehsan Akhgari
7fcfe6b47e Bug 1350765 - Avoid recomputing the histogram ID when it's available in the caller; r=chutten 2017-04-19 12:02:30 -04:00
Kartikaya Gupta
fc1d59434f Bug 1357643 - Annotate wr_api_delete so that it can be called in a destructor in non-webrender builds. r=me
MozReview-Commit-ID: 4JrLFCRwxxO
2017-04-19 11:42:27 -04:00
Carsten "Tomcat" Book
e3f10f649e Backed out changeset 72abcde6295f (bug 1204281) for suspicion this cause asan test failures 2017-04-19 17:24:48 +02:00
ffxbld
305510c8ee No bug, Automated HPKP preload list update from host bld-linux64-spot-305 - a=hpkp-update 2017-04-19 08:02:50 -07:00
ffxbld
9847509d90 No bug, Automated HSTS preload list update from host bld-linux64-spot-305 - a=hsts-update 2017-04-19 08:02:47 -07:00
Carsten "Tomcat" Book
284cbb308e Backed out changeset d518009bfe70 (bug 1290951) for causing Bug 1357437 2017-04-19 11:55:33 +02:00
Carsten "Tomcat" Book
7babdc7a78 Backed out changeset a459d48f1d86 (bug 1290951) 2017-04-19 11:55:02 +02:00
Carsten "Tomcat" Book
7b9f2f1715 Backed out changeset 6f30a5669251 (bug 1290951) 2017-04-19 11:55:00 +02:00
Carsten "Tomcat" Book
0a0f322bb7 Backed out changeset 437aa650b9d9 (bug 1290951) 2017-04-19 11:54:57 +02:00