Граф коммитов

31 Коммитов

Автор SHA1 Сообщение Дата
Sylvestre Ledru 03fc65347c Bug 1542146 - Apply the change with the option StatementMacros from clang-format-8 r=andi
# ignore-this-changeset

Differential Revision: https://phabricator.services.mozilla.com/D26280

--HG--
extra : moz-landing-system : lando
2019-04-05 21:42:17 +00:00
Csoregi Natalia ba58e936bd Backed out changeset 4ad80127f89f (bug 1519636) for bustage on MarkupMap.h and nsAccessibilityService.cpp. CLOSED TREE 2019-04-05 09:48:19 +03:00
Sylvestre Ledru d1c1878603 Bug 1519636 - clang-format-8: Reformat recent changes to the Google coding style r=Ehsan
clang-format-8 upstream had some improvements wrt macros
See: https://reviews.llvm.org/D33440
This is why the diff is bigger than usual

# ignore-this-changeset

Differential Revision: https://phabricator.services.mozilla.com/D26098

--HG--
extra : moz-landing-system : lando
2019-04-04 21:36:16 +00:00
Narcis Beleuzu 24dbe577a5 Backed out changeset 389b6bbd76db (bug 1519636) for bustages on MarkupMap.h . CLOSED TREE 2019-04-05 00:27:56 +03:00
Sylvestre Ledru 399dbd28fe Bug 1519636 - clang-format-8: Reformat recent changes to the Google coding style r=Ehsan
clang-format-8 upstream had some improvements wrt macros
See: https://reviews.llvm.org/D33440
This is why the diff is bigger than usual

# ignore-this-changeset

Differential Revision: https://phabricator.services.mozilla.com/D26098

--HG--
extra : moz-landing-system : lando
2019-04-04 20:12:23 +00:00
Ehsan Akhgari e5e885ae31 Bug 1521000 - Part 2: Adjust our clang-format rules to include spaces after the hash for nested preprocessor directives r=sylvestre
# ignore-this-changeset

--HG--
extra : amend_source : 7221c8d15a765df71171099468e7c7faa648f37c
extra : histedit_source : a0cce6015636202bff09e35a13f72e03257a7695
2019-01-18 10:16:18 +01:00
Sylvestre Ledru 6f45c666bc Bug 1513205 - Also update the tests to match the Google coding style r=Ehsan
# ignore-this-changeset

Differential Revision: https://phabricator.services.mozilla.com/D14595

--HG--
extra : moz-landing-system : lando
2018-12-14 18:10:35 +00:00
Thomas Wisniewski f539f8b202 Bug 1493550 - allow quoted empty mime parameters in MimeType.cpp, per MimeSniffing PR #79; r=hsivonen
Summary: allow quoted empty mime parameters in MimeType.cpp, per MimeSniffing PR #79

Reviewers: hsivonen

Reviewed By: hsivonen

Subscribers: reviewbot

Bug #: 1493550

Differential Revision: https://phabricator.services.mozilla.com/D6590

--HG--
extra : rebase_source : 89c0d0f85930df4f4e9f7c3779bef8e85b0249f8
extra : histedit_source : 9a3659d384fc447dc8b17f7d4f8da22a4111a03d
2018-09-26 00:05:12 +03:00
Valentin Gosu c4da49a35f Bug 908413 - Make dom::MimeType a template to make it usable with nsCString r=hsivonen
Differential Revision: https://phabricator.services.mozilla.com/D5094

