Skip to content

Commit 4443d27

Browse files
committed
type change
1 parent 8e6783d commit 4443d27

File tree

2 files changed

+1
-9
lines changed

2 files changed

+1
-9
lines changed

scripts/DRIVER_VERSION

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
1.54.0-alpha-2025-07-08
1+
1.54.0-alpha-2025-07-09

tools/api-generator/src/main/java/com/microsoft/playwright/tools/ApiGenerator.java

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -596,9 +596,6 @@ void createEnum(JsonObject jsonObject) {
596596
if (newEnum.jsonName == null) {
597597
throw new RuntimeException("Enum without name: " + jsonObject);
598598
}
599-
if ("ConsoleMessageType".equals(newEnum.jsonName)) {
600-
return;
601-
}
602599
Map<String, TypeDefinition> enumMap = topLevelTypes();
603600
TypeDefinition existing = enumMap.putIfAbsent(newEnum.jsonName, newEnum);
604601
if (existing != null && (!(existing instanceof Enum) || !((Enum) existing).hasSameValues(newEnum))) {
@@ -725,11 +722,6 @@ void writeTo(List<String> output, String offset) {
725722
output.add("");
726723
return;
727724
}
728-
if ("ConsoleMessage.type".equals(jsonPath)) {
729-
writeJavadoc(params, output, offset);
730-
output.add(offset + "String type();");
731-
return;
732-
}
733725
int numOverloads = 1;
734726
for (int i = 0; i < params.size(); i++) {
735727
if (params.get(i).type.isTypeUnion()) {

0 commit comments

Comments
 (0)