mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-10-01 19:02:13 +07:00
show running web workers on debugging in chrome
This commit is contained in:
@@ -45,4 +45,6 @@ interface Script : UserDataHolderEx {
|
||||
val column: Int
|
||||
|
||||
val endLine: Int
|
||||
|
||||
val isWorker: Boolean
|
||||
}
|
||||
@@ -31,4 +31,6 @@ abstract class ScriptBase(override val type: Script.Type,
|
||||
override var sourceMap: SourceMap? = null
|
||||
|
||||
override fun toString() = "[url=$url, lineRange=[$line;$endLine]]"
|
||||
|
||||
override val isWorker: Boolean = false
|
||||
}
|
||||
@@ -48,5 +48,5 @@ abstract class ScriptManagerBaseEx<SCRIPT : ScriptBase> : ScriptManagerBase<SCRI
|
||||
return null
|
||||
}
|
||||
|
||||
protected open fun rawUrlToOurUrl(rawUrl: String) = Urls.parseEncoded(rawUrl)!!
|
||||
open fun rawUrlToOurUrl(rawUrl: String) = Urls.parseEncoded(rawUrl)!!
|
||||
}
|
||||
@@ -219,7 +219,7 @@ internal class Generator(outputDir: String, private val rootPackage: String, req
|
||||
val READER_INTERFACE_NAME = "ProtocolResponseReader"
|
||||
|
||||
private fun isDomainSkipped(domain: ProtocolMetaModel.Domain): Boolean {
|
||||
if (domain.domain() == "CSS" || domain.domain() == "Inspector") {
|
||||
if (domain.domain() == "CSS" || domain.domain() == "Inspector" || domain.domain() == "Worker") {
|
||||
return false
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user