[webkit-changes] [WebKit/WebKit] 8a12b0: Stop requiring JSONP for layout tests results

Sam Sneddon noreply at github.com
Wed Nov 29 15:59:24 PST 2023


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 8a12b0af6759694cfe7e954e077971f4193bf96e
      https://github.com/WebKit/WebKit/commit/8a12b0af6759694cfe7e954e077971f4193bf96e
  Author: Sam Sneddon <gsnedders at apple.com>
  Date:   2023-11-29 (Wed, 29 Nov 2023)

  Changed paths:
    M Tools/CISupport/build-webkit-org/public_html/TestFailures/scripts/NRWTResultsParser.js

  Log Message:
  -----------
  Stop requiring JSONP for layout tests results
https://bugs.webkit.org/show_bug.cgi?id=265467

Reviewed by Jonathan Bedard.

This parser is the only place where we actually require the JSONP
wrapper; instead migrate this to strip the wrapper in the same way as
Tools/CISupport/build-webkit-org/public_html/dashboard/Scripts/Utilities.js
before passing it to JSON.parse (which every major browser has supported
for over a decade).

* Tools/CISupport/build-webkit-org/public_html/TestFailures/scripts/NRWTResultsParser.js:
(NRWTResultsParser.prototype.ADD_RESULTS): Deleted.

Canonical link: https://commits.webkit.org/271309@main




More information about the webkit-changes mailing list