Hello folks,

as you probably know, one of the goals for this year is to make Google Docs
usable in Servo. I thought that, apart from manually testing the site
directly [1], it would be useful to get some data from the Chromium's
UseCounter [2] class to get the list of platform features that Google Docs
is currently using, so we can identify the ones that we are missing in
Servo.

I got these numbers on a first pass just by logging in and creating a new
document [3][4]. The next step is to analyze each row to extract the exact
feature and to check if we are supporting it in Servo or not.

In case that you are curious about how to extract UseCounter's data, what I
did was:

   1. Open Chromium.
   2. Go to the target page you want to analyze and play with it. (If you
   add it as home page it's even better as all histograms are cleared on each
   new session).
   3. Open chrome://histograms/UseCounter.CSSProperties and run [5] in the
   JS console.
   4. Open chrome://histograms/UseCounter.Features and run [6] in the JS
   console.
   5. In 3. and 4. the data is printed in a table and in csv format.

Cheers,

/ Fernando

[1] https://github.com/servo/servo/issues/13942
[2] https://www.chromium.org/blink/platform-predictability/compat-tools
[3] https://gist.github.com/ferjm/81db4e88d4555bc69a48cbbd470253bb
[4] https://gist.github.com/ferjm/c2ea9c97b945817682474f9dc4fc514a
[5] https://gist.github.com/ferjm/cb48fe4de1dc05244903d1f7ae61a3cf
[6] https://gist.github.com/ferjm/98834ac9dc3f7558168ddc4ff941fa39
_______________________________________________
dev-servo mailing list
dev-servo@lists.mozilla.org
https://lists.mozilla.org/listinfo/dev-servo

Reply via email to