Commit 60492463 authored by Andrey Lushnikov's avatar Andrey Lushnikov Committed by Commit Bot

devtools: bump max number of devtools isolated worlds

DevTools protocol method |Page.addScriptToEvaluateOnNewDocument| accepts
an optional "worldName" argument. When defined, a script will be
evaluated in a new isolated world.

These worlds are getting re-created on every page navigation. This patch
lifts the limit for inspector-created isolated worlds from 100 to
2^29.

R=pfeldman

Change-Id: Iec387ea0adb79bad759446dd76007bfb3cec38e3
Reviewed-on: https://chromium-review.googlesource.com/c/1496759
Commit-Queue: Pavel Feldman <pfeldman@chromium.org>
Reviewed-by: default avatarPavel Feldman <pfeldman@chromium.org>
Cr-Commit-Position: refs/heads/master@{#636867}
parent 62cf2d8d
......@@ -12,7 +12,7 @@ enum IsolatedWorldId {
kEmbedderWorldIdLimit = (1 << 29),
kDocumentXMLTreeViewerWorldId,
kDevToolsFirstIsolatedWorldId,
kDevToolsLastIsolatedWorldId = kDevToolsFirstIsolatedWorldId + 100,
kDevToolsLastIsolatedWorldId = kDevToolsFirstIsolatedWorldId + (1 << 29),
kIsolatedWorldIdLimit,
};
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment