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
Nigel Babu
d78ab7197e
Backed out changeset f447f7b8190b (bug 1185640) for W8 failures on CLOSED TREE
...
--HG--
extra : amend_source : 1fca18be89fda404fb71c3f0c8550011ded2d7de
2015-08-20 16:12:00 +05:30
Andrea Marchesini
c59e2e345a
Bug 1185640 - ServiceWorkers - Passing a scope or scriptURL to register() with escaped '/' or '\' should fail, r=bkelly
2015-08-20 08:46:01 +01:00
Andrea Marchesini
ce594e8b18
Bug 1196514
- remove dom.messagechannel.enabled pref, r=smaug
2015-08-20 08:34:38 +01: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
Hiroyuki Ikezoe
07f62b2d0a
Bug 1165796 - Part 2: Implement PerformanceObserver.r=baku
...
--HG--
extra : rebase_source : 9ccd3f9c8932841aed6a13986a4466fac0197902
2015-08-17 15:13:20 -07:00
Ryan VanderMeulen
1e86901d36
Backed out changeset 4a8f45990368 (bug 1185640) for causing serviceworker w-p-t permacrashes.
...
CLOSED TREE
2015-08-13 10:13:55 -04:00
Andrea Marchesini
2792224a7f
Bug 1185640 - Passing a scope or scriptURL to register() with escaped '/' or '\' should fail, r=bkelly
2015-08-13 11:34:52 +01:00
Andrea Marchesini
5a264a19df
Bug 1187470 - ServiceWorker scripts should not be treated parser warnings as errors, r=bkelly
...
--HG--
rename : dom/workers/test/serviceworkers/strict_mode_error.js => dom/workers/test/serviceworkers/strict_mode_warning.js
rename : dom/workers/test/serviceworkers/test_strict_mode_error.html => dom/workers/test/serviceworkers/test_strict_mode_warning.html
2015-08-13 10:52:15 +01:00
Albert Crespell
8e93c098d1
Bug 1182120 - Test XMLDocument.load() with fetch interception. r=bkelly
2015-08-12 06:43:27 +02:00
Seth Fowler
3c08b48c3a
Bug 1193125 - Avoid corrupting image data in test_fetch_event.html. r=bkelly
2015-08-11 23:50:28 -07:00