| Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |
Thanks for working on this! Mostly looks good.
A few nits about how to check for flag, and one substantive comment:
https://chromium-review.git.corp.google.com/c/chromium/src/+/7965263/comment/3fd6dc37_89cc7c78/
if (RuntimeEnabledFeatures::ConditionalTracingLoAFEnabled()) {Would this be a noop if the feature is disabled? If so, perhaps make this non-conditional and CHECK instead of guarding by condition?
if (RuntimeEnabledFeatures::ConditionalTracingLoAFEnabled()) {Would this be a noop if the feature is disabled? If so, perhaps make this non-conditional and CHECK instead of guarding by condition?
if (RuntimeEnabledFeatures::ConditionalTracingLoAFEnabled()) {Would this be a noop if the feature is disabled? If so, perhaps make this non-conditional and CHECK instead of guarding by condition?
if (RuntimeEnabledFeatures::ConditionalTracingLoAFEnabled()) {Would this be a noop if the feature is disabled? If so, perhaps make this non-conditional and CHECK instead of guarding by condition?
PerformanceEntryVector conditional_user_timing_;I don't think this is the right approach. We should retain a vector of structs (containing string+time), kind of like ScriptTimingInfo, Convert to PerformanceEntry only when reporting to the actual DOM timeline.
if (RuntimeEnabledFeatures::ConditionalTracingLoAFEnabled()) {Would this be a noop if the feature is disabled? If so, perhaps make this non-conditional and CHECK instead of guarding by condition?
| Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |
if (RuntimeEnabledFeatures::ConditionalTracingLoAFEnabled()) {Would this be a noop if the feature is disabled? If so, perhaps make this non-conditional and CHECK instead of guarding by condition?
I used DCHECK instead of CHECK. Is it O.K.? (This question also applies to the rest.)
if (RuntimeEnabledFeatures::ConditionalTracingLoAFEnabled()) {Would this be a noop if the feature is disabled? If so, perhaps make this non-conditional and CHECK instead of guarding by condition?
Ditto
if (RuntimeEnabledFeatures::ConditionalTracingLoAFEnabled()) {Would this be a noop if the feature is disabled? If so, perhaps make this non-conditional and CHECK instead of guarding by condition?
Ditto
if (RuntimeEnabledFeatures::ConditionalTracingLoAFEnabled()) {Would this be a noop if the feature is disabled? If so, perhaps make this non-conditional and CHECK instead of guarding by condition?
Ditto.
PerformanceEntryVector conditional_user_timing_;I don't think this is the right approach. We should retain a vector of structs (containing string+time), kind of like ScriptTimingInfo, Convert to PerformanceEntry only when reporting to the actual DOM timeline.
Done. I also added security check (following the "scripts" example) -- I realized this is different from "standard user timing". The top frame can get the "conditional marks" from an Iframe.
if (RuntimeEnabledFeatures::ConditionalTracingLoAFEnabled()) {Would this be a noop if the feature is disabled? If so, perhaps make this non-conditional and CHECK instead of guarding by condition?
| Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |
if (RuntimeEnabledFeatures::ConditionalTracingLoAFEnabled()) {Guohui DengWould this be a noop if the feature is disabled? If so, perhaps make this non-conditional and CHECK instead of guarding by condition?
I used DCHECK instead of CHECK. Is it O.K.? (This question also applies to the rest.)
Acknowledged
if (RuntimeEnabledFeatures::ConditionalTracingLoAFEnabled()) {Guohui DengWould this be a noop if the feature is disabled? If so, perhaps make this non-conditional and CHECK instead of guarding by condition?
Ditto
Done
if (RuntimeEnabledFeatures::ConditionalTracingLoAFEnabled()) {Guohui DengWould this be a noop if the feature is disabled? If so, perhaps make this non-conditional and CHECK instead of guarding by condition?
Ditto
Acknowledged
if (RuntimeEnabledFeatures::ConditionalTracingLoAFEnabled()) {Guohui DengWould this be a noop if the feature is disabled? If so, perhaps make this non-conditional and CHECK instead of guarding by condition?
Ditto.
Acknowledged
if (RuntimeEnabledFeatures::ConditionalTracingLoAFEnabled()) {Guohui DengWould this be a noop if the feature is disabled? If so, perhaps make this non-conditional and CHECK instead of guarding by condition?
Ditto.
DCHECK(conditional_marks_.empty());I think just CHECK(RuntimeEnabledFeatures::ConditionalTracingLoAFEnabled()) in the condition below?
(CHECK and not DCHECK plz)
if (!RuntimeEnabledFeatures::ConditionalTracingLoAFEnabled()) {Ditto
if (!RuntimeEnabledFeatures::ConditionalTracingLoAFEnabled()) {Ditto
timing_info->SetConditionalMarks(conditional_marks);Another flag check?
<!DOCTYPE HTML>Is there a test for the security origin checks?