--HG--
extra : moz-landing-system : lando
2018-09-07 05:41:29 +00:00
Masatoshi Kimura 66fa613043 Bug 1484191 - Suppress warning C4819 in TestMimeType.cpp. r=froydnj
--HG--
extra : source : f6814f368b90b9cf1c00df44fd4a62c423a1f8cc
2018-08-17 03:18:15 +09:00
Narcis Beleuzu 96343e8f1f Backed out 3 changesets (bug 1484184, bug 1484190, bug 1484191) for bustages on test_toolchain_configure.py. CLOSED TREE
Backed out changeset dca5444170e0 (bug 1484190)
Backed out changeset 1ef81d07bc5b (bug 1484184)
Backed out changeset 2a42fd4df1bb (bug 1484191)
2018-08-20 19:49:37 +03:00
Masatoshi Kimura 60b0d9635e Bug 1484191 - Suppress warning C4819 in TestMimeType.cpp. r=froydnj
--HG--
extra : rebase_source : 0c3e287a29cec81e24a22980f6ee2ea32de42283
extra : source : f6814f368b90b9cf1c00df44fd4a62c423a1f8cc
2018-08-17 03:18:15 +09:00
Gerald Squelart 9a99e13311 Bug 1483721 - Fix MSVC error by skipping tests with too-big characters - r=hsivonen
Using `u"..."` for strings with non-ascii characters.

Differential Revision: https://phabricator.services.mozilla.com/D3462

--HG--
extra : moz-landing-system : lando
2018-08-16 05:59:35 +00:00
Thomas Wisniewski 78af5fd2ae Bug 1454590 - Align overrideMIMEType with the XMLHttpRequest Standard. r=hsivonen
MozReview-Commit-ID: 5k34F96jRPX

--HG--
extra : rebase_source : 95944acc3123406dbf490f2fd1837b8decaa3e0b
2018-08-13 16:12:10 -04:00
Zibi Braniecki de06dc8116 Bug 1480673 - Add nsContentUtils::StringifyJSON. r=qdot
Add nsContentUtils::StringifyJSON.

Differential Revision: https://phabricator.services.mozilla.com/D2700

--HG--
extra : moz-landing-system : lando
2018-08-07 15:49:13 +00:00
Boris Zbarsky 7261ef009a Bug 1479492. Remove some dead dialog-options parsing code. r=mrbkap
This became dead when we removed showModalDialog.
2018-08-01 13:07:11 -04:00
Thomas Wisniewski 7c05457e0d Bug 792808 - Purge nsIXMLHttpRequest, nsIXMLHttpRequestUpload, nsIXMLHttpRequestEventTarget, nsIXHRSendable XPCOM interfaces; r=baku
MozReview-Commit-ID: 8yzCXSeyO85

--HG--
extra : rebase_source : 80f2a96df1e250ad646a20271b7d3dbebf7774e4
2017-11-19 17:11:41 -05:00
Eric Rahm 07c97a5afe Bug 1423773 - Part 1: Remove usage of nsStringGlue.h. r=glandium
This removes an unnecessary level of indirection by replacing all
nsStringGlue.h instances with just nsString.h.

--HG--
extra : rebase_source : 340989240af4018f3ebfd92826ae11b0cb46d019
2017-12-06 16:52:51 -08:00
Nika Layzell 5c65681cb0 Bug 1415645 - Part 5: Fix some more consumers of nsGlobalWindow which I missed, r=smaug
MozReview-Commit-ID: DvMH4cVw5NK
2017-11-15 11:21:57 -05:00
Chris Peterson 210c7f9690 Bug 870698 - Part 9: Replace Assign(NS_LITERAL_STRING("")) with AssignLiteral(u""). r=erahm
The NS_LITERAL_STRING macro creates a temporary nsLiteralString to encapsulate the char16_t string literal and its length, but AssignLiteral() can determine the char16_t string literal's length at compile-time without nsLiteralString.

MozReview-Commit-ID: 6vgQiU8zN3o

--HG--
extra : rebase_source : 1b536b92ef43f610db057ace6f108620e8d8b4d5
extra : source : 336e21386d5eeb16f1c9893c29377f23b67cc4b0
2017-09-06 01:43:13 -07:00
Andrew McCreight cf00cf911b Bug 1379786, part 2 - Use nsContentUtils::GetSystemPrincipal in various places. r=mrbkap
MozReview-Commit-ID: KPXAqKeX4gI

