Skip to content

Conversation

@Skn0tt
Copy link
Member

@Skn0tt Skn0tt commented Jul 8, 2025

Closes #1796

@Skn0tt Skn0tt self-assigned this Jul 8, 2025
* @since v1.8
*/
String type();
ConsoleMessageType type();
Copy link
Member Author

@Skn0tt Skn0tt Jul 8, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This leads to pretty big diffs, see the diff in TestPageEventConsole.java. Unsure if it's worth it in Java.

Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yeah, we can leave it as string for now.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Done in 8e6783d.

@Skn0tt Skn0tt marked this pull request as ready for review July 8, 2025 11:33
@Skn0tt Skn0tt requested a review from dgozman July 8, 2025 11:39
* @since v1.8
*/
String type();
ConsoleMessageType type();
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yeah, we can leave it as string for now.

* limitations under the License.
*/

// This file is generated by generate_java_rpc.js, do not edit manually.
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is this not true anymore???

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I couldn't find the generate_java_rpc.js file, so I don't think so :D

@Skn0tt Skn0tt requested a review from dgozman July 8, 2025 12:37
if (newEnum.jsonName == null) {
throw new RuntimeException("Enum without name: " + jsonObject);
}
if ("ConsoleMessageType".equals(newEnum.jsonName)) {
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The right way to handle this is to land a non-js override upstream in the docs.

@Skn0tt Skn0tt changed the title chore: roll 1.54.0-alpha-2025-07-08 chore: roll 1.54.0-alpha-2025-07-09 Jul 9, 2025
@Skn0tt Skn0tt merged commit 915ee8d into microsoft:main Jul 9, 2025
23 of 25 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Ports]: Backport client side changes for 1.54

2 participants