It has a console log (that's expected on all platforms), which on GTK contains the full path of the file: CONSOLE MESSAGE: line 1: Unhandled Promise Rejection: TypeError: Error opening file /home/slave/webkitgtk/gtk-linux-64-release-tests/build/LayoutTests/inspector/worker/dataFetch.json: No such file or directory while the expectation is just CONSOLE MESSAGE: line 1: Unhandled Promise Rejection: TypeError: The requested URL was not found on this server. I'll mark it as a failure.
I would just add a different expectation, since it's not clear to me that having a different error message should be considered a failure.
I see. But this Unhandled Rejection shouldn't have happened to begin with! I'll address this when re-enabling the test in bug 168091. *** This bug has been marked as a duplicate of bug 168091 ***