From 21929ae63d9483644839dd2764c52a1127b9cc5e Mon Sep 17 00:00:00 2001 From: "Liquan(Max) Gu" Date: Mon, 19 Nov 2018 18:45:43 +0000 Subject: [PATCH] Bug 1507660 [wpt PR 14084] - [UserTimingL3] Fix meature, mark API feature detection, a=testonly MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Automatic update from web-platform-tests[UserTimingL3] Fix meature, mark API feature detection UserTimingL3 uses returned value for feature detection. If measure and mark API returns null, the APIs are L2 API; If the APIs return an entry, the APIs are L3 API. However, in the current implementation, when L3 API is enabled, the APIs do not always return the created entry. This CL is to fix this bug, and add layout tests to verify it. Change-Id: I9854f0abd0d64a3334701e09d6ce0fc245fcca3e Reviewed-on: https://chromium-review.googlesource.com/c/1338225 Commit-Queue: Liquan (Max) Gǔ Reviewed-by: Nicolás Peña Moreno Cr-Commit-Position: refs/heads/master@{#608552} -- wpt-commits: a4efb68eb4bb30453a6c958ad58f8c2540dc967e wpt-pr: 14084 --- .../user-timing/mark-measure-return-null.html | 46 +++++++++++++++++++ 1 file changed, 46 insertions(+) create mode 100644 testing/web-platform/tests/user-timing/mark-measure-return-null.html diff --git a/testing/web-platform/tests/user-timing/mark-measure-return-null.html b/testing/web-platform/tests/user-timing/mark-measure-return-null.html new file mode 100644 index 000000000000..5afd9633f247 --- /dev/null +++ b/testing/web-platform/tests/user-timing/mark-measure-return-null.html @@ -0,0 +1,46 @@ + + +User Timing: L2 APIs return null + + +

User Timing: L2 APIs return null

+
+