Skip to content

Truly independent web browser

LibWeb: Implement PerformanceServerTiming and serverTiming

Andreas Kling150a493b2544
diff --git a/Libraries/LibWeb/CMakeLists.txt b/Libraries/LibWeb/CMakeLists.txt
index e163e180b9b..a12e4280b08 100644
--- a/Libraries/LibWeb/CMakeLists.txt
+++ b/Libraries/LibWeb/CMakeLists.txt
@@ -827,6 +827,7 @@ set(SOURCES
Selection/Selection.cpp
Selection/CaretNavigation.cpp
Selection/SelectionModifier.cpp
+ ServerTiming/PerformanceServerTiming.cpp
ServiceWorker/Cache.cpp
ServiceWorker/CacheStorage.cpp
ServiceWorker/EventNames.cpp
diff --git a/Libraries/LibWeb/ResourceTiming/PerformanceResourceTiming.cpp b/Libraries/LibWeb/ResourceTiming/PerformanceResourceTiming.cpp
index ce4425fe789..8eac5015718 100644
--- a/Libraries/LibWeb/ResourceTiming/PerformanceResourceTiming.cpp
+++ b/Libraries/LibWeb/ResourceTiming/PerformanceResourceTiming.cpp
@@ -10,6 +10,7 @@
#include <LibWeb/HTML/WindowOrWorkerGlobalScope.h>
#include <LibWeb/PerformanceTimeline/EntryTypes.h>
#include <LibWeb/ResourceTiming/PerformanceResourceTiming.h>
+#include <LibWeb/ServerTiming/PerformanceServerTiming.h>
namespace Web::ResourceTiming {
@@ -348,4 +349,25 @@ Utf16String const& PerformanceResourceTiming::content_type() const
return m_response_body_info.content_type;
}
+// https://w3c.github.io/server-timing/#dom-performanceresourcetiming-servertiming
+Vector<GC::Ref<ServerTiming::PerformanceServerTiming>> PerformanceResourceTiming::server_timing() const
+{
+ // The serverTiming getter steps are the following:
+ // 1. Let entries be a new list.
+ Vector<GC::Ref<ServerTiming::PerformanceServerTiming>> entries;
+
+ // 2. For each field in this’s timing info’s server-timing headers:
+ for (auto const& field : m_timing_info->server_timing_headers()) {
+ // 1. Let metric be the result of parsing field.
+ auto metric = ServerTiming::PerformanceServerTiming::parse_a_server_timing_header_field(field);
+
+ // 2. If metric is not null, append metric to entries.
+ if (metric)
+ entries.append(*metric);
+ }
+
+ // 3. Return entries.
+ return entries;
+}
+
}
diff --git a/Libraries/LibWeb/ResourceTiming/PerformanceResourceTiming.h b/Libraries/LibWeb/ResourceTiming/PerformanceResourceTiming.h
index b2e9ec171f4..984f2f909f6 100644
--- a/Libraries/LibWeb/ResourceTiming/PerformanceResourceTiming.h
+++ b/Libraries/LibWeb/ResourceTiming/PerformanceResourceTiming.h
@@ -13,6 +13,12 @@
#include <LibWeb/Fetch/Infrastructure/HTTP/Responses.h>
#include <LibWeb/PerformanceTimeline/PerformanceEntry.h>
+namespace Web::ServerTiming {
+
+class PerformanceServerTiming;
+
+}
+
namespace Web::ResourceTiming {
using RenderBlockingStatusType = Bindings::RenderBlockingStatusType;
@@ -74,6 +80,8 @@ public:
bool is_render_blocking() const;
Utf16String const& content_type() const;
+ Vector<GC::Ref<ServerTiming::PerformanceServerTiming>> server_timing() const;
+
protected:
PerformanceResourceTiming(String const& name, HighResolutionTime::DOMHighResTimeStamp start_time, HighResolutionTime::DOMHighResTimeStamp duration, NonnullRefPtr<Fetch::Infrastructure::FetchTimingInfo> timing_info, HighResolutionTime::DOMHighResTimeStamp time_origin);
PerformanceResourceTiming(Utf16String const& name, HighResolutionTime::DOMHighResTimeStamp start_time, HighResolutionTime::DOMHighResTimeStamp duration, NonnullRefPtr<Fetch::Infrastructure::FetchTimingInfo> timing_info, HighResolutionTime::DOMHighResTimeStamp time_origin);
diff --git a/Libraries/LibWeb/ServerTiming/PerformanceResourceTimingExtensions.idl b/Libraries/LibWeb/ServerTiming/PerformanceResourceTimingExtensions.idl
new file mode 100644
index 00000000000..e6d028fd632
--- /dev/null
+++ b/Libraries/LibWeb/ServerTiming/PerformanceResourceTimingExtensions.idl
@@ -0,0 +1,5 @@
+// https://w3c.github.io/server-timing/#extension-to-the-performanceresourcetiming-interface
+[Exposed=(Window,Worker)]
+partial interface PerformanceResourceTiming {
+ readonly attribute FrozenArray<PerformanceServerTiming> serverTiming;
+};
diff --git a/Libraries/LibWeb/ServerTiming/PerformanceServerTiming.cpp b/Libraries/LibWeb/ServerTiming/PerformanceServerTiming.cpp
new file mode 100644
index 00000000000..ef81b3df0e5
--- /dev/null
+++ b/Libraries/LibWeb/ServerTiming/PerformanceServerTiming.cpp
@@ -0,0 +1,136 @@
+/*
+ * Copyright (c) 2026-present, the Ladybird developers.
+ *
+ * SPDX-License-Identifier: BSD-2-Clause
+ */
+
+#include <AK/GenericLexer.h>
+#include <AK/StringBuilder.h>
+#include <AK/Utf16String.h>
+#include <LibGC/Heap.h>
+#include <LibHTTP/HTTP.h>
+#include <LibWeb/HTML/Numbers.h>
+#include <LibWeb/ServerTiming/PerformanceServerTiming.h>
+
+namespace Web::ServerTiming {
+
+GC_DEFINE_ALLOCATOR(PerformanceServerTiming);
+
+PerformanceServerTiming::PerformanceServerTiming(String metric_name)
+ : m_metric_name(move(metric_name))
+{
+}
+
+PerformanceServerTiming::~PerformanceServerTiming() = default;
+
+// NB: Consumes a quoted-string, and returns its value with the quoted-pairs unescaped. Returns an empty Optional if
+// the quoted-string is not terminated.
+static Optional<String> consume_quoted_string(GenericLexer& lexer)
+{
+ VERIFY(lexer.next_is('"'));
+ lexer.ignore(1);
+
+ StringBuilder builder;
+ while (!lexer.is_eof()) {
+ auto code_point = lexer.consume();
+ if (code_point == '"') {
+ lexer.ignore_while(HTTP::is_http_tab_or_space);
+ // NB: A quoted-string can contain obs-text, which is not necessarily valid UTF-8.
+ return String::from_utf8_with_replacement_character(builder.string_view(), String::WithBOMHandling::No);
+ }
+ if (code_point == '\\') {
+ if (lexer.is_eof())
+ return {};
+ code_point = lexer.consume();
+ }
+ builder.append(code_point);
+ }
+ return {};
+}
+
+// https://w3c.github.io/server-timing/#dfn-parse-a-server-timing-header-field
+// INTEROP: The parsing algorithm in the spec accepts metric names and parameter values that are not tokens, and matches
+// parameter names case-sensitively. Other engines and WPT instead follow the ABNF of the header field, which is
+// what we do here:
+//
+// Server-Timing = #server-timing-metric
+// server-timing-metric = metric-name *( OWS ";" OWS server-timing-param )
+// metric-name = token
+// server-timing-param = server-timing-param-name OWS "=" OWS server-timing-param-value
+// server-timing-param-name = token
+// server-timing-param-value = token / quoted-string
+//
+// Parameter names are matched ASCII case-insensitively, only the first instance of each parameter is
+// considered, and extraneous characters after a metric name or a parameter value are ignored.
+GC::Ptr<PerformanceServerTiming> PerformanceServerTiming::parse_a_server_timing_header_field(StringView field)
+{
+ GenericLexer lexer { field };
+
+ auto consume_token = [&] {
+ auto token = lexer.consume_while(HTTP::is_http_token_code_point);
+ lexer.ignore_while(HTTP::is_http_tab_or_space);
+ return token;
+ };
+
+ lexer.ignore_while(HTTP::is_http_tab_or_space);
+
+ auto name = consume_token();
+ if (name.is_empty())
+ return nullptr;
+
+ auto metric = GC::Heap::the().allocate<PerformanceServerTiming>(MUST(String::from_utf8(name)));
+
+ lexer.ignore_until(';');
+
+ while (lexer.consume_specific(';')) {
+ lexer.ignore_while(HTTP::is_http_tab_or_space);
+
+ auto param_name = consume_token();
+ if (param_name.is_empty())
+ break;
+
+ String param_value;
+ if (lexer.consume_specific('=')) {
+ lexer.ignore_while(HTTP::is_http_tab_or_space);
+
+ if (lexer.next_is('"')) {
+ param_value = consume_quoted_string(lexer).value_or({});
+ } else {
+ param_value = MUST(String::from_utf8(consume_token()));
+ }
+
+ lexer.ignore_until(';');
+ }
+
+ auto lowercase_param_name = MUST(String::from_utf8(param_name)).to_ascii_lowercase();
+ if (!metric->m_params.contains(lowercase_param_name))
+ metric->m_params.set(move(lowercase_param_name), move(param_value));
+ }
+
+ return metric;
+}
+
+// https://w3c.github.io/server-timing/#dom-performanceservertiming-duration
+HighResolutionTime::DOMHighResTimeStamp PerformanceServerTiming::duration() const
+{
+ // 1. If this’s params["dur"] does not exist, return 0.
+ auto dur_param = m_params.get("dur"sv);
+ if (!dur_param.has_value())
+ return 0;
+
+ // 2. Let dur be the result of parsing this’s params["dur"] using the rules for parsing floating-point number
+ // values.
+ auto dur = HTML::parse_floating_point_number(Utf16String::from_utf8(*dur_param));
+
+ // 3. If dur is an error, return 0; Otherwise return dur.
+ return dur.value_or(0);
+}
+
+// https://w3c.github.io/server-timing/#dom-performanceservertiming-description
+String PerformanceServerTiming::description() const
+{
+ // The description getter steps are to return this’s params["desc"] if it exists, otherwise the empty string.
+ return m_params.get("desc"sv).value_or(String {});
+}
+
+}
diff --git a/Libraries/LibWeb/ServerTiming/PerformanceServerTiming.h b/Libraries/LibWeb/ServerTiming/PerformanceServerTiming.h
new file mode 100644
index 00000000000..c7a45a021fb
--- /dev/null
+++ b/Libraries/LibWeb/ServerTiming/PerformanceServerTiming.h
@@ -0,0 +1,40 @@
+/*
+ * Copyright (c) 2026-present, the Ladybird developers.
+ *
+ * SPDX-License-Identifier: BSD-2-Clause
+ */
+
+#pragma once
+
+#include <AK/HashMap.h>
+#include <AK/String.h>
+#include <LibWeb/Bindings/Wrappable.h>
+#include <LibWebCommon/HighResolutionTime/DOMHighResTimeStamp.h>
+
+namespace Web::ServerTiming {
+
+// https://w3c.github.io/server-timing/#the-performanceservertiming-interface
+class PerformanceServerTiming final : public Bindings::GCAllocatedWrappable {
+ WEB_WRAPPABLE(PerformanceServerTiming, Bindings::GCAllocatedWrappable);
+ GC_DECLARE_ALLOCATOR(PerformanceServerTiming);
+
+public:
+ static GC::Ptr<PerformanceServerTiming> parse_a_server_timing_header_field(StringView field);
+
+ virtual ~PerformanceServerTiming() override;
+
+ String const& name() const { return m_metric_name; }
+ HighResolutionTime::DOMHighResTimeStamp duration() const;
+ String description() const;
+
+private:
+ explicit PerformanceServerTiming(String metric_name);
+
+ // https://w3c.github.io/server-timing/#dfn-metric-name
+ String m_metric_name;
+
+ // https://w3c.github.io/server-timing/#dfn-params
+ OrderedHashMap<String, String> m_params;
+};
+
+}
diff --git a/Libraries/LibWeb/ServerTiming/PerformanceServerTiming.idl b/Libraries/LibWeb/ServerTiming/PerformanceServerTiming.idl
new file mode 100644
index 00000000000..9856fe8246d
--- /dev/null
+++ b/Libraries/LibWeb/ServerTiming/PerformanceServerTiming.idl
@@ -0,0 +1,8 @@
+// https://w3c.github.io/server-timing/#the-performanceservertiming-interface
+[Exposed=(Window,Worker)]
+interface PerformanceServerTiming {
+ readonly attribute DOMString name;
+ readonly attribute DOMHighResTimeStamp duration;
+ readonly attribute DOMString description;
+ [Default] object toJSON();
+};
diff --git a/Libraries/LibWeb/idl_files.cmake b/Libraries/LibWeb/idl_files.cmake
index d7d91696395..6b06956105a 100644
--- a/Libraries/LibWeb/idl_files.cmake
+++ b/Libraries/LibWeb/idl_files.cmake
@@ -450,6 +450,8 @@ libweb_js_bindings(ResourceTiming/PerformanceResourceTiming)
libweb_js_bindings(Selection/Selection)
libweb_js_bindings(Serial/Serial)
libweb_js_bindings(Serial/SerialPort)
+libweb_js_bindings(ServerTiming/PerformanceResourceTimingExtensions)
+libweb_js_bindings(ServerTiming/PerformanceServerTiming)
libweb_js_bindings(ServiceWorker/Cache)
libweb_js_bindings(ServiceWorker/CacheStorage)
libweb_js_bindings(ServiceWorker/ServiceWorker)
diff --git a/Tests/LibWeb/Text/expected/all-window-properties.txt b/Tests/LibWeb/Text/expected/all-window-properties.txt
index ebf5841eba7..c03cec46353 100644
--- a/Tests/LibWeb/Text/expected/all-window-properties.txt
+++ b/Tests/LibWeb/Text/expected/all-window-properties.txt
@@ -368,6 +368,7 @@ PerformanceNavigationTiming
PerformanceObserver
PerformanceObserverEntryList
PerformanceResourceTiming
+PerformanceServerTiming
PerformanceTiming
PeriodicWave
PermissionStatus
diff --git a/Tests/LibWeb/Text/expected/wpt-import/server-timing/server_timing_header-parsing.https.txt b/Tests/LibWeb/Text/expected/wpt-import/server-timing/server_timing_header-parsing.https.txt
index 6055c864758..5423d1aa1d2 100644
--- a/Tests/LibWeb/Text/expected/wpt-import/server-timing/server_timing_header-parsing.https.txt
+++ b/Tests/LibWeb/Text/expected/wpt-import/server-timing/server_timing_header-parsing.https.txt
@@ -1,3 +1,336 @@
-Harness status: Error
+Harness status: OK
-Found 0 tests
+Found 331 tests
+
+331 Pass
+Pass 0.js - count (0 ?== 0)
+Pass 1.js - count (1 ?== 1)
+Pass 1.js - name (metric ?== metric)
+Pass 1.js - duration (0 ?== 0)
+Pass 1.js - description ( ?== )
+Pass 2.js - count (1 ?== 1)
+Pass 2.js - name (metric ?== metric)
+Pass 2.js - duration (123.4 ?== 123.4)
+Pass 2.js - description ( ?== )
+Pass 3.js - count (1 ?== 1)
+Pass 3.js - name (metric ?== metric)
+Pass 3.js - duration (123.4 ?== 123.4)
+Pass 3.js - description ( ?== )
+Pass 4.js - count (1 ?== 1)
+Pass 4.js - name (metric ?== metric)
+Pass 4.js - duration (0 ?== 0)
+Pass 4.js - description (description ?== description)
+Pass 5.js - count (1 ?== 1)
+Pass 5.js - name (metric ?== metric)
+Pass 5.js - duration (0 ?== 0)
+Pass 5.js - description (description ?== description)
+Pass 6.js - count (1 ?== 1)
+Pass 6.js - name (metric ?== metric)
+Pass 6.js - duration (123.4 ?== 123.4)
+Pass 6.js - description (description ?== description)
+Pass 7.js - count (1 ?== 1)
+Pass 7.js - name (metric ?== metric)
+Pass 7.js - duration (123.4 ?== 123.4)
+Pass 7.js - description (description ?== description)
+Pass 8.js - count (1 ?== 1)
+Pass 8.js - name (aB3!#$%&'*+-.^_`|~ ?== aB3!#$%&'*+-.^_`|~)
+Pass 8.js - duration (0 ?== 0)
+Pass 8.js - description ( ?== )
+Pass 9.js - count (1 ?== 1)
+Pass 9.js - name (metric ?== metric)
+Pass 9.js - duration (123.4 ?== 123.4)
+Pass 9.js - description (descr;,=iption ?== descr;,=iption)
+Pass 10.js - count (1 ?== 1)
+Pass 10.js - name (metric ?== metric)
+Pass 10.js - duration (0 ?== 0)
+Pass 10.js - description ( ?== )
+Pass 11.js - count (1 ?== 1)
+Pass 11.js - name (metric ?== metric)
+Pass 11.js - duration (0 ?== 0)
+Pass 11.js - description ( ?== )
+Pass 12.js - count (1 ?== 1)
+Pass 12.js - name (metric ?== metric)
+Pass 12.js - duration (123.4 ?== 123.4)
+Pass 12.js - description (description ?== description)
+Pass 13.js - count (1 ?== 1)
+Pass 13.js - name (metric ?== metric)
+Pass 13.js - duration (123.4 ?== 123.4)
+Pass 13.js - description (description ?== description)
+Pass 14.js - count (1 ?== 1)
+Pass 14.js - name (metric ?== metric)
+Pass 14.js - duration (0 ?== 0)
+Pass 14.js - description (description ?== description)
+Pass 15.js - count (3 ?== 3)
+Pass 15.js - [0].name (metric1 ?== metric1)
+Pass 15.js - [0].duration (12.3 ?== 12.3)
+Pass 15.js - [0].description (description1 ?== description1)
+Pass 15.js - [1].name (metric2 ?== metric2)
+Pass 15.js - [1].duration (45.6 ?== 45.6)
+Pass 15.js - [1].description (description2 ?== description2)
+Pass 15.js - [2].name (metric3 ?== metric3)
+Pass 15.js - [2].duration (78.9 ?== 78.9)
+Pass 15.js - [2].description (description3 ?== description3)
+Pass 16.js - count (5 ?== 5)
+Pass 16.js - [0].name (metric1 ?== metric1)
+Pass 16.js - [0].duration (0 ?== 0)
+Pass 16.js - [0].description ( ?== )
+Pass 16.js - [1].name (metric2 ?== metric2)
+Pass 16.js - [1].duration (0 ?== 0)
+Pass 16.js - [1].description ( ?== )
+Pass 16.js - [2].name (metric3 ?== metric3)
+Pass 16.js - [2].duration (0 ?== 0)
+Pass 16.js - [2].description ( ?== )
+Pass 16.js - [3].name (metric4 ?== metric4)
+Pass 16.js - [3].duration (0 ?== 0)
+Pass 16.js - [3].description ( ?== )
+Pass 16.js - [4].name (metric5 ?== metric5)
+Pass 16.js - [4].duration (0 ?== 0)
+Pass 16.js - [4].description ( ?== )
+Pass 17.js - count (1 ?== 1)
+Pass 17.js - name (metric ?== metric)
+Pass 17.js - duration (0 ?== 0)
+Pass 17.js - description (description ?== description)
+Pass 18.js - count (1 ?== 1)
+Pass 18.js - name (metric ?== metric)
+Pass 18.js - duration (0 ?== 0)
+Pass 18.js - description ( description ?== description )
+Pass 19.js - count (1 ?== 1)
+Pass 19.js - name (metric ?== metric)
+Pass 19.js - duration (0 ?== 0)
+Pass 19.js - description (descr"iption ?== descr"iption)
+Pass 20.js - count (1 ?== 1)
+Pass 20.js - name (metric ?== metric)
+Pass 20.js - duration (0 ?== 0)
+Pass 20.js - description ( ?== )
+Pass 21.js - count (1 ?== 1)
+Pass 21.js - name (metric ?== metric)
+Pass 21.js - duration (0 ?== 0)
+Pass 21.js - description ( ?== )
+Pass 22.js - count (1 ?== 1)
+Pass 22.js - name (metric ?== metric)
+Pass 22.js - duration (0 ?== 0)
+Pass 22.js - description ( ?== )
+Pass 23.js - count (1 ?== 1)
+Pass 23.js - name (metric ?== metric)
+Pass 23.js - duration (0 ?== 0)
+Pass 23.js - description ( ?== )
+Pass 24.js - count (1 ?== 1)
+Pass 24.js - name (metric ?== metric)
+Pass 24.js - duration (0 ?== 0)
+Pass 24.js - description ( ?== )
+Pass 25.js - count (1 ?== 1)
+Pass 25.js - name (metric ?== metric)
+Pass 25.js - duration (0 ?== 0)
+Pass 25.js - description ( ?== )
+Pass 26.js - count (1 ?== 1)
+Pass 26.js - name (metric ?== metric)
+Pass 26.js - duration (0 ?== 0)
+Pass 26.js - description ( ?== )
+Pass 27.js - count (1 ?== 1)
+Pass 27.js - name (metric ?== metric)
+Pass 27.js - duration (0 ?== 0)
+Pass 27.js - description ( ?== )
+Pass 28.js - count (1 ?== 1)
+Pass 28.js - name (metric ?== metric)
+Pass 28.js - duration (0 ?== 0)
+Pass 28.js - description ( ?== )
+Pass 29.js - count (1 ?== 1)
+Pass 29.js - name (metric ?== metric)
+Pass 29.js - duration (0 ?== 0)
+Pass 29.js - description ( ?== )
+Pass 30.js - count (1 ?== 1)
+Pass 30.js - name (metric ?== metric)
+Pass 30.js - duration (0 ?== 0)
+Pass 30.js - description ( ?== )
+Pass 31.js - count (1 ?== 1)
+Pass 31.js - name (metric ?== metric)
+Pass 31.js - duration (0 ?== 0)
+Pass 31.js - description ( ?== )
+Pass 32.js - count (1 ?== 1)
+Pass 32.js - name (metric ?== metric)
+Pass 32.js - duration (0 ?== 0)
+Pass 32.js - description ( ?== )
+Pass 33.js - count (1 ?== 1)
+Pass 33.js - name (metric ?== metric)
+Pass 33.js - duration (0 ?== 0)
+Pass 33.js - description ( ?== )
+Pass 34.js - count (1 ?== 1)
+Pass 34.js - name (metric ?== metric)
+Pass 34.js - duration (0 ?== 0)
+Pass 34.js - description ( ?== )
+Pass 35.js - count (1 ?== 1)
+Pass 35.js - name (metric ?== metric)
+Pass 35.js - duration (0 ?== 0)
+Pass 35.js - description ( ?== )
+Pass 36.js - count (1 ?== 1)
+Pass 36.js - name (metric ?== metric)
+Pass 36.js - duration (0 ?== 0)
+Pass 36.js - description ( ?== )
+Pass 37.js - count (1 ?== 1)
+Pass 37.js - name (metric ?== metric)
+Pass 37.js - duration (0 ?== 0)
+Pass 37.js - description ( ?== )
+Pass 38.js - count (1 ?== 1)
+Pass 38.js - name (metric ?== metric)
+Pass 38.js - duration (0 ?== 0)
+Pass 38.js - description ( ?== )
+Pass 39.js - count (1 ?== 1)
+Pass 39.js - name (metric ?== metric)
+Pass 39.js - duration (0 ?== 0)
+Pass 39.js - description ( ?== )
+Pass 40.js - count (1 ?== 1)
+Pass 40.js - name (metric ?== metric)
+Pass 40.js - duration (0 ?== 0)
+Pass 40.js - description ( ?== )
+Pass 41.js - count (1 ?== 1)
+Pass 41.js - name (metric ?== metric)
+Pass 41.js - duration (0 ?== 0)
+Pass 41.js - description ( ?== )
+Pass 42.js - count (1 ?== 1)
+Pass 42.js - name (metric ?== metric)
+Pass 42.js - duration (0 ?== 0)
+Pass 42.js - description ( ?== )
+Pass 43.js - count (1 ?== 1)
+Pass 43.js - name (metric ?== metric)
+Pass 43.js - duration (0 ?== 0)
+Pass 43.js - description (\ ?== \)
+Pass 44.js - count (1 ?== 1)
+Pass 44.js - name (metric ?== metric)
+Pass 44.js - duration (0 ?== 0)
+Pass 44.js - description ( ?== )
+Pass 45.js - count (1 ?== 1)
+Pass 45.js - name (metric ?== metric)
+Pass 45.js - duration (0 ?== 0)
+Pass 45.js - description (" ?== ")
+Pass 46.js - count (1 ?== 1)
+Pass 46.js - name (metric ?== metric)
+Pass 46.js - duration (0 ?== 0)
+Pass 46.js - description ( ?== )
+Pass 47.js - count (1 ?== 1)
+Pass 47.js - name (metric ?== metric)
+Pass 47.js - duration (0 ?== 0)
+Pass 47.js - description ( ?== )
+Pass 48.js - count (1 ?== 1)
+Pass 48.js - name (metric ?== metric)
+Pass 48.js - duration (0 ?== 0)
+Pass 48.js - description ( ?== )
+Pass 49.js - count (1 ?== 1)
+Pass 49.js - name (metric ?== metric)
+Pass 49.js - duration (0 ?== 0)
+Pass 49.js - description ( ?== )
+Pass 50.js - count (2 ?== 2)
+Pass 50.js - [0].name (metric ?== metric)
+Pass 50.js - [0].duration (12.3 ?== 12.3)
+Pass 50.js - [0].description (description1 ?== description1)
+Pass 50.js - [1].name (metric ?== metric)
+Pass 50.js - [1].duration (45.6 ?== 45.6)
+Pass 50.js - [1].description (description2 ?== description2)
+Pass 51.js - count (1 ?== 1)
+Pass 51.js - name (metric ?== metric)
+Pass 51.js - duration (123.4 ?== 123.4)
+Pass 51.js - description (description ?== description)
+Pass 52.js - count (1 ?== 1)
+Pass 52.js - name (MeTrIc ?== MeTrIc)
+Pass 52.js - duration (0 ?== 0)
+Pass 52.js - description (DeScRiPtIoN ?== DeScRiPtIoN)
+Pass 53.js - count (1 ?== 1)
+Pass 53.js - name (metric ?== metric)
+Pass 53.js - duration (0 ?== 0)
+Pass 53.js - description ( ?== )
+Pass 54.js - count (1 ?== 1)
+Pass 54.js - name (metric ?== metric)
+Pass 54.js - duration (0 ?== 0)
+Pass 54.js - description ( ?== )
+Pass 55.js - count (2 ?== 2)
+Pass 55.js - [0].name (metric1 ?== metric1)
+Pass 55.js - [0].duration (123.4 ?== 123.4)
+Pass 55.js - [0].description (description ?== description)
+Pass 55.js - [1].name (metric2 ?== metric2)
+Pass 55.js - [1].duration (0 ?== 0)
+Pass 55.js - [1].description ( ?== )
+Pass 56.js - count (1 ?== 1)
+Pass 56.js - name (metric ?== metric)
+Pass 56.js - duration (123.4 ?== 123.4)
+Pass 56.js - description ( ?== )
+Pass 57.js - count (1 ?== 1)
+Pass 57.js - name (metric ?== metric)
+Pass 57.js - duration (0 ?== 0)
+Pass 57.js - description ( ?== )
+Pass 58.js - count (1 ?== 1)
+Pass 58.js - name (metric ?== metric)
+Pass 58.js - duration (0 ?== 0)
+Pass 58.js - description (description1 ?== description1)
+Pass 59.js - count (1 ?== 1)
+Pass 59.js - name (metric ?== metric)
+Pass 59.js - duration (0 ?== 0)
+Pass 59.js - description (description ?== description)
+Pass 60.js - count (1 ?== 1)
+Pass 60.js - name (metric ?== metric)
+Pass 60.js - duration (0 ?== 0)
+Pass 60.js - description (description ?== description)
+Pass 61.js - count (1 ?== 1)
+Pass 61.js - name (metric ?== metric)
+Pass 61.js - duration (123.4 ?== 123.4)
+Pass 61.js - description ( ?== )
+Pass 62.js - count (1 ?== 1)
+Pass 62.js - name (metric ?== metric)
+Pass 62.js - duration (123.4 ?== 123.4)
+Pass 62.js - description ( ?== )
+Pass 63.js - count (1 ?== 1)
+Pass 63.js - name (metric ?== metric)
+Pass 63.js - duration (123.4 ?== 123.4)
+Pass 63.js - description (d1 ?== d1)
+Pass 64.js - count (2 ?== 2)
+Pass 64.js - [0].name (metric1 ?== metric1)
+Pass 64.js - [0].duration (0 ?== 0)
+Pass 64.js - [0].description (d1 ?== d1)
+Pass 64.js - [1].name (metric2 ?== metric2)
+Pass 64.js - [1].duration (0 ?== 0)
+Pass 64.js - [1].description ( ?== )
+Pass 65.js - count (1 ?== 1)
+Pass 65.js - name (metric ?== metric)
+Pass 65.js - duration (123.4 ?== 123.4)
+Pass 65.js - description (d1 ?== d1)
+Pass 66.js - count (2 ?== 2)
+Pass 66.js - [0].name (metric1 ?== metric1)
+Pass 66.js - [0].duration (0 ?== 0)
+Pass 66.js - [0].description (d1 ?== d1)
+Pass 66.js - [1].name (metric2 ?== metric2)
+Pass 66.js - [1].duration (0 ?== 0)
+Pass 66.js - [1].description ( ?== )
+Pass 67.js - count (1 ?== 1)
+Pass 67.js - name (metric ?== metric)
+Pass 67.js - duration (123.4 ?== 123.4)
+Pass 67.js - description ( ?== )
+Pass 68.js - count (2 ?== 2)
+Pass 68.js - [0].name (metric1 ?== metric1)
+Pass 68.js - [0].duration (0 ?== 0)
+Pass 68.js - [0].description ( ?== )
+Pass 68.js - [1].name (metric2 ?== metric2)
+Pass 68.js - [1].duration (0 ?== 0)
+Pass 68.js - [1].description ( ?== )
+Pass 69.js - count (1 ?== 1)
+Pass 69.js - name (metric ?== metric)
+Pass 69.js - duration (0 ?== 0)
+Pass 69.js - description ( ?== )
+Pass 70.js - count (1 ?== 1)
+Pass 70.js - name (metric ?== metric)
+Pass 70.js - duration (0 ?== 0)
+Pass 70.js - description ( ?== )
+Pass 71.js - count (0 ?== 0)
+Pass 72.js - count (0 ?== 0)
+Pass 73.js - count (0 ?== 0)
+Pass 74.js - count (0 ?== 0)
+Pass 75.js - count (0 ?== 0)
+Pass 76.js - count (0 ?== 0)
+Pass 77.js - count (0 ?== 0)
+Pass 78.js - count (0 ?== 0)
+Pass 79.js - count (0 ?== 0)
+Pass 80.js - count (0 ?== 0)
+Pass 81.js - count (0 ?== 0)
+Pass 82.js - count (0 ?== 0)
+Pass 83.js - count (0 ?== 0)
+Pass 84.js - count (1 ?== 1)
+Pass 84.js - name (metric ?== metric)
+Pass 84.js - duration (42 ?== 42)
+Pass 84.js - description (tabs-should-get-trimmed ?== tabs-should-get-trimmed)
\ No newline at end of file