Options:
Previous day, Next day
- # Session Start: Tue Aug 04 00:00:00 2015
- # Session Ident: #testing
- # [01:11] * Quits: bhill2 (~bhill2@public.cloak) (Client closed connection)
- # [01:16] * heycam|away is now known as heycam
- # [01:38] * Joins: playjax (~chatzilla@public.cloak)
- # [02:15] * terri is now known as terri_offline
- # [02:21] * Quits: jyasskin (~textual@public.cloak) ("My computer has gone to sleep. ZZZzzz…")
- # [02:26] * Joins: jyasskin (~textual@public.cloak)
- # [03:31] * Quits: ArtB (~ArtB@public.cloak) ("Leaving.")
- # [03:31] * Quits: jyasskin (~textual@public.cloak) ("My computer has gone to sleep. ZZZzzz…")
- # [04:04] * Joins: bhill2 (~bhill2@public.cloak)
- # [04:32] * Quits: playjax (~chatzilla@public.cloak) (Ping timeout: 180 seconds)
- # [04:41] * heycam is now known as heycam|away
- # [05:15] * heycam|away is now known as heycam
- # [05:36] * Quits: bhill2 (~bhill2@public.cloak) (Client closed connection)
- # [05:52] * Joins: jyasskin (~textual@public.cloak)
- # [06:02] * heycam is now known as heycam|away
- # [06:05] * heycam|away is now known as heycam
- # [07:16] * Quits: jyasskin (~textual@public.cloak) ("My computer has gone to sleep. ZZZzzz…")
- # [07:52] * Joins: gamekathu (~gamekathu@public.cloak)
- # [07:57] <gamekathu> hi. i would like to contribute in this project.. where to start?
- # [08:05] * heycam is now known as heycam|away
- # [08:09] * heycam|away is now known as heycam
- # [08:36] <MikeSmith> hi gamekathu
- # [08:37] <MikeSmith> http://testthewebforward.org/docs/ is a good place to start
- # [08:37] <gamekathu> hi mike
- # [08:37] <MikeSmith> hey there
- # [08:38] <gamekathu> yes i have read the manual. my question is, how do you identify what to write tests on?
- # [08:38] <MikeSmith> ah
- # [08:38] <MikeSmith> hang on
- # [08:38] <gamekathu> ok
- # [08:38] <MikeSmith> https://github.com/w3c/web-platform-tests/issues?q=is%3Aopen+is%3Aissue+label%3Adifficulty%3Aeasy
- # [08:38] <MikeSmith> those are issues tagged "difficulty: easy"
- # [08:39] <MikeSmith> but for which we don't yet have anybody who's written a PR
- # [08:39] <gamekathu> cool.. will start working on these :)
- # [08:39] <gamekathu> thanks! :)
- # [08:41] <gamekathu> actually i was fascinated by the mozilla servo project, and would like to contribute in it... so figured out to start writing tests from here
- # [08:42] <gamekathu> this proj would also help servo in setting up tests?
- # [08:51] <MikeSmith> gamekathu: yes, absolutely
- # [08:51] <MikeSmith> we have a number of people from the servo project who've been involved some already
- # [08:54] <gamekathu> great!
- # [08:54] <gamekathu> thanks fr the help btw.. will hang around this channel frm now :)
- # [09:18] <MikeSmith> gamekathu: cool
- # [09:21] * Joins: Ms2ger (~Ms2ger@public.cloak)
- # [10:03] * heycam is now known as heycam|away
- # [10:09] * Joins: gitbot (~gitbot@public.cloak)
- # [10:09] -gitbot:#testing- [web-platform-tests] zqzhang closed pull request #1843: Contributing Blink's Screen Orientation layout tests (master...screen-orientation) https://github.com/w3c/web-platform-tests/pull/1843
- # [10:09] * Parts: gitbot (~gitbot@public.cloak)
- # [10:09] * Joins: gitbot (~gitbot@public.cloak)
- # [10:09] -gitbot:#testing- [web-platform-tests] zqzhang pushed 8 new commits to master: https://github.com/w3c/web-platform-tests/compare/2bd8c7dcf2e2...e084e100b409
- # [10:09] -gitbot:#testing- web-platform-tests/master cab194d Li Hao: Contributing Blink's Screen Orientation layout tests...
- # [10:09] -gitbot:#testing- web-platform-tests/master 6c0ac73 Li Hao: lock() implemented in screen.orientation, not screen...
- # [10:09] -gitbot:#testing- web-platform-tests/master e62ab52 Li Hao: Fix wrong steps in lockOrientation-basic.html...
- # [10:09] * Parts: gitbot (~gitbot@public.cloak)
- # [10:14] * Quits: Ms2ger (~Ms2ger@public.cloak) (Ping timeout: 180 seconds)
- # [11:03] <gamekathu> MikeSmith : why am I getting 'Uncaught Error: Manifest generation failed' when running the test suite?
- # [11:13] * Joins: gitbot (~gitbot@public.cloak)
- # [11:13] -gitbot:#testing- [wptrunner] jgraham pushed 1 new commit to jgraham/executorservo_reftest_debug: https://github.com/w3c/wptrunner/commit/92c4b2e546c3796bac6f3bcf091c22cae000ca51
- # [11:13] -gitbot:#testing- wptrunner/jgraham/executorservo_reftest_debug 92c4b2e James Graham: fixup! Support running reftests under a debugger with the servo executor
- # [11:13] * Parts: gitbot (~gitbot@public.cloak)
- # [11:14] <jgraham> gamekathu: Did you |git submodule update --init --recursive| in your wpt checkout?
- # [11:15] <gamekathu> ya did it, but i think i missed to add -recursive flag in the git clone itself
- # [11:29] * Joins: Ms2ger (~Ms2ger@public.cloak)
- # [11:39] * Quits: Ms2ger (~Ms2ger@public.cloak) (Ping timeout: 180 seconds)
- # [11:49] * Joins: Ms2ger (~Ms2ger@public.cloak)
- # [12:01] * Quits: Ms2ger (~Ms2ger@public.cloak) (Ping timeout: 180 seconds)
- # [12:10] * Joins: Ms2ger (~Ms2ger@public.cloak)
- # [12:44] * Joins: ArtB (~ArtB@public.cloak)
- # [13:15] <gamekathu> jgraham: ok made a fresh rcursive clone and updated submodules, now when I launch the index.html in wpt/tools/runner by a python simpleHttpServer, I get this error : Failed to load resource: the server responded with a status of 501 (Unsupported method ('POST'))
- # [13:41] <Ms2ger> gamekathu, try running our custom server, ./serve in the root of your wpt clone
- # [13:42] <gamekathu> ok Ms2ger will do that
- # [14:02] * Quits: gamekathu (~gamekathu@public.cloak) ("Page closed")
- # [14:09] * Quits: Ms2ger (~Ms2ger@public.cloak) (Ping timeout: 180 seconds)
- # [14:17] * Joins: Ms2ger (~Ms2ger@public.cloak)
- # [16:47] * Joins: gamekathu (~gamekathu@public.cloak)
- # [16:51] * Joins: Kyle (~Kyle@public.cloak)
- # [16:51] <Kyle> Hey
- # [16:52] * Quits: Kyle (~Kyle@public.cloak) ("Page closed")
- # [17:07] * Joins: jyasskin (~textual@public.cloak)
- # [17:15] <Ms2ger> Bye
- # [17:37] * Quits: Ms2ger (~Ms2ger@public.cloak) ("Leaving")
- # [17:41] * Joins: Ms2ger (~Ms2ger@public.cloak)
- # [17:42] * Joins: gamekathu_ (~gamekathu@public.cloak)
- # [17:45] * Quits: hgl (~hgl@public.cloak) (Ping timeout: 180 seconds)
- # [17:46] * Quits: gamekathu (~gamekathu@public.cloak) (Ping timeout: 180 seconds)
- # [17:47] * Joins: hgl (~hgl@public.cloak)
- # [17:59] <gamekathu_> MikeSmith: hi, as per your suggestion I am trying out the issues. now while creating a separate local branch, it is advised in the webpage to give it a test topic name. now can i give it the issue number itself? just want to know the standards
- # [17:59] <jgraham> gamekathu_: You can really give it any name you want, it doesn't matter
- # [18:00] <gamekathu_> jgraham: cool.
- # [18:01] <gamekathu_> jgraham: is there any doc explaining how to write yaml test cases?
- # [18:04] * Joins: bhill2 (~bhill2@public.cloak)
- # [18:05] <jgraham> The 2dcontext ones? Only the source code
- # [18:07] <gamekathu_> okay
- # [18:09] * Disconnected
- # [18:10] * Attempting to rejoin channel #testing
- # [18:10] * Rejoined channel #testing
- # [18:10] * Quits: krijnhoetmer (~krijnhoetmer@public.cloak) (Client closed connection)
- # [18:29] * Quits: bhill2 (~bhill2@public.cloak) (Client closed connection)
- # [18:33] * Joins: bhill2 (~bhill2@public.cloak)
- # [18:35] <gamekathu_> jgraham: ok I have changed the yaml file, now as given in the issue #1602 I run python gentest.py. Now a lot of files are being modified / created. do I need to add them all to the repo or just my change?
- # [18:39] <jgraham> gamekathu_: Well your change there should presumably modify at least one output file, so you need more than just the YAML change
- # [18:39] <Ms2ger> But probably also not "a lot"
- # [18:40] <jgraham> Yeah, I would add the yaml change and the output file corresponding to that addition, and ignore any other changes
- # [18:42] <gamekathu_> well as per the issue i added a case to test toDataUrl 'image/jpg' . but after running the gentest i can see the respective changed file (most probably '/html/semantics/embedded-content/the-canvas-element/toDataURL.jpg.html'), but along with it lots of other modifications / additions of files as well
- # [18:45] <gamekathu_> paste -> https://pastebin.mozilla.org/8841596
- # [18:45] <jgraham> So I think regenerating the png files can change metadata or something in the files; I don't think this is worth worring about
- # [18:45] <jgraham> I'm not sure why those files in ../../html changed
- # [18:46] <jgraham> It's also possible that someone has edited the yaml file and not actually regenererated the tests
- # [18:47] <gamekathu_> ok then i think i should add tests.yaml and the file '.../toDataURL.jpg.html' which is relevant to the test case
- # [18:47] <jgraham> gamekathu_: Yeah, I get a similar result to you running on a clean copy
- # [18:48] <jgraham> So I think there's a problem here and it's not your fault
- # [18:48] <gamekathu_> ok..
- # [18:48] <jgraham> But your plan is good, just ignore the other changes
- # [18:49] <gamekathu_> okay :)
- # [18:59] <gamekathu_> jgraham: another issue, i have added the test case and generated the file. now when I run the test runner with the correct folder, that html file is not tested.
- # [18:59] <jgraham> gamekathu_: You need to regenerate the manifest
- # [18:59] <gamekathu_> how to do that?
- # [18:59] <jgraham> ./manifest in the test root directory
- # [18:59] <gamekathu_> ok
- # [19:00] * Quits: bhill2 (~bhill2@public.cloak) (Client closed connection)
- # [19:02] * Joins: bhill2 (~bhill2@public.cloak)
- # [19:06] <gamekathu_> jgraham: updated manifest, still nothing. :(
- # [19:06] <jgraham> Oh
- # [19:06] <jgraham> Well what does the file look like?
- # [19:07] <gamekathu_> jgraham: https://pastebin.mozilla.org/8841597
- # [19:08] <gamekathu_> location: html/semantics/embedded-content/the-canvas-element/toDataURL.jpg.html
- # [19:12] <jgraham> Well that looks reasonably plausible
- # [19:13] <jgraham> I don't know why the runner isn't picking it up for you
- # [19:13] <jgraham> I suggest submitting the PR
- # [19:17] * terri_offline is now known as terri
- # [19:19] <gamekathu_> ok will do that
- # [19:27] * Joins: gitbot (~gitbot@public.cloak)
- # [19:27] -gitbot:#testing- [web-platform-tests] koustuvsinha opened pull request #2047: Test for toDataURL('image/jpg') (master...test#1602) https://github.com/w3c/web-platform-tests/pull/2047
- # [19:27] * Parts: gitbot (~gitbot@public.cloak)
- # [19:28] <gamekathu_> jgraham: https://github.com/w3c/web-platform-tests/pull/2047 my first PR in this repo :)
- # [19:32] <jgraham> gamekathu_: Thanks! I've reviewed your PR on a tool called critic https://critic.hoppipolla.co.uk/r/5690
- # [19:33] <jgraham> Please ask if you have any questions
- # [19:34] <gamekathu_> ok, first should i amend my last commit to change the commit msg?
- # [19:35] <jgraham> gamekathu_: No, do that last
- # [19:36] <jgraham> Generally altering the history upsets critic
- # [19:36] <jgraham> So avoid doing anything that requires a push -f until the review is otherwise ready to land
- # [19:36] <gamekathu_> ok. second, Ms2ger commented on the issue #1602 to put in jpg instead of jpeg
- # [19:37] <jgraham> Oh!
- # [19:37] <jgraham> Well I could well be wrong then
- # [19:37] <Ms2ger> I did?
- # [19:37] <jgraham> Oh, no, I see
- # [19:37] <gamekathu_> yeah.. :)
- # [19:38] <jgraham> I think he means toDataURL("image/jpg") on the input
- # [19:38] <jgraham> I guess I should check the spec now :)
- # [19:40] <jgraham> gamekathu_: From the spec it seems like the method should do nothing…
- # [19:40] <gamekathu_> can you give me the link of the spec?
- # [19:41] <gamekathu_> also, what should I change then
- # [19:42] <jgraham> Apparently I lost my ability to read
- # [19:42] <jgraham> It should create a PNG file
- # [19:42] <jgraham> https://html.spec.whatwg.org/#a-serialisation-of-the-bitmap-as-a-file
- # [19:42] <jgraham> "[...] If the user agent does not support the requested type, it must create the file using the PNG format. [PNG]"
- # [19:43] <jgraham> image/jpg isn't a type representing jpeg images (image/jpeg is)
- # [19:43] <jgraham> So theoretically a browser could do anything
- # [19:43] <jgraham> But im practice it should create png files
- # [19:45] <gamekathu_> the test was for jpg files, and according to spec : "the value "image/jpeg" would mean to generate a JPEG image"
- # [19:45] <gamekathu_> i think png test cases were covered earlier?
- # [19:45] <jgraham> gamekathu_: The test is for image/jpg (no e)
- # [19:46] <jgraham> Which != image/jpeg
- # [19:46] <gamekathu_> exactly.. thats why i did a regex jpg
- # [19:47] <jgraham> But it doesn't create a image/jpg data url because that format doesn't exist
- # [19:47] <jgraham> It creates an image/png data url
- # [19:47] <gamekathu_> ohh .. yes now i undestand
- # [19:48] <gamekathu_> yes it should return png..
- # [19:48] <gamekathu_> so this test case is actually an edge case for jpeg, such that if user string misses an 'e' it should return default png
- # [19:48] <gamekathu_> ?
- # [19:52] <jgraham> Yes
- # [19:54] <gamekathu_> jgraham: ok, then why this should be a separate test case when there is a toDataURL.bogustype case? https://github.com/w3c/web-platform-tests/blob/master/2dcontext/tools/tests.yaml#L486-L492
- # [19:59] <jgraham> gamekathu_: Because implementors are much more likely to get this specific case wrong than many others
- # [19:59] <jgraham> Especially since jpeg is commonly given the file extension jpg
- # [20:00] <gamekathu_> yes. okay understood it, sorry for asking too many questions :P
- # [20:00] <gamekathu_> will update my PR
- # [20:02] * Quits: bhill2 (~bhill2@public.cloak) (Client closed connection)
- # [20:03] <jgraham> asking questions is good :)
- # [20:04] <gamekathu_> updated PR, please review :)
- # [20:06] * Joins: bhill2 (~bhill2@public.cloak)
- # [20:10] <jgraham> gamekathu_: You didn't regenerate the test
- # [20:10] <gamekathu_> oh my.. totally forgot!!! :( sorry updating it
- # [20:15] <gamekathu_> jgraham: updated PR
- # [20:26] <jgraham> gamekathu_: OK, looks good apart from the commit message. Squash into one commit, reword the message and I'll merge when I get home (going afk now)
- # [20:26] <gamekathu_> ok :)
- # [20:38] <gamekathu_> done :) will work on the rest test cases tomorrow.. gd nt
- # [20:38] * Quits: gamekathu_ (~gamekathu@public.cloak) ("Page closed")
- # [20:38] * Quits: Ms2ger (~Ms2ger@public.cloak) (Ping timeout: 180 seconds)
- # [20:47] * Joins: ArtB1 (~ArtB@public.cloak)
- # [20:52] * Quits: ArtB (~ArtB@public.cloak) (Ping timeout: 180 seconds)
- # [21:14] * ArtB1 is now known as ArtB
- # [21:17] <ArtB> any w3c staff people available here and able to add @martinthomson to https://github.com/orgs/w3c/teams/webapps ?
- # [22:30] * Quits: jyasskin (~textual@public.cloak) ("My computer has gone to sleep. ZZZzzz…")
- # [22:41] * Joins: gitbot (~gitbot@public.cloak)
- # [22:41] -gitbot:#testing- [web-platform-tests] jgraham closed pull request #2047: Test for toDataURL('image/jpg') (master...test#1602) https://github.com/w3c/web-platform-tests/pull/2047
- # [22:41] * Parts: gitbot (~gitbot@public.cloak)
- # [22:44] * Joins: jyasskin (~textual@public.cloak)
- # Session Close: Wed Aug 05 00:00:00 2015
Previous day, Next day
Think these logs are useful? Then please donate to show your gratitude (and keep them up, of course). Thanks! — Krijn