Commit Graph
1154 Commits
Author SHA1 Message Date
Andrea Marchesini 34a23530f7 Bug 1388413 - ServiceWorkerClients::openWindow() - OriginAttributes test, r=smaug 2017-09-28 10:38:58 +02:00
Wes Kocher f28f5c479d Backed out 3 changesets (bug 1388413) for failures in browser_userContextId_openWindow.js a=bustage
Backed out changeset aa2f3c4c3242 (bug 1388413)
Backed out changeset 8f8b7e60f397 (bug 1388413)
Backed out changeset a4d6924a59f1 (bug 1388413)

MozReview-Commit-ID: Gp0AwTKEAGO
2017-09-28 16:57:21 -07:00
Andrea Marchesini 2836ae9377 Bug 1388413 - ServiceWorkerClients::openWindow() - OriginAttributes test using tabs, r=me 2017-09-28 16:42:23 +02:00
Andrea Marchesini 2fb3bdaa70 Bug 1388413 - ServiceWorkerClients::openWindow() - OriginAttributes test, r=smaug 2017-09-28 10:38:58 +02:00
Alexandre Poirot b5cffeea3f Bug 1392540 - Keep running debugger Promise while debugging workers. r=baku
MozReview-Commit-ID: JsA0Y943egB
2017-08-10 13:27:07 +02:00
Sebastian Hengst 14b84f963d merge mozilla-central to autoland. r=merge a=merge 2017-09-24 23:53:44 +02:00
Samael Wang abc471c799 Bug 1364364 - Part 5.2: Remove browser.sessionhistory.cache_subframes and fix test cases relying on it. r=smaug
browser.sessionhistory.cache_subframes has been disabled for 12yrs. It's not
actually maintained and it leaks content viewers. Using this unreliable feature
in test cases is a bad practice, so remove the pref completely and fix existing
test cases.

MozReview-Commit-ID: 3tQLpsqmmaq
2017-09-05 16:02:04 +08:00
Samael Wang 17bb0e5542 Bug 1364364 - Part 5.1: Rename frame/iframe.html of to-be-modifed test cases. r=smaug
Since git lacks of native rename command, git-cinnabar can only recognize
and convert plain mv to hg rename, so I need a separated patch for renaming.

MozReview-Commit-ID: 4M6n5wIWoFl
2017-09-05 15:57:21 +08:00
Chris Peterson 6137e4ff8b Bug 870698 - Part 2: Replace Append("") with AppendLiteral(""). r=erahm
MozReview-Commit-ID: CrkIP4iHP1U
2017-09-03 22:14:11 -07:00
Ben Kelly 3509526bfe Bug 1336364 P8 Expand test_third_party_iframes.html to verify worker scripts are intercepted. r=asuth 2017-09-20 09:24:07 -07:00
Ben Kelly 8e642a41fe Bug 1336364 P7 Add a mochitest to verify subresource fetch events still work with 3rd party iframe cookies disabled. r=asuth 2017-09-20 09:24:07 -07:00
Ben Kelly f5bc2bd861 Bug 1336364 P6 Ensure that we don't control a document if its window cannot access storage. r=asuth 2017-09-20 09:24:07 -07:00
Ben Kelly bd8ef4ab41 Bug 1336364 P5 Disable service worker getRegistrations() if storage is disallowed for a window. r=asuth 2017-09-20 09:24:07 -07:00
Ben Kelly e41672cc04 Bug 1336364 P4 Disallow service worker register() is storage is forbidden for the window. r=asuth 2017-09-20 09:24:07 -07:00
Ben Kelly bca9af1161 Bug 1336364 P3 Restrict service worker interception for more cookie policies. r=asuth 2017-09-20 09:24:06 -07:00
Andrew Sutherland 52caea61c4 Bug 1378949 - Fix SW notification tests that assumed activated SW to wait for activation. r=bkelly
Bug 1378949 found test_notificationclick_focus.html timing out because the
ServiceWorker activation raced the creation of an iframe document that wanted
to be controlled by the serviceworker.

The documents that wanted to be controlled had a half-hearted attempt at
dealing with this by using navigator.serviceWorker.ready, but that would only
work if the SW's attempted to claim the clients if they already existed, which
they did not.

