Christoph Kerschbaumer
8e527f2376
Bug 1224694 - Unify and clean up initialization of CSP (r=sicking)
2016-01-14 13:21:31 -08:00
Nigel Babu
f4e6afcc41
Backed out changeset f001a01c85d7 (bug 1224694) for browser-chrome bustage on a CLOSED TREE
2016-01-14 08:04:50 +05:30
Christoph Kerschbaumer
4cb28f972c
Bug 1224694 - Unify and clean up initialization of CSP (r=sicking)
2016-01-13 15:51:30 -08:00
Chris Peterson
32fced3899
Bug 1236322 - Part 2: Suppress -Wimplicit-fallthrough warnings in parser/html generated code. r=hsivonen
2015-12-25 00:00:36 -07:00
Chris Peterson
256e9f19bb
Bug 1236322 - Part 1: Annotate intentional switch fallthroughs to suppress -Wimplicit-fallthrough warnings in parser/. r=hsivonen
...
parser/html/nsHtml5Highlighter.cpp:572:9 [-Wimplicit-fallthrough] unannotated fall-through between switch labels
parser/htmlparser/nsScanner.cpp:425:7 [-Wimplicit-fallthrough] unannotated fall-through between switch labels
parser/htmlparser/nsScanner.cpp:780:7 [-Wimplicit-fallthrough] unannotated fall-through between switch labels
2015-12-25 00:01:32 -07:00
Nathan Froyd
85948645e2
Bug 1229962 - use UniquePtr<T[]> instead of nsAutoArrayPtr<T> in parser/html/; r=hsivonen
2015-11-19 20:19:57 -05:00
Olli Pettay
2679c220b2
Bug 1134648, handle dynamic changes to rel=dns-prefetch, r=bz
2015-12-01 19:22:20 +02:00
Franziskus Kiefer
aacb932dec
Bug 1187357 - rename referrer attribute to referrerpolicy. r=hsivonen
2015-11-30 16:13:03 -08:00
William Chen
86e5b1462a
Bug 1187357 - Generated code for renaming referrer to referrerpolicy in html parser. r=hsivonen
2015-11-30 16:12:59 -08:00
Christoph Kerschbaumer
e535731142
Bug 1226437 - Speculative CSP should set speculative referrer policy instead of actual referrer policy. r=sicking
2015-11-20 09:35:32 -08:00
Christoph Kerschbaumer
af019e7b22
Bug 663570 - MetaCSP Part 4: Speculative parser changes (r=bz)
2015-11-14 19:28:51 -08:00
Birunthan Mohanathas
ac37dec517
Bug 1219392 - Capitalize mozilla::unused to avoid conflicts. r=froydnj
2015-11-02 07:53:26 +02:00
Nathan Froyd
4e6d8f6705
Bug 1207245 - part 6 - rename nsRefPtr<T> to RefPtr<T>; r=ehsan; a=Tomcat
...
The bulk of this commit was generated with a script, executed at the top
level of a typical source code checkout. The only non-machine-generated
part was modifying MFBT's moz.build to reflect the new naming.
CLOSED TREE makes big refactorings like this a piece of cake.
# The main substitution.
find . -name '*.cpp' -o -name '*.cc' -o -name '*.h' -o -name '*.mm' -o -name '*.idl'| \
xargs perl -p -i -e '
s/nsRefPtr\.h/RefPtr\.h/g; # handle includes
s/nsRefPtr ?</RefPtr</g; # handle declarations and variables
'
# Handle a special friend declaration in gfx/layers/AtomicRefCountedWithFinalize.h.
perl -p -i -e 's/::nsRefPtr;/::RefPtr;/' gfx/layers/AtomicRefCountedWithFinalize.h
# Handle nsRefPtr.h itself, a couple places that define constructors
# from nsRefPtr, and code generators specially. We do this here, rather
# than indiscriminantly s/nsRefPtr/RefPtr/, because that would rename
# things like nsRefPtrHashtable.
perl -p -i -e 's/nsRefPtr/RefPtr/g' \
mfbt/nsRefPtr.h \
xpcom/glue/nsCOMPtr.h \
xpcom/base/OwningNonNull.h \
ipc/ipdl/ipdl/lower.py \
ipc/ipdl/ipdl/builtin.py \
dom/bindings/Codegen.py \
python/lldbutils/lldbutils/utils.py
# In our indiscriminate substitution above, we renamed
# nsRefPtrGetterAddRefs, the class behind getter_AddRefs. Fix that up.
find . -name '*.cpp' -o -name '*.h' -o -name '*.idl' | \
xargs perl -p -i -e 's/nsRefPtrGetterAddRefs/RefPtrGetterAddRefs/g'
if [ -d .git ]; then
git mv mfbt/nsRefPtr.h mfbt/RefPtr.h
else
hg mv mfbt/nsRefPtr.h mfbt/RefPtr.h
fi
2015-10-18 01:24:48 -04:00
Nicholas Nethercote
3ddf3a726a
Bug 1203427 (part 5) - Add logging of timer firings. r=froydnj.
2015-09-10 00:50:51 -07:00
Masayuki Nakano
c7ccb1b5c7
Bug 895274 part.109 Rename NS_SVG_LOAD to eSVGLoad r=smaug
2015-09-07 23:55:51 +09:00
Ted Clancy
222414e252
Bug 1178484 - Part 2: Regenerate gecko's in-tree parser. r=hsivonen
2015-08-28 03:31:24 -07:00
Nicholas Nethercote
12fec02dfb
Bug 1198334 (part 1) - Replace the opt-in FAIL_ON_WARNINGS with the opt-out ALLOW_COMPILER_WARNINGS. r=glandium.
...
The patch removes 455 occurrences of FAIL_ON_WARNINGS from moz.build files, and
adds 78 instances of ALLOW_COMPILER_WARNINGS. About half of those 78 are in
code we control and which should be removable with a little effort.
2015-08-27 20:44:53 -07:00
Henri Sivonen
4d0b61f3f6
Bug 1176698 - Use fallible allocator for attribute values in the HTML parser. r=wchen.
2015-08-25 18:05:46 +03:00
Henri Sivonen
c02fb472a7
Bug 1176681 - Make character buffer allocations in the HTML5 tree builder fallible. r=wchen.
2015-08-25 18:05:46 +03:00
Henri Sivonen
bee2d42d10
Bug 489820 part 2 - Grow buffers to the worst-case size before tokenizing; fix comments. r=wchen.
2015-08-25 18:05:45 +03:00
Henri Sivonen
ee6c94fc31
Bug 489820 part 1 - Make charRefBuf non-growable and have the same lifetime as the tokenizer. r=wchen.
2015-08-25 18:05:45 +03:00
Henri Sivonen
c8c7896633
Bug 1176668 - Fix overflow avoidance in numeric character reference handling. r=wchen.
2015-08-25 18:05:45 +03:00
Henri Sivonen
d1bb36905e
Bug 559303 - Consolidate strBuf and longStrBuf in the tokenizer. r=wchen.
2015-08-25 18:05:45 +03:00
Xidorn Quan
b6f185628d
Bug 1196050 - Replace NSCAP_Zero usage with decltype(nullptr). r=froydnj
2015-08-20 10:30:10 +10:00
Christoph Kerschbaumer
8ab48ef209
Bug 1193552 - Remove baseURI from LoadInfo (r=sicking,jkitch)
2015-08-19 10:43:30 -07:00
Francois Marier
0c5febeb03
Bug 992096 - Implement Sub Resource Integrity [1/2]. r=baku,r=ckerschb
...
Code changes
2015-08-12 20:19:11 -07:00
Birunthan Mohanathas
2e888062d9
Bug 1185763 - Part 5: Remove now unnecessary nsTArray::AppendElements optimizations in parser/html/. r=froydnj
2015-08-11 08:29:46 -07:00
Birunthan Mohanathas
1f32e08020
Bug 1185763 - Part 3: Rename nsTArray::MoveElementsFrom to AppendElements. r=froydnj
2015-08-11 08:29:46 -07:00
Birunthan Mohanathas
065661bf47
Bug 1185763 - Part 1: Always use mozilla::Move with nsTArray::MoveElementsFrom. r=froydnj
2015-08-11 08:29:46 -07:00
Juan Gomez
89035d527e
Bug 1171931 - Refactor duplicated code using XRE_IsParent/ContentProcess. r=froydnj
2015-07-03 18:29:00 -07:00
Franziskus Kiefer
7a586a418e
Bug 1166910 - Referrer attribute for img tag. r=ckerschb, r=hsivonen, r=bz
2015-06-05 15:25:24 -07:00
William Chen
2853a60f77
Bug 1166910 - Gecko changes for adding referrer attribute. r=hsivonen
2015-05-29 16:43:07 -07:00
Carsten "Tomcat" Book
cb8e2da810
Backed out changeset f5f3827ffcf1 (bug 1166910) for bustage
2015-07-01 08:19:28 +02:00
Franziskus Kiefer
76b5864bfa
Bug 1166910 - referrer attribute for img tag. r=hsivonen
2015-06-05 15:25:24 -07:00
Patrick McManus
5b5cf0d404
bug 1174152 - crossorigin attribute for link rel=preconnect r=hsivonen
2015-06-19 17:11:42 -04:00
Ryan VanderMeulen
7aba9d7002
Backed out changeset 8b4e4083639e (bug 1171931) for B2G debug emulator bustage.
2015-06-25 19:48:42 -04:00
Juan Gomez
7323e89a40
Bug 1171931 - Refactor duplicated code using XRE_IsParent/ContentProcess. r=froydnj
2015-06-24 14:11:00 -04:00
Carsten "Tomcat" Book
707c9e1393
Backed out changeset feb7cd25aafb (bug 1174152) for mulet timeout in test_rel_preconnect.html
2015-06-17 16:58:57 +02:00
Patrick McManus
5216e64bac
bug 1174152 link rel=preconnect crossorigin=anonymous r=hsivonen
2015-05-06 10:09:27 -04:00
Henri Sivonen
eccd3ffef0
Bug 1173818 - Make jArray.h assert bound checks. r=wchen.
2015-06-12 14:54:31 +03:00
Franziskus Kiefer
cc22ddddd1
Bug 1165501 - using most recent referrer policy found in the document. r=sstamm
2015-05-27 13:29:00 -07:00
J. Ryan Stinnett
515fc0da45
Bug 1067325 - Control syntax highlighting via a class. r=hsivonen
2015-05-23 18:17:50 -05:00
Patrick McManus
2ffafe6be3
bug 1150136 - rel=preconnect from html parser r=hsivonen
2015-05-05 20:55:18 -04:00
Eric Rahm
ddc8ac650b
Bug 1165518 - Part 2: Replace prlog.h with Logging.h. rs=froydnj
2015-05-19 11:15:34 -07:00
Mike Hommey
4d93988786
Bug 1134923 - Remove NS_Alloc/NS_Realloc/NS_Free. r=nfroyd
...
They are kept around for the sake of the standalone glue, which is used
for e.g. webapprt, which doesn't have direct access to jemalloc, and thus
still needs a wrapper to go through the xpcom function list and get to
jemalloc from there.
2015-05-01 09:40:30 +09:00
David Major
de0cdb20c0
Bug 1157835: Remove the MSVC_ENABLE_PGO flag from the build system. r=glandium
2015-04-27 19:59:27 -04:00
Andrea Marchesini
f0aa02df0b
Bug 1156632 - Remove unused forward class declarations - patch 5 - rdf, parser, layout and something else, r=ehsan
2015-04-22 08:29:22 +02:00
Nathan Froyd
8fccbf9246
Bug 1153988 - create nsNullPrincipals directly, rather than going through do_CreateInstance; r=smaug
...
There's a better way to create null principals than
do_CreateInstance("@mozilla.org/nullprincipal;1"). Let's do that and
save ourselves some XPCOM overhead.
2015-04-13 14:47:41 -04:00
Wes Kocher
8e33b81f72
Backed out changeset 050848a5273c (bug 1153988) for Windows build bustage CLOSED TREE
2015-04-14 14:42:59 -07:00
Nathan Froyd
047c5ef7e9
Bug 1153988 - create nsNullPrincipals directly, rather than going through do_CreateInstance; r=smaug
...
There's a better way to create null principals than
do_CreateInstance("@mozilla.org/nullprincipal;1"). Let's do that and
save ourselves some XPCOM overhead.
2015-04-13 14:47:41 -04:00