Commit Graph

1300 Commits

Author SHA1 Message Date
Nikhil Marathe
2b1d550dca Bug 1119044 - Fetch API WebIDL Fixes. r=bkelly,baku
Add various [SameObject]/[NewObject] annotations.
Adds RequestCache enum.
Ensures that cors-with-forced-preflight is translated to cors in getter.
Reject cors-with-forced-preflight as a valid mode value in Request constructor.

--HG--
extra : rebase_source : 3a70d53965def8fe02deec307367b9fda3458935
2015-01-07 16:24:40 -08:00
Ryan VanderMeulen
ea9aaf976e Backed out changeset 88970726eb6b (bug 1119044) for Werror bustage. 2015-01-13 13:26:52 -05:00
Nikhil Marathe
7fd4527a9a Bug 1119044 - Fetch API WebIDL Fixes. r=bkelly,baku
Add various [SameObject]/[NewObject] annotations.
Adds RequestCache enum.
Ensures that cors-with-forced-preflight is translated to cors in getter.
Reject cors-with-forced-preflight as a valid mode value in Request constructor.

--HG--
extra : rebase_source : 0b621e13dc5cdbf740fb7d380f96f1380cd5a3eb
extra : amend_source : 7ced6d36ed7212271163c6aa1baacc7d5ca39647
2015-01-07 16:24:40 -08:00
Nikhil Marathe
992f9b1a98 Bug 1109574 - Check for null body before setting bodyUsed in Request constructor. r=bkelly
--HG--
extra : transplant_source : %07%B8%B0%D1%ED%D4%C6N%09%09%86%04g%BD%ECs%B2%C6%09%18
2014-12-23 02:25:17 -08:00
Nikhil Marathe
b1aa271f55 Bug 1039846 - Patch 5: FetchDriver basic HTTP fetch support. r=baku,bkelly
This patch has the following big pieces:
HTTP support in FetchDriver, which requires the principal of the caller to be passed.
Managing worker lifetime when a fetch() call is in progress.
Managing worker lifetime when a Response body is being read.
Using nsIPipe to link network streams to Request/Response body streams.
Using nsIInputStreamPump to convert Request/Response body streams into respective types.

Folded:
Bug 1039846 - Fetch API: Use a pipe to immediately start writing HTTP body data to InternalResponse.
Bug 1039846 - Assert bodystream can be set only once
Bug 1039846 - Add feature when handling fetch responses on workers
Bug 1039846 - Try to retarget http fetch delivery off main thread.
Bug 1039846 - Safely consume body using nsIInputStreamPump on workers and main thread.
Bug 1039846 - Retarget body reading to stream transport service.

--HG--
extra : rebase_source : 809c4e799835ad6fd153b673cad70109d257ab6c
2014-12-10 00:51:59 -08:00
Peter Van der Beken
dc3a33aa88 Bug 1096328 - Remove nativeOwnership from Bindings.conf, make rooting analysis happy. r=bz.
--HG--
extra : rebase_source : 54a1e408aec6c7485152f18693047b2992251aff
2015-01-08 22:56:42 +01:00
Valentin Gosu
80b8239e16 Bug 1093611 - Add/modify tests making sure Link,URL,nsLocation::GetHash don't unescape characters r=smaug 2014-11-12 05:59:24 +02:00
Andrea Marchesini
0f50edd862 Bug 1113062 - IndexedDB FileSnapshot not CCed, r=janv 2015-01-11 21:35:24 +00:00
Wes Kocher
f00cdbf88e Backout 115690326c5e for mochitest-2 orange on a CLOSED TREE 2015-01-09 14:28:27 -08:00
Kyle Huey
a60619b6d8 Bug 1119360: Allow AddFeature calls to succeed until we enter the Killing stage. r=bent 2015-01-09 13:29:05 -08:00
Ehsan Akhgari
4354953b4f Bug 1118486 - Part 1: Use = delete instead of MOZ_DELETE directly; r=Waldo
Most of this patch (with the exception of dom/bindings/Codegen.py) was
generated by the following bash script:

#!/bin/bash

function convert() {
echo "Converting $1 to $2..."
find . ! -wholename "*nsprpub*" \
       ! -wholename "*security/nss*" \
       ! -wholename "*/.hg*" \
       ! -wholename "*/.git*" \
       ! -wholename "obj-*" \
         -type f \
      \( -iname "*.cpp" \
         -o -iname "*.h" \
         -o -iname "*.cc" \
         -o -iname "*.idl" \
         -o -iname "*.ipdl" \
         -o -iname "*.ipdlh" \
         -o -iname "*.mm" \) | \
    xargs -n 1 sed -i -e "s/\b$1\b/$2/g"
}

