From d38540d9920de975de1a393efd015e487f322c39 Mon Sep 17 00:00:00 2001 From: "Liquan(Max) Gu" Date: Thu, 15 Nov 2018 14:41:32 -0800 Subject: [PATCH] [UserTimingL3] Fix meature, mark API feature detection MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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} --- user-timing/mark-measure-return-null.html | 46 +++++++++++++++++++++++ 1 file changed, 46 insertions(+) create mode 100644 user-timing/mark-measure-return-null.html diff --git a/user-timing/mark-measure-return-null.html b/user-timing/mark-measure-return-null.html new file mode 100644 index 00000000000000..5afd9633f24751 --- /dev/null +++ b/user-timing/mark-measure-return-null.html @@ -0,0 +1,46 @@ + + +User Timing: L2 APIs return null + + +

User Timing: L2 APIs return null

+
+