mirror of
https://github.com/servo/servo.git
synced 2025-08-06 22:15:33 +01:00
script: Create a debugger script for the SpiderMonkey Debugger API
Co-authored-by: atbrakhi <atbrakhi@igalia.com> Signed-off-by: Delan Azabani <dazabani@igalia.com>
This commit is contained in:
parent
e8c50390f6
commit
4d7a514923
10 changed files with 179 additions and 6 deletions
|
@ -0,0 +1,9 @@
|
|||
/* This Source Code Form is subject to the terms of the Mozilla Public
|
||||
* License, v. 2.0. If a copy of the MPL was not distributed with this
|
||||
* file, You can obtain one at https://mozilla.org/MPL/2.0/. */
|
||||
|
||||
// This interface is entirely internal to Servo, and should not be accessible to
|
||||
// web pages.
|
||||
[Global=DebuggerGlobalScope, Exposed=DebuggerGlobalScope]
|
||||
interface DebuggerGlobalScope: GlobalScope {
|
||||
};
|
|
@ -5,7 +5,7 @@
|
|||
* https://dom.spec.whatwg.org/#interface-eventtarget
|
||||
*/
|
||||
|
||||
[Exposed=(Window,Worker,Worklet,DissimilarOriginWindow)]
|
||||
[Exposed=(Window,Worker,Worklet,DissimilarOriginWindow,DebuggerGlobalScope)]
|
||||
interface EventTarget {
|
||||
[Throws] constructor();
|
||||
undefined addEventListener(
|
||||
|
|
|
@ -5,6 +5,6 @@
|
|||
// This interface is entirely internal to Servo, and should not be accessible to
|
||||
// web pages.
|
||||
|
||||
[Exposed=(Window,Worker,Worklet,DissimilarOriginWindow),
|
||||
[Exposed=(Window,Worker,Worklet,DissimilarOriginWindow,DebuggerGlobalScope),
|
||||
Inline]
|
||||
interface GlobalScope : EventTarget {};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue