Nigel Babu
98814e7369
Backed out changeset 4b38a09cca56 (bug 1189673) for W(4) and W(8) bustages ON A CLOSED TREE
2015-10-20 13:52:22 +05:30
Ehsan Akhgari
50bb6fe991
Bug 1189673 - Set FetchEvent.request.headers' guard to immutable before dispatching the FetchEvent; r=bkelly
2015-10-19 21:54:38 -04:00
Jonas Sicking
04721f08a3
Bug 1215746
: Remove RequestMode::Cors_with_forced_preflight. r=bkelly
2015-10-19 18:24:36 -07:00
Jonas Sicking
495410a354
Bug 1182571: Make nsXMLHttpRequest use AsyncOpen2. r=ehsan
2015-10-19 11:14:54 -07:00
Ehsan Akhgari
d51d5745ff
Bug 1198397 - Add a test for interception of requests upgraded through the CSP upgrade-insecure-requests directive; r=jdm
2015-10-19 11:17:10 -04:00
Ehsan Akhgari
f5279bdc6a
Bug 1198394 - Part 2: Add a test for interception of HSTS upgraded connections; r=jdm
2015-10-19 10:32:38 -04:00
Christoph Kerschbaumer
882c6a6fc4
Bug 1208559 - Hook up ServicerWorkers with CSP (r=sicking,bkelly,dveditz)
2015-10-18 19:59:18 -07:00
Bobby Holley
ab6d6a95e1
Bug 1208559 - Do a CSP Check in ServiceWorkerManager::Register (r=ckerschb)
2015-10-18 19:38:06 -07:00
Nathan Froyd
e4e2da55c9
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
Ehsan Akhgari
84b86dbd20
Bug 1215601 - Enable service workers for non-release builds on Fennec similar to desktop; r=bkelly
2015-10-16 14:08:08 -04:00
Eddy Bruel
7ce1eadaa5
Bug 1178726 - Simplify how we deal with freezing/thawing workers;r=jlongster,khuey
2015-10-16 18:48:26 +02:00
Ehsan Akhgari
3cb1209f41
Bug 1215230 - Disable service workers and push notifications on non-release builds until we're ready to ship them; r=bkelly
2015-10-16 11:19:57 -04:00
Wes Kocher
a72bfcbb91
Backed out 2 changesets (bug 1182571) for being a likely cause of the Android S4 errors
...
Backed out changeset e2b3064dcace (bug 1182571)
Backed out changeset 8153ae231d16 (bug 1182571)
2015-10-15 14:07:06 -07:00
Jonas Sicking
919106e7d1
Bug 1182571: Make nsXMLHttpRequest use AsyncOpen2. r=ehsan
2015-10-15 12:18:21 -07:00
Andrea Marchesini
a9dd4a35aa
Bug 1211970 - "Muted errors in workers are not correctly reported to the console". r=bz
2015-10-15 05:05:00 +02:00
Andrea Marchesini
997d15355c
Bug 1160890, r=smaug
2015-10-15 14:06:55 +02:00
Andrea Marchesini
457a61c7ea
Bug 1214300 - AsyncErrorReporter doesn't use JSRuntime param., r=smaug
2015-10-14 11:29:55 +01:00
Morris Tseng
62ed7ded96
Bug 709490 - Part 10: Using mechanism in RuntimeService to get pref in worker thread instead of gfxPref. r=baku
2015-10-12 11:21:04 +08:00
Morris Tseng
3ea0cda3c7
Bug 709490 - Part 5: Add interfaces test. r=ehsan
2015-10-12 11:21:03 +08:00
Ehsan Akhgari
31bbdcfca1
Bug 1179397
- Disallow FetchEvent.respondWith() when the dispatch flag is unset; r=jdm
2015-10-09 13:36:53 -04:00
Ehsan Akhgari
72f32cf977
Bug 1212636 - Add a better error message for the content corrupcted error caused by the Promise being passed to FetchEvent.respondWith; r=bkelly
2015-10-07 18:06:26 -04:00
Bill McCloskey
f481f24fa4
Back out bug 967873 - Test changes for async removeTab
2015-10-07 11:15:11 -07:00
Andrew McCreight
0c62d00526
Bug 1210517 - Create nsVariant directly rather than via do_CreateInstance(). r=froydnj
...
The goal here is to leave creation stuff mostly for JS, so we can
convert it entirely over to a non-threadsafe cycle-collected version
without breaking any existing C++ users.
I didn't do this for a remaining use in nsGlobalWindow.h to avoid
including nsVariant.h all over the place.
2015-10-07 08:17:42 -07:00
Carsten "Tomcat" Book
d7f143eaad
Backed out 2 changesets (bug 1202902) to recking bug 1202902 to be able to reopen inbound on a CLOSED TREE
...
Backed out changeset 647025383676 (bug 1202902)
Backed out changeset d70c7fe532c6 (bug 1202902)
2015-10-07 14:03:21 +02:00
Eddy Bruel
ec8b2add25
Bug 1178721 - Implement SuspendWorkersForWindow;r=khuey
2015-10-07 12:20:59 +02:00
Carsten "Tomcat" Book
b9e5717f50
Backed out 1 changesets (bug 1202902) for causing merge conflicts to mozilla-central
...
Backed out changeset cfc1820361f5 (bug 1202902)
2015-10-07 12:13:45 +02:00
Shu-yu Guo
b5f316de44
Bug 1202902 - Scripted fix the world.
2015-10-06 14:00:31 -07:00
Ben Kelly
f5df233048
Bug 1210941 P11 Use LOAD_BYPASS_SERVICE_WORKER in worker ScriptLoader. r=ehsan
2015-10-06 06:37:07 -07:00
Ben Kelly
50934f88eb
Bug 1210941 P7 Use LOAD_BYPASS_SERVICE_WORKER in ServiceWorkerScriptCache. r=ehsan
2015-10-06 06:37:07 -07:00
Ehsan Akhgari
65c10472e9
Bug 1179401 - Call stopImmediatePropagation() on the Event object in respondWith(); r=jdm
2015-10-05 16:12:28 -04:00
Wes Kocher
0424030a6b
Merge m-c to inbound, a=merge CLOSED TREE
2015-10-05 13:11:26 -07:00
Wes Kocher
f825cd467b
Merge inbound to central, a=merge
2015-10-05 13:02:21 -07:00
Andrew McCreight
ebefdc0be5
Bug 1197893 - Check the number of arguments for ThrowTypeError() and ThrowRangeError() at compile time. r=peterv
2015-10-05 09:38:14 -07:00
Wes Kocher
38e6ef5aee
Backed out 11 changesets (bug 709490) for webgl-color-test.html failures a=backout
...
Backed out changeset fc04c5d43550 (bug 709490)
Backed out changeset cd8f9410d335 (bug 709490)
Backed out changeset 6e687c9143c1 (bug 709490)
Backed out changeset 9b20f2c833c4 (bug 709490)
Backed out changeset f9d130aea88e (bug 709490)
Backed out changeset fc513b410949 (bug 709490)
Backed out changeset acf6220b431a (bug 709490)
Backed out changeset 9bceaf913791 (bug 709490)
Backed out changeset 37fba20111e2 (bug 709490)
Backed out changeset 2285ce1596b8 (bug 709490)
Backed out changeset fb4e09920569 (bug 709490)
2015-10-05 08:28:25 -07:00
Nick Fitzgerald
09d7559166
Bug 1209263 - Allow embedders to tell SpiderMonkey how to structured clone principals; r=bz
2015-10-02 16:44:00 +02:00
Nicholas Nethercote
f930151045
Bug 1209351 (part 2) - Optimize nsTHashTable::RemoveEntry() usage in dom/. r=bz.
2015-09-24 19:05:16 -07:00
Morris Tseng
9ae39aa599
Bug 709490 - Part 10: Using mechanism in RuntimeService to get pref in worker thread instead of gfxPref. r=baku
2015-10-05 10:50:17 +08:00
Morris Tseng
7e35122c2a
Bug 709490 - Part 5: Add interfaces test. r=ehsan
2015-10-05 10:50:16 +08:00
Wes Kocher
15f8ac0988
Backed out changeset 821791826960 (bug 1197893) for Nexus build failures CLOSED TREE
2015-10-02 16:17:05 -07:00
Andrew McCreight
48a2601390
Bug 1197893 - Check the number of arguments for ThrowTypeError() and ThrowRangeError() at compile time. r=peterv
2015-10-02 15:09:02 -07:00
Andrew McCreight
be7e493588
Backed out changeset 6fa9cdf4002b for breaking the build.
2015-10-02 10:49:28 -07:00
Andrew McCreight
4428f7b6fa
Bug 1197893 - Check the number of arguments for ThrowTypeError() and ThrowRangeError() at compile time. r=peterv
2015-10-02 10:42:08 -07:00
Carsten "Tomcat" Book
1955db09bc
Merge m-c to mozilla-inbound
2015-10-02 13:37:27 +02:00
Carsten "Tomcat" Book
404e79482a
merge mozilla-inbound to mozilla-central a=merge
2015-10-02 11:52:49 +02:00
Ehsan Akhgari
cd927a3900
Bug 1204596 - Part 3: Store the responses with manual redirect in the tests added for bug 1164397; r=bkelly
...
This needs to be done so that we match the manual redirect mode
for navigations when the response is stored in the cache.
2015-10-01 18:47:07 -04:00
Yoshi Huang
697bf63dd6
Bug 1167100 - User originAttribute in ContentPrincipalInfo. r=bholley
2015-09-23 18:19:06 +08:00
Catalin Badea
3ab43c8cbf
Bug 1188545 - Disable unstable test: test_aboutserviceworkers.html. a=testonly
2015-09-30 19:11:04 -04:00
Catalin Badea
a034468e87
Bug 1188545 - Cancel network interceptions when the service worker is being terminated with unresolved respondWith promises. r=nsm
2015-09-30 19:11:03 -04:00
Catalin Badea
b7c0f4f391
Bug 1188545 - Add tests for service workers' lifetime management. r=nsm
2015-09-30 19:11:03 -04:00
Catalin Badea
ddeb807fe7
Bug 1188545 - Prevent service workers from being terminated while checking if the script evaluation was successful. r=nsm
2015-09-30 19:11:03 -04:00