Hi, scheduler-dev.IIUC, we have one scheduler per LocalFrame, and tasks posted from different frames may be shuffled as they are queued to separate TaskQueues.However, according to the html spec, there must be at most one event loop per unit of related similar origin browser contexts.That means, we have to keep the task ordering when two same origin-domain iframes queued tasks each. I think the current set up of the scheduler and frames do not guarantee the ordering of such tasks.
So, to be compliant to the spec, IMO, we should update the scheduler granularity to, probably, per "scheme & eTLD+1", so that all potentially same origin-domain browsing contexts shares the same scheduler.E.g.: "http://foo.example.com:8080" and "http://bar.example.com:80" have the same scheme ("http") and same eTLD+1 ("example.com").WDYT?
--
You received this message because you are subscribed to the Google Groups "scheduler-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to scheduler-dev+unsubscribe@chromium.org.
To post to this group, send email to schedu...@chromium.org.
To view this discussion on the web visit https://groups.google.com/a/chromium.org/d/msgid/scheduler-dev/CAFK_eqTS_G5KgmtvxMg-s9yXbjBAE5gP2NQf2BXQPZBuWfyKwA%40mail.gmail.com.
On 24 October 2017 at 08:47, Taiju Tsuiki <tz...@chromium.org> wrote:Hi, scheduler-dev.IIUC, we have one scheduler per LocalFrame, and tasks posted from different frames may be shuffled as they are queued to separate TaskQueues.However, according to the html spec, there must be at most one event loop per unit of related similar origin browser contexts.That means, we have to keep the task ordering when two same origin-domain iframes queued tasks each. I think the current set up of the scheduler and frames do not guarantee the ordering of such tasks.Unless the scheduler decides to intervene (i.e. throttle some queues or prioritise compositor work) then tasks are executed in posting order regardless of which queue they're posted to.Â
So, to be compliant to the spec, IMO, we should update the scheduler granularity to, probably, per "scheme & eTLD+1", so that all potentially same origin-domain browsing contexts shares the same scheduler.E.g.: "http://foo.example.com:8080" and "http://bar.example.com:80" have the same scheme ("http") and same eTLD+1 ("example.com").WDYT?
--
You received this message because you are subscribed to the Google Groups "scheduler-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to scheduler-de...@chromium.org.
To post to this group, send email to schedu...@chromium.org.
To view this discussion on the web visit https://groups.google.com/a/chromium.org/d/msgid/scheduler-dev/CAFK_eqTS_G5KgmtvxMg-s9yXbjBAE5gP2NQf2BXQPZBuWfyKwA%40mail.gmail.com.
--
You received this message because you are subscribed to the Google Groups "scheduler-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to scheduler-de...@chromium.org.
To post to this group, send email to schedu...@chromium.org.
To view this discussion on the web visit https://groups.google.com/a/chromium.org/d/msgid/scheduler-dev/CAPG_qM6ypz38grhT10JHpV%2B30vBat62iSy0AVK4sycqm2FhgOA%40mail.gmail.com.
There's one case where ordering isn't guaranteed: delayed tasks don't respect the posting order constraint across multiple task queues. Normally this isn't a problem except in special cases (virtual time), but technically it means that taking a task queue and splitting it into two separate ones will affect task ordering even if everything else remains the same.I think the larger issue is that we should not be providing any guarantee about task ordering across multiple task queues -- that's the whole point of decomposing tasks into distinct queues in the first place. I don't think the "at most one event loop" language contradicts this, but the difference is that we can have more than one task queue for a particular task source. I'm thinking we may want to change the spec to allow this since a lot of the scheduling flexibility comes from this level of control.- Samiti 24. lokak. 2017 klo 8.57 'Alex Clarke' via scheduler-dev <schedu...@chromium.org> kirjoitti:On 24 October 2017 at 08:47, Taiju Tsuiki <tz...@chromium.org> wrote:Hi, scheduler-dev.IIUC, we have one scheduler per LocalFrame, and tasks posted from different frames may be shuffled as they are queued to separate TaskQueues.However, according to the html spec, there must be at most one event loop per unit of related similar origin browser contexts.That means, we have to keep the task ordering when two same origin-domain iframes queued tasks each. I think the current set up of the scheduler and frames do not guarantee the ordering of such tasks.Unless the scheduler decides to intervene (i.e. throttle some queues or prioritise compositor work) then tasks are executed in posting order regardless of which queue they're posted to.ÂÂNote that a group of same origin-domain may be changed dynamically by modifying document.domain.ÂSo, to be compliant to the spec, IMO, we should update the scheduler granularity to, probably, per "scheme & eTLD+1", so that all potentially same origin-domain browsing contexts shares the same scheduler.E.g.: "http://foo.example.com:8080" and "http://bar.example.com:80" have the same scheme ("http") and same eTLD+1 ("example.com").WDYT?
--
You received this message because you are subscribed to the Google Groups "scheduler-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to scheduler-dev+unsubscribe@chromium.org.
To post to this group, send email to schedu...@chromium.org.
To view this discussion on the web visit https://groups.google.com/a/chromium.org/d/msgid/scheduler-dev/CAFK_eqTS_G5KgmtvxMg-s9yXbjBAE5gP2NQf2BXQPZBuWfyKwA%40mail.gmail.com.
--
You received this message because you are subscribed to the Google Groups "scheduler-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to scheduler-dev+unsubscribe@chromium.org.
To post to this group, send email to schedu...@chromium.org.
To view this discussion on the web visit https://groups.google.com/a/chromium.org/d/msgid/scheduler-dev/CAPG_qM6ypz38grhT10JHpV%2B30vBat62iSy0AVK4sycqm2FhgOA%40mail.gmail.com.
--
You received this message because you are subscribed to the Google Groups "scheduler-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to scheduler-dev+unsubscribe@chromium.org.
To view this discussion on the web visit https://groups.google.com/a/chromium.org/d/msgid/scheduler-dev/CAPuLczubrkEaivaFUBYi46rDL5i42muqFQivzDY%2BxsfwUTxGBg%40mail.gmail.com.
On 24 October 2017 at 18:54, Sami Kyostila <skyo...@chromium.org> wrote:There's one case where ordering isn't guaranteed: delayed tasks don't respect the posting order constraint across multiple task queues. Normally this isn't a problem except in special cases (virtual time), but technically it means that taking a task queue and splitting it into two separate ones will affect task ordering even if everything else remains the same.I think the larger issue is that we should not be providing any guarantee about task ordering across multiple task queues -- that's the whole point of decomposing tasks into distinct queues in the first place. I don't think the "at most one event loop" language contradicts this, but the difference is that we can have more than one task queue for a particular task source. I'm thinking we may want to change the spec to allow this since a lot of the scheduling flexibility comes from this level of control.- Samiti 24. lokak. 2017 klo 8.57 'Alex Clarke' via scheduler-dev <schedu...@chromium.org> kirjoitti:On 24 October 2017 at 08:47, Taiju Tsuiki <tz...@chromium.org> wrote:Hi, scheduler-dev.IIUC, we have one scheduler per LocalFrame, and tasks posted from different frames may be shuffled as they are queued to separate TaskQueues.However, according to the html spec, there must be at most one event loop per unit of related similar origin browser contexts.That means, we have to keep the task ordering when two same origin-domain iframes queued tasks each. I think the current set up of the scheduler and frames do not guarantee the ordering of such tasks.Unless the scheduler decides to intervene (i.e. throttle some queues or prioritise compositor work) then tasks are executed in posting order regardless of which queue they're posted to.ÂÂNote that a group of same origin-domain may be changed dynamically by modifying document.domain.ÂSo, to be compliant to the spec, IMO, we should update the scheduler granularity to, probably, per "scheme & eTLD+1", so that all potentially same origin-domain browsing contexts shares the same scheduler.E.g.: "http://foo.example.com:8080" and "http://bar.example.com:80" have the same scheme ("http") and same eTLD+1 ("example.com").WDYT?I feel that we want to change the spec here and give the scheduler ability to schedule frames independently. For example, we are thinking about throttling same-origin frames and this is prohibited by the current wording of the spec. I'd prefer to change the spec to something like "tasks with the same task source related to the same frame are posted to the same task queue". Are there any downsides to this approach?Â
----
You received this message because you are subscribed to the Google Groups "scheduler-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to scheduler-dev+unsubscribe@chromium.org.
To post to this group, send email to schedu...@chromium.org.
To view this discussion on the web visit https://groups.google.com/a/chromium.org/d/msgid/scheduler-dev/CAFK_eqTS_G5KgmtvxMg-s9yXbjBAE5gP2NQf2BXQPZBuWfyKwA%40mail.gmail.com.
You received this message because you are subscribed to the Google Groups "scheduler-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to scheduler-dev+unsubscribe@chromium.org.
To post to this group, send email to schedu...@chromium.org.
To view this discussion on the web visit https://groups.google.com/a/chromium.org/d/msgid/scheduler-dev/CAPG_qM6ypz38grhT10JHpV%2B30vBat62iSy0AVK4sycqm2FhgOA%40mail.gmail.com.
To view this discussion on the web visit https://groups.google.com/a/chromium.org/d/msgid/scheduler-dev/CAPuLczubrkEaivaFUBYi46rDL5i42muqFQivzDY%2BxsfwUTxGBg%40mail.gmail.com.--
You received this message because you are subscribed to the Google Groups "scheduler-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to scheduler-dev+unsubscribe@chromium.org.
To post to this group, send email to schedu...@chromium.org.
--
You received this message because you are subscribed to the Google Groups "scheduler-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to scheduler-dev+unsubscribe@chromium.org.
To post to this group, send email to schedu...@chromium.org.
To view this discussion on the web visit https://groups.google.com/a/chromium.org/d/msgid/scheduler-dev/CALHg4n%3D%2BYnfJS-aSLB4vh7t-n0qsS53K74-0RRcogVFHRpqeDA%40mail.gmail.com.
To unsubscribe from this group and stop receiving emails from it, send an email to scheduler-de...@chromium.org.
To post to this group, send email to schedu...@chromium.org.
To view this discussion on the web visit https://groups.google.com/a/chromium.org/d/msgid/scheduler-dev/CAFK_eqTS_G5KgmtvxMg-s9yXbjBAE5gP2NQf2BXQPZBuWfyKwA%40mail.gmail.com.
--
You received this message because you are subscribed to the Google Groups "scheduler-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to scheduler-de...@chromium.org.
To post to this group, send email to schedu...@chromium.org.
To view this discussion on the web visit https://groups.google.com/a/chromium.org/d/msgid/scheduler-dev/CAPG_qM6ypz38grhT10JHpV%2B30vBat62iSy0AVK4sycqm2FhgOA%40mail.gmail.com.
--
You received this message because you are subscribed to the Google Groups "scheduler-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to scheduler-de...@chromium.org.
To view this discussion on the web visit https://groups.google.com/a/chromium.org/d/msgid/scheduler-dev/CAPuLczubrkEaivaFUBYi46rDL5i42muqFQivzDY%2BxsfwUTxGBg%40mail.gmail.com.
--
You received this message because you are subscribed to the Google Groups "scheduler-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to scheduler-de...@chromium.org.
To post to this group, send email to schedu...@chromium.org.
To view this discussion on the web visit https://groups.google.com/a/chromium.org/d/msgid/scheduler-dev/CALHg4n%3D%2BYnfJS-aSLB4vh7t-n0qsS53K74-0RRcogVFHRpqeDA%40mail.gmail.com.
--Kentaro Hara, Tokyo, Japan
To your example, I'd expect that most of the time doSomethingThatPostsATask() can figure out which document it's associated with and resolve to a frame that way. Do you have counter-examples in mind?
If we go with per-origin instead of per-frame scheduling, we can't do things like throttling out-of-view cross origin frames if one frame in that origin is still visible.
Note that Safari is already doing this kind of throttling even for same origin frames so they're not following the spec either. I think we should change the text.
- Sami
To unsubscribe from this group and stop receiving emails from it, send an email to scheduler-dev+unsubscribe@chromium.org.
To post to this group, send email to schedu...@chromium.org.
To view this discussion on the web visit https://groups.google.com/a/chromium.org/d/msgid/scheduler-dev/CAFK_eqTS_G5KgmtvxMg-s9yXbjBAE5gP2NQf2BXQPZBuWfyKwA%40mail.gmail.com.
--
You received this message because you are subscribed to the Google Groups "scheduler-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to scheduler-dev+unsubscribe@chromium.org.
To post to this group, send email to schedu...@chromium.org.
To view this discussion on the web visit https://groups.google.com/a/chromium.org/d/msgid/scheduler-dev/CAPG_qM6ypz38grhT10JHpV%2B30vBat62iSy0AVK4sycqm2FhgOA%40mail.gmail.com.
--
You received this message because you are subscribed to the Google Groups "scheduler-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to scheduler-dev+unsubscribe@chromium.org.
To view this discussion on the web visit https://groups.google.com/a/chromium.org/d/msgid/scheduler-dev/CAPuLczubrkEaivaFUBYi46rDL5i42muqFQivzDY%2BxsfwUTxGBg%40mail.gmail.com.
--
You received this message because you are subscribed to the Google Groups "scheduler-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to scheduler-dev+unsubscribe@chromium.org.
To post to this group, send email to schedu...@chromium.org.
To view this discussion on the web visit https://groups.google.com/a/chromium.org/d/msgid/scheduler-dev/CALHg4n%3D%2BYnfJS-aSLB4vh7t-n0qsS53K74-0RRcogVFHRpqeDA%40mail.gmail.com.
--Kentaro Hara, Tokyo, Japan
--Kentaro Hara, Tokyo, Japan
To your example, I'd expect that most of the time doSomethingThatPostsATask() can figure out which document it's associated with and resolve to a frame that way. Do you have counter-examples in mind?For example, what would happen in the following case? // main frame let xhr = iframe.contentWindow.loadResource(); xhr.onload = onloadHandler; // iframe (assume that this iframe is invisible) function loadResource() {  let xhr = new XMLHttpRequest;  xhr.open(...); // This posts a loading task.  return xhr; }If the task is associated with the iframe's scheduler and the iframe is paused, the onloadHandler will not get called. Whether the onloadHandler gets called depends on whether the iframe is visible, which sounds confusing to me :/
If we go with per-origin instead of per-frame scheduling, we can't do things like throttling out-of-view cross origin frames if one frame in that origin is still visible.I'm just curious but do we have many cases where we want to throttle same-origin out-of-view frames?
Note that Safari is already doing this kind of throttling even for same origin frames so they're not following the spec either. I think we should change the text.I intuitively understand what you want to realize but I'm not quite sure how we can spec that behavior. Something like "Each realm (i.e., v8::Context) may have one event loop. A task should be posted to a relevant realm of a receiver object (i.e., xhr's relevant v8::Context)" ?
- Sami
To unsubscribe from this group and stop receiving emails from it, send an email to scheduler-de...@chromium.org.
To post to this group, send email to schedu...@chromium.org.
To view this discussion on the web visit https://groups.google.com/a/chromium.org/d/msgid/scheduler-dev/CAFK_eqTS_G5KgmtvxMg-s9yXbjBAE5gP2NQf2BXQPZBuWfyKwA%40mail.gmail.com.
--
You received this message because you are subscribed to the Google Groups "scheduler-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to scheduler-de...@chromium.org.
To post to this group, send email to schedu...@chromium.org.
To view this discussion on the web visit https://groups.google.com/a/chromium.org/d/msgid/scheduler-dev/CAPG_qM6ypz38grhT10JHpV%2B30vBat62iSy0AVK4sycqm2FhgOA%40mail.gmail.com.
--
You received this message because you are subscribed to the Google Groups "scheduler-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to scheduler-de...@chromium.org.
To view this discussion on the web visit https://groups.google.com/a/chromium.org/d/msgid/scheduler-dev/CAPuLczubrkEaivaFUBYi46rDL5i42muqFQivzDY%2BxsfwUTxGBg%40mail.gmail.com.
--
You received this message because you are subscribed to the Google Groups "scheduler-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to scheduler-de...@chromium.org.
To post to this group, send email to schedu...@chromium.org.
To view this discussion on the web visit https://groups.google.com/a/chromium.org/d/msgid/scheduler-dev/CALHg4n%3D%2BYnfJS-aSLB4vh7t-n0qsS53K74-0RRcogVFHRpqeDA%40mail.gmail.com.
--Kentaro Hara, Tokyo, Japan
--Kentaro Hara, Tokyo, Japan
ke 1. marrask. 2017 klo 13.21 Kentaro Hara <har...@chromium.org> kirjoitti:To your example, I'd expect that most of the time doSomethingThatPostsATask() can figure out which document it's associated with and resolve to a frame that way. Do you have counter-examples in mind?For example, what would happen in the following case? // main frame let xhr = iframe.contentWindow.loadResource(); xhr.onload = onloadHandler; // iframe (assume that this iframe is invisible) function loadResource() {  let xhr = new XMLHttpRequest;  xhr.open(...); // This posts a loading task.  return xhr; }If the task is associated with the iframe's scheduler and the iframe is paused, the onloadHandler will not get called. Whether the onloadHandler gets called depends on whether the iframe is visible, which sounds confusing to me :/The XMLHttpRequest is associated with the iframe's document, right? I agree that it's slightly surprising that it would be tied to the frame's visibility but it kind of makes sense.
ÂIf we go with per-origin instead of per-frame scheduling, we can't do things like throttling out-of-view cross origin frames if one frame in that origin is still visible.I'm just curious but do we have many cases where we want to throttle same-origin out-of-view frames?I don't have data, but one example I can think of is several ads from the same domain on a single page.ÂNote that Safari is already doing this kind of throttling even for same origin frames so they're not following the spec either. I think we should change the text.I intuitively understand what you want to realize but I'm not quite sure how we can spec that behavior. Something like "Each realm (i.e., v8::Context) may have one event loop. A task should be posted to a relevant realm of a receiver object (i.e., xhr's relevant v8::Context)" ?I don't know if event loop is the right thing to be multiplying here. We still only have one top-level event loop. The real difference is that there are per-frame task sources instead of them being per-event loop.
- SamiÂ
- Sami
To unsubscribe from this group and stop receiving emails from it, send an email to scheduler-dev+unsubscribe@chromium.org.
To post to this group, send email to schedu...@chromium.org.
To view this discussion on the web visit https://groups.google.com/a/chromium.org/d/msgid/scheduler-dev/CAFK_eqTS_G5KgmtvxMg-s9yXbjBAE5gP2NQf2BXQPZBuWfyKwA%40mail.gmail.com.
--
You received this message because you are subscribed to the Google Groups "scheduler-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to scheduler-dev+unsubscribe@chromium.org.
To post to this group, send email to schedu...@chromium.org.
To view this discussion on the web visit https://groups.google.com/a/chromium.org/d/msgid/scheduler-dev/CAPG_qM6ypz38grhT10JHpV%2B30vBat62iSy0AVK4sycqm2FhgOA%40mail.gmail.com.
--
You received this message because you are subscribed to the Google Groups "scheduler-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to scheduler-dev+unsubscribe@chromium.org.
To view this discussion on the web visit https://groups.google.com/a/chromium.org/d/msgid/scheduler-dev/CAPuLczubrkEaivaFUBYi46rDL5i42muqFQivzDY%2BxsfwUTxGBg%40mail.gmail.com.
--
You received this message because you are subscribed to the Google Groups "scheduler-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to scheduler-dev+unsubscribe@chromium.org.
To post to this group, send email to schedu...@chromium.org.
To view this discussion on the web visit https://groups.google.com/a/chromium.org/d/msgid/scheduler-dev/CALHg4n%3D%2BYnfJS-aSLB4vh7t-n0qsS53K74-0RRcogVFHRpqeDA%40mail.gmail.com.
--Kentaro Hara, Tokyo, Japan
--Kentaro Hara, Tokyo, Japan
--Kentaro Hara, Tokyo, Japan
--
You received this message because you are subscribed to the Google Groups "scheduler-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to scheduler-dev+unsubscribe@chromium.org.
To view this discussion on the web visit https://groups.google.com/a/chromium.org/d/msgid/scheduler-dev/CAPuLczv7x7f2eAep37_Lhr6b3yiR-tjuvMPM%2B8SayPchHmNwHw%40mail.gmail.com.
On Thu, Nov 2, 2017 at 2:43 AM, Sami Kyostila <skyo...@chromium.org> wrote:ke 1. marrask. 2017 klo 13.21 Kentaro Hara <har...@chromium.org> kirjoitti:To your example, I'd expect that most of the time doSomethingThatPostsATask() can figure out which document it's associated with and resolve to a frame that way. Do you have counter-examples in mind?For example, what would happen in the following case? // main frame let xhr = iframe.contentWindow.loadResource(); xhr.onload = onloadHandler; // iframe (assume that this iframe is invisible) function loadResource() {  let xhr = new XMLHttpRequest;  xhr.open(...); // This posts a loading task.  return xhr; }If the task is associated with the iframe's scheduler and the iframe is paused, the onloadHandler will not get called. Whether the onloadHandler gets called depends on whether the iframe is visible, which sounds confusing to me :/The XMLHttpRequest is associated with the iframe's document, right? I agree that it's slightly surprising that it would be tied to the frame's visibility but it kind of makes sense.Yeah, my worry is that throttling / pausing same-origin out-of-view iframes would have a real risk of breaking behaviors of in-view iframes.
ÂIf we go with per-origin instead of per-frame scheduling, we can't do things like throttling out-of-view cross origin frames if one frame in that origin is still visible.I'm just curious but do we have many cases where we want to throttle same-origin out-of-view frames?I don't have data, but one example I can think of is several ads from the same domain on a single page.ÂNote that Safari is already doing this kind of throttling even for same origin frames so they're not following the spec either. I think we should change the text.I intuitively understand what you want to realize but I'm not quite sure how we can spec that behavior. Something like "Each realm (i.e., v8::Context) may have one event loop. A task should be posted to a relevant realm of a receiver object (i.e., xhr's relevant v8::Context)" ?I don't know if event loop is the right thing to be multiplying here. We still only have one top-level event loop. The real difference is that there are per-frame task sources instead of them being per-event loop.Makes sense.Overall I think I understand your point :) Introducing per-frame task sources to the spec makes sense to me. My worry mentioned above is more about how to schedule tasks without starving other task queues, which seems orthogonal to whether we should add per-frame task sources or not.
Â- SamiÂ
- Sami
To unsubscribe from this group and stop receiving emails from it, send an email to scheduler-de...@chromium.org.
To post to this group, send email to schedu...@chromium.org.
To view this discussion on the web visit https://groups.google.com/a/chromium.org/d/msgid/scheduler-dev/CAFK_eqTS_G5KgmtvxMg-s9yXbjBAE5gP2NQf2BXQPZBuWfyKwA%40mail.gmail.com.
--
You received this message because you are subscribed to the Google Groups "scheduler-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to scheduler-de...@chromium.org.
To post to this group, send email to schedu...@chromium.org.
To view this discussion on the web visit https://groups.google.com/a/chromium.org/d/msgid/scheduler-dev/CAPG_qM6ypz38grhT10JHpV%2B30vBat62iSy0AVK4sycqm2FhgOA%40mail.gmail.com.
--
You received this message because you are subscribed to the Google Groups "scheduler-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to scheduler-de...@chromium.org.
To view this discussion on the web visit https://groups.google.com/a/chromium.org/d/msgid/scheduler-dev/CAPuLczubrkEaivaFUBYi46rDL5i42muqFQivzDY%2BxsfwUTxGBg%40mail.gmail.com.
--
You received this message because you are subscribed to the Google Groups "scheduler-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to scheduler-de...@chromium.org.
To post to this group, send email to schedu...@chromium.org.
To view this discussion on the web visit https://groups.google.com/a/chromium.org/d/msgid/scheduler-dev/CALHg4n%3D%2BYnfJS-aSLB4vh7t-n0qsS53K74-0RRcogVFHRpqeDA%40mail.gmail.com.
--Kentaro Hara, Tokyo, Japan
--Kentaro Hara, Tokyo, Japan
--Kentaro Hara, Tokyo, Japan
--
You received this message because you are subscribed to the Google Groups "scheduler-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to scheduler-de...@chromium.org.
Â- SamiÂ
- Sami
To unsubscribe from this group and stop receiving emails from it, send an email to scheduler-dev+unsubscribe@chromium.org.
To post to this group, send email to schedu...@chromium.org.
To view this discussion on the web visit https://groups.google.com/a/chromium.org/d/msgid/scheduler-dev/CAFK_eqTS_G5KgmtvxMg-s9yXbjBAE5gP2NQf2BXQPZBuWfyKwA%40mail.gmail.com.
--
You received this message because you are subscribed to the Google Groups "scheduler-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to scheduler-dev+unsubscribe@chromium.org.
To post to this group, send email to schedu...@chromium.org.
To view this discussion on the web visit https://groups.google.com/a/chromium.org/d/msgid/scheduler-dev/CAPG_qM6ypz38grhT10JHpV%2B30vBat62iSy0AVK4sycqm2FhgOA%40mail.gmail.com.
--
You received this message because you are subscribed to the Google Groups "scheduler-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to scheduler-dev+unsubscribe@chromium.org.
To view this discussion on the web visit https://groups.google.com/a/chromium.org/d/msgid/scheduler-dev/CAPuLczubrkEaivaFUBYi46rDL5i42muqFQivzDY%2BxsfwUTxGBg%40mail.gmail.com.
--
You received this message because you are subscribed to the Google Groups "scheduler-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to scheduler-dev+unsubscribe@chromium.org.
To post to this group, send email to schedu...@chromium.org.
To view this discussion on the web visit https://groups.google.com/a/chromium.org/d/msgid/scheduler-dev/CALHg4n%3D%2BYnfJS-aSLB4vh7t-n0qsS53K74-0RRcogVFHRpqeDA%40mail.gmail.com.
--Kentaro Hara, Tokyo, Japan
--Kentaro Hara, Tokyo, Japan
--Kentaro Hara, Tokyo, Japan
--
You received this message because you are subscribed to the Google Groups "scheduler-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to scheduler-dev+unsubscribe@chromium.org.
To view this discussion on the web visit https://groups.google.com/a/chromium.org/d/msgid/scheduler-dev/CAPuLczv7x7f2eAep37_Lhr6b3yiR-tjuvMPM%2B8SayPchHmNwHw%40mail.gmail.com.
--Kentaro Hara, Tokyo, Japan
Â- SamiÂ
- Sami
To unsubscribe from this group and stop receiving emails from it, send an email to scheduler-de...@chromium.org.
To post to this group, send email to schedu...@chromium.org.
To view this discussion on the web visit https://groups.google.com/a/chromium.org/d/msgid/scheduler-dev/CAFK_eqTS_G5KgmtvxMg-s9yXbjBAE5gP2NQf2BXQPZBuWfyKwA%40mail.gmail.com.
--
You received this message because you are subscribed to the Google Groups "scheduler-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to scheduler-de...@chromium.org.
To post to this group, send email to schedu...@chromium.org.
To view this discussion on the web visit https://groups.google.com/a/chromium.org/d/msgid/scheduler-dev/CAPG_qM6ypz38grhT10JHpV%2B30vBat62iSy0AVK4sycqm2FhgOA%40mail.gmail.com.
--
You received this message because you are subscribed to the Google Groups "scheduler-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to scheduler-de...@chromium.org.
To view this discussion on the web visit https://groups.google.com/a/chromium.org/d/msgid/scheduler-dev/CAPuLczubrkEaivaFUBYi46rDL5i42muqFQivzDY%2BxsfwUTxGBg%40mail.gmail.com.
--
You received this message because you are subscribed to the Google Groups "scheduler-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to scheduler-de...@chromium.org.
To post to this group, send email to schedu...@chromium.org.
To view this discussion on the web visit https://groups.google.com/a/chromium.org/d/msgid/scheduler-dev/CALHg4n%3D%2BYnfJS-aSLB4vh7t-n0qsS53K74-0RRcogVFHRpqeDA%40mail.gmail.com.
--Kentaro Hara, Tokyo, Japan
--Kentaro Hara, Tokyo, Japan
--Kentaro Hara, Tokyo, Japan
--
You received this message because you are subscribed to the Google Groups "scheduler-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to scheduler-de...@chromium.org.
To view this discussion on the web visit https://groups.google.com/a/chromium.org/d/msgid/scheduler-dev/CAPuLczv7x7f2eAep37_Lhr6b3yiR-tjuvMPM%2B8SayPchHmNwHw%40mail.gmail.com.
--Kentaro Hara, Tokyo, Japan
- Sami
Â- SamiÂ
- Sami
To unsubscribe from this group and stop receiving emails from it, send an email to scheduler-dev+unsubscribe@chromium.org.
To post to this group, send email to schedu...@chromium.org.
To view this discussion on the web visit https://groups.google.com/a/chromium.org/d/msgid/scheduler-dev/CAFK_eqTS_G5KgmtvxMg-s9yXbjBAE5gP2NQf2BXQPZBuWfyKwA%40mail.gmail.com.
--
You received this message because you are subscribed to the Google Groups "scheduler-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to scheduler-dev+unsubscribe@chromium.org.
To post to this group, send email to schedu...@chromium.org.
To view this discussion on the web visit https://groups.google.com/a/chromium.org/d/msgid/scheduler-dev/CAPG_qM6ypz38grhT10JHpV%2B30vBat62iSy0AVK4sycqm2FhgOA%40mail.gmail.com.
--
You received this message because you are subscribed to the Google Groups "scheduler-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to scheduler-dev+unsubscribe@chromium.org.
To view this discussion on the web visit https://groups.google.com/a/chromium.org/d/msgid/scheduler-dev/CAPuLczubrkEaivaFUBYi46rDL5i42muqFQivzDY%2BxsfwUTxGBg%40mail.gmail.com.
--
You received this message because you are subscribed to the Google Groups "scheduler-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to scheduler-dev+unsubscribe@chromium.org.
To post to this group, send email to schedu...@chromium.org.
To view this discussion on the web visit https://groups.google.com/a/chromium.org/d/msgid/scheduler-dev/CALHg4n%3D%2BYnfJS-aSLB4vh7t-n0qsS53K74-0RRcogVFHRpqeDA%40mail.gmail.com.
--Kentaro Hara, Tokyo, Japan
--Kentaro Hara, Tokyo, Japan
--Kentaro Hara, Tokyo, Japan
--
You received this message because you are subscribed to the Google Groups "scheduler-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to scheduler-dev+unsubscribe@chromium.org.
To view this discussion on the web visit https://groups.google.com/a/chromium.org/d/msgid/scheduler-dev/CAPuLczv7x7f2eAep37_Lhr6b3yiR-tjuvMPM%2B8SayPchHmNwHw%40mail.gmail.com.
--Kentaro Hara, Tokyo, Japan
--Kentaro Hara, Tokyo, Japan
--
You received this message because you are subscribed to the Google Groups "scheduler-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to scheduler-dev+unsubscribe@chromium.org.
To view this discussion on the web visit https://groups.google.com/a/chromium.org/d/msgid/scheduler-dev/CAPuLcztNnqXP4Qz80XvZL1h%3D85-q9_P5hJLE97-pGggUdujN7A%40mail.gmail.com.
- Sami
Â- SamiÂ
- Sami
To unsubscribe from this group and stop receiving emails from it, send an email to scheduler-de...@chromium.org.
To post to this group, send email to schedu...@chromium.org.
To view this discussion on the web visit https://groups.google.com/a/chromium.org/d/msgid/scheduler-dev/CAFK_eqTS_G5KgmtvxMg-s9yXbjBAE5gP2NQf2BXQPZBuWfyKwA%40mail.gmail.com.
--
You received this message because you are subscribed to the Google Groups "scheduler-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to scheduler-de...@chromium.org.
To post to this group, send email to schedu...@chromium.org.
To view this discussion on the web visit https://groups.google.com/a/chromium.org/d/msgid/scheduler-dev/CAPG_qM6ypz38grhT10JHpV%2B30vBat62iSy0AVK4sycqm2FhgOA%40mail.gmail.com.
--
You received this message because you are subscribed to the Google Groups "scheduler-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to scheduler-de...@chromium.org.
To view this discussion on the web visit https://groups.google.com/a/chromium.org/d/msgid/scheduler-dev/CAPuLczubrkEaivaFUBYi46rDL5i42muqFQivzDY%2BxsfwUTxGBg%40mail.gmail.com.
--
You received this message because you are subscribed to the Google Groups "scheduler-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to scheduler-de...@chromium.org.
To post to this group, send email to schedu...@chromium.org.
To view this discussion on the web visit https://groups.google.com/a/chromium.org/d/msgid/scheduler-dev/CALHg4n%3D%2BYnfJS-aSLB4vh7t-n0qsS53K74-0RRcogVFHRpqeDA%40mail.gmail.com.
--Kentaro Hara, Tokyo, Japan
--Kentaro Hara, Tokyo, Japan
--Kentaro Hara, Tokyo, Japan
--
You received this message because you are subscribed to the Google Groups "scheduler-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to scheduler-de...@chromium.org.
To view this discussion on the web visit https://groups.google.com/a/chromium.org/d/msgid/scheduler-dev/CAPuLczv7x7f2eAep37_Lhr6b3yiR-tjuvMPM%2B8SayPchHmNwHw%40mail.gmail.com.
--Kentaro Hara, Tokyo, Japan
--Kentaro Hara, Tokyo, Japan
--
You received this message because you are subscribed to the Google Groups "scheduler-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to scheduler-de...@chromium.org.
To view this discussion on the web visit https://groups.google.com/a/chromium.org/d/msgid/scheduler-dev/CAPuLcztNnqXP4Qz80XvZL1h%3D85-q9_P5hJLE97-pGggUdujN7A%40mail.gmail.com.
--
You received this message because you are subscribed to the Google Groups "scheduler-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to scheduler-de...@chromium.org.
To post to this group, send email to schedu...@chromium.org.
To view this discussion on the web visit https://groups.google.com/a/chromium.org/d/msgid/scheduler-dev/CA%2BOSsVYKb%3DRiw6KwyVMvyMxRpcXSvVeZXTprW7akg4zFS6rrrQ%40mail.gmail.com.
Good points. Maybe the practical way here would be to start from classes of tasks that browser are already reordering (e.g., timers, loading tasks) and extend the same flexibility to other things over time if/when necessary.
- Sami
- Sami
Â- SamiÂ
- Sami
To unsubscribe from this group and stop receiving emails from it, send an email to scheduler-dev+unsubscribe@chromium.org.
To post to this group, send email to schedu...@chromium.org.
To view this discussion on the web visit https://groups.google.com/a/chromium.org/d/msgid/scheduler-dev/CAFK_eqTS_G5KgmtvxMg-s9yXbjBAE5gP2NQf2BXQPZBuWfyKwA%40mail.gmail.com.
--
You received this message because you are subscribed to the Google Groups "scheduler-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to scheduler-dev+unsubscribe@chromium.org.
To post to this group, send email to schedu...@chromium.org.
To view this discussion on the web visit https://groups.google.com/a/chromium.org/d/msgid/scheduler-dev/CAPG_qM6ypz38grhT10JHpV%2B30vBat62iSy0AVK4sycqm2FhgOA%40mail.gmail.com.
--
You received this message because you are subscribed to the Google Groups "scheduler-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to scheduler-dev+unsubscribe@chromium.org.
To view this discussion on the web visit https://groups.google.com/a/chromium.org/d/msgid/scheduler-dev/CAPuLczubrkEaivaFUBYi46rDL5i42muqFQivzDY%2BxsfwUTxGBg%40mail.gmail.com.
--
You received this message because you are subscribed to the Google Groups "scheduler-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to scheduler-dev+unsubscribe@chromium.org.
To post to this group, send email to schedu...@chromium.org.
To view this discussion on the web visit https://groups.google.com/a/chromium.org/d/msgid/scheduler-dev/CALHg4n%3D%2BYnfJS-aSLB4vh7t-n0qsS53K74-0RRcogVFHRpqeDA%40mail.gmail.com.
--Kentaro Hara, Tokyo, Japan
--Kentaro Hara, Tokyo, Japan
--Kentaro Hara, Tokyo, Japan
--
You received this message because you are subscribed to the Google Groups "scheduler-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to scheduler-dev+unsubscribe@chromium.org.
To view this discussion on the web visit https://groups.google.com/a/chromium.org/d/msgid/scheduler-dev/CAPuLczv7x7f2eAep37_Lhr6b3yiR-tjuvMPM%2B8SayPchHmNwHw%40mail.gmail.com.
--Kentaro Hara, Tokyo, Japan
--Kentaro Hara, Tokyo, Japan
--
You received this message because you are subscribed to the Google Groups "scheduler-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to scheduler-dev+unsubscribe@chromium.org.
--To view this discussion on the web visit https://groups.google.com/a/chromium.org/d/msgid/scheduler-dev/CAPuLcztNnqXP4Qz80XvZL1h%3D85-q9_P5hJLE97-pGggUdujN7A%40mail.gmail.com.
You received this message because you are subscribed to the Google Groups "scheduler-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to scheduler-dev+unsubscribe@chromium.org.
To view this discussion on the web visit https://groups.google.com/a/chromium.org/d/msgid/scheduler-dev/CA%2BOSsVYKb%3DRiw6KwyVMvyMxRpcXSvVeZXTprW7akg4zFS6rrrQ%40mail.gmail.com.
Thanks Marjin for the detailed thoughts! That's a great point.On Tue, Nov 28, 2017 at 6:10 AM, Sami Kyostila <skyo...@chromium.org> wrote:Good points. Maybe the practical way here would be to start from classes of tasks that browser are already reordering (e.g., timers, loading tasks) and extend the same flexibility to other things over time if/when necessary.How would it be possible to change only the spec of JavaScript timers?If we allow re-ordering JavaScript timer tasks (between related similar-origin frames), what's the point of specing the ordering of "frame1.contentWindow.cookieStore.set(...); frame2.contentWindow.cookieStore.set(...);"? There is no guarantee about which statement are executed first.If I'm not missing something, the spec change needs to be all or nothing. And, after reading Marjin's email, I begin to realize that changing all the specs would not be a viable option. Then we'll probably need to keep the current spec?Stepping back, would there really be many benefits in allowing re-ordering tasks between related similar-origin frames? In other words, would there be many cases where we want to throttle out-of-view, related similar-origin frames...?
Â- Sami
- Sami
Â- SamiÂ
- Sami
To unsubscribe from this group and stop receiving emails from it, send an email to scheduler-de...@chromium.org.
To post to this group, send email to schedu...@chromium.org.
To view this discussion on the web visit https://groups.google.com/a/chromium.org/d/msgid/scheduler-dev/CAFK_eqTS_G5KgmtvxMg-s9yXbjBAE5gP2NQf2BXQPZBuWfyKwA%40mail.gmail.com.
--
You received this message because you are subscribed to the Google Groups "scheduler-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to scheduler-de...@chromium.org.
To post to this group, send email to schedu...@chromium.org.
To view this discussion on the web visit https://groups.google.com/a/chromium.org/d/msgid/scheduler-dev/CAPG_qM6ypz38grhT10JHpV%2B30vBat62iSy0AVK4sycqm2FhgOA%40mail.gmail.com.
--
You received this message because you are subscribed to the Google Groups "scheduler-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to scheduler-de...@chromium.org.
To view this discussion on the web visit https://groups.google.com/a/chromium.org/d/msgid/scheduler-dev/CAPuLczubrkEaivaFUBYi46rDL5i42muqFQivzDY%2BxsfwUTxGBg%40mail.gmail.com.
--
You received this message because you are subscribed to the Google Groups "scheduler-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to scheduler-de...@chromium.org.
To post to this group, send email to schedu...@chromium.org.
To view this discussion on the web visit https://groups.google.com/a/chromium.org/d/msgid/scheduler-dev/CALHg4n%3D%2BYnfJS-aSLB4vh7t-n0qsS53K74-0RRcogVFHRpqeDA%40mail.gmail.com.
--Kentaro Hara, Tokyo, Japan
--Kentaro Hara, Tokyo, Japan
--Kentaro Hara, Tokyo, Japan
--
You received this message because you are subscribed to the Google Groups "scheduler-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to scheduler-de...@chromium.org.
To view this discussion on the web visit https://groups.google.com/a/chromium.org/d/msgid/scheduler-dev/CAPuLczv7x7f2eAep37_Lhr6b3yiR-tjuvMPM%2B8SayPchHmNwHw%40mail.gmail.com.
--Kentaro Hara, Tokyo, Japan
--Kentaro Hara, Tokyo, Japan
--
You received this message because you are subscribed to the Google Groups "scheduler-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to scheduler-de...@chromium.org.
--To view this discussion on the web visit https://groups.google.com/a/chromium.org/d/msgid/scheduler-dev/CAPuLcztNnqXP4Qz80XvZL1h%3D85-q9_P5hJLE97-pGggUdujN7A%40mail.gmail.com.
You received this message because you are subscribed to the Google Groups "scheduler-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to scheduler-de...@chromium.org.
To view this discussion on the web visit https://groups.google.com/a/chromium.org/d/msgid/scheduler-dev/CA%2BOSsVYKb%3DRiw6KwyVMvyMxRpcXSvVeZXTprW7akg4zFS6rrrQ%40mail.gmail.com.
Â- Sami
- Sami
Â- SamiÂ
- Sami
To unsubscribe from this group and stop receiving emails from it, send an email to scheduler-dev+unsubscribe@chromium.org.
To post to this group, send email to schedu...@chromium.org.
To view this discussion on the web visit https://groups.google.com/a/chromium.org/d/msgid/scheduler-dev/CAFK_eqTS_G5KgmtvxMg-s9yXbjBAE5gP2NQf2BXQPZBuWfyKwA%40mail.gmail.com.
--
You received this message because you are subscribed to the Google Groups "scheduler-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to scheduler-dev+unsubscribe@chromium.org.
To post to this group, send email to schedu...@chromium.org.
To view this discussion on the web visit https://groups.google.com/a/chromium.org/d/msgid/scheduler-dev/CAPG_qM6ypz38grhT10JHpV%2B30vBat62iSy0AVK4sycqm2FhgOA%40mail.gmail.com.
--
You received this message because you are subscribed to the Google Groups "scheduler-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to scheduler-dev+unsubscribe@chromium.org.
To view this discussion on the web visit https://groups.google.com/a/chromium.org/d/msgid/scheduler-dev/CAPuLczubrkEaivaFUBYi46rDL5i42muqFQivzDY%2BxsfwUTxGBg%40mail.gmail.com.
--
You received this message because you are subscribed to the Google Groups "scheduler-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to scheduler-dev+unsubscribe@chromium.org.
To post to this group, send email to schedu...@chromium.org.
To view this discussion on the web visit https://groups.google.com/a/chromium.org/d/msgid/scheduler-dev/CALHg4n%3D%2BYnfJS-aSLB4vh7t-n0qsS53K74-0RRcogVFHRpqeDA%40mail.gmail.com.
--Kentaro Hara, Tokyo, Japan
--Kentaro Hara, Tokyo, Japan
--Kentaro Hara, Tokyo, Japan
--
You received this message because you are subscribed to the Google Groups "scheduler-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to scheduler-dev+unsubscribe@chromium.org.
To view this discussion on the web visit https://groups.google.com/a/chromium.org/d/msgid/scheduler-dev/CAPuLczv7x7f2eAep37_Lhr6b3yiR-tjuvMPM%2B8SayPchHmNwHw%40mail.gmail.com.
--Kentaro Hara, Tokyo, Japan
--Kentaro Hara, Tokyo, Japan
--
You received this message because you are subscribed to the Google Groups "scheduler-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to scheduler-dev+unsubscribe@chromium.org.
--To view this discussion on the web visit https://groups.google.com/a/chromium.org/d/msgid/scheduler-dev/CAPuLcztNnqXP4Qz80XvZL1h%3D85-q9_P5hJLE97-pGggUdujN7A%40mail.gmail.com.
You received this message because you are subscribed to the Google Groups "scheduler-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to scheduler-dev+unsubscribe@chromium.org.
To view this discussion on the web visit https://groups.google.com/a/chromium.org/d/msgid/scheduler-dev/CA%2BOSsVYKb%3DRiw6KwyVMvyMxRpcXSvVeZXTprW7akg4zFS6rrrQ%40mail.gmail.com.
--Kentaro Hara, Tokyo, Japan
Sorry, my question was a bit off the point -- I realized that my concern boils down to (simply) whether it's okay to reorder JavaScript timers (regardless of cookieStore.set()).Think about the following example:// main framesetTimeout(function() { alert("aaa"); });iframe.contentWindow.func();// iframefunction func() {Â setTimeout(function() { alert("bbb"); });}If the order of JavaScript timers in related similar-origin iframes is not guaranteed, alert("bbb") may run before alert("aaa").Ordinary developers wouldn't pay much attention to on what frames their functions are running. Then in practice, "setTimeout in related similar-origin iframes may be reordered" would mostly mean "setTimeout may be reordered". I *guess* the behavior would be confusing.Given that related similar-origin iframes are scriptable with each other, a straightforward semantics would be that the task order is guaranteed in the related similar-origin iframes.
Â- Sami
- Sami
Â- SamiÂ
- Sami
To unsubscribe from this group and stop receiving emails from it, send an email to scheduler-de...@chromium.org.
To post to this group, send email to schedu...@chromium.org.
To view this discussion on the web visit https://groups.google.com/a/chromium.org/d/msgid/scheduler-dev/CAFK_eqTS_G5KgmtvxMg-s9yXbjBAE5gP2NQf2BXQPZBuWfyKwA%40mail.gmail.com.
--
You received this message because you are subscribed to the Google Groups "scheduler-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to scheduler-de...@chromium.org.
To post to this group, send email to schedu...@chromium.org.
To view this discussion on the web visit https://groups.google.com/a/chromium.org/d/msgid/scheduler-dev/CAPG_qM6ypz38grhT10JHpV%2B30vBat62iSy0AVK4sycqm2FhgOA%40mail.gmail.com.
--
You received this message because you are subscribed to the Google Groups "scheduler-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to scheduler-de...@chromium.org.
To view this discussion on the web visit https://groups.google.com/a/chromium.org/d/msgid/scheduler-dev/CAPuLczubrkEaivaFUBYi46rDL5i42muqFQivzDY%2BxsfwUTxGBg%40mail.gmail.com.
--
You received this message because you are subscribed to the Google Groups "scheduler-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to scheduler-de...@chromium.org.
To post to this group, send email to schedu...@chromium.org.
To view this discussion on the web visit https://groups.google.com/a/chromium.org/d/msgid/scheduler-dev/CALHg4n%3D%2BYnfJS-aSLB4vh7t-n0qsS53K74-0RRcogVFHRpqeDA%40mail.gmail.com.
--Kentaro Hara, Tokyo, Japan
--Kentaro Hara, Tokyo, Japan
--Kentaro Hara, Tokyo, Japan
--
You received this message because you are subscribed to the Google Groups "scheduler-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to scheduler-de...@chromium.org.
To view this discussion on the web visit https://groups.google.com/a/chromium.org/d/msgid/scheduler-dev/CAPuLczv7x7f2eAep37_Lhr6b3yiR-tjuvMPM%2B8SayPchHmNwHw%40mail.gmail.com.
--Kentaro Hara, Tokyo, Japan
--Kentaro Hara, Tokyo, Japan
--
You received this message because you are subscribed to the Google Groups "scheduler-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to scheduler-de...@chromium.org.
--To view this discussion on the web visit https://groups.google.com/a/chromium.org/d/msgid/scheduler-dev/CAPuLcztNnqXP4Qz80XvZL1h%3D85-q9_P5hJLE97-pGggUdujN7A%40mail.gmail.com.
You received this message because you are subscribed to the Google Groups "scheduler-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to scheduler-de...@chromium.org.
To view this discussion on the web visit https://groups.google.com/a/chromium.org/d/msgid/scheduler-dev/CA%2BOSsVYKb%3DRiw6KwyVMvyMxRpcXSvVeZXTprW7akg4zFS6rrrQ%40mail.gmail.com.
--Kentaro Hara, Tokyo, Japan
ti 28. marrask. 2017 klo 22.02 Kentaro Hara <har...@chromium.org> kirjoitti:Sorry, my question was a bit off the point -- I realized that my concern boils down to (simply) whether it's okay to reorder JavaScript timers (regardless of cookieStore.set()).Think about the following example:// main framesetTimeout(function() { alert("aaa"); });iframe.contentWindow.func();// iframefunction func() {Â setTimeout(function() { alert("bbb"); });}If the order of JavaScript timers in related similar-origin iframes is not guaranteed, alert("bbb") may run before alert("aaa").Ordinary developers wouldn't pay much attention to on what frames their functions are running. Then in practice, "setTimeout in related similar-origin iframes may be reordered" would mostly mean "setTimeout may be reordered". I *guess* the behavior would be confusing.Given that related similar-origin iframes are scriptable with each other, a straightforward semantics would be that the task order is guaranteed in the related similar-origin iframes.I think giving that ordering guarantee would restrict our opportunities to throttle tasks in offscreen frames too much. We currently honor it for similar-origin frames, but timers in cross-origin frames can run in an arbitrary order w.r.t. other frames of the same origin (e.g., imagine two cross-origin frames from the same origin and one of them is offscreen).AFAIK Safari goes even further by throttling timers in all offscreen frames regardless of origin. Given that they were able to ship that change and there is a power benefit in doing so, I think I'd like to match it in Chrome and update the spec to allow for this. Does that sound reasonable?
- Sami
Â- Sami
- Sami
Â- SamiÂ
- Sami
To unsubscribe from this group and stop receiving emails from it, send an email to scheduler-dev+unsubscribe@chromium.org.
To post to this group, send email to schedu...@chromium.org.
To view this discussion on the web visit https://groups.google.com/a/chromium.org/d/msgid/scheduler-dev/CAFK_eqTS_G5KgmtvxMg-s9yXbjBAE5gP2NQf2BXQPZBuWfyKwA%40mail.gmail.com.
--
You received this message because you are subscribed to the Google Groups "scheduler-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to scheduler-dev+unsubscribe@chromium.org.
To post to this group, send email to schedu...@chromium.org.
To view this discussion on the web visit https://groups.google.com/a/chromium.org/d/msgid/scheduler-dev/CAPG_qM6ypz38grhT10JHpV%2B30vBat62iSy0AVK4sycqm2FhgOA%40mail.gmail.com.
--
You received this message because you are subscribed to the Google Groups "scheduler-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to scheduler-dev+unsubscribe@chromium.org.
To view this discussion on the web visit https://groups.google.com/a/chromium.org/d/msgid/scheduler-dev/CAPuLczubrkEaivaFUBYi46rDL5i42muqFQivzDY%2BxsfwUTxGBg%40mail.gmail.com.
--
You received this message because you are subscribed to the Google Groups "scheduler-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to scheduler-dev+unsubscribe@chromium.org.
To post to this group, send email to schedu...@chromium.org.
To view this discussion on the web visit https://groups.google.com/a/chromium.org/d/msgid/scheduler-dev/CALHg4n%3D%2BYnfJS-aSLB4vh7t-n0qsS53K74-0RRcogVFHRpqeDA%40mail.gmail.com.
--Kentaro Hara, Tokyo, Japan
--Kentaro Hara, Tokyo, Japan
--Kentaro Hara, Tokyo, Japan
--
You received this message because you are subscribed to the Google Groups "scheduler-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to scheduler-dev+unsubscribe@chromium.org.
To view this discussion on the web visit https://groups.google.com/a/chromium.org/d/msgid/scheduler-dev/CAPuLczv7x7f2eAep37_Lhr6b3yiR-tjuvMPM%2B8SayPchHmNwHw%40mail.gmail.com.
--Kentaro Hara, Tokyo, Japan
--Kentaro Hara, Tokyo, Japan
--
You received this message because you are subscribed to the Google Groups "scheduler-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to scheduler-dev+unsubscribe@chromium.org.
--To view this discussion on the web visit https://groups.google.com/a/chromium.org/d/msgid/scheduler-dev/CAPuLcztNnqXP4Qz80XvZL1h%3D85-q9_P5hJLE97-pGggUdujN7A%40mail.gmail.com.
You received this message because you are subscribed to the Google Groups "scheduler-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to scheduler-dev+unsubscribe@chromium.org.
To view this discussion on the web visit https://groups.google.com/a/chromium.org/d/msgid/scheduler-dev/CA%2BOSsVYKb%3DRiw6KwyVMvyMxRpcXSvVeZXTprW7akg4zFS6rrrQ%40mail.gmail.com.
--Kentaro Hara, Tokyo, Japan
--Kentaro Hara, Tokyo, Japan
--
You received this message because you are subscribed to the Google Groups "scheduler-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to scheduler-dev+unsubscribe@chromium.org.
To post to this group, send email to schedu...@chromium.org.
To view this discussion on the web visit https://groups.google.com/a/chromium.org/d/msgid/scheduler-dev/CAPuLczv%3Df6499EPkXn57P5U_64YbTFAo79rvqKD%2BdOXh8Em%2BYg%40mail.gmail.com.