| Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |
Thank you for working on this. But when I tried this CL locally, it immediately crashed.
```
out/Linux/chrome https://www.google.com/search?q=cat
...
Received signal 6
#0 0x7f9d25cb46f2 base::debug::CollectStackTrace() [../../base/debug/stack_trace_posix.cc:1050:7]
#1 0x7f9d25c9821e base::debug::StackTrace::StackTrace() [../../base/debug/stack_trace.cc:280:20]
#2 0x7f9d25cb4158 base::debug::(anonymous namespace)::StackDumpSignalHandler() [../../base/debug/stack_trace_posix.cc:483:3]
#3 0x7f9d10240a70 (/usr/lib/x86_64-linux-gnu/libc.so.6+0x40a6f)
#4 0x7f9d102973dc (/usr/lib/x86_64-linux-gnu/libc.so.6+0x973db)
#5 0x7f9d10240942 gsignal
#6 0x7f9d102284ac abort
#7 0x7f9d195c95c2 std::__Cr::__libcpp_verbose_abort()
#8 0x555da96a9a2d UmaPageLoadMetricsObserver::EmitPageLoadTimelineTraceEventEnd()
#9 0x555da96a94c7 UmaPageLoadMetricsObserver::OnStart()
[../../components/page_load_metrics/browser/observers/core/uma_page_load_metrics_observer.cc:374:3]
#10 0x555da90255d7 base::RepeatingCallback<>::Run() [../../base/functional/callback.h:346:12]
```
I had to update the following lines, but the `ParseStartToFCP` became a strange state.
```
modified components/page_load_metrics/browser/observers/core/uma_page_load_metrics_observer.cc
@@ -1432,9 +1432,10 @@ void UmaPageLoadMetricsObserver::EmitPageLoadTimelineTraceEventEnd(
}
auto trace_begin_event = std::exchange(trace_begin_event_, std::nullopt);
- DCHECK(trace_begin_event);
- DCHECK_EQ(trace_begin_event->name, name);
- DCHECK_EQ(trace_begin_event->navigation_id, GetDelegate().GetNavigationId());
+ if (!trace_begin_event || trace_begin_event->name != name ||
+ trace_begin_event->navigation_id != GetDelegate().GetNavigationId()) {
+ return;
+ }
auto track = *timeline_track_;
const base::TimeTicks effective_end =
```
| Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |
Whoops, it didn't handle a tracing session starting during navigation. This should be fixed now.
| Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |
Sorry for my late review. I'll check this CL today. I've been OOO. Sorry.
| Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |
Sorry for my late review. I'll check this CL today. I've been OOO. Sorry.
I tried the newest patch, but it seems that the newest patch still has the same problem.
| Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |
Minoru ChikamuneSorry for my late review. I'll check this CL today. I've been OOO. Sorry.
I tried the newest patch, but it seems that the newest patch still has the same problem.
Minoru ChikamuneSorry for my late review. I'll check this CL today. I've been OOO. Sorry.
Minoru ChikamuneI tried the newest patch, but it seems that the newest patch still has the same problem.
Before this CL:
Fixed, thanks for flagging! I was missing closing ParseStartToFCP when the page is hidden.
| Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |