gecko-dev/dom/xml
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
..
crashtests
resources Bug 1286877 - do not set c-basic-offset for python-mode; r=gps 2016-07-14 10:16:42 -06:00
test Backed out changeset 322fde2d53bf (bug 1356569) so bug 1355161 can be backed out. r=backout 2017-04-14 23:39:22 +02:00
CDATASection.cpp
CDATASection.h
htmlmathml-f.ent
moz.build Bug 1335099 - add BUG_COMPONENT to many dom/* subdir files. r=overholt 2017-02-06 09:45:55 -05:00
nsIXMLContentSink.h
nsXMLContentSink.cpp Bug 1333990: Part 2c.1 - Interrupt the XML flush loop after inserting document element. r=hsivonen 2017-03-15 14:04:37 -07:00
nsXMLContentSink.h Bug 1328832 - Part 2: Rename mozFlushType to mozilla::FlushType and make it an enum class. r=bzbarsky 2017-01-05 15:31:56 +08:00
nsXMLElement.cpp
nsXMLElement.h Bug 1323153 - Not include ElementInlines in headers. r=smaug 2016-12-13 18:11:04 +11:00
nsXMLFragmentContentSink.cpp Bug 1356843 - Fix -Wcomma warnings in dom/base/ and dom/xml/. r=bz 2017-03-27 19:41:50 -07:00
nsXMLPrettyPrinter.cpp Bug 1304623 - Create a pref to control the default referrer policy - part 3. r=bkelly 2017-01-05 11:29:56 +08:00
nsXMLPrettyPrinter.h
ProcessingInstruction.cpp
ProcessingInstruction.h
XMLDocument.cpp Bug 1310127 - Part 17: Use MOZ_MUST_USE in netwerk/protocol/http r=smaug 2016-12-20 11:49:32 +08:00
XMLDocument.h Bug 1335368 part 19. Get rid of IsCallerChrome in XMLDocument::Load. r=bholley 2017-02-01 15:43:38 -05:00
XMLStylesheetProcessingInstruction.cpp Bug 1268313: Part 7 - Move NS_NewRunnableMethod and friends to mozilla::NewRunnableMethod. r=froydnj 2016-05-05 01:45:00 -07:00
XMLStylesheetProcessingInstruction.h