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
Kyle Huey
a9cf047227
Bug 1265927: Move nsRunnable to mozilla::Runnable, CancelableRunnable to mozilla::CancelableRunnable. r=froydnj
2016-04-25 17:23:21 -07:00
Jon Coppeard
d7cf07ee05
Bug 1259021 - Rename Vector::extractRawBuffer to extractOrCopyRawBuffer r=Waldo
2016-04-25 13:41:25 +01:00
Boris Zbarsky
a50c6aa31a
Bug 1255817 part 2. Get rid of AutoJSAPI::OwnsErrorReporting and AutoJSAPI::TakeOwnershipOfErrorReporting. r=bholley
2016-03-23 11:44:54 -04:00
Jonathan Hao
a3ede4dcf7
Bug 1235572 - Enforce SRI if content signature is enforced r=francois
...
* * *
[mq]: sri_fix
MozReview-Commit-ID: 8vY9J4j3Eog
* * *
[mq]: loadInfo
MozReview-Commit-ID: EZ8BUfCOXO6
* * *
[mq]: add-logs
MozReview-Commit-ID: 1jeyTq9nvlW
2016-03-16 11:13:26 +08:00
Boris Zbarsky
2a02551283
Bug 1255181. Remove AutoJSAPI::InitWithLegacyErrorReporting. r=bholley
2016-03-09 19:02:25 -05:00
Boris Zbarsky
63091385d1
Bug 1254847 part 3. Make AutoEntryScript always take ownership of error reporting. r=bholley
2016-03-09 19:02:03 -05:00
Aidin Gharibnavaz
bb0750ec60
Bug 1164581 - Adding an overload for NS_ProxyRelease that accepts already_AddRefed, and removing all the others. r=bobbyholley
2016-02-10 08:23:00 +01:00
Carsten "Tomcat" Book
498dd069da
Backed out changeset c18e29c1b369 (bug 1164581) for cpp unit tests test failures
2016-02-08 11:17:38 +01:00
Aidin Gharibnavaz
d9bbb0c446
Bug 1164581 - Adding an overload for NS_ProxyRelease that accepts already_AddRefed, and removing all the others. r=bobbyholley
2016-02-07 10:56:00 +01:00
Kyle Huey
e95edb30a9
Bug 1241764: Replace nsPIDOMWindow with nsPIDOMWindowInner/Outer. r=mrbkap,smaug
2016-01-30 09:05:36 -08:00
Yury Delendik
9ca076496a
Bug 1236104 - Revert pre-load cache compilation and tiny script limit. r=yury
2016-01-25 16:00:34 -06:00
dimi
9cfaff30f3
Bug 1188822 - Make service-workers/service-worker/fetch-request-resources.https.html pass. r=bkelly
2016-01-25 14:18:29 +08:00
Jon Coppeard
65cc4c91b9
Bug 1241183 - Make nsScriptLoadRequest non-threadsafe now it's no longer used as a context for network loads r=sicking
2016-01-21 10:19:06 +00:00
Jan de Mooij
89ad175b6c
Bug 1237201 part 1 - Use MOZ_ALWAYS_TRUE in nsScriptLoadHandler::TryDecodeRawData. r=yury
2016-01-14 15:19:12 +01:00
Yury Delendik
4125282b91
Bug 1236104 - Allows scripts from pre-load cache to be off-thread compiled. r=kvijayan
2016-01-05 13:54:30 -06:00
Jonas Sicking
dc7114ec7f
Bug 1216687: Add nsILoadInfo flags for cookie policies. r=ckerschb
2015-12-06 18:33:15 -05:00
Sebastian Hengst
cdf4286868
Backed out changeset 09d64535bcda (bug 1216687), a7f1a289dd78, 4dbf06183e6c, 26318a5e3006, 9ae2af3cf86d (bug 1226909) for M(1,2,5) oranges. r=backout
2015-12-05 16:34:47 +01:00
Jonas Sicking
ed83817753
Bug 1216687: Add nsILoadInfo flags for cookie policies. r=ckerschb
2015-12-05 01:46:21 -08:00
Yury Delendik
bb1fc6bf6d
Bug 1218029 - Implements progressive Unicode chars decoding in nsScriptLoader. r=djvj
2015-11-30 08:54:52 -06:00
Yury Delendik
9d66bcc1d8
Bug 1218029 - Adds ScriptLoadHandler and implements OnIncrementalData callback. r=djvj
2015-12-01 08:00:58 -06:00
Yury Delendik
e2f6e193ca
Bug 1218029 - Adds IncrementalStreamLoader interface stubs. r=djvj
2015-11-30 08:54:11 -06:00
Olli Pettay
20b8ea2f25
Bug 789315, notify MutationObservers before running <script>, r=khuey
2015-11-26 22:37:52 +02: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
Christoph Kerschbaumer
5f57620177
Bug 663570 - MetaCSP Part 7: CSP preload validation (r=bz)
2015-11-14 19:29:31 -08:00
Birunthan Mohanathas
ac37dec517
Bug 1219392 - Capitalize mozilla::unused to avoid conflicts. r=froydnj
2015-11-02 07:53:26 +02:00
Christoph Kerschbaumer
5de5fd46e5
Bug 1194526 - Use channel->asycnOpen2 in dom/base/nsScriptLoader.cpp (r=sicking)
2015-10-19 18:33:37 -07: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
Francois Marier
ef59578c76
Bug 1208629 - Properly support data: and blob: URIs with an integrity atribute. r=ckerschb
2015-10-07 11:27:19 -07:00
Kannan Vijayan
9fe5e37ac2
Bug 1209193 - Cache PR_GetNumberOfProcessors when checking to do off-main-thread script compilation. r=luke
2015-09-29 10:41:55 -04:00
Kannan Vijayan
3c1924f2b6
Bug 1084009 - Part 2/3 - Only parse scripts off-main-thread on multicore systems. r=luke
2015-09-21 19:07:01 -04:00
Kannan Vijayan
3810533d2e
Bug 1084009 - Part 1/3 - Parse sync scripts off the main thread. r=smaug
2015-09-21 19:07:01 -04:00
Christoph Kerschbaumer
e1da8f0ded
Bug 1048048 - add preload content policy types for scripts (r=baku)
2015-09-20 14:56:21 -07:00
Wes Kocher
7e27875d2c
Backed out 7 changesets (bug 1048048) for android crashes in various chunks CLOSED TREE
...
Backed out changeset b5abe23a4ea5 (bug 1048048)
Backed out changeset 4f91b10e8be0 (bug 1048048)
Backed out changeset 450d4a13c90e (bug 1048048)
Backed out changeset 6a727c40eb68 (bug 1048048)
Backed out changeset 88c2333ff745 (bug 1048048)
Backed out changeset 740ab1ecd079 (bug 1048048)
Backed out changeset 02c6d6aef163 (bug 1048048)
2015-09-21 09:08:34 -07:00
Christoph Kerschbaumer
94689f139b
Bug 1048048 - add preload content policy types for scripts (r=baku)
2015-09-20 14:56:21 -07:00
Christoph Kerschbaumer
b3ae778a80
Bug 1026520 - CSP: Inline report sending into allows - callsite updates (r=dveditz)
2015-09-17 22:34:34 -07:00
Kannan Vijayan
7d4616f996
Bug 1167409 - 3/4 - Change ScriptLoadRequeest::mLoading to mProgress. r=jandem
2015-08-25 17:52:27 -04:00
Kannan Vijayan
261b91fe68
Bug 1167409 - 2/4 - Factor processRequest and off thread parsing into separate functions. r=jandem
2015-08-25 17:52:27 -04:00
Kannan Vijayan
7dd91c488e
Bug 1167409 - 1/4 - Move offThreadToken into ScriptLoadRequest r=jandem
2015-08-25 17:52:27 -04:00
Francois Marier
e76f9a2cf2
Bug 1196740 - Consider redirects when looking for SRI-eligibility. r=ckerschb
2015-08-25 13:38:39 -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
Wes Kocher
7e2ea9fe9f
Backed out 5 changesets (bug 1167409) for mochitest chrome failures in test_settings_service.xul CLOSED TREE
...
Backed out changeset 08653d62e6c0 (bug 1167409)
Backed out changeset 211b839cfcda (bug 1167409)
Backed out changeset 4264d30f4b03 (bug 1167409)
Backed out changeset 95a7f1251dd4 (bug 1167409)
Backed out changeset b88cb51c1f77 (bug 1167409)
2015-07-28 15:45:39 -07:00
Kannan Vijayan
d34c34cd19
Bug 1167409 - 4/5 - Off-thread compile blocking scripts. r=smaug
2015-07-28 17:03:56 -04:00
Kannan Vijayan
47000363fa
Bug 1167409 - 3/5 - Change ScriptLoadRequest::mLoading to ScriptLoadRequest::mProgress. r=smaug
2015-07-28 17:03:56 -04:00
Kannan Vijayan
172fedce72
Bug 1167409 - 2/5 - Factor ProcessRequest and off-thread-parsing into separate functions. r=smaug
2015-07-28 17:03:56 -04:00
Kannan Vijayan
8d4a6f4c83
Bug 1167409 - 1/5 - Move offThreadToken into script load request. r=smaug
2015-07-28 17:03:56 -04:00
Boris Zbarsky
2a2c0c82aa
Bug 1181619. Make sure we've entered a microtask before we call nsJSUtils::EvaluateString, and put those microtasks outside the relevant AutoEntryScripts so we report any possible exceptions before doing the microtask checkpoint. r=bholley
2015-07-09 02:41:43 -04:00