diff --git a/core/modules/simpletest/src/WebTestBase.php b/core/modules/simpletest/src/WebTestBase.php index 53bf5c4..1e39ff8 100644 --- a/core/modules/simpletest/src/WebTestBase.php +++ b/core/modules/simpletest/src/WebTestBase.php @@ -1899,7 +1899,11 @@ protected function drupalProcessAjaxResponse($content, array $ajax_response, arr if ($wrapperNode) { // ajax.js adds an enclosing DIV to work around a Safari bug. $newDom = new \DOMDocument(); + // DOM can load HTML soup. But, HTML soup can throw warnings, + // suppress them. @$newDom->loadHTML('