This patch cleans up the defective test and its sibling tests that follow the
same idioms.
2017-09-15 16:05:16 -04:00
Shawn Huang 38b0eaff64 Bug 1399038 - Enable Storage API on beta/release. r=janv, baku 2017-09-13 21:46:36 +08:00
Ryan VanderMeulen e07311eba2 Backed out 7 changesets (bug 1364364) for causing bug 1399182.
Backed out changeset c517d8071dfb (bug 1364364)
Backed out changeset 809036cfd7d9 (bug 1364364)
Backed out changeset c394b06dc30c (bug 1364364)
Backed out changeset c5a737bbfdeb (bug 1364364)
Backed out changeset 21ee8f318a47 (bug 1364364)
Backed out changeset 074475da0f2c (bug 1364364)
Backed out changeset de6c153ec533 (bug 1364364)
2017-09-12 13:21:17 -04:00
Thomas Wisniewski 4be60cb09e Bug 1392220 - do not parse or return body for XHRs with HEAD or CONNECT method; r=baku
MozReview-Commit-ID: 40CxCiSFdjC
2017-09-09 15:34:48 -04:00
Samael Wang f453bbca1e Bug 1364364 - Part 5.2: Remove browser.sessionhistory.cache_subframes and fix test cases relying on it. r=smaug
browser.sessionhistory.cache_subframes has been disabled for 12yrs. It's not
actually maintained and it leaks content viewers. Using this unreliable feature
in test cases is a bad practice, so remove the pref completely and fix existing
test cases.

MozReview-Commit-ID: 3tQLpsqmmaq
2017-09-05 16:02:04 +08:00
Samael Wang e4e358bb96 Bug 1364364 - Part 5.1: Rename frame/iframe.html of to-be-modifed test cases. r=smaug
Since git lacks of native rename command, git-cinnabar can only recognize
and convert plain mv to hg rename, so I need a separated patch for renaming.

MozReview-Commit-ID: 4M6n5wIWoFl
2017-09-05 15:57:21 +08:00
Ryan VanderMeulen 3b59e5e66d Bug 1397982 - Update the expectations for test_interfaces.js and test_worker_interfaces.js now that Abort API is being shipped by default. r=baku 2017-09-08 08:28:30 -04:00
Hiroyuki Ikezoe 47bdc5c478 Bug 1397980 - Drop nightly only flag for PerformanceObserver and PerformanceObserverEntryList. r=baku
They have been already enabled on all channels in bug 1386021.

MozReview-Commit-ID: BCin6tCweqV
2017-09-08 12:18:13 +09:00
Sebastian Hengst 0d6d2740c7 Backed out changeset d89fe870c4a8 (bug 1364364) 2017-09-07 16:49:28 +02:00
Sebastian Hengst 37a7cb134a Backed out changeset 0458fccefb5c (bug 1364364) 2017-09-07 16:49:22 +02:00
Samael Wang 28a88ab41f Bug 1364364 - Part 5.2: Remove browser.sessionhistory.cache_subframes and fix test cases relying on it. r=smaug
browser.sessionhistory.cache_subframes has been disabled for 12yrs. It's not
actually maintained and it leaks content viewers. Using this unreliable feature
in test cases is a bad practice, so remove the pref completely and fix existing
test cases.

MozReview-Commit-ID: 3tQLpsqmmaq
2017-09-05 16:02:04 +08:00
Samael Wang 197b59ce3d Bug 1364364 - Part 5.1: Rename frame/iframe.html of to-be-modifed test cases. r=smaug
Since git lacks of native rename command, git-cinnabar can only recognize
and convert plain mv to hg rename, so I need a separated patch for renaming.

MozReview-Commit-ID: 4M6n5wIWoFl
2017-09-05 15:57:21 +08:00
Wes Kocher 07eb2c1398 Backed out 7 changesets (bug 1364364) for failures in test_multi_sharedWorker_lifetimes.html a=backout
Backed out changeset 6298563c1a81 (bug 1364364)
Backed out changeset 285633e277cb (bug 1364364)
Backed out changeset 6abd3298188a (bug 1364364)
Backed out changeset 6a0ec9eff8c3 (bug 1364364)
Backed out changeset f23aa9861e9b (bug 1364364)
Backed out changeset 5d6bf02b495a (bug 1364364)
Backed out changeset c9420f4e27f7 (bug 1364364)

MozReview-Commit-ID: IAFeH325T14
2017-09-06 13:07:13 -07:00
Samael Wang eec01549aa Bug 1364364 - Part 5.2: Remove browser.sessionhistory.cache_subframes and fix test cases relying on it. r=smaug
browser.sessionhistory.cache_subframes has been disabled for 12yrs. It's not
actually maintained and it leaks content viewers. Using this unreliable feature
in test cases is a bad practice, so remove the pref completely and fix existing
test cases.

MozReview-Commit-ID: 3tQLpsqmmaq
2017-09-05 16:02:04 +08:00
Samael Wang 0f07baf305 Bug 1364364 - Part 5.1: Rename frame/iframe.html of to-be-modifed test cases. r=smaug
Since git lacks of native rename command, git-cinnabar can only recognize
and convert plain mv to hg rename, so I need a separated patch for renaming.