convert MOZ_DELETE '= delete'
2015-01-08 23:19:05 -05:00
Ryan VanderMeulen
71aff521dd Backed out changesets 41d0ad0271a6, 2bda66cf60fd, and dd1fc46d4d56 (bug 1118845) for B2G mochitest failures.
CLOSED TREE

--HG--
extra : amend_source : 19240e92f40420f384a7835383cbb2be75350ddc
2015-01-08 21:50:19 -05:00
Ben Kelly
ad4b393222 Bug 1118845 P3 Force the creation of a new load group for SharedWorkers. r=sicking 2015-01-08 19:52:22 -05:00
Ben Kelly
2f999e45d9 Bug 1118443 Make workers specify the XHR load group to use during the request. r=sicking 2015-01-08 11:21:52 -05:00
Jon Coppeard
0b1dcc49a2 Bug 1099152 - Make external GC APIs take invocation kind as a parameter r=terrence r=mccr8 2015-01-02 17:19:43 +00:00
Andrea Marchesini
baf0cbe028 Bug 1058644 - Console API in ServiceWorkers. r=khuey 2015-01-06 10:45:00 -05:00
Ehsan Akhgari
9a5d3c336b Bug 1118428 - Mark virtual overridden functions as MOZ_OVERRIDE in dom/workers; r=baku 2015-01-06 16:35:26 -05:00
Bobby Holley
48db7f65fd Bug 1117851 - Make GetCallingLocation take an nsA{,C}String. r=smaug 2015-01-06 15:50:29 -05:00
Ryan VanderMeulen
dadc725623 Backed out changeset 9035e4de3c03 (bug 1117851) for suspicion of causing Linux32 dromaeo DOM regressions (bug 1118257). 2015-01-06 15:24:45 -05:00
Wes Kocher
8c211c0a5a Backed out changeset e89d431543ae (bug 1113062) for smaug's revoked r+ 2015-01-05 15:12:02 -08:00
Andrea Marchesini
209eab18af Bug 1113062 - FileImpls are kept alive when a blob URI is generated from them, r=smaug 2015-01-05 23:55:26 +01:00
Bobby Holley
a5bfe5cf02 Bug 1117851 - Make GetCallingLocation take an nsA{,C}String. r=smaug 2015-01-05 13:53:27 -08:00
Ryan VanderMeulen
4d0783188e Backed out 5 changesets (bug 1099152, bug 1117098) for causing frequent B2G debug timeouts.
Backed out changeset 4feee07c34ad (bug 1117098)
Backed out changeset 168e5b9bf198 (bug 1099152)
Backed out changeset 9192d432d87e (bug 1099152)
Backed out changeset 8b891ebcd21f (bug 1099152)
Backed out changeset 24dae3ce853d (bug 1099152)
2015-01-05 12:38:18 -05:00
Boris Zbarsky
d701d92006 Bug 1117162. Give DOMEventTargetHelper a constructor taking nsIGlobalObject. r=smaug 2015-01-05 10:23:36 -05:00
Jon Coppeard
f1d487e594 Bug 1099152 - Make external GC APIs take invocation kind as a parameter r=terrence r=mccr8 2015-01-02 17:19:43 +00:00
Wes Kocher
6d40130fd9 Backed out 5 changesets (bug 1099152) for hazard build failures on a CLOSED TREE
Backed out changeset 3d195c54dcf1 (bug 1099152)
Backed out changeset e5a903979b5f (bug 1099152)
Backed out changeset 969965f4c893 (bug 1099152)
Backed out changeset 1e4e3b85c620 (bug 1099152)
Backed out changeset 501a22044336 (bug 1099152)
2015-01-02 12:43:48 -08:00
Jon Coppeard
706b85bf8f Bug 1099152 - Make external GC APIs take invocation kind as a parameter r=terrence r=mccr8 2015-01-02 17:19:43 +00:00
Andrea Marchesini
ce1a4e7489 Bug 1115678 - Explicitly set dom.workers.websocket.enabled for websocket tests in workers. rs=RyanVM 2014-12-26 05:31:00 -05:00
Andrea Marchesini
80f61624ce Bug 1112054 - Disable WebSockets in workers on Fx35. r=smaug, a=lsblakk 2014-12-23 11:31:54 +01:00
Ben Turner
53fb5815be Bug 1113340 - Make sure blob urls can load same-prcess PBackground blobs, r=khuey. 2014-12-19 11:59:02 -08:00
Ben Turner
6567898382 Bug 1113429 - Optimize NUWA idle notifications on workers, r=froydnj. 2014-12-19 08:27:03 -08:00
Andrea Marchesini
449657cc1a Bug 1065366 - Implement ServiceWorkerGlobalScope update(), r=nsm
--HG--
extra : rebase_source : abdca619a27b46693ead93a6f468a40b2eeab2cf
2014-10-06 16:45:14 +01:00
Chih-Kai (Patrick) Wang
fcb6d29268 Bug 970307: Part 1: Report status of each thread to find when all the threads are idle. r=nfroyd 2014-12-18 17:00:39 +08:00
Ben Turner
2be368dceb Bug 701634 - Support IndexedDB in Workers, r=khuey+baku. 2014-12-16 22:26:15 -08:00
Andrea Marchesini
8e36934a09 Bug 1057994 - DataStore should not dispatch runnables in a worker when it is shutting down, r=bent
--HG--
rename : dom/datastore/tests/file_basic_worker.html => dom/datastore/tests/file_worker_close.html
rename : dom/datastore/tests/test_basic_worker.html => dom/datastore/tests/test_worker_close.html
2014-12-17 14:49:36 +00:00
Dan Gohman
8bacfeb968 Bug 1054671 - Constify static callback arrays r=ehsan 2014-12-16 16:30:39 -08:00
Nigel Babu
b91168c141 Backed out changeset 6a3a0e3bfaf6 (bug 1054671) for B2G emulator build bustage on CLOSED TREE 2014-12-16 11:24:15 +05:30
Dan Gohman
d791adb2b0 Bug 1054671 - Constify static callback arrays r=ehsan 2014-12-15 20:53:58 -08:00
Ben Kelly
28e0242799 Bug 1107516 - Part 3: Make sure all workers have an nsILoadGroup when loading scripts. r=sicking, r=bent 2014-12-12 11:06:00 -05:00
Botond Ballo
79d427447d Bug 1073081 - Fix -Waddress warnings about Nuwa functions. r=khuey
--HG--
extra : source : 8cd5108862aaf2c579a76ac6e9c08eb69fa5f3ff
2014-11-26 19:20:03 -05:00
Wes Kocher
8e77adb0d6 Backed out 3 changesets (bug 1107516) for b2g debug emulator mochitest bustage
Backed out changeset 5fe0df3298aa (bug 1107516)
Backed out changeset ce51e5cd2a85 (bug 1107516)
Backed out changeset c3b2309fdf93 (bug 1107516)
2014-12-12 15:29:28 -08:00
Ben Kelly
6b1e77b231 Bug 1107516 P3 Make sure all workers have an nsILoadGroup when loading scripts. r=sicking r=bent 2014-12-12 16:41:36 -05:00
Ehsan Akhgari
09a262787c Bug 649012 - Fail mochitest-plains which use flaky timeouts (setTimeout(x) for x > 0); r=ted
We are white-listing the existing set of tests that use setTimeout
like this.  Hopefully these tests will be investigated and fixed
in the future, so that we can narrow down the white-list.

