|
|
WIP Convert embedded debug data to enums/int in V8PerContextData
Create enums characterizing the origin of JS source code (CompilationOriginCategory), the context where that source will be compiled (CompilationContextCategory), and restrictions on the result (CompilationRestrictions). Add enum values and the debugId integer in V8PerContextData.
Add functions in V8PerContextDebugData to set initial CompilationOriginCategory and debugId. Create V8ScopedCompilation to mark and automatically unmark a context for use by the browser, eg debugging or extension API injection.
(WIP) Use the new enums to set debug data into the V8 embedders data.
BUG= 226476
Total comments: 2
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+298 lines, -61 lines) |
Patch |
 |
M |
Source/bindings/v8/ScriptController.cpp
|
View
|
1
|
1 chunk |
+3 lines, -2 lines |
0 comments
|
Download
|
 |
M |
Source/bindings/v8/ScriptDebugServer.h
|
View
|
1
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
 |
M |
Source/bindings/v8/ScriptDebugServer.cpp
|
View
|
1
|
4 chunks |
+18 lines, -8 lines |
0 comments
|
Download
|
 |
M |
Source/bindings/v8/V8DOMWindowShell.cpp
|
View
|
|
1 chunk |
+1 line, -1 line |
1 comment
|
Download
|
 |
M |
Source/bindings/v8/V8PerContextData.h
|
View
|
1
|
4 chunks |
+14 lines, -16 lines |
0 comments
|
Download
|
 |
M |
Source/bindings/v8/V8PerContextData.cpp
|
View
|
1
|
1 chunk |
+116 lines, -34 lines |
0 comments
|
Download
|
 |
A |
Source/bindings/v8/V8PerContextDebugData.h
|
View
|
1
|
1 chunk |
+130 lines, -0 lines |
0 comments
|
Download
|
 |
M |
Source/bindings/v8/custom/V8InjectedScriptHostCustom.cpp
|
View
|
|
1 chunk |
+5 lines, -0 lines |
1 comment
|
Download
|
 |
M |
Source/bindings/v8/custom/V8InjectedScriptManager.cpp
|
View
|
|
1 chunk |
+2 lines, -0 lines |
0 comments
|
Download
|
 |
M |
Source/core/inspector/InspectorDebuggerAgent.cpp
|
View
|
1
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
 |
M |
Source/core/inspector/InspectorOverlay.cpp
|
View
|
|
1 chunk |
+3 lines, -0 lines |
0 comments
|
Download
|
 |
M |
Source/core/inspector/InspectorPageAgent.cpp
|
View
|
1
|
1 chunk |
+4 lines, -0 lines |
0 comments
|
Download
|
Total messages: 6 (0 generated)
|