Andrea Marchesini
fd4a020792
Bug 1489844 - Port DOMPrefs to StaticPrefs - part 9 - dom.serviceWorkers.testing.enabled, r=ehsan
2018-09-10 20:36:16 +02:00
Andrea Marchesini
6d03535264
Bug 1489844 - Port DOMPrefs to StaticPrefs - part 3 - dom.caches.testing.enabled, r=ehsan
2018-09-10 20:36:15 +02:00
Andrea Marchesini
108d77d622
Bug 1469993 - Grant storage access to a 3rd party, tracking resource if a opened document has user-interaction - part 6 - DOM cache, r=ehsan
2018-07-10 10:09:59 +02:00
Margareta Eliza Balazs
4249b7f60f
Backed out 9 changesets (bug 1469993) for causing bustage in build/srcdom/base/nsGlobalWindowInner.cpp on a CLOSED TREE
...
Backed out changeset e89192032fe2 (bug 1469993)
Backed out changeset 4b261595099d (bug 1469993)
Backed out changeset 37182cfe869c (bug 1469993)
Backed out changeset 5b9870995c73 (bug 1469993)
Backed out changeset 55499fcd9738 (bug 1469993)
Backed out changeset 8c1c838d54ba (bug 1469993)
Backed out changeset 12b9c8bfa41f (bug 1469993)
Backed out changeset 04ab7d6c169a (bug 1469993)
Backed out changeset 53885d61244e (bug 1469993)
2018-07-10 11:32:34 +03:00
Andrea Marchesini
23d9d403a4
Bug 1469993 - Grant storage access to a 3rd party, tracking resource if a opened document has user-interaction - part 6 - DOM cache, r=ehsan
2018-07-10 10:09:59 +02:00
Jeff Gilbert
70a22b2878
Bug 1470325 - s/FooBinding/Foo_Binding/g - r=qdot
...
MozReview-Commit-ID: JtTcLL5OPF0
2018-06-26 17:05:01 -07:00
Emilio Cobos Álvarez
4b8b5e1717
Bug 1465585: Switch from mozilla::Move to std::move. r=froydnj
...
This was done automatically replacing:
s/mozilla::Move/std::move/
s/ Move(/ std::move(/
s/(Move(/(std::move(/
Removing the 'using mozilla::Move;' lines.
And then with a few manual fixups, see the bug for the split series..
MozReview-Commit-ID: Jxze3adipUh
2018-06-01 10:45:27 +02:00
Andrea Marchesini
3e08265e73
Bug 1432963 - Fixing workers headers - part 17 - no LIBS=[workers] in moz.build files, r=smaug
2018-01-31 08:25:30 +01:00
Andrea Marchesini
5e357eed9f
Bug 1432963 - Fixing workers headers - part 14 - WorkerPrivate without workers namespace, r=smaug
2018-01-31 08:24:08 +01:00
Andrea Marchesini
2f1868e3d6
Bug 1419771 - Introduce DOMPrefs, a thread-safe access to preferences for DOM - part 9 - ServiceWorker testing enabled, r=asuth
2018-01-08 14:05:04 +01:00
Andrea Marchesini
e6ea2a1fb1
Bug 1419771 - Introduce DOMPrefs, a thread-safe access to preferences for DOM - part 4 - DOM Cache testing enabled, r=asuth
2018-01-08 14:05:04 +01:00
Andrea Marchesini
dde1b27e95
Bug 1419771 - Introduce DOMPrefs, a thread-safe access to preferences for DOM - part 3 - DOM Caches enabled, r=asuth
2018-01-08 14:05:03 +01:00
Jonathan Watt
4e2e2f0954
Bug 1417365 - Unified build issues in dom/cache. r=baku
2017-10-26 12:35:08 +01:00
Andrea Marchesini
cb19ddfd01
Bug 1408333 Get rid of nsIIPCBackgroundChildCreateCallback - part 12 - Cache API, r=asuth
2017-10-24 12:02:40 +02:00
Ben Kelly
fad54f15b0
Bug 1397128 P9 Make content script usage of Cache API use lazy body loading. r=tt
2017-09-15 12:25:41 -07:00
Ben Kelly
731fb43e27
Bug 1397128 P7 Add an OpenMode enumeration to control if individual Cache API requests eagerly or lazily opens bodies. r=tt
2017-09-15 12:25:41 -07:00
Sebastian Hengst
69014e361f
Backed out changeset b28740aedf34 (bug 1397128)
2017-09-15 18:28:27 +02:00
Sebastian Hengst
b8ddf4424e
Backed out changeset b5ea37e08220 (bug 1397128)
2017-09-15 18:28:16 +02:00
Ben Kelly
0190a07ecc
Bug 1397128 P9 Make content script usage of Cache API use lazy body loading. r=tt
2017-09-15 09:11:23 -07:00
Ben Kelly
1c24df65ec
Bug 1397128 P7 Add an OpenMode enumeration to control if individual Cache API requests eagerly or lazily opens bodies. r=tt
2017-09-15 09:11:23 -07:00
Andrea Marchesini
75f65419b6
Bug 1128959 - Implement the WHATWG Streams spec - part 12 - starting body consuming and passing the JSContext down from the binding entrypoints to where the ReadableStream could be read, r=bz
...
This patch does 2 things:
. when SetBodyUsed() is called, the pump for the stream reading is activated.
. Just because of the reading of the stream could end up executing JS code, we
need to pass the JSContext in the correct state down to SetBodyUsed.
2017-08-10 18:04:55 -07:00
Ben Kelly
0c701d19d3
Bug 1362444 P2 Allow idle worker shutdown while Cache/CacheStorage DOM objects exist, but block it during Cache operation. r=baku
2017-05-10 09:27:10 -07:00
Ben Kelly
67a07149ba
Backout c55138fae801 (bug 1329693) r=me
2017-01-10 14:14:10 -08:00
Ben Kelly
228c6861b3
Bug 1329693 Gracefully handle immediate ActorDestroy() in CacheStorage::ActorCreated(). r=asuth
2017-01-10 08:20:15 -08:00
Ben Kelly
077c137d4a
Bug 1328686 Add diagnostic assertions to dom/cache. r=asuth
2017-01-06 12:41:15 -08:00
Ehsan Akhgari
b59fc632ad
Bug 1318936 - Stop checking for unknown appId's in the DOM Cache; r=bkelly
...
The only appId's in Gecko right now are NO_APP_ID's, so
this check is useless now.
2016-11-21 12:22:56 -05:00
Ehsan Akhgari
2322f57215
Bug 1308075 - Remove support for accessing the Cache API from app:// URLs and also for storing requests/responses with app:// URLs within it; r=bkelly
...
This is backing out bug 1243849.
2016-10-18 11:47:04 -04:00
Arthur Edelstein
4e271d1b40
Bug 1268726 - isolate shared worker by first party domain. r=baku
...
Tor 15564: Isolate SharedWorker by first party domain
uplift/refactor by Dave Huseby <[email protected] >
review tweaks
2016-09-19 21:13:00 -04:00
Kan-Ru Chen
a9b19d0584
Bug 1297276 - Rename mfbt/unused.h to mfbt/Unused.h for consistency. r=froydnj
...
The patch is generated from following command:
rgrep -l unused.h|xargs sed -i -e s,mozilla/unused.h,mozilla/Unused.h,
MozReview-Commit-ID: AtLcWApZfES
2016-08-24 14:47:04 +08:00
Boris Zbarsky
32ec08aef5
Bug 1275315 part 2. Use the new Realm getters in binding code. r=peterv
2016-07-09 00:19:52 -04:00
Andrea Marchesini
796bda032a
Bug 1269154 - Get rid of WorkerFeature: WorkerHolder, r=khuey
2016-06-23 10:53:14 +02:00
Carsten "Tomcat" Book
ef49710e52
Backed out changeset 1c5d78c7ba43 (bug 1269154) for bustage on a CLOSED TREE
2016-06-23 10:13:54 +02:00
Andrea Marchesini
274f4e927f
Bug 1269154 - Get rid of WorkerFeature: WorkerHolder, r=khuey
2016-06-22 17:24:35 +02:00
Ben Kelly
2f4f1442e4
Bug 1093357 P3 Convert Cache to use IPCStream and AutoIPCStream. r=asuth
...
* * *
Bug 1093357 P3 interdiff 001 Use AutoIPCStream in dom/cache
2016-05-15 10:32:09 -07:00
Kyle Huey
e95edb30a9
Bug 1241764: Replace nsPIDOMWindow with nsPIDOMWindowInner/Outer. r=mrbkap,smaug
2016-01-30 09:05:36 -08:00
Ehsan Akhgari
f2f1221fed
Bug 1243849 - Restore support for accessing the Cache API from app:// URLs and also for storing requests/responses with app:// URLs within it; r=bkelly
...
Firefox OS still needs to use the cache API both to access it, and possibly
store app:// URL resources inside it. See for example code in
https://github.com/fxos-components/fxos-fastlist/blob/master/fxos-fastlist.js
that manipulates the cache. Let's restore this support for now since it's
pretty harmless.
2016-01-28 17:42:57 -05:00
Ehsan Akhgari
f2f320621a
Bug 1197379 - Remove support for intercepting app:// URIs using service workers; r=jdm
2016-01-27 15:26:27 -05:00
Nathan Froyd
54dfa729a9
Bug 1218454 - part 2 - don't #include nsContentUtils.h from CallbackObject.h; r=bz
...
We used to need nsContentUtils.h here for nsCxPusher, but since that got
moved to ScriptSettings.h, we no longer need nsContentUtils.h for
anything.
2015-10-26 12:14:47 -04:00
Boris Zbarsky
465258089d
Bug 1224007 part 1. Rename ThrowMethodFailed to MaybeSetPendingException and make it an ErrorResult instance method. r=peterv
2015-11-20 16:29:40 -05: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
Yoshi Huang
4f79c85658
Bug 1167100 - User originAttribute in ContentPrincipalInfo. r=bholley
2015-09-23 18:19:06 +08:00
Wes Kocher
0cb332af6b
Backed out changeset d0e88c95f3c5 (bug 1167100) for crashes a=backout
2015-09-29 10:25:20 -07:00
Yoshi Huang
dfb63ccba0
Bug 1167100 - User nsIPrincipal.originAttribute in ContentPrincipalInfo. r=bholley
2015-09-23 18:19:06 +08:00
Ben Kelly
5a63893df1
Bug 1184607 P7.6 Expose CacheStorage .caches property on xpcshell global. r=smaug
...
* * *
7.6 interdiff
2015-08-31 14:26:30 -07:00
Michael Layzell
10fb973159
Bug 1145744 - Update CacheStorage to use common StorageAllowedForWindow logic, r=bkelly
2015-08-28 10:10:33 -04:00
Birunthan Mohanathas
a29151dc87
Bug 1182996 - Fix and add missing namespace comments. rs=ehsan
...
The bulk of this commit was generated by running:
run-clang-tidy.py \
-checks='-*,llvm-namespace-comment' \
-header-filter=^/.../mozilla-central/.* \
-fix
2015-07-13 08:25:42 -07:00
Ben Kelly
37f554d46e
Bug 1179772 Make Cache API honor devtools SW testing flag in SW itself. r=ehsan
2015-07-02 11:47:10 -07:00
Ben Kelly
1222b50d28
Bug 1175138 P5 Make CacheStorage reject on untrusted origins. r=ehsan
2015-06-27 23:19:24 -04:00
Ben Kelly
17962b6f82
Bug 1173467 P3 Pass private browsing flag into CacheStorage factory methods. r=ehsan
2015-06-26 19:36:40 -07:00