mirror of
https://github.com/servo/servo
synced 2026-04-25 17:15:48 +02:00
Page:
Mozlandia WPT
Pages
Adding a new WebIDL binding
Alternative Logo Proposals and Related Swag
Asynchronous WebAssembly compilation project
Austin Oxidation
Autogeneration of style structs
Basic SVG support project
Beginner's guide to rebasing and squashing
Benchmarking
Benchmarks
Bots
Browser Engine Research
Build Errors FAQ
Buildbot administration
Building for Android
Building for Magic Leap
Building for UWP
Building on ARM desktop Linux
Building
CI Services we use
CSS parse error reporting
CSSOM student project
Canvas rendering project
Cargo upgrade service project
Code rust concurrency
Code Review
Code of Conduct
Coding standards
Compiler upgrade recipes
Compositor Layer Design
Contributing
Control Servo using WebDriver
Creating and viewing WARC web archives in Servo
Creating new OpenSSL Windows binary distributions
Cross compiling from linux to mac
Crowbot
Css selector matching meeting 2013 07 19
DOM Design
DOM documentation
DOM missing pieces
Debugging JS web compat issues
Debugging and editing tools
Debugging
Design
Developer tools student project
Devtools CSS errors
Devtools plans
Devtools
Diagnosing SpiderMonkey JIT issues
Eric Atkinson visit 2013 09 10
Events and sundry
Expand HTTP request response monitoring
Fetch improvement project
Firefox Reality release notes
FirefoxReality build
Firewall setup for servo master1
Focus student project
Form validation student project
GSoC project brainstorming
Garbage collected DOM
Getting started with layout
GitHub Labels
Github & Critic PR handling 101
Github workflow
Glossary
Governance
Graphics toolkit integration
HTML parser improvement project
HTMLElement binding conversion
HTTP archive support project
HTTP library requirements
Hawaii Rooting
High priority content for layout
Highfive
HoloLens 2 test plan
Home
How to generate GStreamer binaries for CI
Image load conformance student project
Image maps project
Implement HTML charset parsing project
Implement ImageBitmap project
Implement missing WebAudio automation student project
Implement support for missing XMLHttpRequest APIs
Implement worker modules
Implementing a web standard (RGSoC)
Improve specification conformance of unicode bidi library
Incremental flow tree construction
Infrastructure
Integrate xml5ever
Intern project brainstorming
Intern projects
JS objects, wrappers, and cross origin concerns 2013 08 07
Layout 2020
Layout Overview
Layout resources
Layout revamp ideas
Leo meyerovich visit 2013 07 22
Linux sandboxing
London Oxidation
London Security
Meeting 2014 10 27
Meeting 2014 12 08
Meeting 2012 02 08
Meeting 2012 02 16
Meeting 2012 07 20
Meeting 2013 04 01
Meeting 2013 04 15
Meeting 2013 04 22
Meeting 2013 04 29
Meeting 2013 05 06
Meeting 2013 05 13
Meeting 2013 05 20
Meeting 2013 06 03
Meeting 2013 06 10
Meeting 2013 06 14
Meeting 2013 06 17
Meeting 2013 06 24
Meeting 2013 07 01
Meeting 2013 07 15
Meeting 2013 07 22
Meeting 2013 07 29
Meeting 2013 08 05
Meeting 2013 08 12
Meeting 2013 08 19
Meeting 2013 09 09
Meeting 2013 09 16
Meeting 2013 09 23
Meeting 2013 09 30
Meeting 2013 10 14
Meeting 2013 10 21
Meeting 2013 10 28
Meeting 2013 11 04
Meeting 2013 11 18
Meeting 2013 11 25
Meeting 2013 12 02
Meeting 2013 12 09
Meeting 2013 12 16
Meeting 2014 01 06
Meeting 2014 01 13
Meeting 2014 01 21
Meeting 2014 01 27
Meeting 2014 02 03
Meeting 2014 02 10
Meeting 2014 02 24
Meeting 2014 03 10
Meeting 2014 03 17
Meeting 2014 03 24
Meeting 2014 03 31
Meeting 2014 04 07
Meeting 2014 04 14
Meeting 2014 04 21
Meeting 2014 04 28
Meeting 2014 05 05
Meeting 2014 05 13
Meeting 2014 05 19
Meeting 2014 06 09
Meeting 2014 06 17
Meeting 2014 06 23
Meeting 2014 06 30
Meeting 2014 07 07
Meeting 2014 07 14
Meeting 2014 07 21
Meeting 2014 07 29
Meeting 2014 08 04
Meeting 2014 08 11
Meeting 2014 08 12
Meeting 2014 08 18
Meeting 2014 08 25
Meeting 2014 09 08
Meeting 2014 09 15
Meeting 2014 09 22
Meeting 2014 09 29
Meeting 2014 10 06
Meeting 2014 10 13
Meeting 2014 10 20
Meeting 2014 11 10
Meeting 2014 11 17
Meeting 2014 11 24
Meeting 2014 12 15
Meeting 2015 01 05
Meeting 2015 01 12
Meeting 2015 01 26
Meeting 2015 02 09
Meeting 2015 02 23
Meeting 2015 03 02
Meeting 2015 03 16
Meeting 2015 03 30
Meeting 2015 04 06
Meeting 2015 04 13
Meeting 2015 04 27
Meeting 2015 05 04
Meeting 2015 05 11
Meeting 2015 05 18
Meeting 2015 06 01
Meeting 2015 06 08
Meeting 2015 06 15
Meeting 2015 07 06
Meeting 2015 07 13
Meeting 2015 07 27
Meeting 2015 08 10
Meeting 2015 08 17
Meeting 2015 08 24
Meeting 2015 08 31
Meeting 2015 09 14
Meeting 2015 09 21
Meeting 2015 09 28
Meeting 2015 10 05
Meeting 2015 10 12
Meeting 2015 10 19
Meeting 2015 10 26
Meeting 2015 11 02
Meeting 2015 11 09
Meeting 2015 11 16
Meeting 2015 11 30
Meeting 2016 01 04
Meeting 2016 01 11
Meeting 2016 01 25
Meeting 2016 02 01
Meeting 2016 02 08
Meeting 2016 02 22
Meeting 2016 03 07
Meeting 2016 03 21
Meeting Devtools Servo 2
Meetings
Microdata project
Minutes Hackathon 2012 03 27
Missing DOM features project
More ServiceWorker support project
More developer tools student project
Mozlandia Automation
Mozlandia B2S
Mozlandia JS
Mozlandia Rust In Gecko
Mozlandia WPT
Mozlandia gfx
Mozlando Devtools Servo
Mozlando Oxidation
Mozlando SM Servo
Mozlando Servo Bluetooth
Mozlando Servo MagicDOM
Mozlando Servo SMStrings
Mutation observer project
Mutation testing project
NCSU student projects
Network security project
Off main thread HTML parsing project
Offscreen canvas improvements project
Offscreen canvas project
Orlando Oxidation 2018
Oxidation 2015 11 05
Persistent sessions student project
Preparing ARM libraries for CI
Priority of CSS properties
Priority of DOM implementation
Priority of dom bindings
Private browsing student project
Profiling
Project proposal deadlines
Prototype JS form controls student project
Prototype ways of splitting the script crate
Publishing a new ANGLE NuGet version
Publishing a new app store release
Push vs Pull for caching
Random web content project
Refactor GLES2 student project
Refactor bluetooth support student project
Remaining work
Removing push notifications from IRC hooks
Replace C libraries student project
Report new contributors project
Representation of computed style
Research
Reviewer
Roadmap
Running Web Platform Tests on Servo
Rust HTML parser
Rust SpiderMonkey debugger API
Rust cssparser code walk 2013 08 02
SaltStack Administration
San Francisco Oxidation
Servo Benchmarking Report (December 2024)
Servo Benchmarking Report (November 2024)
Servo Benchmarking Report (October 2024)
Servo Layout Engines Report
Servo and SpiderMonkey Report
Servo for Gecko Developers
Specification Links
SpiderMonkey related tasks
SpiderMonkey infodump
SpiderMonkey upgrade details
Storage student project
Streaming webassembly student project
Strings
Student project brainstorm
Student projects
Styling overview
Stylo hacking guide
Summer of Code 2014: Implement XMLHttpRequest
Summer of Code 2016: Fetch API
Summer of Code 2016: File support
Summer of Code 2016: ServiceWorker infrastructure
Summer of Code projects
Summit meeting 2013 09 09
Support WebDriver based tests project
Syncing web platform tests (WPT)
TaskCluster
Testing
Tools
Tracking intermittent failures over time project
Transcription Notes from Servo Architecture talk in Suwon
Transcription notes from rust patterns talk in suwon
Transcription parallelism
Transcription rust concurrency
Transcription rust runtime
Transription layout and acid2
Trinity College Dublin student projects
UPenn student projects
Updating the Rust compiler used by Servo
Upgrading non taskcluster linux CI machines
Upgrading the UWP gstreamer binaries
Upgrading the windows LLVM binaries
Upgrading wptrunner
Using DOM types
Using Rust Spidermonkey Prototype
Using WebWorker Prototype
Version 0.1
Videos and presentations
WebAudio JS interfaces student project
WebAudio nodes student project
WebCompatBug
WebSocket student project
Webdriver student project
Webdriver tests student project
Webrender Overview
Whistler 2019 notes
Whistler Bugzilla
Whistler FFOS
Whistler GFX
Whistler Houdini1
Whistler Houdini2
Whistler Necko
Whistler Oxidation 2019
Work items for new contributors
Workweek COW DOM
Workweek alt js
Workweek android arm
Workweek boot 2 servo
Workweek compiler lints
Workweek displaylist
Workweek dogfooding
Workweek encoding
Workweek generated content
Workweek governance
Workweek graphics stack
Workweek graphics toolkit
Workweek incremental layout
Workweek js bindings status
Workweek layers
Workweek layers2
Workweek pixels
Workweek rasterization
Workweek reftests
Workweek roadmap
Workweek script crate
Workweek security
Workweek string interning
Workweek tables
Workweek writing modes
XML parser student project
infra triage notes
jQuery status
webxr.today support
Clone
1
Mozlandia WPT
larsbergstrom edited this page 2014-12-07 07:25:31 -08:00
Servo + ateam discussion on web platform tests
- What do we need to do in Servo to make them fast and reliable?
- Can we make a first step on CSS ref tests?
- How can we upstream things as smoothly as possible?
- How can we track things over time
Issues Servo has?
- jdm: Process of creating new tests. Can't submit a PR directly; have to do it around. Having a new-directory would be great.
- jgraham: For gecko, depends on the tree-copy trickery. So, I list gecko patches since the last sync and upstream / merge them all automatically (trusting that the Gecko review process is good enough for upstreaming). Maybe do something similar for Servo? But Servo uses a submodule instead of a copy.
- Simonsapin: Should we have a fork of the repo and do it that way?
- jdm: We have a fork and a branch.
- jgraham: One option is just to land stuff there and then upstream from there. Just copy it over.
- jack: But then it's two PRs. Land in the fork, then update the sumodule pointer, etc.
- manish: And pulling updates from wpt is hard...
- jgraham: Could script it so that we always upload it.
- Simonsapin: Two PRs is already teh plan for all our dependencies.
- jgraham: Could also just copy the code instead of a git submodule.
- larsberg: We don't need to keep the git submodule, since it's the only one we had. Can we just copy?
- jdm: But we have a fork for some nontrivial stuff (resources).
- jgraham: Maybe we could special-case the resources. Just copy everything but the resources. Just testharness.js and related files. Hopefully that will go away, but I don't know how long it will be or what we're missing.
- jdm: .style is missing from Servo.
- jgraham: And do you have iframes? That's the other part...
- jdm: Have them, but no load events. Is that important?
- jgraham: Just need window.open & window.parent...
- jdm: Nope.
- jgraham: Maybe window.parent is always null and window.open is always self and things would "just work" enough to make testharness.js Servo-compatible.
- jdm: So, the direction is to get as close to Gecko as possible so we can use the same mechanisms.
- larsberg: Can you trust the Servo reviews as well as Gecko?
- jgraham: Yes. if things go south, we'll change the policy.
Making the wpt stuff faster
- manish: What do we need to be able to not destroy the browser between every test?
- jgraham: Create & control the browser remotely. WPT needs to be able to load a page (e.g., .navigate) and then execute a script in the context of that page. In Gecko, the marionette stuff is based on top of the devtools implementation.
- jack: In a different tab? Process?
- jdm: No. Just run a server that can communicate with a driver that executes the tests.
- jack: So we could just make a miniservo / port that implements what it needs?
- jgraham: Yes. Just a wire protocol, a socket, etc.
- ato: In Gecko, we just build on top of dev tools. We have some chrome-side and content-side stuff to execute the script. As long as you can start a new session, navigate to a page, and close the session and execute some random JS in the context of that, it should be fine.
- manish: All we need to be able to do is destroy the previous state (to avoid poisoning the cache).
- jgraham: That's also a problem in Gecko. There, we close the tab after each test. Makes it more stable that way. There's no reason is has to, but it's assumed that things will be more stable if it does. Other thing you need is to return the results. So, you have to be able to serialize JSON objects. The full WebDriver is more complicated, but not for this.
- ato: We have the algorithms for the serialization. They're horrible, but they're there for Gecko!
- jdm: Written in JS?
- ato: Yes. I'm afraid so. But for the basic use case, it should just be fine with JSON.
- manish: Does that work with prallelism, too?
- jgraham: In gecko, we open a separate copy on a separate port. If you can do that, it'll work.
- ato: Slightly more complicated... because of profiles.
CSS Ref tests
- larsberg: I'd like to make some progress around them.
- jgraham: There's a large manual test suite for CSS 2.1. Everybody realized that's a disaster. Since then, there's been a requirement that all CSS tests are self-describing ref tests or testharness.js tests, where possible. So, same as WPT. So, all of the CSS3 stuff should be reftests. But, there are still 4k manual tests that we should convert "sometime" but it's not really happening.
- simonsapin: Girard Talbot has been doing a lot on them. The last snapshot moved closer to 40%.
- jdm: Different than testharness reftests?
- jgraham: The CSS reftests are almost but not quite compatible with WPT reftests. Two problems. For many, it will just work. For some of them, there's a difference in the semantics between CSS and WPT around if you have a test that should match multiple things - how do you match it? Especially "thing1 or thing2" type tests. Basically, we just need to implement that in WPT. It's complicated, but we should just use theirs. The third problem is that the tests require a build step, since it's an XHTML file. So to get the test, you have to run a build system and I don't know what it requires / does.
- gw: I did a full checkout and got it to do a full build. The dependencies are pretty wacky.
- jgraham: Is it self-contained, or does it read from a database or something?
- gw: It seemed self-contained.
- jgraham: There's stuff in the scripts that touches their databases (css-test-helper-thing?).
- gw: I just did enough to get the HTML files that we could run.
- jgraham: Not sure what fraction of the tests need a build step vs. just work.
- simonsapin: We don't have an XML parser.
- gw: About half are XHT.
- larsberg: so what do we do? ideally would be like WPT and we could upstream tests. Who can we talk with about making this better?
- jgraham: Peter linss, fantasai. Without just doing the work, it's hard to have the conversation. If we pull their stuff into WPT, they would want their infrastructure to keep working. It's hard to make that work without knowing how their stuff works. It's about not regressing their toolstack.
- larsberg: What would you like us to do? We need CSS ref tests.
- jgraham: If we had a simple way of taking a checkout of the CSS ref tests and running them inside of WPT, then we could run them. Wouldn't fix contribution story, because still a separate repo, but we could at least pull from upstream, and maybe work without how their upstreaming process works...
- SimonSapin: Two ways to upstream: new directory in Mercurial, or test the web forward stuff, which is you create a PR against a GitHub repo and it'll work.
- jgraham: Still too much friction where if you want to sync you just merge your changes upstream first. I think they still have rules that you can't have the same vendor who wrote the test review the test. Intermediate is just if we could pull their GitHub repo down, copy it into the tree as we do with the WPT, and have a step that runs their build step, that would give us something we could run. Then we could talk about how to upstream stuff and try to make that smoother.
Web platform ref tests
- jdm: What do we need to do in Servo?
- jgraham: Not much. Implement a ServoRefTestExecutor...
- manish: We have one. We get PNGs out of Servo.
- ato: Just expose it to WPT.
- jgraham: I think that's a very small piece of work.
- manish: It's just a flag.
- jgraham: It only hasn' thappened because we didn't start doing it.
- simonsapin: What do we do now?
- jgraham: Skip the ref tests. Later, we may need to support async ref tests (Wait). Basically, you can annotate a class with Wait, and then Gecko won't take a screenshot until the class goes away.
- ato: In Gecko, we create a canvas and paint to the canvas then push it across the wire.
- jgraham: That architecture is just because it's how things were easy to put together in Gecko.
Tracking progress over time
- jgraham: Yeah, this is the thing we have. There's a report thing in Github somewhere that says you passed some / failed some. At some point, I did one that worked for more than one browser.
- manish: We could edit the python - output structured numbers instead.
- jgraham: It'd be nice to have a page that tracked it for multiple browser.
- larsberg: areweplatformyyet.com
- jgraham: The goal for this, always, has been so that you could check each browser / platform feature to see what is supported. We'd like to avoid tying our reporting to a Mozilla-specific bit of infrastructure.
- manish: one issue might be that we split the WPT tests across two machines. Can we merge them?
- jgraham: There are some assumptions, so you need to get rid of the SuiteStart/SuiteEnd stuff. But there's a bug open to fix that requirement.
- manish: We'd need to pass it between the servers; one FTP thing. We could also put the files somewhere and then have the doc build upload them.
- jgraham: you can upload things to treeherder, too. Then you could do that...
- ato: Gaia and B2G are doing that right now.
- manish: Whom do we talk to?
- jgraham: Ed Morley or Mauro. It's not documented, but you can find existing code from Gaia.