mirror of
https://github.com/servo/servo.git
synced 2025-07-21 22:33:41 +01:00
Trigger RTCErrorEvent on data channel error
This commit is contained in:
parent
84598a5173
commit
5c6dcbf54e
3 changed files with 22 additions and 4 deletions
|
@ -40,7 +40,7 @@ impl RTCError {
|
|||
}
|
||||
}
|
||||
|
||||
fn new(global: &GlobalScope, init: &RTCErrorInit, message: DOMString) -> DomRoot<RTCError> {
|
||||
pub fn new(global: &GlobalScope, init: &RTCErrorInit, message: DOMString) -> DomRoot<RTCError> {
|
||||
reflect_dom_object(
|
||||
Box::new(RTCError::new_inherited(global, init, message)),
|
||||
global,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue