Raviston6296 commented on PR #60146: URL: https://github.com/apache/spark/pull/60146#issuecomment-6711859348
LGTM. I checked that these two templates are the only place Spark's UI pages get their `<html>` root. Every UI page goes through `headerSparkPage` or `basicSparkPage`, there are no static `.html` pages under `core/src/main/resources`, and no test compares the root element as a string. The theme toggle in `webui.js` only reads and writes `data-bs-theme` on `document.documentElement`, so the extra attribute doesn't affect it. One small thing, optional: `YarnProxyRedirectFilter.doRedirect` writes its own full HTML document, the "Spark History Server Redirect" page with `<html xmlns="http://www.w3.org/1999/xhtml">`. Since the JIRA is about History Server pages, it might be worth adding `lang="en"` there too, so every HTML document Spark serves declares its language. It's a meta-refresh page that redirects immediately, though, so I'd be fine leaving it out. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
