Nicholas Nethercote
4ce1e9c11f
Bug 1374580 (part 3) - Remove ns{,C}Substring typedefs. r=froydnj.
...
All the instances are converted as follows.
- nsSubstring --> nsAString
- nsCSubstring --> nsACString
2017-06-20 19:19:52 +10:00
Carsten "Tomcat" Book
238bf154d5
Backed out changeset 4f6302a98ae4 (bug 1372405)
2017-06-21 13:59:26 +02:00
Bill McCloskey
67e8af4720
Bug 1372405 - Provide names for all runnables in the tree (r=froydnj)
...
MozReview-Commit-ID: DKR6ROiHRS7
2017-06-20 21:44:11 -07:00
Carsten "Tomcat" Book
bbe9441993
Backed out changeset 9846de3bd954 (bug 1372405)
2017-06-20 08:27:02 +02:00
Bill McCloskey
f69608368b
Bug 1372405 - Provide names for all runnables in the tree (r=froydnj)
...
MozReview-Commit-ID: DKR6ROiHRS7
2017-06-19 22:25:47 -07:00
Mats Palmgren
896d3fb697
Bug 966240 - Remove support for <meta http-equiv="msthemecompatible" content="no">. r=dbaron
...
It appears that neither Chrome, Safari or Edge support this feature,
and it's causing web-compat issues for us, e.g. bug 1373417.
MozReview-Commit-ID: AP5LMgL6QmR
2017-06-16 17:17:22 +02:00
Ben Kelly
d7552a9f9d
Bug 1197401 Remove the disabled HTML imports implementation. r=wchen
2017-06-12 07:36:02 -07:00
Andrea Marchesini
80bc31371c
Bug 1362119 - part 1 - Moving dom/base/Script{Loader,Element}.* in dom/script, r=ehsan
...
This patch does these things:
1. it moves nsScriptElement, nsScriptLoader, ScriptSettings, nsIScriptElement
and nsIScriptLoaderObserver in dom/script
2. it renames nsScriptElement to mozilla::dom::ScriptElement
3. it renames nsScriptLaoder to mozilla::dom::ScriptLoader
2017-05-08 08:24:22 +02:00
Carsten "Tomcat" Book
c4daf63d34
Backed out changeset 5d77f6b14633 (bug 1362119) for android bustage in nsCCUncollectableMarker.cpp:500:7: error: 'TraceScriptHolder' is not a member of 'mozilla'
2017-05-08 09:54:38 +02:00
Andrea Marchesini
71aba8e0ee
Bug 1362119 - part 1 - Moving dom/base/Script{Loader,Element}.* in dom/script, r=ehsan
...
This patch does these things:
1. it moves nsScriptElement, nsScriptLoader, ScriptSettings, nsIScriptElement
and nsIScriptLoaderObserver in dom/script
2. it renames nsScriptElement to mozilla::dom::ScriptElement
3. it renames nsScriptLaoder to mozilla::dom::ScriptLoader
2017-05-08 08:24:22 +02:00
Boris Zbarsky
8ec59bb84e
Bug 1352926 - Make sure to check the right character for being semicolor or comma. r=farre
...
MozReview-Commit-ID: DOb1qYb8Tz4
2017-04-04 16:24:46 -04:00
Tim Huang
513f2d8172
Bug 1337893 - Part 4: Updating whole gecko to make all callers of DNS using correct originAttributes. r=baku
...
MozReview-Commit-ID: D6Vp8ANSzLI
2017-02-15 10:39:40 +08:00
Bill McCloskey
54da76be6b
Bug 1339289 - Give names to a lot of common timers (r=ehsan)
...
MozReview-Commit-ID: IMsv5bkyjBL
2017-02-15 12:30:01 -08:00
Michael Layzell
c6453a3b88
Bug 1315105 - Part 2: Implement <link rel=prerender> behind a pref, r=smaug
...
MozReview-Commit-ID: ARET98o1FTU
2016-12-19 15:05:31 +08:00
Carsten "Tomcat" Book
d417824862
Backed out changeset 059753ec9117 (bug 1315105) for test failures in own test
2016-12-19 15:59:14 +01:00
Michael Layzell
f898aa0d8b
Bug 1315105 - Part 2: Implement <link rel=prerender> behind a pref, r=smaug
...
MozReview-Commit-ID: ARET98o1FTU
2016-12-19 15:05:31 +08:00
Gerald Squelart
9a3fb4229e
Bug 1316432 - Fix nsCOMPtr constructions&assignments from 0 - r=froydnj
...
Giving '0' (literal zero) to nsCOMPtr is now ambiguous, as both
nsCOMPtr(decltype(nullptr)) and nsCOMPtr(T*) could be used.
In any case, our coding standards mandate the use of 'nullptr' for pointers.
So I'm changing all zeroes into nullptr's where necessary.
MozReview-Commit-ID: LXiZTu87Ck6
2016-11-10 14:11:27 +11:00
Julian Seward
d890842bad
Bug 1312344 - Remove just enough NS_DECL_AND_IMPL_ZEROING_OPERATOR_NEW uses to stop segfaulting for GCC 6 -O2 builds. r=froydnj.
2016-10-25 08:18:03 +02:00
Xidorn Quan
7d6c4129ab
Bug 1304302 part 10 - Replace all uses of StyleSheetHandle. r=heycam
...
This commit is generated by the following commands with some minor
manual adjustment:
find . \( -name '*.h' -or -name '*.cpp' \) -not -path './layout/style/StyleSheet*' -exec sed -i -b \
-e '/^\(#include\|using\)/s/StyleSheetHandle/StyleSheet/g' \
-e 's/\(mozilla::\)\?StyleSheetHandle::RefPtr/RefPtr<\1StyleSheet>/g' \
-e 's/StyleSheetHandle()/nullptr/g' \
-e 's/->AsStyleSheet()//g' \
-e 's/StyleSheetHandle/StyleSheet*/g' {} +
sed -i -b 's/sheet->AsVoidPtr()/sheet.get()/' layout/style/Loader.cpp
sed -i -b 's/AsHandle()/this/' layout/style/StyleSheet.cpp
MozReview-Commit-ID: 7abdvlKHukd
2016-09-26 22:03:25 +10:00
Boris Zbarsky
68940b8731
Bug 1267989 part 1. Rename nsScriptLoader::Add/RemoveExecuteBlocker to Add/RemoveParserBlockingScriptBlocker, to more clearly reflect what it does. r=smaug
2016-05-20 23:13:18 -04:00
Kyle Huey
b972c94d0f
Bug 1268313: Part 7 - Move NS_NewRunnableMethod and friends to mozilla::NewRunnableMethod. r=froydnj
2016-05-05 01:45:00 -07:00
Andreas Farre
97fb98ba91
Bug 1268851 - Add SRILogHelper to hold GetSriLog r=baku
...
MozReview-Commit-ID: BqW7LXOFirn
2016-05-03 17:43:33 -07:00
Carsten "Tomcat" Book
aadd508ffe
Backed out changeset 85ce8cb0639a (bug 1268313)
2016-04-29 14:21:16 +02:00
Kyle Huey
e62a0823c9
Bug 1268313: Part 7 - Move NS_NewRunnableMethod and friends to mozilla::NewRunnableMethod. r=froydnj
2016-04-28 14:08:25 -07:00
Nicholas Nethercote
7f7c26ed62
Bug 1260871 - Remove do_GetAtom() and rename NS_NewAtom() as NS_Atomize(). r=erahm.
...
do_GetAtom() is currently just a synonym for NS_NewAtom().
2016-03-29 10:09:43 +11:00
Dragana Damjanovic
869b7efcd8
Bug 580313 - New resource hints for link. r=smaug
2016-02-26 02:41:00 +01:00
Cameron McCormack
c0e9a631c2
Bug 1244074 - Part 4: Use StyleSheetHandle instead of concrete style sheet class in most places. r=dholbert
2016-02-24 18:01:12 +11:00
Kyle Huey
e95edb30a9
Bug 1241764: Replace nsPIDOMWindow with nsPIDOMWindowInner/Outer. r=mrbkap,smaug
2016-01-30 09:05:36 -08:00
sajitk
e7c3cfa4d5
Bug 1219478: Replace PRLogModuleInfo usage with LazyLogModule in dom folders except media.r=amerchesini
2015-11-23 11:09:25 -08: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
Christoph Kerschbaumer
84b88ff84a
Bug 1199295 - Pass right loadingPrincipal to uriloader/prefetch - dom changes (r=smaug)
2015-10-02 09:10:02 -07:00
Andrea Marchesini
a2ded5aeff
Bug 1163545 - Bypass AppCache completely when Service Workers supported & registered, r=jdm
2015-09-18 10:18:38 +08:00
Andrew McCreight
e87dd7e61f
Bug 1187068 - Tell the cycle collector about nsContentSink::mCSSLoader. r=heycam
2015-08-19 14:49:36 -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
Emanuel Hoogeveen
b30abdc582
Bug 905127 - Part 1 - Make some functions from nsNetUtil not inline. r=jduell
2015-07-07 04:17:00 +02:00
Patrick McManus
5b5cf0d404
bug 1174152 - crossorigin attribute for link rel=preconnect r=hsivonen
2015-06-19 17:11:42 -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
Patrick McManus
2ffafe6be3
bug 1150136 - rel=preconnect from html parser r=hsivonen
2015-05-05 20:55:18 -04:00
Andrew McCreight
92010d3e4c
Bug 1152551, part 2 - Fix mode lines in dom/. r=jst
2015-05-03 15:32:37 -04:00
Bob Owen
655dc048dd
Bug 1156059 Part 1: Ignore META REFRESH when document is sandboxed from automatic features. r=bz
2015-04-29 07:28:17 +01:00
Olli Pettay
e42357febc
Backout Bug 930793 because of talos regressions,r=backout
2015-04-13 19:02:27 +03:00
Olli Pettay
c1c812eafe
Bug 930793 - Remove favor performance mode, r=avih,roc
2015-04-12 23:08:55 +03:00
Jeff Lu
44ca637b99
Bug 1098415 - Skip DNS prefetch requests that point to local resources. r=sworkman r=dragana
2015-03-12 09:00:00 +01:00
Patrick McManus
c5bb5860b1
bug 1135160 - implement link rel=preconnect r=smaug
2015-02-20 17:01:36 -05:00
Dave Townsend
7d8a5e17d3
Bug 1139099: Dispatch DOMDocElementInserted to match the document-element-inserted observer notification. r=mrbkap
2015-03-03 14:07:08 -08:00
Sid Stamm
7c4de115b8
Bug 704320 - Add referrer policy support to stylesheet and CSS loads and fonts. (r=bz)
2014-11-18 08:46:47 -05:00
Birunthan Mohanathas
e9068bbc4f
Bug 946065 - Part 12: Move content/base/ to dom/ and flatten subdirectories. r=peterv
2014-10-25 20:25:22 +03:00