mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
update wip protocol to chromium 51 (WEB-22491)
This commit is contained in:
@@ -68,12 +68,6 @@ enum class StepAction {
|
||||
*/
|
||||
IN,
|
||||
|
||||
/**
|
||||
* Step into first scheduled async handler.
|
||||
* @see <a href="https://groups.google.com/a/chromium.org/forum/#!topic/blink-reviews-bindings/LRAHGXErvOc">Chrome debugger suggestion</a>
|
||||
*/
|
||||
IN_ASYNC,
|
||||
|
||||
/**
|
||||
* Step over the current statement.
|
||||
*/
|
||||
|
||||
@@ -137,7 +137,7 @@ abstract class DebugProcessImpl<C : VmConnection<*>>(session: XDebugSession,
|
||||
override final fun startStepInto(context: XSuspendContext?) {
|
||||
val vm = context.vm
|
||||
updateLastCallFrame(vm)
|
||||
continueVm(vm, if (vm.captureAsyncStackTraces) StepAction.IN_ASYNC else StepAction.IN)
|
||||
continueVm(vm, StepAction.IN)
|
||||
}
|
||||
|
||||
override final fun startStepOut(context: XSuspendContext?) {
|
||||
|
||||
@@ -18,7 +18,9 @@ internal class TypeMap {
|
||||
val domainGenerator = domainGeneratorMap!!.get(domainName)
|
||||
if (domainGenerator == null) {
|
||||
val qName = "$domainName.$typeName";
|
||||
if (qName == "IO.StreamHandle" || qName == "Security.SecurityState") return BoxableType.ANY_STRING // ignore
|
||||
if (qName == "IO.StreamHandle" || qName == "Security.SecurityState" || qName == "Emulation.ScreenOrientation") {
|
||||
return BoxableType.ANY_STRING // ignore
|
||||
}
|
||||
throw RuntimeException("Failed to find domain generator: $domainName for type $typeName")
|
||||
}
|
||||
return direction.get(getTypeData(domainName, typeName)).resolve(this, domainGenerator)
|
||||
|
||||
+2
-1
@@ -153,7 +153,8 @@ open class OutMessage() {
|
||||
writer.endArray()
|
||||
}
|
||||
|
||||
fun writeStringList(name: String, value: Collection<String>) {
|
||||
fun writeStringList(name: String, value: Collection<String>?) {
|
||||
if (value == null) return
|
||||
beginArguments()
|
||||
JsonWriters.writeStringList(writer, name, value)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user