mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-04-27 06:48:49 +00:00
LibWeb+LibJS: Remember source filenames when using HTML::Script
It's a lot easier to debug JavaScript problems if you can see which file the errors are in. :^)
This commit is contained in:
parent
6595db9ecf
commit
1484980f8f
Notes:
sideshowbarker
2024-07-18 04:18:47 +09:00
Author: https://github.com/awesomekling
Commit: 1484980f8f
7 changed files with 17 additions and 14 deletions
|
@ -8,8 +8,9 @@
|
|||
|
||||
namespace Web::HTML {
|
||||
|
||||
Script::Script(URL base_url)
|
||||
Script::Script(URL base_url, String filename)
|
||||
: m_base_url(move(base_url))
|
||||
, m_filename(move(filename))
|
||||
{
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue