Github user jerryshao commented on a diff in the pull request:

    https://github.com/apache/spark/pull/19419#discussion_r143377794
  
    --- Diff: core/src/main/scala/org/apache/spark/ui/JettyUtils.scala ---
    @@ -79,6 +79,9 @@ private[spark] object JettyUtils extends Logging {
         val allowFramingFrom = conf.getOption("spark.ui.allowFramingFrom")
         val xFrameOptionsValue =
           allowFramingFrom.map(uri => s"ALLOW-FROM 
$uri").getOrElse("SAMEORIGIN")
    +    val xXssProtectionValue = conf.getOption("spark.ui.xXssProtection")
    --- End diff --
    
    Please use `ConfigEntry` for newly added configurations, you could refer to 
`org.apache.spark.internal.config`.


---

---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscr...@spark.apache.org
For additional commands, e-mail: reviews-h...@spark.apache.org

Reply via email to