New issue
Advanced search Search tips

Issue 710637 link

Starred by 1 user

Issue metadata

Status: Duplicate
Merged: issue 716565
Owner: ----
Closed: Apr 2017
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: All
Pri: 3
Type: Bug



Sign in to add a comment

Blink's deprecation and use counters/messages might behave incorrectly with OOPIFs

Project Member Reported by alex...@chromium.org, Apr 11 2017

Issue description

Currently, blink::Deprecation::CountDeprecation contains a few checks which might not work correctly with OOPIFs:
 ...
 if (!page || page->GetDeprecation().mute_count_)
    return;

  if (!page->GetUseCounter().HasRecordedMeasurement(feature)) {
    page->GetUseCounter().RecordMeasurement(feature);
    ConsoleMessage* console_message = ...
    frame->Console().AddMessage(console_message);
  }

Namely, this relies on keeping page-level state for mute_count_ and UseCounter::HasRecordedMeasurement(), which we don't currently replicate.  Therefore, we might record extra measurements and print extra console messages from OOPIF renderers.
 
Mergedinto: 716565
Status: Duplicate (was: Available)

Sign in to add a comment