This check is only turned on for mochitest-plain for now.
2014-12-11 13:34:40 -05:00
Ryan VanderMeulen
9e63d16fb6 Backed out changesets c63a0dc3e90f and 5b53df2993fa (bug 1104623) for leaks.
--HG--
extra : rebase_source : cb4ed2e9e43d8d937f75561534f26081e694c964
2014-12-11 13:12:08 -05:00
Andrea Marchesini
cccb2d341e Bug 1104623 - Inherit security flags if channel already has a loadinfo attached in NS_NewChannel - tests (r=ckerschb) 2014-12-11 07:47:37 -08:00
Ryan VanderMeulen
9a56a97e41 Backed out changesets 34a66a625618, 32db3daa20fe, and ac15ba8568c5 (bug 1102219) for Gaia unit test failures.
--HG--
extra : rebase_source : 0266cc0b2a6568ca653885745f381df8d6d167ec
2014-12-11 11:28:30 -05:00
ziyunfei
5f470bd4a1 Bug 1102219 - Part 3: Replace String.prototype.contains with String.prototype.includes in chrome code. r=till 2014-12-10 20:50:00 -05:00
Carsten "Tomcat" Book
688f5952cb Backed out changeset 932daea51104 (bug 1104623) 2014-12-11 08:49:48 +01:00
Ben Turner
22cde4cfc5 Bug 1054638 - Bustage fix for non-DEBUG builds on CLOSED TREE 2014-12-10 21:42:07 -08:00
Ben Turner
ad251f8dde Bug 1054638 - Bustage fix for non-DEBUG builds on CLOSED TREE 2014-12-10 20:54:24 -08:00