https://www.instagram.com/moradian.official
Chưa có ai nhận issue này.
Đánh giá
- Độ khó
- 4/5
- Thời gian dự kiến
- 1-2 ngày
- Mức phù hợp với người mới
- 3/100
- Loại issue
- Tài liệu
- Độ rõ ràng
- Cần làm rõ
- Mức độ hoạt động
- Sôi nổi
- Công nghệ
- javascript
- Lĩnh vực
- devtools
Hướng nghiên cứu
The title is an Instagram URL and the body is a pasted Chrome blog post about enterprise policy limits on chrome.debugger, not a change to this repository. The README note says this repo does not track Chrome DevTools Protocol behavior, so the report belongs on crbug.com. Nothing in the payload names a file, test, or entry point to change here. Done means the issue is closed or redirected to crbug.com, which a newcomer should not attempt without a maintainer's direction.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
[!WARNING]
This repository is related to Chrome DevTools Protocol, but does not track issues regarding its definition or implementation.
If you want to file an issue for the Chrome DevTools Protocol, please open an issue on https://crbug.com under component: Chromium > Platform > DevTools.
This repository only hosts issues regarding the TypeScript type definitions of CDP
.Published: September 8, 2026, Last updated: November 6, 2026
Update (November 4, 2026): Feature rollback
Based on customer feedback, the enforcement of an all-or-nothing enterprise policy for the chrome.debugger extension API can cause issues in certain environments. While we design a more flexible approach, we have decided to roll back this change.
Guidance for enterprise administrators
The policy enforcement is disabled by default starting in Chrome 158 (from version 158.0.8127.24) and Chrome 159. In earlier builds from Chrome 155 to 158, the enforcement has been rolled back through a server-side configuration update, which Chrome downloads automatically and applies after a restart.
This server-side update does not reach browsers where all variations are disabled, such as through the ChromeVariations policy. To disable the enforcement in those environments, or without waiting for the configuration update, launch Chrome with the --disable-features=ExtensionDebuggerStrictPolicyRestrictions command-line flag.
Once the rollback takes effect, no changes to ExtensionSettings, DisableScreenshots, or Data Loss Prevention (DLP) policies are required.
Feature description (September 8, 2026)
[!CAUTION]
Caution: The Chrome 155 policy enforcement described in this original announcement has been rolled back and is no longer in effect. It is retained for historical reference---see Update (November 4, 2026): Feature rollback for current behavior and administrator guidance.
Starting in Chrome 155, Chrome updates how enterprise policy restrictions apply to extensions using the chrome.debugger API.
This change only affects extensions running on managed browsers where an administrator has explicitly configured runtime_blocked_hosts, DisableScreenshots, or Data Loss Prevention (DLP) rules.
If an extension runs on an unmanaged browser, or in an enterprise environment without these specific policy restrictions, chrome.debugger continues to operate normally with no changes.
Timeline and rollout
- Chrome 155 Beta: September 16, 2026
- Chrome 155 Stable Rollout: October 6, 2026
Key changes in Chrome 155
The following changes only affect enterprise-managed browsers:
-
Host restrictions: If an enterprise policy (
ExtensionSettings) configures a non-empty blocked hosts list (runtime_blocked_hosts) for an extension,chrome.debugger.attach()is rejected on all targets with:"Host access is restricted by policy."This is the case even if specific origins are included in
runtime_allowed_hosts. -
Screenshot and DLP restrictions: If screenshot capture is disabled by an enterprise policy (
DisableScreenshotsor Data Loss Prevention (DLP) rules),chrome.debugger.attach()fails with:"Screenshot capture is restricted by policy."
Personal profiles and unmanaged environments continue to have unrestricted chrome.debugger access as before.
The chrome.debugger API grants direct Chrome DevTools Protocol (CDP) access for powerful capabilities, including arbitrary script evaluation and network interception. Because CDP operates beneath the web platform's origin model, origin-based filtering cannot securely restrict it, so Chrome 155 resolves this with an all-or-nothing model, validating enterprise policies upfront on each chrome.debugger.attach() call.
Recommended developer actions
To prepare extensions for managed environments, handle attach rejections in code and consider migrating to higher-level APIs where possible.
Handle attach rejections gracefully
Always handle attach rejections in your extension code to give clear feedback to enterprise users:
// Promise-based (Manifest V3)
try {
await chrome.debugger.attach({ tabId }, "1.3");
} catch (error) {
if (error.message.includes("Host access is restricted by policy")) {
console.warn("Debugger attach blocked: Extension has host restrictions configured by enterprise policy.");
} else if (error.message.includes("Screenshot capture is restricted by policy")) {
console.warn("Debugger attach blocked: Screenshots or DLP restrictions are enforced by enterprise policy.");
} else {
console.warn("Debugger attach failed:", error.message);
}
}
// Callback-based
chrome.debugger.attach({ tabId }, "1.3", () => {
if (chrome.runtime.lastError) {
console.warn("Debugger attach failed:", chrome.runtime.lastError.message);
}
});
Consider alternative high-level APIs
If your extension does not strictly require direct CDP access, evaluate migrating to higher-level extension APIs that support granular host permissions and work alongside enterprise host allowlists and blocklists:
- Use the
chrome.scriptingAPI to execute scripts and insert styles into allowed pages. - Use the
chrome.declarativeNetRequestAPI to inspect, modify, or block network requests declaratively. - Use the
chrome.cookiesAPI with standard host permissions.
Guidance for enterprise administrators
Enterprise administrators managing extension policies should note that extensions requiring the debugger permission cannot operate with partial host restrictions (runtime_blocked_hosts). If an extension needs chrome.debugger, it must not have blocked hosts configured in ExtensionSettings.
If screenshot capture is disabled using DisableScreenshots or Data Loss Prevention (DLP) rules, chrome.debugger.attach() will fail.
Organizations requiring host blocklists or screenshot restrictions should verify whether their internal or approved extensions can migrate to higher-level APIs such as chrome.scripting or chrome.declarativeNetRequest.
Share feedback
For more details, refer to the chrome.debugger API documentation. If you have questions or feedback, reach out on the Chromium Extensions Google Group.
- Ngôn ngữ chính
- JavaScript
- Star
- 1.6k
- Fork
- 291
- Chỉ số merge pull request
- Không có pull request nào được merge trong 30 ngày
Chuẩn bị môi trường
Dự án này không cung cấp dev container, Dockerfile hay hướng dẫn đóng góp, nên bạn cần tự thiết lập môi trường: hãy bắt đầu từ README và xem hướng dẫn đóng góp lần đầu của chúng tôi để biết các bước chung.
Bắt đầu từ đâu
- Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
- Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
- Fork repository và làm thay đổi trên một nhánh.
- Mở pull request có tham chiếu số hiệu của issue.
Issue khác của ChromeDevTools/devtools-protocol
-
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 35/100
ChromeDevTools/devtools-protocol#311 · 1 bình luận ·
-
Reconsider versioning schemeĐang mở
Độ khó 5/5 Hơn một tuần Mức phù hợp với người mới 30/100
ChromeDevTools/devtools-protocol#298 · 4 reaction ·
-
Nested enum types have no nameĐang mở
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 35/100
ChromeDevTools/devtools-protocol#244 · 5 bình luận ·
-
Độ khó 3/5 1-2 ngày Mức phù hợp với người mới 35/100
ChromeDevTools/devtools-protocol#233 · 4 bình luận ·
-
Keep track of URL changesCó thể làm lại được @hashseed đã nhận 2266 ngày trước và không có pull request nào đang mở. Đang mở
ChromeDevTools/devtools-protocol#224 · 4 bình luận · 1 reaction · 1 người được giao ·
Tất cả issue của ChromeDevTools/devtools-protocol
Issue tương tự
-
[Feature]: Add Crawl Optimization setting to disable WordPress random content redirect (WP 7.2)Đang mởenhancement featurerequest
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 72/100
Yoast/wordpress-seo#23888 ·
Maintainer thường phản hồi trong vòng 4 ngày
-
bug builder-vite hmr sev:S3
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 79/100
storybookjs/storybook#37965 · 2 bình luận · 1 reaction ·
Maintainer thường phản hồi trong vòng 1 ngày
-
area/docs good first issue
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 66/100
aws-samples/sample-collaborative-ai-dlc#996 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
backlog
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 72/100
sagemathinc/sagebrush#3434 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
New tool: BioFigureCó thể đã có người làm @github-actions đã nhận hôm nay. Đang mởsubmission triage
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 70/100
kausalflow/tools#386 · 1 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày