/irc-logs / w3c / #testing / 2013-06-14 / end

Options:

  1. # Session Start: Fri Jun 14 00:00:00 2013
  2. # Session Ident: #testing
  3. # [00:57] * heycam is now known as heycam|away
  4. # [00:58] * heycam|away is now known as heycam
  5. # [00:58] * heycam is now known as heycam|away
  6. # [01:13] * heycam|away is now known as heycam
  7. # [02:49] * Quits: ArtB (~abarsto@public.cloak) ("Leaving.")
  8. # [02:53] * Quits: Vishal (~Vishal@public.cloak) (Ping timeout: 180 seconds)
  9. # [03:21] * heycam is now known as heycam|away
  10. # [04:03] * heycam|away is now known as heycam
  11. # [04:45] * Quits: zqzhang (~zqzhang@public.cloak) ("Page closed")
  12. # [08:01] * heycam is now known as heycam|away
  13. # [08:02] * Quits: heycam|away (~cam@public.cloak) ("Terminated with extreme prejudice - dircproxy 1.0.5")
  14. # [08:03] * Joins: heycam (~cam@public.cloak)
  15. # [08:32] * Joins: Ms2ger (~Ms2ger@public.cloak)
  16. # [09:32] * heycam is now known as heycam|away
  17. # [09:38] * Joins: Lachy_ (~Lachy@public.cloak)
  18. # [09:40] * Quits: Lachy (~Lachy@public.cloak) (Ping timeout: 180 seconds)
  19. # [09:49] * Joins: Lachy (~Lachy@public.cloak)
  20. # [09:49] * Quits: Lachy_ (~Lachy@public.cloak) (Ping timeout: 180 seconds)
  21. # [10:34] * Joins: darobin (rberjon@public.cloak)
  22. # [12:26] * Joins: abarsto (~abarsto@public.cloak)
  23. # [12:26] * abarsto is now known as ArtB
  24. # [14:32] * Joins: plh (plehegar@public.cloak)
  25. # [14:58] * Joins: sstewart6 (~simons@public.cloak)
  26. # [15:00] * Joins: enricostn (~enrico@public.cloak)
  27. # [15:06] * Joins: RRSAgent (rrsagent@public.cloak)
  28. # [15:06] <RRSAgent> logging to http://www.w3.org/2013/06/14-testing-irc
  29. # [15:07] * Ms2ger waves at the testers
  30. # [15:07] <wilhelm> Meeting: WebDriver F2F, June 14th 2013
  31. # [15:08] * Joins: fisherii (~fisherii@public.cloak)
  32. # [15:09] * Joins: AutomatedTester (~AutomatedTester@public.cloak)
  33. # [15:11] <wilhelm> Agenda: http://www.w3.org/wiki/WebDriver/2013-June-F2F
  34. # [15:11] * sstewart6 waves back
  35. # [15:11] <wilhelm> Chair: sstewart6
  36. # [15:11] <wilhelm> Scribe: wilhelm
  37. # [15:11] <wilhelm> RRSAgent, draft minutes
  38. # [15:11] <RRSAgent> I have made the request to generate http://www.w3.org/2013/06/14-testing-minutes.html wilhelm
  39. # [15:11] <wilhelm> RRSAgent, make logs public
  40. # [15:11] <RRSAgent> I have made the request, wilhelm
  41. # [15:12] <wilhelm> Topic: Test suite
  42. # [15:12] <wilhelm> Scribe: plh
  43. # [15:13] * Joins: JohnJansen (~JohnJansen@public.cloak)
  44. # [15:13] <plh> David: it was more working on it and writing tests
  45. # [15:13] <AutomatedTester> Present+ DavidBurns
  46. # [15:13] <plh> John: not sure if this is the venue or email but I'd like to understand the end-to-end plan for it
  47. # [15:13] <plh> Present+ plh
  48. # [15:14] <plh> David: it's in mercurial
  49. # [15:14] <sstewart6> https://dvcs.w3.org/hg/webdriver-test
  50. # [15:14] <wilhelm> Present+ Wilhelm
  51. # [15:14] <plh> David: we're trying to port the open source project tests
  52. # [15:14] <plh> ... those have grown quite organically over the years
  53. # [15:14] <plh> ... sort them, etc.
  54. # [15:14] <plh> ... we're trying to move them across
  55. # [15:15] <plh> ... there are parts when the tests and the spec diverge
  56. # [15:15] <plh> ... like at TPAC
  57. # [15:15] <plh> ... but we think the spec is correct and need to fix the tests
  58. # [15:15] <plh> Simon: we're taking the tests andmaking sure they map to the spec
  59. # [15:16] <plh> ... once we're complete with the move, we can remove the tests in selenium
  60. # [15:16] <plh> plh: license for the tests?
  61. # [15:16] <plh> Simon: all Apache 2 tests
  62. # [15:16] <plh> ... we're clean on that front
  63. # [15:18] <plh> John: is there a structure for submission?
  64. # [15:18] <plh> ... like in the CSS WG
  65. # [15:18] <plh> Simon: correct, it would be better to have a holding
  66. # [15:18] * Quits: sstewart6 (~simons@public.cloak) (Client closed connection)
  67. # [15:19] * Joins: sstewart6 (~simons@public.cloak)
  68. # [15:21] <plh> plh: [trying to motivate the group to move to web-platform-tests github]
  69. # [15:22] * Ms2ger plh++
  70. # [15:22] * Ms2ger pokes AutomatedTester to support that
  71. # [15:23] * Joins: gdennis1 (~Adium@public.cloak)
  72. # [15:24] * Joins: kkania (~kkania@public.cloak)
  73. # [15:24] <AutomatedTester> https://github.com/w3c/web-platform-tests
  74. # [15:24] * gdennis1 is now known as gdennis
  75. # [15:24] * Joins: chrisgao (~chrisgao@public.cloak)
  76. # [15:28] <plh> All: looks like a compelling case
  77. # [15:28] <plh> Simon: let's do it then
  78. # [15:29] <plh> Resolution: webdriver tests will merge into web-platform-tests
  79. # [15:30] <fisherii> Present+ MarcFisher
  80. # [15:30] <sstewart6> Present+ SimonStewart
  81. # [15:30] <kkania> Present+ KenKania
  82. # [15:30] <JohnJansen> Present+ JohnJansen
  83. # [15:30] <gdennis> Present + GregDennis
  84. # [15:31] <chrisgao> Present + ChrisGao
  85. # [15:31] <plh> rrsagent, generate minutes
  86. # [15:31] <RRSAgent> I have made the request to generate http://www.w3.org/2013/06/14-testing-minutes.html plh
  87. # [15:31] * jgraham wonders about merging with web-platform-tests
  88. # [15:31] <plh> Simon: we already covered language in the test suite (python)
  89. # [15:32] <plh> Wilhelm: we should distribute chapters
  90. # [15:32] <jgraham> (not been following, but it's not clear to me that webdriver tests are much like the other tests there, or if they have the same license)
  91. # [15:32] <plh> Simon: will look 9, 10, 11
  92. # [15:32] <plh> ... reading element state and executing JS
  93. # [15:32] <jgraham> (although there are ofc adcvantages e.g. you get free documentation)
  94. # [15:32] <plh> Wilhelm: I'll do 16 screenshots
  95. # [15:33] <plh> David: I'll do 10 and 17
  96. # [15:33] <plh> Simon: I'll do 9 and 11
  97. # [15:34] <plh> David: I'll do 14 as well
  98. # [15:34] <sstewart6> https://dvcs.w3.org/hg/webdriver/raw-file/tip/webdriver-spec.html
  99. # [15:34] <plh> (confusing about the spec version :)
  100. # [15:34] <plh> s/sing/sion/
  101. # [15:34] <plh> Ken: I'll do 5 and 6
  102. # [15:34] <plh> John: I'll do 2 and 3
  103. # [15:36] <plh> Chris: I'll do 15
  104. # [15:36] <plh> ACTION: Simon to figure testing for chapters 9 and 11
  105. # [15:36] * RRSAgent records action 1
  106. # [15:37] <plh> ACTION: David to figure testing for chapters 10, 14 and 17
  107. # [15:37] * RRSAgent records action 2
  108. # [15:37] <plh> ACTION: Chris to figure testing for chapters 2 and 3
  109. # [15:37] * RRSAgent records action 3
  110. # [15:37] <plh> ACTION: Wilhelm to figure testing for chapters 16
  111. # [15:37] * RRSAgent records action 4
  112. # [15:37] <plh> ACTION: Chris to figure testing for chapters 15
  113. # [15:37] * RRSAgent records action 5
  114. # [15:38] <plh> ACTION: Ken to figure testing for chapters 5 and 6
  115. # [15:38] * RRSAgent records action 6
  116. # [15:38] <plh> ACTION: John to figure out testing for chapter 1
  117. # [15:38] * RRSAgent records action 7
  118. # [15:38] <plh> s/Chris to figure testing for chapters 2 and/John to figure testing for chapters 2 and/
  119. # [15:39] <plh> rrsagent, generate minutes
  120. # [15:39] <RRSAgent> I have made the request to generate http://www.w3.org/2013/06/14-testing-minutes.html plh
  121. # [15:39] <plh> ACTIOn: Simon to create the web-platform-tests directory and move tests there
  122. # [15:39] * RRSAgent records action 8
  123. # [15:40] <plh> Simon: we'll figure out the other chapters later
  124. # [15:42] <plh> [figuring out the next agenda item]
  125. # [15:43] <plh> Topic: SysApps
  126. # [15:43] <sstewart6> http://www.w3.org/wiki/System_Applications
  127. # [15:43] <plh> David: those are related to OS APIs. we're doing testing with marionette
  128. # [15:44] <plh> ... we have JS libraries for access to things, like contacts, set geolocation, etc.
  129. # [15:45] <plh> ... we do tests for batteries, bluetooth, livemaps, etc.
  130. # [15:46] <plh> ... not sure I don't think we need to worry about it. we didn't extend marionette for them, we use the execute script method
  131. # [15:46] <plh> [Simon goes through the list of APIs]
  132. # [15:46] <plh> David: in Firefox OS we have a browser within a browser
  133. # [15:46] <plh> Simon: we must go deeper :)
  134. # [15:46] <plh> David: everything is based in an iframe
  135. # [15:47] <plh> ... we try to prevent cross browser contamination
  136. # [15:47] <plh> ... chrome os is doing similar things
  137. # [15:47] <plh> ... a lot of these have come pout of Mozilla while working on firefox os
  138. # [15:47] <sstewart6> Specs appear to be here: https://github.com/sysapps
  139. # [15:47] <plh> ... they are certain OEM who see value in it, like Samsung
  140. # [15:48] <plh> ... don't think there are a lot of difference
  141. # [15:48] <plh> ... the webdriver is low enough and don't need tweaking
  142. # [15:49] <plh> David: Marionette is the only I think I can use to test firefox os
  143. # [15:49] <plh> ACTION: David to double check there is no need to extend WebDriver because of Firefox OS
  144. # [15:49] * RRSAgent records action 9
  145. # [15:49] <plh> Simon: it works because the OS is written in JS...
  146. # [15:49] <plh> David: agree but others would be out of scope
  147. # [15:49] <plh> Simon: ok
  148. # [15:51] <plh> Topic: Security dialogs
  149. # [15:51] <sstewart6> driver.authtenticateAs(Credentials)
  150. # [15:52] <sstewart6> http://selenium.googlecode.com/git/docs/api/java/org/openqa/selenium/Alert.html#authenticateUsing(org.openqa.selenium.security.Credentials)
  151. # [15:52] <plh> Simon: it is currently unimplemented
  152. # [15:52] <plh> ... it's there only as a local end API at the moment
  153. # [15:53] <plh> ... this isn't handling things like OpenID
  154. # [15:53] <plh> ... you would just write that use normal primitive
  155. # [15:53] <plh> ... we model all modal dialogs as an alter
  156. # [15:53] <plh> s/alter/alert/
  157. # [15:54] <plh> John: this is targetting the security dialog but we didn't target modal dialogs yet, right?
  158. # [15:54] <plh> Simon: it's in the wired protocol
  159. # [15:54] <sstewart6> https://code.google.com/p/selenium/wiki/JsonWireProtocol#/session/:sessionId/alert_text
  160. # [15:54] <sstewart6> https://code.google.com/p/selenium/wiki/JsonWireProtocol#/session/:sessionId/accept_alert
  161. # [15:54] <sstewart6> https://code.google.com/p/selenium/wiki/JsonWireProtocol#/session/:sessionId/dismiss_alert
  162. # [15:54] <plh> David: this is the open source wire protocol, not the google one
  163. # [15:55] <plh> Simon: this will be migrated into the missing appendix
  164. # [15:55] <plh> Simon: the way we handle dialog: we assume they all have the same level functionality: dismiss, cancel, send keys, get the text of the alter itself
  165. # [15:56] <plh> ... make sure to fill a field, ie finding out what the prompt is about
  166. # [15:56] <plh> ... because you're doing auth, you may do user/passwrd but there is a level of indirection
  167. # [15:56] <plh> Simon: do we want to allow webdriver to access basic digest? or is it out of scope?
  168. # [15:56] <plh> Wilhelm: right now, I'm sending keys to the browser
  169. # [15:57] <plh> John: automating a security dialog is a threat imho. it needs to be detailed and complete.
  170. # [15:58] <plh> ... doing something that sounds insecure wouldn't fly in the company
  171. # [15:58] <plh> ... we might not do it even if the spec says we have to
  172. # [15:59] <plh> ... the limitation here that wouldn't be able to use webdriver for auth
  173. # [15:59] <plh> Wilhem: how can I auth my staging area?
  174. # [15:59] <plh> John: would need to auth first
  175. # [15:59] <plh> Soimon: but we can't connect to a running server
  176. # [16:00] <plh> Simon: on services like sourcelabs, you don't even have access...
  177. # [16:00] <plh> s/Soimon/Simon/
  178. # [16:00] <sstewart6> s/sourcelabs/Sauce Labs/
  179. # [16:01] <plh> David: for marionette, it's in the nightly. we got it approved: you would need to pass a flag
  180. # [16:01] <plh> ... for desktop, it's command line flag. this goes through a number of checks, including certain preferences
  181. # [16:01] <plh> ... if one is missing, marionette doesn't start
  182. # [16:02] <plh> ... ie you have to do several steps to put you in an insecure state
  183. # [16:02] <plh> ... for mobile, it's going to be different
  184. # [16:02] <plh> ... we'll visit that once we're ready for the general public
  185. # [16:02] <plh> ... that's how we got through the security review
  186. # [16:03] <plh> Simon: the command line turns the browser into something that is listening
  187. # [16:03] <plh> David: you need to have a number of commands in order to activate it
  188. # [16:03] <plh> ... you can't remote over a network
  189. # [16:03] <plh> ... you would need to have an intermediairy on the remote machine
  190. # [16:04] <plh> ... you can't speak to marionette over the network
  191. # [16:04] <plh> ... could be overriden but require deep knowledge of preferences
  192. # [16:05] <plh> ... of course, if you can do silly things
  193. # [16:05] <plh> John: interesting approach even if 99.9% guarantee isn't enough
  194. # [16:05] <plh> John: in order to be hacked you need to make 3 or 4 wrong decisions
  195. # [16:05] <plh> David: correct
  196. # [16:06] <plh> Ken: it's a similar approach in Chrome
  197. # [16:06] <plh> ... for android, not sure how the options get passed
  198. # [16:06] <plh> ... since we don't speak wire protocol in chrome, you need a separate binary
  199. # [16:07] <plh> David: yes, we have a shime for the http protocol as well
  200. # [16:07] <sstewart6> s/ shime / shim /
  201. # [16:08] <plh> David: preventing add-ons from switching on marionette was vital
  202. # [16:08] <plh> ... those aren't allowed in the store. those get automatically flagged
  203. # [16:09] <plh> ... if you don't go through the store, all bets are off
  204. # [16:10] <plh> ... I can find the security discussion meeting...
  205. # [16:11] <plh> Simon: if you've got an API for automated browser, spammer can use it. there are JS variables to detect webdriver was enabled.
  206. # [16:11] <plh> ... should we agree on a fingerprint
  207. # [16:11] <plh> John: seems like a must to me
  208. # [16:12] <plh> ... otherwise webdriver will be used against captcha
  209. # [16:12] <AutomatedTester> https://bugzilla.mozilla.org/show_bug.cgi?id=870576 https://wiki.mozilla.org/Security/Reviews/MarionetteCLIAll
  210. # [16:13] <plh> Simon: so, is our spec the right place to put that in and should it be the same in all browsers?
  211. # [16:13] <plh> Simon: initially, I was doing security through obscurity...
  212. # [16:14] <plh> John: the obscurity will get clear very quickly...
  213. # [16:14] <plh> ... there has to be something else
  214. # [16:14] <plh> Simon: if you set an attribute on a document, it can get overriden...
  215. # [16:14] <plh> ... in the ideal world, you would set a header
  216. # [16:15] <plh> ... and you would set an attribute that cannot overriden, like document.automated
  217. # [16:15] <plh> ... but then you can take advantage of the scoping rule...
  218. # [16:15] <plh> ... and substitute it
  219. # [16:16] <plh> David: some large websites, like Amazon, do detect things like phantomjs already
  220. # [16:16] <plh> Simon: I'm going to siuggest a header
  221. # [16:16] <plh> John: we might learn from XHR/CORS
  222. # [16:17] <plh> ... it's sort of a similar problem. the combination of header and attribute could do it
  223. # [16:18] <plh> ... so we must have a fingerprint, with a header and an attribute, and do a security review
  224. # [16:18] <plh> Simon: let's put a strawman in the spec and get review
  225. # [16:19] <plh> ACTION: Simon to put a proposal in the spec around the security mechanism header and attribute
  226. # [16:19] * RRSAgent records action 10
  227. # [16:19] <plh> ACTION: All get their security teams to review Simon's proposal
  228. # [16:19] * RRSAgent records action 11
  229. # [16:19] <plh> ACTION: Wilhelm to ping the Web Security WG on Simon's proposal
  230. # [16:19] * RRSAgent records action 12
  231. # [16:20] <plh> John: we have non-modal notification, like saveAs, etc.
  232. # [16:20] <plh> Simon: we didn't run into those yet, like geolocation. we just defaulted everything to a particular state
  233. # [16:21] <plh> John: some dialogs have several states, like the activeX (no, never, yes once, yes always)
  234. # [16:22] <plh> Simon: that's leading in extra capabilities in HTML5...
  235. # [16:22] <plh> ... does user media use the same prompt as geoloc? are those consistent?
  236. # [16:22] <plh> David: we're consistent
  237. # [16:22] <plh> John: as we are
  238. # [16:23] <plh> David: we call those door hangers
  239. # [16:23] <plh> [David shows the design]
  240. # [16:23] <plh> [one button with several options]
  241. # [16:24] * Ms2ger photos!
  242. # [16:24] <plh> Simon: so, what do we do? provide an API to allow a capability?
  243. # [16:24] <plh> ... we nuke the profile everytime in Chrome
  244. # [16:25] <plh> ... so always share doesn't really matter
  245. # [16:26] <plh> ... we could override switchTo, like switchTo the permission dialog and then use the existing command (dismiss, ok)
  246. # [16:26] <plh> ... if you ignore the dialog, it will default to No
  247. # [16:27] <plh> Wilhelm: when I test the geoloc spec as a browser vendr, I'd want the four options but that's only 5 orgs in the world
  248. # [16:28] <plh> Simon: you can set a profile...
  249. # [16:28] <plh> Simon: so we want to pick between the two accept states
  250. # [16:28] <plh> Marc: really, it's all four
  251. # [16:28] <plh> ... so it's its own alert object
  252. # [16:29] <plh> ... if we change the wire protocol to allow an index for dialog...
  253. # [16:29] <plh> Simon: so alert response is the end point?
  254. # [16:29] <plh> All: yes
  255. # [16:30] <plh> ACTION: Simon to change the wire protocol to add the alert response and could take 4 responses (yes, yes always, no, no, always)
  256. # [16:30] * RRSAgent records action 13
  257. # [16:30] <plh> John: what about ignore?
  258. # [16:30] <plh> ... it's functionally equivalent to No
  259. # [16:30] <plh> Wilhelm: so 4 options
  260. # [16:31] <plh> John: I still would like to test this...
  261. # [16:31] <plh> Marc: what about a string with predefined values?
  262. # [16:31] <plh> Simon: I'm fine with mandating four and allow extensions
  263. # [16:31] <plh> John: I still would like to have ignore
  264. # [16:31] <AutomatedTester> Ms2ger: I just showed a doorhanger :)
  265. # [16:32] <plh> Simon: if we find it's useful, we can always come back to it in version 1.1
  266. # [16:32] <plh> Simon: a few things to consider now: mocking locations, for image capture, mimicking the data
  267. # [16:33] <plh> Marc: orientation...
  268. # [16:33] * plh wouldn't mind more coffee
  269. # [16:33] <sstewart6> Let's get coffee!
  270. # [16:34] * JohnJansen testing
  271. # [16:34] * sstewart6 waves at JohnJansen
  272. # [16:34] <plh> rrsagent, generate minutes
  273. # [16:34] <RRSAgent> I have made the request to generate http://www.w3.org/2013/06/14-testing-minutes.html plh
  274. # [16:51] * Quits: enricostn (~enrico@public.cloak) ("Saliendo")
  275. # [16:54] * Quits: chrisgao (~chrisgao@public.cloak) (Ping timeout: 180 seconds)
  276. # [16:56] * Quits: sstewart6 (~simons@public.cloak) (Ping timeout: 180 seconds)
  277. # [17:01] * Joins: chrisgao (~chrisgao@public.cloak)
  278. # [17:01] <kkania> Scribe: kkania
  279. # [17:02] * Joins: sstewart6 (~simons@public.cloak)
  280. # [17:02] <sstewart6> Present+ SimonStewart
  281. # [17:02] <sstewart6> ok
  282. # [17:03] <sstewart6> https://code.google.com/p/selenium/wiki/JsonWireProtocol#/session/:sessionId/location
  283. # [17:04] <kkania> Topic: handling location, camera, and other sensors
  284. # [17:04] <kkania> sstewart6: we have a number of options to do here
  285. # [17:05] <kkania> location, and media capture are probably the big 2
  286. # [17:05] <kkania> that would solve must individual use cases right now
  287. # [17:05] <kkania> JohnJansen: there is a slightly different question
  288. # [17:07] * plh is disappointed we can't agree on a cat picture
  289. # [17:07] <kkania> sstewart6: it sounds like we should ask the people writing the specs to tell us what the best way to supply the mock data is
  290. # [17:07] <sstewart6> plh: there will be a cat picture
  291. # [17:07] <kkania> AutomatedTester: we can mock geolocation in js
  292. # [17:08] <sstewart6> kkania: the link above ponts at the wire protocol
  293. # [17:08] <kkania> sstewart6: I'm suggesting the two we should bake in now are geolocation and media capture
  294. # [17:09] <kkania> plh: what about device orientation?
  295. # [17:09] <kkania> sstewart6: and device orientation
  296. # [17:09] <kkania> sstewart6: so there's three we should bake
  297. # [17:09] <plh> http://dev.w3.org/geo/api/spec-source-orientation.html
  298. # [17:10] <sstewart6> Orientation as it is now: https://code.google.com/p/selenium/wiki/JsonWireProtocol#/session/:sessionId/orientation
  299. # [17:10] <kkania> fisherii: portrait/landscape is different from device orientation
  300. # [17:11] <kkania> sstewart6: ok, let's go back to our original two, and allow users to specify whether it is upright or landscape
  301. # [17:12] <kkania> gdennis: there's portrait, landscape, portrait secondary, and landscape secondary
  302. # [17:13] <gdennis> http://www.w3.org/TR/screen-orientation/
  303. # [17:13] <kkania> fisherii: we should base orientation off of this spec
  304. # [17:14] <sstewart6> http://www.w3.org/TR/screen-orientation/#allowed-orientations
  305. # [17:15] <kkania> JohnJansen: I don't know if we support all 4 states
  306. # [17:15] <kkania> gdennis: that could be a no-op
  307. # [17:15] <kkania> fisherii: it could depend on the browser and device
  308. # [17:15] <kkania> fisherii: does the browser actually support that rotation, or device
  309. # [17:15] <kkania> but i think it should throw an exception if it is unsupported orientation
  310. # [17:16] <kkania> gdennis: i don't think it should be an exception, a user can put it in the orientation
  311. # [17:16] <kkania> fisherii: but screen orientation is not the same as the device orientation
  312. # [17:16] <kkania> AutomatedTester: so if we were to do all of this, telling the browser to change the orientation is going to be extremely difficult
  313. # [17:16] <kkania> so in the example of ff os, we can do it on the emulator, but not on real devices
  314. # [17:17] <kkania> AutomatedTester: we can't get the device to change orientation programmatically
  315. # [17:17] <kkania> sstewart6: well you could
  316. # [17:17] <kkania> sstewart6: there are things we'd like to say in the spec, even if the browser can't currently do it
  317. # [17:17] <kkania> AutomatedTester: can we expect the browsers to do this?
  318. # [17:17] <kkania> fisherii: well it's capability based, whether controlling the orientation is possible
  319. # [17:18] <kkania> if the device doesn't support it, the capability should return false
  320. # [17:18] <kkania> wilhelm: so what does happen if you do turn the device in question, does the orientation change
  321. # [17:18] <kkania> wilhelm: if the device can actually do it, we should be able to automate it
  322. # [17:19] <kkania> sstewart6: the language i want in the spec, is if you support a capability, you must provide the functionality
  323. # [17:20] <kkania> sstewart6: so are we happy with orientation, the four orientation values, for geolocation, latitude, longitude, altitidue
  324. # [17:21] <kkania> how long do these things stick for
  325. # [17:21] <kkania> fisherii: until change?
  326. # [17:21] <kkania> fisherii: rest of the session basically
  327. # [17:21] <kkania> sstewart6: ok
  328. # [17:21] <kkania> sstewart6: for media capture, we just allow people to upload a screenshot or something?
  329. # [17:21] <kkania> AutomatedTester: that's interesting, since you can do video and stuff
  330. # [17:22] <kkania> AutomatedTester: for webrtc, that's the biggest use case
  331. # [17:22] <kkania> fisherii: but the video could be a still picture
  332. # [17:22] <kkania> fisherii: and we don't do that well on dynamic things anyways
  333. # [17:22] <kkania> AutomatedTester: that's fine, as long as that is documented
  334. # [17:22] <sstewart6> http://www.w3.org/TR/2012/WD-html-media-capture-20120529/
  335. # [17:22] <kkania> wilhelm: we could maybe make it simpler by not needing a picture from the user, but by just coloring the screen example
  336. # [17:23] <kkania> fisherii: camera is easy also, since it is only a single image
  337. # [17:24] <sstewart6> http://www.w3.org/TR/mediacapture-streams/
  338. # [17:25] <kkania> fisherii: all of these are just file pickers on some sense
  339. # [17:25] <kkania> sstewart6: yes, they all upload a file of some sort, but how they capture is differnet
  340. # [17:25] <kkania> fisherii: so we don't have to do anything special about these, just treat them like any other file
  341. # [17:26] <kkania> sstewart6: ok, that makes life a lot easier
  342. # [17:26] <kkania> fisherii: i was thinking when we were talking about media we were talking about media streams
  343. # [17:26] <kkania> sstewart6: i don't think we're ready to tackle that one yet
  344. # [17:28] <wilhelm> Photo demo: http://shinydemos.com/photo-booth/
  345. # [17:29] <kkania> Resolution: we'll support geolocation and screen orientation and handle media capture as standard file inputs; punt on everything else
  346. # [17:30] <kkania> Topic: Local storage and app cache and normal html caches
  347. # [17:30] <sstewart6> https://code.google.com/p/selenium/issues/detail?id=40
  348. # [17:31] <kkania> sstewart6: this is one of the oldest selenium bugs
  349. # [17:31] <kkania> fisherii: you can clear the cookies now
  350. # [17:31] <kkania> sstewart6: so that's interesting, since we can't clear the httponly cookies
  351. # [17:31] <kkania> sstewart6: so, clearing caches, can we do it, should we allow it
  352. # [17:33] <kkania> sstewart6: at google, people often wanted pre-warmed app caches so when they hit the site they could just start doing things
  353. # [17:33] <kkania> instead of going through all the hoops
  354. # [17:33] <kkania> fisherii: so they wanted to start with a known state
  355. # [17:33] <kkania> can't you do that in ff by serializing the profile
  356. # [17:34] <kkania> sstewart6: so there's three different caches, html and cookie cache, app cache, and local storage
  357. # [17:34] <kkania> plh: what about index db?
  358. # [17:34] <plh> s/index/indexed/
  359. # [17:34] <kkania> sstewart6: and indexeddb
  360. # [17:35] <kkania> fisherii: i assumes this is because the don't want to incur overhead of restarting the browser
  361. # [17:35] <kkania> sstewart6: or if they're using IE, which doesn't use a clean profile per run
  362. # [17:35] <kkania> sstewart6: or some mobile browsers
  363. # [17:36] <kkania> fisherii: I would find this useful personally, if we could nuke all of that state
  364. # [17:37] * Quits: JohnJansen (~JohnJansen@public.cloak) (Ping timeout: 180 seconds)
  365. # [17:38] <kkania> plh: what about clearing security state or geolocation ...?
  366. # [17:40] <kkania> sstewart6: ok, so we don't support clearing caches midway thru, but we guarantee on start up things are in a clean state
  367. # [17:41] <kkania> fisherii: except IE can't guarantee clean state
  368. # [17:41] <kkania> sstewart6: the spec should aim high
  369. # [17:42] <kkania> John: you can tell IE to clean the state on exit
  370. # [17:42] <kkania> fisherii: ok, that's good; although there's still difficulty on mobile
  371. # [17:43] <kkania> sstewart6: should it be a should or a must
  372. # [17:44] <kkania> John: I think it should be a should
  373. # [17:44] <kkania> AutomatedTester: should be a must, but pragmatically a should
  374. # [17:44] <kkania> sstewart6: let's start with a must right now, and we'll have a chance for review
  375. # [17:45] <kkania> plh: is there a way to test this is implemented
  376. # [17:45] <kkania> sstewart6: yes, there is, load a file, delete it, and try to access it again
  377. # [17:46] <kkania> sstewart6: or we could stick a proxy in the way, start a new session, configure with a proxy, request a file, and then request it again, the first time with proper caching headers; restarting the browser, it should download the file again
  378. # [17:46] <kkania> plh: or you can just do local storage
  379. # [17:46] <kkania> fisherii: we want tests for all these aspects of state
  380. # [17:46] <kkania> fisherii: when we talk about the state, we should define what we mean
  381. # [17:47] * Joins: jhammel (~jhammel@public.cloak)
  382. # [17:47] * Parts: jhammel (~jhammel@public.cloak) (jhammel)
  383. # [17:47] <kkania> sstewart6: i think you're right, anyone disagree?

The end :)