--HG--
extra : rebase_source : 44fd734e7c5bbaba48bb25b882acc74cf0b81fb5
2017-07-10 14:24:54 -07:00
Beekill95 6749a72a90 Bug 1362330 - Part 2: Add testcases for C++ XPathGenerator's functions. r=mikedeboer,r=smaug
MozReview-Commit-ID: HhFE20QgoZb
2017-06-15 08:51:41 +07:00
Carsten "Tomcat" Book 78937d0e56 Backed out changeset 4b95aa66ba1a (bug 1362330)
--HG--
extra : rebase_source : 5110263566353fa082b21fb65e45de54db5133c6
2017-07-04 09:53:13 +02:00
Beekill95 441d70f009 Bug 1362330 - Part 2: Add testcases for C++ XPathGenerator's functions. r=mikedeboer,r=smaug
MozReview-Commit-ID: HhFE20QgoZb
2017-06-15 08:51:41 +07:00
Nicholas Nethercote 3dcb97c78c Bug 1314827 (attempt 2) - gtestify dom/base/test/*.cpp. r=baku.
--HG--
rename : dom/base/test/TestNativeXMLHttpRequest.cpp => dom/base/test/gtest/TestNativeXMLHttpRequest.cpp
rename : dom/base/test/TestPlainTextSerializer.cpp => dom/base/test/gtest/TestPlainTextSerializer.cpp
2016-11-04 14:36:23 +11:00
Phil Ringnalda 44d4420081 Backed out changeset 14d7b6dbe0fb (bug 1314827) to be able to back out something else
MozReview-Commit-ID: 39mFOtrNixM

--HG--
rename : dom/base/test/gtest/TestNativeXMLHttpRequest.cpp => dom/base/test/TestNativeXMLHttpRequest.cpp
rename : dom/base/test/gtest/TestPlainTextSerializer.cpp => dom/base/test/TestPlainTextSerializer.cpp
2016-11-03 22:59:49 -07:00
Nicholas Nethercote bed5771bdb Bug 1314827 - gtestify dom/base/test/*.cpp. r=baku.
The commit removes TestGetURL.cpp which wasn't doing anything useful anyway
because it required an argument but wasn't being passed one, and so it was just
aborting immediately with a usage message.

--HG--
rename : dom/base/test/TestNativeXMLHttpRequest.cpp => dom/base/test/gtest/TestNativeXMLHttpRequest.cpp
rename : dom/base/test/TestPlainTextSerializer.cpp => dom/base/test/gtest/TestPlainTextSerializer.cpp
extra : rebase_source : 224fd2f984eb456b7db56fbe7fc396aeec3a84c1
2016-11-04 14:36:23 +11:00
Tom Tromey 5538d692d3 Bug 1286877 - do not set c-basic-offset for python-mode; r=gps
This removes the unnecessary setting of c-basic-offset from all
python-mode files.

This was automatically generated using

    perl -pi -e 's/; *c-basic-offset: *[0-9]+//'

... on the affected files.

The bulk of these files are moz.build files but there a few others as
well.

MozReview-Commit-ID: 2pPf3DEiZqx

--HG--
extra : rebase_source : 0a7dcac80b924174a2c429b093791148ea6ac204
2016-07-14 10:16:42 -06:00
Chris Peterson 8a9e2d2bd4 Bug 1272513 - Part 2: Remove redundant -Wshadow CXXFLAGS from moz.build files. r=glandium 2016-05-14 00:54:55 -07:00
Chris Peterson 71920a9550 Bug 1207030 - Enable -Wshadow flag in more directories that have no -Wshadow warnings. r=glandium 2015-09-22 21:39:03 -07:00
Andrea Marchesini 59999b8656 Bug 1170246 - Improving nsGlobalWindow::ConvertDialogOptions and adding some gTests, r=ehsan 2015-06-17 12:17:33 +01:00