Bevis Tseng
024ff96b5b
Bug 1363318 - Part 2: Label FetchBody. r=baku
2017-05-16 18:12:24 +08:00
Andrea Marchesini
4434f5a668
Bug 1337722 - Use BufferSource in webIDL, r=qdot
2017-02-09 10:37:54 +01:00
Andrea Marchesini
20247bbf3f
Bug 1329298 - Part 1 - Unify body extraction in Fetch/Beacon/XHR, r=smaug
2017-01-24 12:13:31 +01:00
Michael Layzell
1b457b8f4b
Bug 1292293 - Part 2: Remove custom default ByteString handling logic from ResponseInit, r=bz
...
--HG--
extra : rebase_source : 863a852d7974b4179cf682a60894e0eb6805a574
2016-08-05 17:47:43 -04:00
Andrea Marchesini
6209c0d90e
Bug 1269161 - Remove the separate worker bindings for URL, r=khuey
2016-06-29 07:43:44 +02:00
Jonas Sicking
32162d33c2
Bug 1273279 - Changes in preparation for FlyWeb landing. Change InternalResponse handling to track body size. r=baku f=bkelly
...
--HG--
extra : amend_source : 257331b8f4b86d6e1c7608ca6866526ce6aa645a
2016-06-01 17:02:29 -04:00
Kyle Huey
91efc5a86c
Bug 1241764: Replace nsPIDOMWindow with nsPIDOMWindowInner/Outer. r=mrbkap,smaug
2016-01-30 09:05:36 -08:00
Ben Kelly
66209204da
Bug 1238134 P1 Provide a Response.cloneUnfiltered() method for chrome code to access internal Response state. r=ehsan
2016-01-12 12:15:12 -08:00
Boris Zbarsky
58f083c12c
Bug 1224596 part 14. Switch URL to using the new WorkerMainThreadRunnable::Dispatch signature. r=baku
2015-11-24 00:04:21 -05:00
Andrea Marchesini
9dc9655c9e
Bug 1213815 - dom/webidl/HTMLHyperlinkElementUtils and URL don't need to throw exceptions as we did before, r=bz
2015-11-23 20:05:26 +00:00
Ehsan Akhgari
dd138fc5c9
Bug 1216822 - Make sure that using an invalid Content-Type when constructing a Response object doesn't throw; r=bkelly
2015-10-21 16:06:34 -04:00
Nathan Froyd
01583602a9
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
--HG--
rename : mfbt/nsRefPtr.h => mfbt/RefPtr.h
2015-10-18 01:24:48 -04:00
Andrew McCreight
5171450b27
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
f0d829220d
Backed out changeset 821791826960 (bug 1197893) for Nexus build failures CLOSED TREE
2015-10-02 16:17:05 -07:00
Andrew McCreight
35cd15b8de
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
7a2c6267d4
Backed out changeset 6fa9cdf4002b for breaking the build.
2015-10-02 10:49:28 -07:00
Andrew McCreight
404740a102
Bug 1197893 - Check the number of arguments for ThrowTypeError() and ThrowRangeError() at compile time. r=peterv
2015-10-02 10:42:08 -07:00
Miko Mynttinen
155f3d3bc5
Bug 1187011 - Don't allow response body with null body status. r=bkelly
2015-09-30 21:50:10 +03:00
Ben Kelly
5c4f9e0a97
Bug 1184607 P7.7 Allow new Response() to be used in xpcshell tests. r=ehsan
...
--HG--
extra : source : 066e84750afdc77c760c1b6563cf932e1f283b11
extra : histedit_source : 395e75ce1b96ca80448ab53d5d18bf57c94581e2
2015-08-31 14:26:30 -07:00
Ryan VanderMeulen
6e496147ac
Backed out changeset 066e84750afd for landing with the wrong bug number.
...
--HG--
extra : histedit_source : c17fe1a5597236723dddd26d164c0ced6e7c0499
2015-08-31 18:36:48 -04:00
Ben Kelly
15e3127540
Bug 1184067 P7.7 Allow new Response() to be used in xpcshell tests. r=ehsan
2015-08-31 14:26:30 -07:00
Nikhil Marathe
b5681e95be
Bug 1193911 - Ensure synthetic Responses gets a valid channel info. r=ehsan
...
Right now, synthetic Responses did not have a valid channel info. When these
were saved in the Cache, and then restored, the restored Response did have
a ChannelInfo, but that ChannelInfo did not have a valid security info.
Passing this to respondWith() then caused the interception to fail.
This patch modifies Response::Constructor() to initialize its ChannelInfo from
the global. ChannelInfo can now initialize itself from a nsIDocument. All
workers now store their ChannelInfo on the WorkerLoadInfo.
--HG--
extra : commitid : L1wltwPICd8
extra : rebase_source : 8dab4c414eb50e02a00dd2cb3ee848b811060e70
2015-08-17 15:08:58 -07:00
Birunthan Mohanathas
a8939590de
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
Boris Zbarsky
b99f99143f
Bug 1161625. Use nsIURI, not dom::URL, to create URIs on main thread in fetch code. Also, use the entry settings document's base URI, not the callee document's document URI, as the base. r=nsm
2015-05-07 11:08:34 -04:00
Andrew McCreight
9e8f4b219e
Bug 1152551, part 2 - Fix mode lines in dom/. r=jst
2015-05-03 15:32:37 -04:00
Nikhil Marathe
238374c507
Bug 931249 - patch 1 - Scriptloader use cache if needed. r=khuey
...
--HG--
extra : rebase_source : c81b13a05ec04a68c3acd25807fcf997bd9db81e
2015-03-19 11:41:42 -07:00
Nikhil Marathe
c9908ee8be
Bug 1109751 - Request and Response constructors should set mime type. r=baku
...
--HG--
extra : rebase_source : 8efaf2edd3f3c5d1cd7c49615ac735805a4f4e84
2015-02-03 12:59:32 -08:00
Wes Kocher
e73d6e8c9e
Backed out 2 changesets (bug 1109751) for asan mochitest-3 failures
...
Backed out changeset 269ce19afa43 (bug 1109751)
Backed out changeset add6d1bd2e52 (bug 1109751)
2015-04-03 12:22:47 -07:00
Nikhil Marathe
403581f769
Bug 1109751 - Request and Response constructors should set mime type. r=baku
...
--HG--
extra : transplant_source : %F3%C3Z%D1%E4%ABTte%80%0D%F5%A9%9AI%B5J%A8W%24
extra : histedit_source : 33c98443b879f7d29fff3e98b640a22c77f462c6
2015-02-03 12:59:32 -08:00
Nikhil Marathe
5e45307f84
Bug 1146059 - Remove Response.finalURL. r=ehsan
...
--HG--
extra : rebase_source : 6b22c835c2599d20d625b7b0706c625b06080b23
2015-03-21 17:49:29 -07:00
Nikhil Marathe
ac84e104df
Bug 1143857 - Add FormData serialize support to Fetch API. r=ehsan
...
--HG--
extra : rebase_source : e971be3409e5c8de982e8ffcfcc87dcebb4c3867
2015-03-17 08:32:04 -07:00
Nikhil Marathe
ca6c2ec7d2
Bug 1140788 - Set headers to immutable. r=bkelly,ehsan
...
--HG--
extra : rebase_source : 2174a7683df99996566299609496c5ae7740bf36
2015-03-07 18:54:41 -08:00
Ben Kelly
92807f390b
Bug 940273 -Part 1 - Fetch changes from maple twig to support Service Worker Cache. r=nsm,ehsan
2015-03-02 14:08:00 +01:00
Ben Kelly
e3f6f3f034
Bug 1073231 Implement Request and Response Clone() methods. r=nsm r=baku
2015-02-19 20:24:24 -05:00
Nikhil Marathe
302ff75d63
Bug 1126815 - Implement Response.finalURL. r=bkelly,baku
...
--HG--
extra : rebase_source : 5180d5657c60c7aec33e9f750d24cbee9a2890e2
2015-02-17 10:23:34 -08:00
Dhi Aurrahman
5b8f79fc23
Bug 1125766 - Throw proper error types for TextEncoder(), TextDecoder() and TextDecoder.decode(). r=bz
2015-02-04 18:46:26 +07:00
Nikhil Marathe
f64d3931ba
Bug 1112073 - Linux non-unified build bustage fix. a=bustage
2015-01-14 14:01:02 -08:00
Nikhil Marathe
83f2d35bc2
Bug 1112073 - Implement Response.redirect. r=baku,bkelly
...
--HG--
extra : rebase_source : b84a118d61103227e3e021d0efe344f709115fc9
2014-12-26 09:44:09 -08:00
Andrea Marchesini
9d30f59efd
Bug 1077393 - Rename ScalarValueString to USVString. r=smaug
...
--HG--
rename : dom/bindings/parser/tests/test_scalarvaluestring.py => dom/bindings/parser/tests/test_usvstring.py
rename : dom/bindings/test/test_scalarvaluestring.html => dom/bindings/test/test_usvstring.html
2014-11-20 12:58:00 +01:00
Peter Van der Beken
d76c717d3c
Bug 1068740 - Consider putting union types in the binding files where they're used. r=bz.
...
--HG--
extra : rebase_source : 7e0b1e2f60757b7758704dab3672ee829f3e4085
2014-10-01 20:43:26 +02:00
Nikhil Marathe
9771d67d26
Bug 1071290 - Allow Blobs in Fetch BodyInit. r=baku
...
--HG--
extra : rebase_source : 412dffd78d5b0c4cddad58374bbe1dd051877c47
2014-10-09 10:52:10 -07:00
Nikhil Marathe
e1bbdf4cc1
Bug 1039846 - Split Headers into InternalHeaders. r=baku
...
--HG--
extra : rebase_source : 1b7e0a27e44f1e11ed84de7be18a19155d6750d5
2014-10-02 10:59:20 -07:00
Nikhil Marathe
7b2c55eff6
Bug 1039846 - Response implementation. r=baku
...
--HG--
extra : rebase_source : 0da394758a5ccf6c1fe87d1a51ed0c4c27d9350e
2014-09-26 16:41:15 -07:00
Peter Van der Beken
dcda2ba9bb
Bug 1078744 - Replace SetIsDOMBinding with SetIsNonDOMBinding, remove nsWrapperCache::SetIsDOMBinding. r=bz.
...
--HG--
extra : rebase_source : 89c476cd9436530b2df5acc903909e34188417a0
2014-10-07 11:44:49 +02:00
Nikhil Marathe
8f0bb32f46
Bug 1017613 - Part 2 - Response IDL and stubs. r=baku
...
--HG--
extra : transplant_source : %AEc%0E%00%0D%92%AB.f%B5%EB%87%F7%C9%5DgX%93%AC%0A
2014-07-24 17:50:32 -07:00