Commit 598a2607 authored by catch's avatar catch
Browse files

Issue #3416141 by gorkagr, Jaypan, Wim Leers: big_pipe.js' checkMutation()...

Issue #3416141 by gorkagr, Jaypan, Wim Leers: big_pipe.js' checkMutation() does not check if node exists before using it

(cherry picked from commit 2d17900f)
parent 8581ca6f
Loading
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -89,6 +89,7 @@
   */
  function checkMutation(node) {
    return Boolean(
      node &&
        node.nodeType === Node.ELEMENT_NODE &&
        node.nodeName === 'SCRIPT' &&
        node.dataset &&