navigator.share should be undefined on platforms other than Android |
|||||||
Issue descriptionVersion: 54 OS: Everything but Android What steps will reproduce the problem? (1) Run with --enable-experimental-web-platform-features. (2) Open console. (3) navigator.share What is the expected output? undefined What do you see instead? It's there. If you call it, it returns a promise that never resolves. It should be undefined if there is no support on the given platform. Sam can you look into this?
,
Oct 4 2016
The following revision refers to this bug: https://chromium.googlesource.com/chromium/src.git/+/4d59fb592c7df5a06274bbffbe5a565f01307c11 commit 4d59fb592c7df5a06274bbffbe5a565f01307c11 Author: sammc <sammc@chromium.org> Date: Tue Oct 04 22:59:41 2016 Disable WebShare on platforms other than android. This adds origin_trial_os_whitelist to RuntimeEnabledFeatures. If set, an origin trial will only be available on the whitelisted OSes. BUG= 635741 Review-Url: https://codereview.chromium.org/2249043002 Cr-Commit-Position: refs/heads/master@{#422981} [modify] https://crrev.com/4d59fb592c7df5a06274bbffbe5a565f01307c11/third_party/WebKit/Source/build/scripts/make_runtime_features.py [modify] https://crrev.com/4d59fb592c7df5a06274bbffbe5a565f01307c11/third_party/WebKit/Source/build/scripts/templates/OriginTrials.cpp.tmpl [modify] https://crrev.com/4d59fb592c7df5a06274bbffbe5a565f01307c11/third_party/WebKit/Source/platform/RuntimeEnabledFeatures.in
,
Oct 4 2016
,
Oct 25 2016
I am still seeing navigator.share on a trial-enabled page on 55.0.2883.17 on Chrome OS. Will follow up later today.
,
Oct 26 2016
It turns out that generated code isn't actually used. https://codereview.chromium.org/2454513002
,
Oct 26 2016
Did this regress? I thought we manually tested this.
,
Oct 26 2016
The following revision refers to this bug: https://chromium.googlesource.com/chromium/src.git/+/3a5a4c96d03ff39adaed79d3fa0af80587e091c1 commit 3a5a4c96d03ff39adaed79d3fa0af80587e091c1 Author: sammc <sammc@chromium.org> Date: Wed Oct 26 05:51:45 2016 Use the generated checks for whether origin trials are enabled. BUG= 635741 Review-Url: https://codereview.chromium.org/2454513002 Cr-Commit-Position: refs/heads/master@{#427602} [modify] https://crrev.com/3a5a4c96d03ff39adaed79d3fa0af80587e091c1/third_party/WebKit/Source/bindings/modules/v8/ConditionalFeaturesForModules.cpp
,
Oct 27 2016
Requesting merge to M55. Rationale: Introduced new functionality (navigator.share) which is broken.
,
Oct 27 2016
Your change meets the bar and is auto-approved for M55 (branch: 2883)
,
Oct 27 2016
The following revision refers to this bug: https://chromium.googlesource.com/chromium/src.git/+/630e3f5d29661c40c28db20be8e668484561dd39 commit 630e3f5d29661c40c28db20be8e668484561dd39 Author: Sam McNally <sammc@chromium.org> Date: Thu Oct 27 23:45:24 2016 Use the generated checks for whether origin trials are enabled. BUG= 635741 Review-Url: https://codereview.chromium.org/2454513002 Cr-Commit-Position: refs/heads/master@{#427602} (cherry picked from commit 3a5a4c96d03ff39adaed79d3fa0af80587e091c1) Review URL: https://codereview.chromium.org/2454253003 . Cr-Commit-Position: refs/branch-heads/2883@{#351} Cr-Branched-From: 614d31daee2f61b0180df403a8ad43f20b9f6dd7-refs/heads/master@{#423768} [modify] https://crrev.com/630e3f5d29661c40c28db20be8e668484561dd39/third_party/WebKit/Source/bindings/modules/v8/ConditionalFeaturesForModules.cpp
,
Nov 1 2016
|
|||||||
►
Sign in to add a comment |
|||||||
Comment 1 by mgiuca@chromium.org
, Sep 8 2016