Disable Developer mode in Extensions
Reported by
nad...@greenvilleschools.us,
Aug 2 2016
|
||||||||
Issue descriptionUserAgent: Mozilla/5.0 (Windows NT 10.0; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/52.0.2743.82 Safari/537.36 Platform: 8172.62.0 Steps to reproduce the problem: 1. go to chrome://extensions 2. you can click the developer mode and load unpacked extensions even though you have the developer tools options set to Never allow in the admin console 3. What is the expected behavior? Not let the end user of a org be able to load unpacked extensions What went wrong? They have the ability to load unpacked extensions. Did this work before? N/A Chrome version: 51.0.2704.106 Channel: stable OS Version: 51.0.2704.106 Flash Version: 22.0.0.192-r1
,
Aug 10 2016
That's strange. I thought this was disabled with this policy. Adding to hotlist.
,
Aug 10 2016
Thank you, :)
,
Nov 4 2016
David, do we want a separate policy to block extension developer mode (since the "developer tools" policy is really just for the JS console)? Or do you want to piggy-back this behavior on the existing policy?
,
Nov 4 2016
Discussed offline and decided to simply piggy-back.
,
Nov 4 2016
Thanks for the work!!!
,
Nov 10 2016
,
Dec 13 2016
The following revision refers to this bug: https://chromium.googlesource.com/chromium/src.git/+/6e36b463913efcea94e14a2de86caff388351290 commit 6e36b463913efcea94e14a2de86caff388351290 Author: pmarko <pmarko@chromium.org> Date: Tue Dec 13 17:45:50 2016 Make extensions developer mode adhere to policy Make the developer mode checkbox on chrome://extensions adhere to the DeveloperToolsDisabled policy. If it is disabled, display an indicator. Add corresponding indicator test to policy_prefs_browsertest. Add an end-to-end test to policy_browsertest. BUG= 633684 TEST=browser_tests *PolicyPrefIndicatorTest*, PolicyTest.DeveloperToolsDisabledExtensionsDevMode CQ_INCLUDE_TRYBOTS=master.tryserver.chromium.linux:closure_compilation Review-Url: https://codereview.chromium.org/2529083002 Cr-Commit-Position: refs/heads/master@{#438215} [modify] https://crrev.com/6e36b463913efcea94e14a2de86caff388351290/chrome/browser/extensions/api/developer_private/developer_private_api.cc [modify] https://crrev.com/6e36b463913efcea94e14a2de86caff388351290/chrome/browser/extensions/api/developer_private/developer_private_api_unittest.cc [modify] https://crrev.com/6e36b463913efcea94e14a2de86caff388351290/chrome/browser/extensions/extension_service_test_base.cc [modify] https://crrev.com/6e36b463913efcea94e14a2de86caff388351290/chrome/browser/extensions/extension_service_test_base.h [modify] https://crrev.com/6e36b463913efcea94e14a2de86caff388351290/chrome/browser/policy/configuration_policy_handler_list_factory.cc [modify] https://crrev.com/6e36b463913efcea94e14a2de86caff388351290/chrome/browser/policy/policy_browsertest.cc [modify] https://crrev.com/6e36b463913efcea94e14a2de86caff388351290/chrome/browser/policy/policy_prefs_browsertest.cc [modify] https://crrev.com/6e36b463913efcea94e14a2de86caff388351290/chrome/browser/resources/extensions/extensions.html [modify] https://crrev.com/6e36b463913efcea94e14a2de86caff388351290/chrome/browser/resources/extensions/extensions.js [modify] https://crrev.com/6e36b463913efcea94e14a2de86caff388351290/chrome/browser/ui/webui/extensions/extension_settings_handler.cc [modify] https://crrev.com/6e36b463913efcea94e14a2de86caff388351290/chrome/common/extensions/api/developer_private.idl [modify] https://crrev.com/6e36b463913efcea94e14a2de86caff388351290/chrome/test/data/policy/policy_test_cases.json [modify] https://crrev.com/6e36b463913efcea94e14a2de86caff388351290/third_party/closure_compiler/externs/developer_private.js
,
Dec 13 2016
,
Dec 13 2016
@Comment 9 - This being fixed as in M-57?
,
Dec 14 2016
Yes, M-57.
,
Jan 13 2017
Verified that the developer mode checkbox on the chrome://extensions page is disabled when the DeveloperToolsDisabled policy is set to True. Verified working in 57.0.2978.0:9176.0.0 dev lulu.
,
Jan 19 2017
Updating the status to verified. |
||||||||
►
Sign in to add a comment |
||||||||
Comment 1 by scunning...@chromium.org
, Aug 9 2016Labels: -Type-Bug Type-Feature
Owner: dskaram@chromium.org
Status: Assigned (was: Unconfirmed)