edbrowse-dev - development list for edbrowse
 help / color / mirror / Atom feed
From: Adam Thompson <arthompson1990@gmail.com>
To: Karl Dahlke <eklhad@comcast.net>
Cc: Edbrowse-dev@lists.the-brannons.com
Subject: Re: [Edbrowse-dev] Short Timers
Date: Fri, 10 Apr 2015 12:28:40 +0100	[thread overview]
Message-ID: <20150410112840.GC21727@toaster.adamthompson.me.uk> (raw)
In-Reply-To: <20150308091951.eklhad@comcast.net>

[-- Attachment #1: Type: text/plain, Size: 1481 bytes --]

On Wed, Apr 08, 2015 at 09:19:51AM -0400, Karl Dahlke wrote:
> If you call up www.eventbrite.com you'll notice 10 javascript timers
> at the top of the page, all active in 4 milliseconds.
> It occurs to me that if javascript is suppose to run in 4 ms,
> it should probably just run.
> Now if js is scheduled to run in 10 seconds, then it should wait on your command,
> wait for you to read the page, because we read a new website slower than
> our sighted friends, so long timers are under our control,
> but perhaps any timer under one second, or whatever threshold we choose,
> should just run.
> Queue them up in order of time and run them.
> Even if they do nothing other than visual effects,
> at least those first ten annoying lines about js timers
> would be off of the web page.
> What do you think?

I think, as I've always thought, that we should have a mechanism where js
timers run when js timers are scheduled to run,
irrespective of any reading speed differences you believe exist (in actual fact
I've found in some cases I read pages *faster* than sighted friends,
and don't see this as a valid argument).
In addition, given the way web 2.0 works,
we realy need to get rid of the manual timer mechanism sooner rather than later
as otherwise timing critical ajax stuff can *never* work,
since i'm very unlikely to be able to keep activating js timers at the top of 
the page in the correct order to make a form submit etc.

Cheers,
Adam.

[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 473 bytes --]

  reply	other threads:[~2015-04-10 11:30 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-04-08 13:19 Karl Dahlke
2015-04-10 11:28 ` Adam Thompson [this message]
2015-04-11  1:39   ` Chris Brannon
2015-04-11  3:48 Karl Dahlke
2015-04-11 14:11 ` Adam Thompson
2015-04-11 14:46   ` Chris Brannon
2015-04-11 15:18     ` Adam Thompson
2015-04-11 14:44 Karl Dahlke
2015-04-11 15:23 ` Adam Thompson

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20150410112840.GC21727@toaster.adamthompson.me.uk \
    --to=arthompson1990@gmail.com \
    --cc=Edbrowse-dev@lists.the-brannons.com \
    --cc=eklhad@comcast.net \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).