• Kevin McNee's avatar
    Don't enable portals in the renderer without the browser's knowledge · c13db779
    Kevin McNee authored
    Currently, using
    --enable-blink-features=Portals
    or
    --enable-blink-test-features
    causes renderer kills because the renderer enables portals for itself
    with runtime_enabled_features, however the browser only considers the
    blink::features::kPortals feature.
    
    We have the renderer respect the value of blink::features::kPortals.
    We now ignore --enable-blink-features=Portals when the browser does not
    have portals enabled and only set portals' experimental/test status if
    the blink::features::kPortals default allows for it.
    
    Since now portals are not exposed for the blink testing config for web
    tests, we remove their interface listing expectations.
    
    Bug: None
    Change-Id: I02fe241e2ddd17d86eda896b2b2fa21c36bcb682
    Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2518427
    Commit-Queue: Kevin McNee <mcnee@chromium.org>
    Reviewed-by: default avatarJeremy Roman <jbroman@chromium.org>
    Cr-Commit-Position: refs/heads/master@{#825114}
    c13db779
features.cc 38.4 KB