Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Media Session API #24499

Merged
merged 37 commits into from Nov 20, 2019
Merged

Media Session API #24499

merged 37 commits into from Nov 20, 2019

Conversation

@ferjm
Copy link
Member

ferjm commented Oct 18, 2019

  • ./mach build -d does not report any errors
  • ./mach test-tidy does not report any errors
  • These changes fix #24172
  • There are tests for these changes

This PR introduces all the pieces required to prove an end to end media session flow with Android as a test platform.

@highfive
Copy link

highfive commented Oct 18, 2019

Heads up! This PR modifies the following files:

  • @asajeffrey: components/script/dom/navigator.rs, components/script/dom/mod.rs, components/script/dom/mediasession.rs, components/script/dom/webidls/MediaMetadata.webidl, components/script/dom/htmlmediaelement.rs and 5 more
  • @cbrewster: components/constellation/constellation.rs
  • @KiChjang: components/script/dom/navigator.rs, components/script/dom/mod.rs, components/script/dom/mediasession.rs, components/script_traits/lib.rs, components/script/dom/webidls/MediaMetadata.webidl and 5 more
@highfive
Copy link

highfive commented Oct 18, 2019

warning Warning warning

  • These commits modify unsafe code. Please review it carefully!
  • These commits modify script code, but no tests are modified. Please consider adding a test!
components/servo/lib.rs Outdated Show resolved Hide resolved
@jdm
Copy link
Member

jdm commented Oct 24, 2019

@highfive highfive assigned Manishearth and unassigned jdm Oct 24, 2019
Copy link
Member

Manishearth left a comment

looks good overall!

@gterzian's suggestion for making it a global thing might be useful. Unsure how to structure that.

components/script/dom/mediasession.rs Outdated Show resolved Hide resolved
components/script/dom/mediasession.rs Outdated Show resolved Hide resolved
components/script/dom/mediasession.rs Outdated Show resolved Hide resolved
ports/libsimpleservo/api/src/lib.rs Outdated Show resolved Hide resolved
components/embedder_traits/lib.rs Outdated Show resolved Hide resolved
components/script/dom/htmlmediaelement.rs Outdated Show resolved Hide resolved
@ferjm ferjm force-pushed the ferjm:media.session.api branch from 16f7833 to fce9e94 Nov 15, 2019
@ferjm ferjm changed the title [WIP] Media Session API Media Session API Nov 18, 2019
@ferjm
Copy link
Member Author

ferjm commented Nov 18, 2019

bors-servo added a commit that referenced this pull request Nov 18, 2019
Media Session API

- [X] `./mach build -d` does not report any errors
- [x] `./mach test-tidy` does not report any errors
- [x] These changes fix #24172
- [x] There are tests for these changes

This PR introduces all the pieces required to prove an end to end media session flow with Android as a test platform. It is still not very functional and WIP though.
@bors-servo
Copy link
Contributor

bors-servo commented Nov 18, 2019

Trying commit 83969c9 with merge 129012d...

@ferjm
Copy link
Member Author

ferjm commented Nov 18, 2019

@bors-servo
Copy link
Contributor

bors-servo commented Nov 18, 2019

💔 Test failed - status-taskcluster

@Manishearth
Copy link
Member

Manishearth commented Nov 18, 2019

@bors-servo
Copy link
Contributor

bors-servo commented Nov 18, 2019

📌 Commit 83969c9 has been approved by Manishearth

@bors-servo
Copy link
Contributor

bors-servo commented Nov 18, 2019

Testing commit 83969c9 with merge 33f4d2a...

bors-servo added a commit that referenced this pull request Nov 18, 2019
Media Session API

- [X] `./mach build -d` does not report any errors
- [x] `./mach test-tidy` does not report any errors
- [x] These changes fix #24172
- [x] There are tests for these changes

This PR introduces all the pieces required to prove an end to end media session flow with Android as a test platform. It is still not very functional and WIP though.
@bors-servo
Copy link
Contributor

bors-servo commented Nov 18, 2019

💔 Test failed - linux-rel-wpt

@ferjm ferjm force-pushed the ferjm:media.session.api branch from 271fc9b to 9f77ea1 Nov 20, 2019
@ferjm
Copy link
Member Author

ferjm commented Nov 20, 2019

@bors-servo r=Manishearth

@bors-servo
Copy link
Contributor

bors-servo commented Nov 20, 2019

📌 Commit 9f77ea1 has been approved by Manishearth

@bors-servo
Copy link
Contributor

bors-servo commented Nov 20, 2019

Testing commit 9f77ea1 with merge 48f6511...

bors-servo added a commit that referenced this pull request Nov 20, 2019
Media Session API

- [X] `./mach build -d` does not report any errors
- [x] `./mach test-tidy` does not report any errors
- [x] These changes fix #24172
- [x] There are tests for these changes

This PR introduces all the pieces required to prove an end to end media session flow with Android as a test platform.
@bors-servo
Copy link
Contributor

bors-servo commented Nov 20, 2019

💔 Test failed - status-taskcluster

@jdm
Copy link
Member

jdm commented Nov 20, 2019

@bors-servo
Copy link
Contributor

bors-servo commented Nov 20, 2019

💣 Failed to start rebuilding: 405 Not Allowed

@bors-servo
Copy link
Contributor

bors-servo commented Nov 20, 2019

Testing commit 9f77ea1 with merge f6348b8...

bors-servo added a commit that referenced this pull request Nov 20, 2019
Media Session API

- [X] `./mach build -d` does not report any errors
- [x] `./mach test-tidy` does not report any errors
- [x] These changes fix #24172
- [x] There are tests for these changes

This PR introduces all the pieces required to prove an end to end media session flow with Android as a test platform.
@bors-servo
Copy link
Contributor

bors-servo commented Nov 20, 2019

☀️ Test successful - linux-rel-css, linux-rel-wpt, status-taskcluster
Approved by: Manishearth
Pushing f6348b8 to master...

@bors-servo bors-servo merged commit 9f77ea1 into servo:master Nov 20, 2019
1 of 2 checks passed
1 of 2 checks passed
Community-TC (pull_request) TaskGroup: failure
Details
homu Test successful
Details
@ferjm ferjm added this to Done in Media playback Nov 21, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Linked issues

Successfully merging this pull request may close these issues.

6 participants
You can’t perform that action at this time.