canmove, Confirmed users, Bureaucrats and Sysops emeriti
4,747
edits
(add May 19) |
m (Whimboo moved page Remote/News to WebDriver/RemoteProtocol/News: Reorganization for WebDriver BiDi project documenation) |
||
| (5 intermediate revisions by one other user not shown) | |||
| Line 1: | Line 1: | ||
Highlights in recent work on Remote Protocol and WebDriver BiDi. | |||
== 2020-12-19 == | |||
We are gradually publishing [https://hacks.mozilla.org/2020/12/cross-browser-testing-part-1-web-app-testing-today/ blog posts] about how our work in Firefox is helping the web testing ecosystem. | |||
For the past months, the team has been focused on adding site-isolation support for [https://firefox-source-docs.mozilla.org/testing/marionette/index.html Marionette] and participating in the standardization process for [https://w3c.github.io/webdriver-bidi/ WebDriver BiDi]. | |||
Aside from that, we also landed a number of small improvements to our Remote Protocol implementation. Here are some highlights: | |||
<pre> | |||
f6fd4b85734e Henrik Skupin Bug 1641839 - [remote] Only emit Page.frameAttached and Page.frameAttached for frames. r=remote-protocol-reviewers,maja_zf | |||
21693836e4ec Henrik Skupin Bug 1639467 - [remote] Enable page events after loading initial page in browser_frameAttached.js. r=remote-protocol-reviewers,maja_zf | |||
5b83370e0913 Henrik Skupin Bug 1636373 - [remote] Only emit Runtime.executionContextsCleared event for top-level execution contexts. r=remote-protocol-reviewers,maja_zf | |||
0704e56577ad Henrik Skupin Bug 1644695 - [remote] Return the frameId of the frame when DOM.describeNode is called with a frame element. r=remote-protocol-reviewers,maja_zf | |||
59cd08b79678 Henrik Skupin Bug 1637640 - [remote] Enable page load events for frames. r=remote-protocol-reviewers,maja_zf | |||
df561c571cfd Maja Frydrychowicz Bug 1646923 - [remote] Add metadata checks for skipped and extra tests r=remote-protocol-reviewers,whimboo | |||
06435d32c9fe Gabriel Luong Bug 1595710 - Add support for "platform" to Emulation.setUserAgentOverride r=remote-protocol-reviewers,whimboo | |||
c52d1bf844e8 Maja Frydrychowicz Bug 1632722 - IO.read hits 'too many arguments' r=remote-protocol-reviewers,jgraham | |||
5198f71d9969 Henrik Skupin Bug 1662549 - [puppeteer] Don't set "toolkit.telemetry.server" to prevent side-effects. r=remote-protocol-reviewers,maja_zf | |||
adc5e45e75aa Henrik Skupin Bug 1661390 - [remote] Use a UUID as session id for targets. r=remote-protocol-reviewers,jgraham | |||
3803f3a513e4 James Graham Bug 1660893 - Don't crash when the remote agent can't be initialized, r=remote-protocol-reviewers,whimboo | |||
6b6e8d122736 Maja Frydrychowicz Bug 1665283 - [puppeteer] Remove datareporting.healthreport.about.reportUrl from Launcher.ts r=remote-protocol-reviewers,whimboo | |||
1616add3a380 Henrik Skupin Bug 1669230 - [remote] Remove --remote-debugger command line argument. r=remote-protocol-reviewers,jgraham | |||
dd12a0bec46f Henrik Skupin Bug 1675266 - [remote] Add debuggerAddress as attribute on the Remote Agent interface. r=remote-protocol-reviewers,maja_zf | |||
15713ccc419b Henrik Skupin Bug 1675266 - [remote] Report correct browser name/version, and user agent string for "/json/version" httpd handler. r=remote-protocol-reviewers,maja_zf | |||
e12b84262d8b Henrik Skupin Bug 1605784 - [remote] Implement Emulation.setTouchEmulationEnabled. r=remote-protocol-reviewers,jdescottes | |||
31021652804c Henrik Skupin Bug 1680101 - [remote] Temporarily force disabling Fission until Remote Agent is compatible. r=remote-protocol-reviewers,maja_zf | |||
80442bbcf255 Maja Frydrychowicz Bug 1672461 - [remote] Pin package dependencies when installing Puppeteer in Mozilla CI r=remote-protocol-reviewers,whimboo | |||
ff54087a0e8e Henrik Skupin Bug 1680740 - [remote] Implement Target.getTargets. r=remote-protocol-reviewers,maja_zf | |||
b1e57d60a768 Henrik Skupin Bug 1680962 - [remote] sendResponse has to always return a result in the response payload. r=remote-protocol-reviewers,jdescottes | |||
ef6ad6acbda0 Henrik Skupin Bug 1680814 - [remote] Target events have to emit a complete TargetInfo dictionary. r=remote-protocol-reviewers,jdescottes | |||
8afb25365681 Henrik Skupin Bug 1553854 - [remote] Implement Runtime.consoleAPICalled. r=remote-protocol-reviewers,maja_zf | |||
bd8ae5a00b8e Henrik Skupin Bug 1669218 - [geckodriver] Add "moz:debuggerAddress" capability to offer an opt-in for the Remote Protocol. r=webdriver-reviewers,jgraham | |||
b2e729917288 Henrik Skupin Bug 1671205 - [marionette] Return moz:debuggerAddress in capabilities when Remote Agent is active. r=marionette-reviewers,jdescottes,maja_zf | |||
</pre> | |||
== 2020-06-30 == | |||
* When navigating to web pages with iframes included, all relevant [https://bugzilla.mozilla.org/show_bug.cgi?id=1637640 ''page navigation events''] are sent out for each and every frame now. To get this finished various [https://bugzilla.mozilla.org/show_bug.cgi?id=1636373 ''other''] [https://bugzilla.mozilla.org/show_bug.cgi?id=1644695 ''small''] [https://bugzilla.mozilla.org/show_bug.cgi?id=1591979 ''fixes''] were necessary too. The formerly added preference ''remote.frames.enabled'' is no longer necessary because frame handling is enabled by default now. | |||
* For the next while, the team will be focused on making [https://firefox-source-docs.mozilla.org/testing/marionette/index.html Marionette] Fission-compatible. In the meantime, we’ll be gathering feedback from Puppeteer users and anyone else experimenting with Remote Protocol before we resume our work in that area. | |||
== 2020-06-02 == | |||
* 🎉 We completed the [https://wiki.mozilla.org/Remote/Milestones#All_MVP_Bugs ''Beta MVP milestone''] on May 20th. That included a lot of major CDP end-points and events needed to use Puppeteer for automation. With that milestone achieved Firefox now passes | |||
** 53% of the [https://github.com/puppeteer/puppeteer ''Puppeteer''] unit tests | |||
** 54% of the [https://github.com/WordPress/gutenberg ''Gutenberg''] end-to-end tests. | |||
* Our work will continue on another milestone after some outreach and the prioritization of the remaining highly requested CDP end-points and events. In the meantime we will focus on Fission compatibility. | |||
* Etienne provided another patch that implements [https://bugzilla.mozilla.org/show_bug.cgi?id=1637619 ''Network.getAllCookies'']. | |||
* Partial support for iframes has been added, and as such the [https://bugzilla.mozilla.org/show_bug.cgi?id=1599413 ''Page.frameAttached''] and [https://bugzilla.mozilla.org/show_bug.cgi?id=1599773 ''Page.frameDetached''] events are emitted now. It also means that the ''frameId'' property of the [https://bugzilla.mozilla.org/show_bug.cgi?id=1637363 ''Network.requestWillBeSent and Network.responseReceived''] events can correctly reference the related frame. Right now this feature is pref’ed off behind the ''remote.frames.enabled'' preference, but we hope to enable it by default relatively soon. | |||
* [https://bugzilla.mozilla.org/buglist.cgi?query_format=advanced&resolution=FIXED&chfieldvalue=Fixed&classification=Client%20Software&classification=Developer%20Infrastructure&classification=Components&classification=Server%20Software&classification=Other&keywords_type=nowords&list_id=15122440&chfield=resolution&product=Remote%20Protocol&keywords=meta&chfieldfrom=2020-05-19&chfieldto=2020-06-02 ''Fixed bugs''] between May 20th and June 2nd | |||
== 2020-05-19 == | == 2020-05-19 == | ||
* [https://bugzilla.mozilla.org/buglist.cgi?query_format=advanced&resolution=FIXED&chfieldvalue=Fixed&classification=Client%20Software&classification=Developer%20Infrastructure&classification=Components&classification=Server%20Software&classification=Other&keywords_type=nowords&list_id=15122440&chfield=resolution&product=Remote%20Protocol&keywords=meta&chfieldfrom=2020-05-05&chfieldto=2020-05-19 ''Fixed bugs''] between May 6th and May 19th | * [https://bugzilla.mozilla.org/buglist.cgi?query_format=advanced&resolution=FIXED&chfieldvalue=Fixed&classification=Client%20Software&classification=Developer%20Infrastructure&classification=Components&classification=Server%20Software&classification=Other&keywords_type=nowords&list_id=15122440&chfield=resolution&product=Remote%20Protocol&keywords=meta&chfieldfrom=2020-05-05&chfieldto=2020-05-19 ''Fixed bugs''] between May 6th and May 19th | ||
* Contributor Etienne Bruines implemented [https://bugzilla.mozilla.org/show_bug.cgi?id=1553849 ''offline mode for Network.emulateNetworkConditions''] to allow testing frameworks to verify the correct offline behavior for web applications. Thanks, Etienne! | * 🌟 Contributor Etienne Bruines implemented [https://bugzilla.mozilla.org/show_bug.cgi?id=1553849 ''offline mode for Network.emulateNetworkConditions''] to allow testing frameworks to verify the correct offline behavior for web applications. Thanks, Etienne! | ||
* The [https://bugzilla.mozilla.org/show_bug.cgi?id=1593226 ''Runtime.executionContextCreated and Runtime.executionContextDestroyed''] events are now correctly emitted when subframes are created and destroyed. To not break users of Puppeteer while further work for frames needs to be landed, both events are temporarily put behind the `remote.frames.enabled` preference, and not sent out by default. | * The [https://bugzilla.mozilla.org/show_bug.cgi?id=1593226 ''Runtime.executionContextCreated and Runtime.executionContextDestroyed''] events are now correctly emitted when subframes are created and destroyed. To not break users of Puppeteer while further work for frames needs to be landed, both events are temporarily put behind the `remote.frames.enabled` preference, and not sent out by default. | ||
* The [https://bugzilla.mozilla.org/show_bug.cgi?id=1636816 ''Network.requestWillBeSent''] event has been updated to include request headers and document URL. | * The [https://bugzilla.mozilla.org/show_bug.cgi?id=1636816 ''Network.requestWillBeSent''] event has been updated to include request headers and document URL. | ||