| 04:13 | <MikeSmith> | The Bloomberg site has a pretty cool way of handling page transitions as you scroll vertically |
| 04:14 | <MikeSmith> | e.g., starting at http://www.bloomberg.com/politics/articles/2015-06-08/donald-rumsfeld-george-w-bush-was-wrong-about-iraq |
| 04:14 | <MikeSmith> | which as you scroll past the end of that article transitions to the next one at http://www.bloomberg.com/politics/articles/2015-06-09/inidian-prime-minister-s-despite-being-a-woman-remark-sparks-backlash |
| 04:15 | <MikeSmith> | then from that to http://www.bloomberg.com/politics/articles/2015-06-09/bono-and-bill-clinton-denver-gets-a-power-lunch |
| 04:15 | <MikeSmith> | etc |
| 04:15 | <MikeSmith> | I wonder how many other sites are doing this |
| 04:15 | <boogyman> | I believe that's called the infinite scroll |
| 04:16 | <MikeSmith> | boogyman: no it's not |
| 04:16 | <MikeSmith> | not in the normal sense |
| 04:16 | <MikeSmith> | in the normal sense the URL for the page stays the same |
| 04:17 | <MikeSmith> | which is why many people rightly don't like infinite scroll |
| 04:18 | <boogyman> | ah, so they are using the History API to push the new article onto the stack. |
| 04:24 | <MikeSmith> | boogyman: yeah |
| 04:25 | <MikeSmith> | but I remember there was some other proposed API for facilitating this |
| 04:25 | MikeSmith | searches |
| 04:26 | <MikeSmith> | I find https://docs.google.com/document/d/17jg1RRL3RI969cLwbKBIcoGDsPwqaEdBxafGNYGwiY4/edit#heading=h.pcll678prpwu |
| 04:26 | <MikeSmith> | but I think that's not what I had remembered |
| 04:29 | <MikeSmith> | http://www.androidpolice.com/2014/11/20/chromes-upcoming-navigation-transitions-api-will-make-the-web-animate-and-flow-like-material-design-in-android/ |
| 04:30 | <MikeSmith> | but then something more recent from Chris Lord that actually looks a lot better: http://chrislord.net/index.php/2015/04/24/web-navigation-transitions/ |
| 04:30 | <boogyman> | dang, i haven't seen these. |
| 04:32 | <MikeSmith> | https://www.chromestatus.com/features/5169444246519808 entry for "Navigation Transitions" says "No longer pursuing" |
| 04:33 | <MikeSmith> | it looks like the code was implemented in blink but then removed last month |
| 04:34 | <MikeSmith> | https://code.google.com/p/chromium/issues/detail?id=370696#c86 |
| 06:58 | <annevk> | So I got two password reset emails from wordpress.com... |
| 07:10 | <MikeSmith> | hey annevk |
| 07:11 | <MikeSmith> | that's double protection I guess |
| 07:11 | <annevk> | I wonder if I should be worried |
| 07:12 | <MikeSmith> | I guess you should always be worried if you're using wordpress |
| 07:12 | <MikeSmith> | seriously |
| 07:12 | <MikeSmith> | it seems like multiple accidents waiting to happen |
| 07:14 | <MikeSmith> | annevk: anyway, the other day when we were talking about one of those tweets in Japanese about WHATWG, do you remember one being about stuff to enable sites to smoothly transition between different documents? |
| 07:15 | <MikeSmith> | in the context of single-page-app kind of user experiences |
| 07:15 | <annevk> | I don't really... |
| 07:15 | <MikeSmith> | oh |
| 07:15 | <MikeSmith> | ah well |
| 07:16 | <annevk> | I did figure out what https://twitter.com/hail2u_/status/604693350445285376 was about |
| 07:16 | <MikeSmith> | anyway I was trying to remember if anybody had ever properly specced out anything about it |
| 07:16 | <MikeSmith> | oh |
| 07:16 | <annevk> | Apparently HTML and that game use a bunch of terms that are similar |
| 07:16 | <annevk> | Such as "element" |
| 07:16 | <MikeSmith> | hah |
| 07:16 | <MikeSmith> | well |
| 07:17 | <MikeSmith> | chemistry uses "element" too |
| 07:17 | <annevk> | "attribute" too apparently |
| 07:20 | <MikeSmith> | annevk: when you have minute please look at http://www.bloomberg.com/politics/articles/2015-06-08/donald-rumsfeld-george-w-bush-was-wrong-about-iraq and scroll down past the end of the first article |
| 07:20 | <MikeSmith> | or see http://krijnhoetmer.nl/irc-logs/whatwg/20150609#l-128 for the context |
| 07:21 | <MikeSmith> | the seem to have put a pretty nice user experience around navigation transitions from one document/article to the next |
| 07:21 | <MikeSmith> | maybe there are other sites that are doing this well now, I dunno |
| 07:21 | <annevk> | “I am happy that Bangladesh Prime Minister, despite being a woman, has declared zero tolerance for terrorism.” o_O |
| 07:21 | <MikeSmith> | heh |
| 07:22 | <annevk> | Oooh, they change the URL too, pretty cool |
| 07:22 | <MikeSmith> | yeah |
| 07:22 | <annevk> | Now they need to add some HTTPS |
| 07:22 | <MikeSmith> | well yeah |
| 07:22 | <MikeSmith> | baby steps |
| 07:22 | <MikeSmith> | it would be nice to hear from the developers how they are doing that |
| 07:23 | <MikeSmith> | and if there are others doing it well now |
| 07:23 | <MikeSmith> | and then maybe pave some cowpath there |
| 07:24 | <MikeSmith> | because the Google-led "Navigation Transitions" thing that the implemented in blink seems to have not been a technical success |
| 07:24 | <MikeSmith> | since they yanked all the code for it least month |
| 07:25 | <MikeSmith> | Chris Lord's proposal at http://chrislord.net/index.php/2015/04/24/web-navigation-transitions/ looks sane |
| 08:13 | <annevk> | I remember both not making much sense to me |
| 08:13 | <annevk> | Ah, Chris updated his post with my suggestion |
| 08:14 | <annevk> | Though not all the text... |
| 09:30 | <jgraham> | annevk: Do you know enough to help with the script execution problems I have? Specifically I am speccing a process that has a Window object, a string representing a function body, and an array of arguments, and I want to correctly get the effect of something like "var fn = new Function($body); fn.prototype.apply($window, $args)" i.e. construct a function object from the body and execute it with the provided args with window as the this object in the |
| 10:00 | <annevk> | jgraham: I guess you could look at what event handlers did |
| 10:00 | <annevk> | jgraham: I think you basically want to talk to bz though |
| 10:01 | <jgraham> | annevk: So I basically copied what event handlers did so far, but then to actually run the script they call some WebIDL algorithm that does conversion to IDL types, which is unfortunately more than I want |
| 10:02 | <annevk> | jgraham: I guess you could call directly to some ES-defined algorithm |
| 10:02 | <annevk> | jgraham: if you don't work with IDL that's sort of what you have to do |
| 10:02 | <annevk> | jgraham: though then you need to security checks and such yourself too |
| 10:02 | <annevk> | jgraham: at which point you want to talk to bz |
| 10:03 | <jgraham> | Yeah, so I wondered if I could just call [[Call]] but it wasn't clear to me that would actually specify execution in the right global |
| 10:04 | <annevk> | You probably need a little more, but I'm also lacking some context so I'm not sure |
| 10:05 | <jgraham> | annevk: The context is that I'm trying to rewrite https://w3c.github.io/webdriver/webdriver-spec.html#executescript to be less wrong |
| 10:05 | jgraham | -> train |
| 10:23 | <annevk> | jgraham: I guess you want to study how eval() works and copy that? |
| 10:58 | <jgraham> | annevk: So I think the thing I fundamentally don't understand is which bits that are in HTML but aren't in ES I need (the script settings object &c.) |
| 11:00 | <jgraham> | http://hoppipolla.co.uk/410/webdriver-spec/webdriver-spec.html#executescript is what I wrote so far |
| 11:03 | <jgraham> | (step 6 is known to be wrong, but not in a relevant way) |
| 11:17 | <smaug____> | annevk: dglazkov: I wonder how we should proceed with shadow DOM. Has the "3 champions" perhaps discussed something privately, and will have a proposal? (I still think imperative API should be the v1 solution) |
| 11:18 | <smaug____> | but I wouldn't be surprised if simple slots based approach will be used |
| 11:38 | <annevk> | jgraham: script settings object is 1:1 with global object iirc |
| 11:38 | <annevk> | jgraham: but as others have said there's some missing bits in IDL and HTML, and perhaps in ES |
| 11:43 | <annevk> | hmm, smaug left |
| 11:53 | <annevk> | TabAtkins: I need some help with that typing of <dfn> |
| 11:53 | <annevk> | TabAtkins: I have the feeling rubys did it wrong for URL |
| 11:54 | <annevk> | TabAtkins: with lt="URL query" rather than something about the type being a URL, and query just being the term |
| 12:37 | <annevk> | TabAtkins: also see https://github.com/whatwg/dom/issues/39#issuecomment-110343254 |
| 12:53 | <Sebmaster> | annevk: am i reading the TR46 spec correctly, in that it doesn't have as many requirements for valid labels as the IDNA2008 spec? |
| 12:56 | <annevk> | Sebmaster: yeah |
| 12:56 | <annevk> | Sebmaster: browsers use IDNA2003 |
| 12:56 | <annevk> | (roughly) |
| 12:57 | <Sebmaster> | great :/, so the idna test data doesn't have to necessarily pass? |
| 12:57 | <annevk> | Sebmaster: I think the IDNA test data is correct per browsers |
| 12:57 | <Sebmaster> | oh, hrm |
| 12:57 | <annevk> | Sebmaster: and TR46 does have a non-transitional mode that should match IDNA2008 |
| 12:57 | <Sebmaster> | then i may have bugs in my implementation |
| 12:57 | <annevk> | but URL doesn't use it |
| 12:57 | <Sebmaster> | oh yeah, tr46 is weird |
| 12:57 | <Sebmaster> | it uuh |
| 12:58 | <Sebmaster> | describes something impossible for conformance tests |
| 12:58 | <Sebmaster> | but maybe i read it wrong |
| 12:58 | <annevk> | it's not a great writeup, but it's somewhat better now than before |
| 12:58 | <Sebmaster> | http://www.unicode.org/reports/tr46/#Format |
| 12:58 | <Sebmaster> | see toASCII vs toUnicode |
| 12:59 | <Sebmaster> | toUnicode in the tests says it accepts the processing_option |
| 12:59 | <Sebmaster> | but the implementation further up defines processing_option only for toASCII |
| 12:59 | <Sebmaster> | i think the test descriptions are switched around there |
| 13:01 | <annevk> | ToUnicode always sets the processing_option to NonTransitional it seems |
| 13:02 | <annevk> | not sure if that matches browsers, hmm |
| 13:02 | <annevk> | I thought this was somewhat different before |
| 13:02 | <Sebmaster> | yeah but the conformance description says ToUnicode should accept the processing_option given in the first cell |
| 13:02 | <annevk> | I might not have reviewed ToUnicode closely enough |
| 13:02 | <annevk> | browsers generally use ToASCII |
| 13:02 | <annevk> | only for display is ToUnicode used |
| 13:03 | <Sebmaster> | my issues is just with the conformance test description |
| 13:03 | <Sebmaster> | when i switched the two processing_options around (i.e. apply the given processing_option to toASCII) and always use nontransitional for unicode it seems to pass more tests |
| 13:04 | <Sebmaster> | the conformance test section doesn't match the implementation parameters, is what i'm saying |
| 13:04 | <Sebmaster> | no idea yet with regards to if the implementation itself is described perfectly |
| 13:35 | <annevk> | Sebmaster: you should give Unicode feedback |
| 13:35 | <annevk> | Sebmaster: and document somewhere that you did, since their archiving is poor |
| 13:36 | <annevk> | Sebmaster: e.g. by emailing www-archive⊙wo your feedback |
| 13:36 | <Sebmaster> | i have no idea where to go, so you were the first that came to mind |
| 13:36 | <annevk> | http://www.unicode.org/reporting.html unfortunately... |
| 13:37 | <annevk> | Mark Davis tells me to use that form and they seem to process those comments |
| 13:42 | <Sebmaster> | okay, will do |
| 13:43 | <annevk> | Sebmaster: ta |
| 13:43 | <annevk> | TabAtkins: https://github.com/tabatkins/bikeshed/issues/403 still not fixed afaict |
| 13:43 | <annevk> | TabAtkins: force=Document that is |
| 13:43 | <annevk> | TabAtkins: Document still links to HTML |
| 14:12 | <wanderview> | JakeA: s/CookieContainer/CookieJar/g |
| 14:14 | <JakeA> | hah, yeep |
| 14:14 | <wanderview> | thats my significant contribution for today |
| 14:14 | wanderview | goes back to bed |
| 14:14 | <JakeA> | :D |
| 14:14 | <JakeA> | S'ok, my brain is broken reading https://github.com/petkaantonov/bluebird/issues/415 |
| 14:32 | annevk | wonders if Domenic is following the promise changes on es-discuss |
| 15:05 | <Domenic> | I am mostly ignoring them, they go into weird territory quickly |
| 15:37 | <awal> | hello |
| 15:43 | <MikeSmith> | TabAtkins: I'm guessing the mysql "Too many connections" at https://drafts.csswg.org/ is something only Peter has access to fix and he's probably not online yet? |
| 15:43 | <awal> | I am sorry I don't know where else to ask this, but https://developer.chrome.com/devtools/docs/commandline-api#additional-apis this page describes that we can hook extra functions to the __commandLineAPI object and links to the extension https://chrome.google.com/webstore/detail/debug-utils/djailkkojeahmihdpcelmmobkpepmkcl?utm_source=chrome-app-lau |
| 15:43 | <awal> | ncher-info-dialog but it doesn't seem to be working as expected. It exposes the debugUtils object to the window scope as well. Is this intended behavior? How can I add functions for the console scope only? |
| 15:44 | <awal> | cc paul_irish ^ (sorry for random ping but someone told me I can ping you here for devtools related questions) |
| 15:45 | <MikeSmith> | awal: you might have better luck asking in #chromium-support |
| 15:45 | <awal> | MikeSmith: ok thanks! :) |
| 15:51 | <JonathanNeal> | In the small event someone wants to check it out or test it, I wrote a pretty small DOM4 query polyfill this morning that won’t modify the DOM or add to the query selector to accomplish the task. Not that size matters these days, but I’ve scoped it out to be roughly 603bytes minified+gzipped https://gist.github.com/jonathantneal/446aea88f6d49b665dcc |
| 15:52 | <JonathanNeal> | It would probably be even smaller if I cut out the IE8 support, too. |
| 16:02 | <Domenic> | I wonder what a DOM4 is |
| 16:08 | <annevk> | It's a thing I coined at some point when I didn't know better |
| 16:08 | <annevk> | And it stuck :-( |
| 16:09 | <tantek> | sounds legit |
| 16:11 | <annevk> | Well W3C put a sticker on it, so I guess it is |
| 16:12 | <awal> | where to get the sticker |
| 16:12 | <Domenic> | only streams and html have stickers so far |
| 16:14 | <annevk> | Streams does? |
| 16:14 | <annevk> | Oh, you're talking actual stickers |
| 16:14 | <annevk> | :-) |
| 16:15 | <Domenic> | :) |
| 16:32 | <MikeSmith> | we're actually already at DOM 4.1 at the W3C |
| 16:32 | <MikeSmith> | I even made a logo for it http://emidius.mi.ingv.it/pictures/logo_DOM4.gif |
| 16:33 | <MikeSmith> | the caption translates as Chill Data is Illin' |
| 16:33 | <annevk> | MikeSmith: nice find, though I'd like a 4.01 |
| 16:34 | <MikeSmith> | we can back-formate 4.01 later |
| 16:34 | <MikeSmith> | good brainstorming |
| 16:34 | <annevk> | jetlag is great for that |
| 16:34 | <MikeSmith> | heh |
| 16:35 | <annevk> | woohoo, GitHub down to zero unread |
| 16:35 | <annevk> | if I missed something, let me know |
| 16:36 | <annevk> | tomorrow the remaining emails and Bugzilla |
| 17:12 | <Domenic> | It's good to have you back!! :) |
| 17:25 | <Domenic> | annevk: JakeA: are cookies multimaps? |
| 17:26 | <JakeA> | Domenic: I believe the cookie name is a unique id, if that's what you're asking |
| 17:26 | <Domenic> | Hmm I am not entirely sure what I'm asking |
| 17:27 | <JakeA> | :D |
| 17:27 | <Domenic> | I guess can you have multiple values for the same cookie ID |
| 17:29 | <boogyman> | If I remember correctly some browser implementations differentiate secure only and http cookie definitions with the same id |
| 17:29 | <Domenic> | gross |
| 17:30 | <JakeA> | I wonder what happens if a subdomain tries to set a cookie with name "hello", when there's already a cookie named "hello" for all subdomains |
| 17:30 | <JakeA> | Whoa, I know nothing about cookies |
| 17:31 | <boogyman> | JakeA: be happy that SW don't send creds by default |
| 17:31 | <JakeA> | :D |
| 17:56 | <Domenic> | Is it just me or is [NewObject] kind of silly? It feels like there are lots of places that return new objects each time that don't use it... |
| 18:02 | <TabAtkins> | annevk: There are a few ways you can do a definition like that. Having a nice, descriptive linking term like "URL query" is actually pretty good. You can then use local-lt="query" to let yourself link to it with a shorter word in the spec. Or, yeah, <dfn for=URL>query</dfn> also works. I don't have a best practices for this kind of thing yet. |
| 18:10 | <TabAtkins> | annevk: I'm very curious as to what you're looking at that makes you think that Document is still linking to HTML. |
| 18:19 | <annevk> | Domenic: not sure, see the RFC? |
| 18:19 | <annevk> | Domenic: [NewObject] can help JIT iirc and is basically a check to see if specification authors paid attention |
| 18:20 | <annevk> | TabAtkins: https://dom.spec.whatwg.org/#interface-document after "interface" it says "Document", that links to HTML |
| 18:20 | <TabAtkins> | annevk: ...no it doesn't. |
| 18:21 | <TabAtkins> | Are you still looking at a cached version? |
| 18:21 | <annevk> | o_O |
| 18:21 | <annevk> | I guess I was |
| 18:21 | <TabAtkins> | lol |
| 18:21 | <annevk> | That never happens... |
| 18:22 | <TabAtkins> | Except when it's most embarrassing. |
| 18:22 | <annevk> | Right, sorry about that |
| 18:23 | <TabAtkins> | It's okay! |
| 18:23 | <annevk> | So I can remove Document from "ignored terms" I guess? |
| 18:23 | <TabAtkins> | Yeah |
| 18:24 | <TabAtkins> | (That just suppresses the linking warnings telling you that there are two plausible targets.) |
| 18:24 | <stakagi> | TabAtkins:I would like to use a suitable iframe external resource according to media query list for mapping use case's level of detail functionality. Can I use picture element or its variant in the future? |
| 18:24 | <annevk> | Guess I should look into the URL stuff a bit more, looks a bit messy to me at the moment |
| 18:24 | <TabAtkins> | Next step is for me to implement the "obsoletes" attribute so DOM can declare that it wins over the HTML and SVG dfns. (The HTML one is extra annoying, since it's just a link to DOM.) |
| 18:25 | <TabAtkins> | stakagi: You don't want to use <picture>; it's defined as a wrapper for <img> only. But it *might* be appropriate as a model for how to design something for level-of-detail. |
| 18:30 | <stakagi> | TabAtkins:Thanks. What kind of contribution can I do for the design? TabAtkins:Thanks. What kind of contribution can I do for the design? Although I am concentrated on SVGWG from the first, probably it will not be limited to SVG. |
| 18:40 | <TabAtkins> | stakagi: I dunno, I'm still not sure how to do the LoD stuff correctly. I agree that it's an interesting and worthwhile case, it's unclear what to use for it. |
| 18:48 | <stakagi> | TabAtkins:I will draw up the description of Level Of Detail which I implemented. Incidentally, it is a combination of a picture element-like function, and a lazyload.js-like function. |
| 18:48 | <TabAtkins> | Yeah, I remember your presentation last year or so, in the Moz Japan offices. |
| 18:54 | <stakagi> | TabAtkins:Since two functionalities described above (picture and lazyload) have become the topic separately recently, I hope that the examination of Level Of Detail may be able to be performed slowly. |
| 20:08 | <boogyman> | anyone here know how to contact someone from Mozilla support? https://developer.mozilla.org/en-US/ is down (500) |
| 20:15 | <caitp> | it doesn't look down to me |
| 20:17 | <boogyman> | interesting, i get a new message, but basically the same code "this service is temporarily unavailable" |
| 20:21 | <Ms2ger> | boogyman, appears to be up now |
| 20:21 | <boogyman> | cheers |