Ben Kelly
5488438bfc
Bug 1227015 P5 Remove ServiceWorkerRegistrationInfo mScriptSpec. r=ehsan
2015-12-10 18:08:13 -05:00
Phil Ringnalda
9af3731499
Back out 7 changesets (bug 1227015) for serviceworker bustage
...
CLOSED TREE
Backed out changeset a267542e8cb7 (bug 1227015)
Backed out changeset 03c28b711e1f (bug 1227015)
Backed out changeset 5fc6fca28ddf (bug 1227015)
Backed out changeset 7fb0c56916d2 (bug 1227015)
Backed out changeset 4bef51e9c8ae (bug 1227015)
Backed out changeset c46b5abddec5 (bug 1227015)
Backed out changeset fb4554bd3bde (bug 1227015)
2015-12-08 20:37:16 -08:00
Ben Kelly
58de757508
Bug 1227015 P5 Remove ServiceWorkerRegistrationInfo mScriptSpec. r=ehsan
2015-12-08 11:58:45 -05:00
Lars T Hansen
b62493634b
Bug 1176214 - Part 11: Changes to DOM, except for WebGL. r=bz, r=clb
...
--HG--
extra : rebase_source : 9c9d3f493822d68be20597d9974292ed5ec4ab70
2015-11-25 19:04:50 +01:00
Mike Hommey
3a7b31cfb5
Bug 1228444 - Rename DIST_FILES to FINAL_TARGET_PP_FILES. r=gps
...
This makes it clearer that really it's the same thing as FINAL_TARGET,
with preprocessing.
We still keep DIST_FILES in backend.mk because it's shorter and doesn't
really matter.
2015-12-01 08:25:22 +09:00
Mike Hommey
655579a1fa
Bug 1228444 - Don't silence "no preprocessor directives found" warnings for DIST_FILES. r=gps
...
and move files without preprocessor directives to FINAL_TARGET_FILES.
2015-12-01 08:25:22 +09:00
Ehsan Akhgari
194a4067e6
Bug 1226686 - Enable service workers on release builds for desktop and Android; r=baku
2015-11-30 09:46:42 -05:00
Catalin Badea
3c2fed5544
Bug 1228427 - Fix test_serviceworkerinfo.xul: wait for the worker to become active. r=ehsan
2015-11-26 22:37:14 +02:00
Ehsan Akhgari
8ec3d68db3
Bug 1201127 - Return the same ServiceWorkerRegistration object from service worker APIs dealing with the same underlying registration object; r=jdm
2015-11-26 15:13:33 -05:00
Catalin Badea
92374ffd71
Bug 1189659 - Part 4 - Fix race in test_install_event.html. r=bkelly
2015-11-26 19:03:10 +02:00
Eddy Bruel
b35ef7b768
Bug 1219255 - We should be able to attach to a service worker;r=amarchesini
2015-11-26 12:18:56 +01:00
Yoshi Huang
4b500464f5
Bug 1209162 - Create OriginAttributes subtypes. IGNORE IDL r=sicking.
2015-11-03 09:50:54 +08:00
Ehsan Akhgari
6fc6fe1c47
Bug 1204269 - Part 2: Add unit tests; r=smaug
2015-11-20 16:32:52 -05:00
Ehsan Akhgari
a7568f6847
Bug 1198078 - Part 2: Add tests for mixed content blocking of scripts in workers; r=ckerschb
2015-11-20 10:56:57 -05:00
Andrea Marchesini
61abf8e5dc
Bug 1218474 - Improve the referrer checks in worker mochitests, r=bkelly
2015-11-18 22:13:28 +00:00
Andrea Marchesini
ea64674637
Bug 1221852 - SharedWorker.port should be always not null, r=smaug
2015-11-17 23:38:39 +00:00
Andrea Marchesini
fe6be4c172
Bug 1218433 - Use AsyncOpen2 in dom/workers/ScriptLoader.cpp - part 1, r=sicking
2015-11-16 22:41:03 +00:00
Wes Kocher
9d1f194cbb
Backed out 2 changesets (bug 1218433) for wpt failures CLOSED TREE
...
Backed out changeset 1cc8cc0444c0 (bug 1218433)
Backed out changeset 5418ca0e0378 (bug 1218433)
--HG--
extra : commitid : H1h8VHrzxx8
2015-11-16 11:13:43 -08:00
Andrea Marchesini
d35be12a6d
Bug 1218433 - Use AsyncOpen2 in dom/workers/ScriptLoader.cpp - part 1, r=sicking
2015-11-16 16:57:29 +00:00
Ben Kelly
bf2b04c9bf
Bug 1217909 P7 Fix mochitest to expect TypeError when serviceWorker.register() rejects. r=catalinb
2015-11-16 08:04:11 -08:00
Phil Ringnalda
6e82b3775e
Back out 2 changesets (bug 1221852, bug 1224825) for Android hangs and desktop RunWatchdog crashes in test_upgrade_insecure_reporting.html
...
CLOSED TREE
Backed out changeset 6ad589dcf3c1 (bug 1221852)
Backed out changeset e7aadf89146b (bug 1224825)
2015-11-15 09:56:06 -08:00
Andrea Marchesini
1f993cf905
Bug 1221852 - SharedWorker.port should be always not null, r=smaug
2015-11-15 11:47:57 +00:00
Sebastian Hengst
c1f04d5b8c
Backed out 2 changesets (a19876ac309e, 3a1c0923b0d9) (bug 1221852, bug 1224825) for M(3) failures. r=backout on a CLOSED TREE
...
Backed out changeset 3a1c0923b0d9 (bug 1221852)
Backed out changeset a19876ac309e (bug 1224825)
2015-11-15 15:59:24 +01:00
Sebastian Hengst
a0cf7d50ad
Backed out 2 changesets (22360424ed15, 325a67608df0) (bug 1218433) for W(1,2) failures. r=backout on a CLOSED TREE
...
Backed out changeset 22360424ed15 (bug 1218433)
Backed out changeset 325a67608df0 (bug 1218433)
2015-11-15 15:56:45 +01:00
Andrea Marchesini
9137d7e47b
Bug 1218433 - Use AsyncOpen2 in dom/workers/ScriptLoader.cpp - part 1, r=sicking
2015-11-15 11:57:06 +00:00
Andrea Marchesini
0ee249dfa5
Bug 1221852 - SharedWorker.port should be always not null, r=smaug
2015-11-15 11:47:57 +00:00
Phil Ringnalda
596e8ff827
Back out 9 changesets (bug 1214305) for e10s devtools browser_bug1045902_console_csp_ignore_reflected_xss_message.js failures
...
Backed out changeset 82929be36e95 (bug 1214305)
Backed out changeset e926606aefbf (bug 1214305)
Backed out changeset 226c83ca9a2a (bug 1214305)
Backed out changeset 88ab26108f2d (bug 1214305)
Backed out changeset 2e3e4f256d46 (bug 1214305)
Backed out changeset 347cd0f8f1e3 (bug 1214305)
Backed out changeset be072bba15fc (bug 1214305)
Backed out changeset 3b85acbe7be7 (bug 1214305)
Backed out changeset 49b930683c02 (bug 1214305)
2015-11-14 10:09:58 -08:00
Ehsan Akhgari
4a16f7fb9d
Bug 1214305 - Part 8: Enable secure upgrade service worker tests on e10s; r=jdm
2015-11-02 11:28:00 -05:00
Eddy Bruel
d9c0acb19f
Bug 1220740 - nsIServiceWorkerRegistrationInfo should emit an event when its worker properties change;r=amarchesini
2015-11-13 21:54:54 +01:00
Eddy Bruel
f2221b7a7f
Bug 1220740 - nsIServiceWorkerRegistrationInfo should emit an event when its scriptSpec property changes;r=amarchesini
2015-11-13 21:54:45 +01:00
Jonas Sicking
27c89ea082
Bug 1223647: CSP erroneously inherited into dedicated workers. r=ckerschb
...
--HG--
rename : dom/workers/test/serviceworkers/test_eval_not_allowed.html^headers^ => dom/workers/test/serviceworkers/test_eval_allowed.html^headers^
2015-11-10 21:16:12 -08:00
Nathan Froyd
2d8bae8e40
Bug 1217571 - fix the imagelib cache to work in e10s; r=seth
...
nsICachingChannel isn't available in the child process; we have to use
nsICacheInfoChannel instead.
2015-11-12 15:09:52 -05:00
Sebastian Hengst
c7cc4bc5c8
Backed out changesets 5a3092c456c0,8dcbfd14f1e5 (bug 1218433) for M3, W3 failures and M10 failure on Android. r=backout
...
* * *
Backed out changeset 8dcbfd14f1e5 (bug 1218433)
462 INFO TEST-UNEXPECTED-FAIL | dom/security/test/csp/test_child-src_worker-redirect.html | CSP child-src worker test other-src-worker_redir-same - got "Error: Failed to load script (nsresult = 0x805e0006)", expected "blocked"
479 INFO TEST-UNEXPECTED-FAIL | dom/security/test/csp/test_child-src_worker.html | Test timed out.
486 INFO TEST-UNEXPECTED-FAIL | dom/security/test/csp/test_child-src_worker_data.html | Test timed out.
2015-11-12 18:44:51 +01:00
Andrew McCreight
0d0da460ed
Bug 1222495
- Get dom/workers/test/test_suspend.html working with e10s and B2G. r=khuey
2015-11-12 08:08:47 -08:00
Andrea Marchesini
f55a08e614
Bug 1218433 - Use AsyncOpen2 in dom/workers/ScriptLoader.cpp - part 1, r=sicking
2015-11-12 14:51:17 +00:00
Wes Kocher
9e8bd5977f
Backed out 2 changesets (bug 1218433) for android CSP test failures in m(10) CLOSED TREE
...
Backed out changeset 50af9a9ba6d9 (bug 1218433)
Backed out changeset 5d8b8744419f (bug 1218433)
--HG--
extra : commitid : 625lyUcSwAk
2015-11-11 10:22:08 -08:00
Andrea Marchesini
934e4c3ba4
Bug 1218433 - Use AsyncOpen2 in dom/workers/ScriptLoader.cpp - part 1, r=sicking
2015-11-11 16:59:46 +00:00
Phil Ringnalda
2ed8473bfb
Back out changeset d5d3bf67dd1b (bug 1221852) for Android and B2G emulator and Mulet timeouts in test_sharedWorker_ports.html
...
CLOSED TREE
2015-11-10 19:37:51 -08:00
Andrew McCreight
c8dc5e6c95
Bug 1222562, part 2 - Add some comments about failing tests. r=mrbkap
2015-11-10 13:10:23 -08:00
Andrew McCreight
7b10a19e79
Bug 1222562, part 1 - Fix use of addPermission in test_tcpsocket_enabled_with_perm.html and test_xhr_parameters.html. r=mrbkap
2015-11-10 13:10:22 -08:00
Andrea Marchesini
6b6bb12186
Bug 1221852 - SharedWorker.port should be always not null, r=smaug
2015-11-10 19:11:05 +00:00
dimi
a41b603e0d
Bug 1207068 - Implement ExtendableMessageEvent interface. r=baku
...
--HG--
extra : rebase_source : ddc40a1fddf3558d22f647a8a8b785de97a270cc
2015-11-10 14:31:41 +08:00
Marco Castelluccio
a1ea198959
Bug 1222097 - Test openWindow with a relative URL. r=bkelly
2015-11-06 12:09:00 +01:00
Bill McCloskey
de23733337
Bug 1219504 - Test changes (r=Gijs,mconley,jryans,MattN,Mossop)
2015-11-04 10:56:15 -08:00
Eddy Bruel
4bad6b08ad
Bug 1218363 - nsIServiceWorkerManager should notify its listeners when a service worker is (un)registered;r=catalinb
2015-11-04 15:17:02 +01:00
Carsten "Tomcat" Book
fb394133cc
Backed out changeset 6e4244690d03 (bug 1218363) for m-oth bustage
...
--HG--
extra : rebase_source : 33397d7b8bd802aad355ebbdb7ee4cb30171ceb0
2015-11-04 14:26:43 +01:00
Andrea Marchesini
9d98f9a481
Bug 1215235 - Drop support for jar: URIs by default, r=bz
2015-11-04 11:19:02 +00:00
Eddy Bruel
03e4076412
Bug 1218363 - nsIServiceWorkerManager should notify its listeners when a service worker is (un)registered;r=catalinb
2015-11-04 11:08:39 +01:00
Eddy Bruel
4bc69d6082
Bug 1216566
- Fix a bug in nsIServiceWorkerManager.getAllRegistrations;r=catalinb
2015-11-02 15:04:41 +01:00
dlee
f3324e8193
Bug 1214593 - Remove service worker periodic updater. r=ehsan
2015-11-02 16:08:44 +08:00
Ryan VanderMeulen
028dec7cc8
No bug - Various crashtest manifest cleanups.
...
--HG--
rename : dom/base/crashtests/713417.html => dom/base/crashtests/713417-1.html
rename : dom/workers/test/1158031.html => dom/workers/test/crashtests/1158031.html
rename : dom/workers/test/779707.html => dom/workers/test/crashtests/779707.html
rename : dom/workers/test/943516.html => dom/workers/test/crashtests/943516.html
rename : dom/workers/test/crashtests.list => dom/workers/test/crashtests/crashtests.list
rename : layout/generic/crashtests/812879.html => layout/generic/crashtests/812879-1.html
rename : layout/generic/crashtests/first-letter-638937.html => layout/generic/crashtests/first-letter-638937-1.html
extra : rebase_source : b9274dc6870030ed62bcee35350d566160502869
2015-10-31 19:35:27 -04:00
Andrew McCreight
5981b92f78
Bug 1219842 - Enable a bunch of mochitest-plain tests under e10s. r=mrbkap
2015-10-31 06:26:44 -07:00
Ehsan Akhgari
3a539c9718
Bug 1202085 - Part 5: Add an automated test for the interaction of image cache with controlled documents; r=jdm
2015-10-30 16:03:12 -04:00
Catalin Badea
6e75ef33f5
Bug 1172870 - Part 3 - Fix openWindow mochitest to work on e10s. r=smaug
...
This patch also fixes a nullptr access in ContentChild::ProvideWindowCommon.
2015-10-30 20:51:40 +02:00
Carsten "Tomcat" Book
7351a2cd94
Backed out changeset 99a4fb4ba5c1 (bug 1172870) for causing test regressions m4 on a CLOSED TREE
2015-10-30 16:41:32 +01:00
Catalin Badea
e13c1c9c9e
Bug 1172870 - Part 3 - Fix openWindow mochitest to work on e10s. r=smaug
2015-10-30 01:30:58 +02:00
Ehsan Akhgari
073195c513
Bug 1206298 - Part 2: Add a test to make sure that we respect Cache-Control headers on the synthesized response; r=jdm
2015-10-27 11:58:30 -04:00
Ehsan Akhgari
8bb8104d86
Bug 1218499 - Make FetchEvent.request nullable; r=bzbarsky
2015-10-26 23:00:19 -04:00
Ehsan Akhgari
7029e804f8
Bug 1218135 - Remove FetchEvent.client; r=bzbarsky
...
This has been removed from the spec. See:
https://github.com/slightlyoff/ServiceWorker/issues/723#issuecomment-123516555
2015-10-26 23:00:16 -04:00
Ehsan Akhgari
61cf88b565
Bug 1214772 - Part 2: Make FetchEvent inherit from ExtendableEvent; r=bzbarsky
2015-10-26 23:00:14 -04:00
dimi
975b82b179
Bug 1207727 - Add WPT tests for service worker update algorithm. r=bkelly
2015-10-26 11:03:47 +08:00
Ryan VanderMeulen
4e1540b2b5
Bug 779707 - Add crashtest.
2015-10-25 00:06:24 -04:00
Catalin Badea
cc62c14549
Bug 1172870 - Implement service workers clients.openWindow for desktop (non-e10s). r=baku,smaug
...
Based on patches from:
Nikhil Marathe <nsm.nikhil@gmail.com>
Alberto Crespell Perez <alberto.crespell@gmail.com>
2015-10-24 15:16:23 +03:00
Ehsan Akhgari
bbf58e7a30
Bug 1185558 - Send a "Service-Worker: script" header when downloading service worker scripts; r=bkelly
2015-10-22 17:33:35 -04:00
Ben Kelly
c0ad7f1171
Bug 1212904 P7 Verify xhr respects service worker CORS tainting. r=ehsan
2015-10-22 11:07:32 -07:00
Tooru Fujisawa
24ab66bc98
Bug 1217093
- Remove for-each from dom/. r=smaug
...
--HG--
extra : commitid : DcjxshJqlKg
extra : rebase_source : 23bc9a985f1e6d13e13837e31bb9b88b9be24d55
2015-10-19 02:00:50 +09:00
Ehsan Akhgari
8ab0d9d2f8
Bug 931243 - Remove the XMLHttpRequest APIs from ServiceWorkerGlobalScope; r=bzbarsky
2015-10-20 13:16:34 -04:00
Jonas Sicking
cc10dd7ad3
Bug 1182571: Make nsXMLHttpRequest use AsyncOpen2. r=ehsan
2015-10-19 11:14:54 -07:00
Ehsan Akhgari
ca6a03d7a4
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
6673eddd94
Bug 1198394 - Part 2: Add a test for interception of HSTS upgraded connections; r=jdm
2015-10-19 10:32:38 -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
Ehsan Akhgari
9dd6f325b3
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
f7c6589364
Bug 1178726 - Simplify how we deal with freezing/thawing workers;r=jlongster,khuey
2015-10-16 18:48:26 +02:00
Ehsan Akhgari
73e2c128c6
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
c2b3d9275b
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
2578b19458
Bug 1182571: Make nsXMLHttpRequest use AsyncOpen2. r=ehsan
2015-10-15 12:18:21 -07:00
Morris Tseng
c3d37560cc
Bug 709490 - Part 5: Add interfaces test. r=ehsan
...
--HG--
extra : rebase_source : d5cca4941baf9c5e3fbe05cb7f4d12d860ef1825
2015-10-12 11:21:03 +08:00
Bill McCloskey
1b6da7ed71
Back out bug 967873 - Test changes for async removeTab
2015-10-07 11:15:11 -07:00
Carsten "Tomcat" Book
08997000eb
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
41c0e5355c
Bug 1178721 - Implement SuspendWorkersForWindow;r=khuey
2015-10-07 12:20:59 +02:00
Carsten "Tomcat" Book
e7ef778c9d
Backed out 1 changesets (bug 1202902
) for causing merge conflicts to mozilla-central
...
Backed out changeset cfc1820361f5 (bug 1202902
)
--HG--
extra : rebase_source : 5d3db72337754bc7ab0ed0c30b2896100411ff92
2015-10-07 12:13:45 +02:00
Shu-yu Guo
d06b6030f6
Bug 1202902
- Scripted fix the world.
2015-10-06 14:00:31 -07:00
Wes Kocher
c1750b75c7
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
Morris Tseng
0b16df6ac0
Bug 709490 - Part 5: Add interfaces test. r=ehsan
...
--HG--
extra : rebase_source : 306df6c0c7fe3e09e199b5c7b5cd62974b2854c3
2015-10-05 10:50:16 +08:00
Carsten "Tomcat" Book
e91d5a31b6
Merge m-c to mozilla-inbound
2015-10-02 13:37:27 +02:00
Carsten "Tomcat" Book
ca77b70a8d
merge mozilla-inbound to mozilla-central a=merge
2015-10-02 11:52:49 +02:00
Ehsan Akhgari
2430b7dcee
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
f97211a451
Bug 1167100 - User originAttribute in ContentPrincipalInfo. r=bholley
2015-09-23 18:19:06 +08:00
Catalin Badea
4fa36e326a
Bug 1188545 - Disable unstable test: test_aboutserviceworkers.html. a=testonly
2015-09-30 19:11:04 -04:00
Catalin Badea
24a19b6a02
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
Wes Kocher
6fbdec2422
Backed out 12 changesets (bug 1188545) for test_fetch_cors failures CLOSED TREE
...
Backed out changeset e04738ee72a3 (bug 1188545)
Backed out changeset 1989893b59de (bug 1188545)
Backed out changeset 11ff29cc25d8 (bug 1188545)
Backed out changeset 4b6bdf859845 (bug 1188545)
Backed out changeset 76eb7ffeca2a (bug 1188545)
Backed out changeset 4473e036b52e (bug 1188545)
Backed out changeset 2a28cb794b23 (bug 1188545)
Backed out changeset 1fa2f55727f3 (bug 1188545)
Backed out changeset 032f4c24fc34 (bug 1188545)
Backed out changeset 4be675dc1b37 (bug 1188545)
Backed out changeset d5d05def5b17 (bug 1188545)
Backed out changeset e94f12b0bcf3 (bug 1188545)
2015-09-30 11:11:47 -07:00
Bill McCloskey
633d4a3ecf
Bug 967873 - Test changes for async removeTab (r=Gijs)
2015-10-01 21:18:05 -07:00
Catalin Badea
822a595c5c
Bug 1188545 - Disable unstable test: test_aboutserviceworkers.html. a=testonly
2015-09-30 10:14:33 -04:00
Catalin Badea
d2e449fa0d
Bug 1188545 - Cancel network interceptions when the service worker is being terminated with unresolved respondWith promises. r=nsm
2015-09-30 10:14:33 -04:00
Wes Kocher
df21b43278
Backed out changeset d0e88c95f3c5 (bug 1167100) for crashes a=backout
2015-09-29 10:25:20 -07:00
Carsten "Tomcat" Book
363e40e298
merge mozilla-inbound to mozilla-central a=merge
2015-09-28 14:13:24 +02:00
Yoshi Huang
872722fe37
Bug 1167100 - User nsIPrincipal.originAttribute in ContentPrincipalInfo. r=bholley
2015-09-23 18:19:06 +08:00
Ehsan Akhgari
3aafaa38cb
Bug 1207603 - Increase the timeout of test_third_party_iframes.html to give it enough time to pass on Android debug
2015-09-27 11:31:14 -04:00
Andrea Marchesini
a99df4ccc7
Bug 1207635 - get rid of dom.workers.sharedWorkers.enabled pref, r=khuey
2015-09-23 19:33:40 +01:00
Chris Peterson
71920a9550
Bug 1207030 - Enable -Wshadow flag in more directories that have no -Wshadow warnings. r=glandium
2015-09-22 21:39:03 -07:00
Andrea Marchesini
abdc1eebce
Bug 1193414 - SharedWorkers thread should be kept alive also when the SharedWorker object is CCed, r=khuey
2015-09-23 06:54:29 +01:00
Henry Chang
b6b5862949
Bug 1163254 - Add signedPkg to OriginAttributes. r=bholley
2015-09-18 15:11:58 +08:00
Nikhil Marathe
6d235278db
Bug 1203324 - disable notifications on serviceworkers. r=ehsan,wchen
...
Per the product discussion, the Notification API should be disabled in
ServiceWorker in release builds for 42 since the UX isn't great [1].
The aim is to release in 44.
Apologies for the code duplication for pref checking in Notification and
ServiceWorkerRegistration. There isn't a easy way to get
ServiceWorkerRegistration's generated binding to include Notification.h without
having an attribute/method that uses Notification.
[1]: https://mana.mozilla.org/wiki/x/TgAJAw
--HG--
extra : commitid : 5dtc2E63kuM
extra : rebase_source : 4265dcd154462aa4f3b915e9e898fe7b82bf9afc
2015-09-15 12:58:32 -07:00
Carsten "Tomcat" Book
c5551bace9
Backed out 2 changesets (bug 1169633, bug 1163254) for linux Mn-e10s test bustage on a CLOSED TREE
...
Backed out changeset 47ccf6689101 (bug 1169633)
Backed out changeset 503eab197a2d (bug 1163254)
2015-09-17 16:01:25 +02:00
hchang
2e884ff477
Bug 1163254 - Add signedPkg to OriginAttributes. r=bholley
2015-09-16 19:42:00 +02:00
Albert Crespell
b2e334e690
Bug 1182113 - Test XSLT serviceworker load. r=bkelly
2015-09-10 12:42:02 +02:00
Phil Ringnalda
92751c5b3e
Back out 3 changesets (bug 1204596) for b2g test_fetch_cors.html failures
...
Backed out changeset 2662a1ad4cad (bug 1204596)
Backed out changeset cfc4c4ecbbf5 (bug 1204596)
Backed out changeset d10c6f32ce46 (bug 1204596)
2015-09-16 20:51:17 -07:00
Ehsan Akhgari
3792ea0f2a
Bug 1204397 - Fix the test expectations to expect service workers to be enabled only on Nightly for Fennec; r=baku
...
The semantics of the new attributes are as follows:
* nightlyAndroid only takes effect on Android.
* If both nightlyAndroid and android are specified, nightlyAndroid takes
* precedence.
These two rules allow us to check for the current situation.
2015-09-16 23:10:03 -04:00
Ehsan Akhgari
622b6a36e2
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-09-16 20:38:23 -04:00
Andrea Marchesini
f0aa7a8c5f
Bug 1204775 - SharedWorker.port should be a 'real' MessagePort, r=khuey
2015-09-16 11:27:56 +08:00
Shu-yu Guo
64db2267cf
Bug 1202902
- Mass replace toplevel 'let' with 'var' in preparation for global lexical scope. (rs=jorendorff)
2015-09-15 11:19:45 -07:00
Wes Kocher
ab3e843b68
Backed out changeset ccfddcbccdac (bug 1204775) for sharedworker bustage
2015-09-15 11:08:09 -07:00
Ben Kelly
bc6fd423a1
Bug 1203680 P1 Test file blob uploads with service worker interception. r=nsm
2015-09-15 10:15:45 -07:00
Andrea Marchesini
ff25288854
Bug 1204775 - SharedWorker.port should be a 'real' MessagePort, r=khuey
2015-09-16 00:47:19 +08:00
Wes Kocher
a336f83a0a
Backed out 9 changesets (bug 1203680) for mochitest bustage CLOSED TREE
...
Backed out changeset e4733b9eb53c (bug 1203680)
Backed out changeset fb33eb2a55b0
Backed out changeset eb42e21bbb96 (bug 1203680)
Backed out changeset 86642d84e604 (bug 1203680)
Backed out changeset 1026da4b02fb (bug 1203680)
Backed out changeset 311f9810e0b3 (bug 1203680)
Backed out changeset 6fedc85dc0d9 (bug 1203680)
Backed out changeset b25230c0a193 (bug 1093357)
Backed out changeset 2369d63ef14a (bug 1203680)
2015-09-14 14:27:57 -07:00
Wes Kocher
b4b28bfb9d
Backed out 2 changesets (bug 1204397) for serviceworkers bustage
...
CLOSED TREE?
Backed out changeset 01cf8bf2f3d7 (bug 1204397)
Backed out changeset 6abdb99b2b30 (bug 1204397)
2015-09-14 12:46:57 -07:00
Ben Kelly
2da1208f50
Bug 1203680 P1 Test file blob uploads with service worker interception. r=nsm
2015-09-14 12:04:56 -07:00
Ehsan Akhgari
1f3d931c95
Bug 1204397 - Part 2: Recover from a double negative trap, r=me
2015-09-14 14:22:49 -04:00
Ehsan Akhgari
474c7a9e36
Bug 1204397 - Fix the test expectations to expect service workers to be enabled only on Nightly for Fennec; r=baku
2015-09-14 12:26:51 -04:00
Josh Matthews
6841a351b6
Bug 1198544 - Prevent FetchDriver from creating multiple responses if OnStopRequest yields a failing status code. r=nsm
2015-09-14 11:05:35 -04:00
Wes Kocher
bab9b5abf4
Backed out changeset 132aa442af95 (bug 1198544) for browser_ManifestObtainer_obtain.js failures CLOSED TREE
2015-09-11 11:53:52 -07:00
Josh Matthews
7e4893bc7a
Bug 1198544 - Prevent FetchDriver from creating multiple responses if OnStopRequest yields a failing status code. r=nsm
2015-09-11 13:23:29 -04:00
Nicholas Nethercote
ef4348692c
Bug 1203357 - Fix MSVC warning in dom/workers/test/gtest/TestReadWrite.cpp. r=baku.
...
The particular warning here was complaining about an unsafe comparison between
a uint32_t and a bool.
Also, remove ALLOW_COMPILER_WARNINGS=True for this directory.
--HG--
extra : rebase_source : e2ce5c425a48bf9cf29182f222d1f2dd44eb9bc8
2015-09-10 08:02:30 -07:00
Ehsan Akhgari
0cb3e73aaa
Bug 1203160
- Part 2: Fix the interfaces tests to allow SW interfaces for non-release Fennec; r=baku
2015-09-10 01:05:17 -04:00
Ehsan Akhgari
06394a9a8b
Bug 815299 - Part 3: Accept empty HTTP headers in XHR; r=jdm
2015-09-09 07:54:33 -04:00
Ehsan Akhgari
0d3d9044a6
Bug 815299 - Part 2: Accept empty HTTP headers in fetch; r=jdm
2015-09-09 07:53:50 -04:00
Nigel Babu
2ac21d8fc7
Backed out changeset 3555d4b1ab1e (bug 815299) for M4 bustage.
2015-09-09 09:12:31 +05:30
Nigel Babu
ee4f599e0f
Backed out changeset 0a2a9972b4c7 (bug 815299) for M4 bustage.
2015-09-09 09:12:28 +05:30
Nigel Babu
14c4d4b047
Backed out changeset 9f3adfd2ca52 (bug 815299) for M4 bustage.
2015-09-09 09:12:24 +05:30
Ehsan Akhgari
3625cc93e2
Bug 815299 - Part 4: Address jdm's review comments
2015-09-08 20:38:33 -04:00
Ehsan Akhgari
617067e78e
Bug 815299 - Part 3: Accept empty HTTP headers in XHR; r=jdm
2015-09-08 20:08:32 -04:00
Ehsan Akhgari
4d0639bd0c
Bug 815299 - Part 2: Accept empty HTTP headers in fetch; r=jdm
2015-09-08 20:08:31 -04:00
Ben Kelly
d280435063
Bug 1184967 P3 Switch mochitest redirect tests back to returning a CORS Response. r=nsm
2015-09-01 07:58:34 -07:00
Ben Kelly
1da0e73e32
Bug 1184607 P8 Fix mochitests to store opaqueredirect responses in Cache for navigation URLs. r=nsm
2015-08-31 14:26:30 -07:00
Ehsan Akhgari
db2d2576d7
Bug 1199693 - Test CORS preflight interception with and without an internal redirect; r=jdm
2015-08-31 08:45:56 -04:00
Nicholas Nethercote
f44287005f
Bug 1198334 (part 1) - Replace the opt-in FAIL_ON_WARNINGS with the opt-out ALLOW_COMPILER_WARNINGS. r=glandium.
...
The patch removes 455 occurrences of FAIL_ON_WARNINGS from moz.build files, and
adds 78 instances of ALLOW_COMPILER_WARNINGS. About half of those 78 are in
code we control and which should be removable with a little effort.
--HG--
extra : rebase_source : 82e3387abfbd5f1471e953961d301d3d97ed2973
2015-08-27 20:44:53 -07:00
Kyle Huey
d6d7537d63
Bug 1198982: Test fixups. r=me
2015-08-30 11:42:28 -07:00
Kyle Huey
d4f49ff9e9
Bug 1198982: Don't fail the SW load for an importScripts failure. r=bkelly
2015-08-30 10:31:52 -07:00
Nikhil Marathe
1c97261710
Bug 1176988 - Patch 3 - Tests. r=jdm
...
Update web-platform-tests expected data
--HG--
extra : commitid : KmmRlr87yvj
extra : rebase_source : 7e7ba00d6f0da2c0dfdfe98c50675d4721a6f2a2
2015-08-26 08:59:04 -07:00
Phil Ringnalda
700dfcd3d1
Back out f9edb5fe8fb9 (bug 1198982) for webplatform registration.https.html failures
...
CLOSED TREE
2015-08-26 21:36:40 -07:00
Kyle Huey
517ebc93c6
Bug 1198982: Don't fail the SW load for an importScripts failure. r=bkelly
2015-08-26 19:21:03 -07:00
Nikhil Marathe
fe819ad8d7
Bug 1180861 - Various ServiceWorker registration fixes to get test passing. r=bkelly,jgraham.
...
This commit implements the following changes to get registration.https.html working.
1) Fail with NS_ERROR_DOM_SECURITY_ERR where the spec requires it.
2) Propagate JSExnType to ServiceWorkerManager::HandleError() so that a JS
exception object with the correct .name can be created.
3) Fail with security error on redirect failure.
4) Check fetched script's mimetype.
5) Add missing python server files for web-platform-tests.
6) Update web-platform-tests expected data.
7) Several tests have been changed to use TypeError or more appropriate JS
errors based on my reading of the spec.
--HG--
extra : commitid : IxWo2IVUweU
extra : rebase_source : c3c1ead153027bf84e7f239fd7125224fe25c3c0
2015-08-19 16:21:25 -07:00
Andrea Marchesini
24bd2e4412
Bug 1185640 - serviceworker register() should not accept escaped slashes. r=bkelly
...
--HG--
extra : commitid : 7XFc06lyJkq
extra : rebase_source : 4be886456a92e53e69ac35afd5213d7b7751cb7c
2015-08-19 13:23:58 -07:00
Nikhil Marathe
b540329bb9
Bug 1189644 - Update waitUntil() and activation to spec. r=catalinb
...
waitUntil() has been updated to accept multiple calls and concatenate them into Promise.all().
activation does not fail any more even if the promise(s) passed to waitUntil() reject.
Update web-platform-tests expected data
--HG--
extra : commitid : IawOgxEfc79
extra : rebase_source : e6fcc47c873fd9f71f51a67303a6566bf0c0dd21
extra : amend_source : 787990406129722a3c58ff78782d778823daf2bf
2015-08-24 14:42:14 -07:00
Ryan VanderMeulen
ad4abd6428
Backed out 7 changesets (bug 1189678, bug 1193128, bug 1189661, bug 1189644, bug 1189675) for various serviceworker mochitest and wpt failures.
...
Backed out changeset 696463139720 (bug 1189661)
Backed out changeset 7babb5b9d74a (bug 1189644)
Backed out changeset d4fa5cfc4b86 (bug 1189678)
Backed out changeset a7c27770b861 (bug 1189675)
Backed out changeset 471a45b97ce2 (bug 1189644)
Backed out changeset 4d96f2d48077 (bug 1193128)
Backed out changeset a9d5366288ff (bug 1189661)
CLOSED TREE
2015-08-24 18:09:47 -04:00
Nikhil Marathe
680d1fe469
Bug 1189644 - Follow up to fix test. a=bustage
...
CLOSED TREE
--HG--
extra : commitid : 5MFDWqWODAV
extra : amend_source : 9ea1f0c0ea7f99ff4267f435454895fd9522d43b
2015-08-24 13:54:25 -07:00
Jose Antonio Olivera Ortega
3ff1bb96f6
Bug 1182103 - Test EventSource scenarios with fetch interception. r=bkelly
2015-08-24 06:32:00 -04:00
dimi
888dac0c00
Bug 1187766 - Test loading plugins scenarios with fetch interception. r=bkelly
2015-08-21 15:09:46 +08:00
dimi
04198b30cb
Bug 1189235 - Use originAttribute for ServiceWorkerRegistrar. r=baku
2015-08-20 18:20:19 +08:00
Nikhil Marathe
0047229d92
Bug 1187350 - update() should return a Promise. r=ehsan,catalinb
...
--HG--
extra : commitid : 2SkKnobC9jo
extra : rebase_source : 5f5d5c3ca57237fb63044c66a48861a1a4bf19f3
extra : amend_source : 5ea042fc5cc2be52594eca1fd6cda2f36057b3eb
2015-08-14 15:06:00 -07:00