Re: Writing web-platform-tests using non-web-exposed APIs is now easier

2020-10-26 Thread James Graham
On 26/10/2020 14:11, Mirko Brodesser wrote: Supporting synthesizing drag-and-drop events [1] That seems like the kind of thing that ought to be covered by testdriver. Would something like new test_driver.Actions() .pointerMove(0,0,{origin:elem1}) .pointerDown() .pointerMove(0,0,{origin

Re: Writing web-platform-tests using non-web-exposed APIs is now easier

2020-10-26 Thread Mirko Brodesser
On Wednesday, October 21, 2020 at 11:56:45 AM UTC+2, James Graham wrote: > Two changes that recently landed in web-platform-tests make it easier to > write tests that require access to non-web-exposed features: > > * testdriver APIs now work in many situations involving multiple > browsing cont

Writing web-platform-tests using non-web-exposed APIs is now easier

2020-10-21 Thread James Graham
Two changes that recently landed in web-platform-tests make it easier to write tests that require access to non-web-exposed features: * testdriver APIs now work in many situations involving multiple browsing contexts origins * SpecialPowers is now available in gecko-only web-platform-tests t