MozReview-Commit-ID: 4M6n5wIWoFl
2017-09-05 15:57:21 +08:00
Andrea Marchesini b08da83d5b Bug 1395006 - Use preferences to enable Abort API for testing in release. r=qdot 2017-08-29 23:09:00 -04:00
Masatoshi Kimura 69cad753eb Bug 1098412 - Remove and update tests that use the legacy Iterator constructor. r=luke
MozReview-Commit-ID: G7q3ARzOYFf
2017-08-24 22:45:53 +09:00
Andrea Marchesini 1982e8b9b0 Bug 1378342 - AbortSignal/AbortController - part 5 - Some WPTs pass, r=bkelly 2017-08-29 11:31:06 +02:00
Sebastian Hengst 01aa90b3cc Backed out changeset 6cbeeec89846 (bug 1378342) 2017-08-29 09:17:04 +02:00
Andrea Marchesini 0fe8e82961 Bug 1378342 - AbortSignal/AbortController - part 5 - Some WPTs pass, r=bkelly 2017-08-29 07:30:20 +02:00
Ho-Pang Hsu 1153df23ab Bug 1353636 - Part 3: Update SERVICEWORKERREGISTRAR_VERSION and a related gtest. r=bkelly 2017-08-17 15:29:26 +08:00
Gabor Krizsanits 9739fe4d7f Bug 1376895 - Disable preloaded browser in two mochitests. r=me
nsIIOService based events when used via SpecialPowers in mochitests
combined with the preloaded browser in the same process can cause
IsSafeToRun() assertion in SchedulerGroup.h:81. To avoid that we make sure that
previous tests in the suit do not create a preloaded browser. This cannot happen
in a real life scenario.
2017-08-16 13:00:04 +02:00
Carsten "Tomcat" Book 996836b576 Backed out changeset 6949fdc7f97c (bug 1376895) 2017-08-16 11:16:04 +02:00
Gabor Krizsanits 52432bd611 Bug 1376895 - Disable preloaded browser in two mochitests. r=me
nsIIOService based events when used via SpecialPowers in mochitests
combined with the preloaded browser in the same process can cause
IsSafeToRun() assertion in SchedulerGroup.h:81. To avoid that we make sure that
previous tests in the suit do not create a preloaded browser. This cannot happen
in a real life scenario.
2017-08-15 14:04:54 +02:00
Wes Kocher 7672800a1a Backed out 2 changesets (bug 1376895) for breaking browser_identity_UI.js with assertions in nsPermissionManager.cpp a=backout
Backed out changeset 620d01ac103a (bug 1376895)
Backed out changeset 3a06ab7fda1a (bug 1376895)

MozReview-Commit-ID: 2C8kUg77dz8
2017-08-14 13:13:45 -07:00
Gabor Krizsanits f76fdb5b6e Bug 1376895 - Disable preloaded browser in two mochitests. r=me
nsIIOService based events when used via SpecialPowers in mochitests
combined with the preloaded browser in the same process can cause
IsSafeToRun() assertion in SchedulerGroup.h:81. To avoid that we make sure that
previous tests in the suit do not create a preloaded browser. This cannot happen
in a real life scenario.
2017-08-14 17:41:46 +02:00
Andrea Marchesini 693036056d Bug 1128959 - Implement the WHATWG Streams spec - part 16 - report stream errors during consumption r=bkelly 2017-08-10 18:04:56 -07:00
Andrea Marchesini 75f65419b6 Bug 1128959 - Implement the WHATWG Streams spec - part 12 - starting body consuming and passing the JSContext down from the binding entrypoints to where the ReadableStream could be read, r=bz
This patch does 2 things:

. when SetBodyUsed() is called, the pump for the stream reading is activated.

. Just because of the reading of the stream could end up executing JS code, we
  need to pass the JSContext in the correct state down to SetBodyUsed.
2017-08-10 18:04:55 -07:00
Paolo Amadini d1e1b518d1 Bug 1381411 - Implement the DownloadHistoryList object. r=mak
This also changes the Library window to use the newly added back-end object. The only user-visible change should be how the selection behaves when retrying downloads.

MozReview-Commit-ID: 7CQr1m21rcB
2017-08-04 14:48:53 +01:00
Till Schneidereit d71787ff6a Bug 1272697 - Part 3: Implement ReadableStream and associated classes in the JS engine. r=shu
MozReview-Commit-ID: E4uux96ed2m
2017-07-29 16:47:26 +02:00
Marco Castelluccio 3adbdd5a5d Bug 1357517 - Remove Preferences.jsm usage from workers test. r=bz 2017-07-28 21:20:53 +02:00
Sebastian Hengst 5f45c208ba Backed out changeset 862ba8683d19 (bug 1272697) 2017-07-28 20:18:28 +02:00
Till Schneidereit 87de2809be Bug 1272697 - Part 3: Implement ReadableStream and associated classes in the JS engine. r=shu
MozReview-Commit-ID: E4uux96ed2m
2017-07-28 17:48:14 +02:00
Ho-Pang Hsu 910c980b55 Bug 1356014 - Wait for appearance of the desired channel to do the related checks. r=bkelly 2017-07-28 15:06:34 +08:00
Zibi Braniecki 3d30adb2ed Bug 1344625: Revert "Bug 1349879 - Intl object is hidden on Android beta and release channel". r=m_kato
MozReview-Commit-ID: 3hMis1hhqag
2017-07-17 22:21:47 -07:00