mirror of
https://github.com/servo/servo.git
synced 2025-08-06 22:15:33 +01:00
Create source actors from Debugger API notifications
Co-authored-by: atbrakhi <atbrakhi@igalia.com> Signed-off-by: Delan Azabani <dazabani@igalia.com>
This commit is contained in:
parent
bae25bb596
commit
aad368fabd
9 changed files with 144 additions and 75 deletions
|
@ -6,4 +6,24 @@
|
|||
// web pages.
|
||||
[Global=DebuggerGlobalScope, Exposed=DebuggerGlobalScope]
|
||||
interface DebuggerGlobalScope: GlobalScope {
|
||||
undefined notifyNewSource(NotifyNewSource args);
|
||||
};
|
||||
|
||||
// http://dev.w3.org/csswg/cssom-view/#extensions-to-the-window-interface
|
||||
dictionary NotifyNewSource {
|
||||
required PipelineId pipelineId;
|
||||
required unsigned long spidermonkeyId;
|
||||
required DOMString url;
|
||||
required DOMString text;
|
||||
|
||||
// FIXME: error[E0599]: the method `trace` exists for reference `&Option<TypedArray<Uint8, *mut JSObject>>`, but
|
||||
// its trait bounds were not satisfied
|
||||
// Uint8Array binary;
|
||||
|
||||
// TODO: contentType
|
||||
};
|
||||
|
||||
dictionary PipelineId {
|
||||
required unsigned long namespaceId;
|
||||
required unsigned long index;
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue