mirror of
https://github.com/servo/servo.git
synced 2025-08-06 14:10:11 +01:00
Plumb the introductionType into notifyNewSource()
Co-authored-by: atbrakhi <atbrakhi@igalia.com> Signed-off-by: Delan Azabani <dazabani@igalia.com>
This commit is contained in:
parent
615c9ec013
commit
4e57fefeec
3 changed files with 3 additions and 1 deletions
|
@ -174,7 +174,7 @@ impl DebuggerGlobalScopeMethods<crate::DomTypeHolder> for DebuggerGlobalScope {
|
|||
url: ServoUrl::parse(args.url.str()).expect("Failed to parse url"),
|
||||
external: true, // TODO
|
||||
worker_id: None, // TODO
|
||||
content: Some(args.text.to_string()),
|
||||
content: (!args.isInline).then(|| args.text.to_string()),
|
||||
content_type: None, // TODO
|
||||
spidermonkey_id: args.spidermonkeyId,
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue