Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Sign in
Toggle navigation
L
lcc-shape
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Open sidebar
wangmingming
lcc-shape
Commits
08324aea
Commit
08324aea
authored
Sep 24, 2024
by
wang
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
111
parent
15f7ba25
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
11 additions
and
10 deletions
+11
-10
src_run_test.js
ws/src/src_run_test.js
+11
-10
No files found.
ws/src/src_run_test.js
View file @
08324aea
...
@@ -6908,7 +6908,6 @@ PluginArray = v_saf(function PluginArray() {
...
@@ -6908,7 +6908,6 @@ PluginArray = v_saf(function PluginArray() {
this[i]['text/pdf'] = plugin['text/pdf'] || plugin['textpdf']
this[i]['text/pdf'] = plugin['text/pdf'] || plugin['textpdf']
}
}
print()
// this[0] = v_new(Plugin);
// this[0] = v_new(Plugin);
// this[0].description = "Portable Document Format";
// this[0].description = "Portable Document Format";
// this[0].filename = "internal-pdf-viewer";
// this[0].filename = "internal-pdf-viewer";
...
@@ -10961,7 +10960,7 @@ Object.defineProperties(PluginArray.prototype, {
...
@@ -10961,7 +10960,7 @@ Object.defineProperties(PluginArray.prototype, {
length: {
length: {
get() {
get() {
print1(" [*] PluginArray -> length[get]", 5);
print1(" [*] PluginArray -> length[get]", 5);
return
5
return
Object.keys(ENV.plugins)
},
},
enumerable: true
enumerable: true
},
},
...
@@ -11721,7 +11720,7 @@ DOMTokenList = v_saf(function DOMTokenList() {
...
@@ -11721,7 +11720,7 @@ DOMTokenList = v_saf(function DOMTokenList() {
})
})
window.addEventListener = v_saf(function (type, callback) {
window.addEventListener = v_saf(function (type, callback) {
_console2
('addEventListener111', type, callback)
print
('addEventListener111', type, callback)
events[type] = callback;
events[type] = callback;
v_events[type] = callback;
v_events[type] = callback;
if (type === 'addEventListener11') {
if (type === 'addEventListener11') {
...
@@ -12046,7 +12045,7 @@ Object.defineProperty(document, Symbol.iterator, {
...
@@ -12046,7 +12045,7 @@ Object.defineProperty(document, Symbol.iterator, {
// value: 'HTMLDocument'
// value: 'HTMLDocument'
// })
// })
document.addEventListener = function (type, callback) {
document.addEventListener = function (type, callback) {
_console2
('addEventListener11', type, callback)
print
('addEventListener11', type, callback)
events[type] = callback;
events[type] = callback;
v_events[type] = callback;
v_events[type] = callback;
...
@@ -12062,7 +12061,7 @@ document.addEventListener = function (type, callback) {
...
@@ -12062,7 +12061,7 @@ document.addEventListener = function (type, callback) {
return true
return true
}
}
window.addEventListener = function (type, callback) {
window.addEventListener = function (type, callback) {
_console2
('addEventListener12', type, callback)
print
('addEventListener12', type, callback)
events[type] = callback;
events[type] = callback;
// if (type === 'DOMContentLoaded' || type == 'visibilitychange') {
// if (type === 'DOMContentLoaded' || type == 'visibilitychange') {
// callback({
// callback({
...
@@ -12177,8 +12176,9 @@ let storage = {
...
@@ -12177,8 +12176,9 @@ let storage = {
// storage.setItem('FTzyeq12rr', _process.argv[4])
// storage.setItem('FTzyeq12rr', _process.argv[4])
// }
// }
function dispatchEvent(event) {
function dispatchEvent(event) {
_console2('dispatchEvent', event
)
print('dispatchEvent', event, event && event.type in events
)
if (event && event.type in events) {
if (event && event.type in events) {
events[event.type](event)
events[event.type](event)
}
}
try {
try {
...
@@ -12557,8 +12557,9 @@ window.TextDecoder = v_saf(function TextDecoder(){
...
@@ -12557,8 +12557,9 @@ window.TextDecoder = v_saf(function TextDecoder(){
window.AbortSignal = v_saf(function AbortSignal(){
window.AbortSignal = v_saf(function AbortSignal(){
return AbortSignal(...arguments)
return AbortSignal(...arguments)
});
});
let _TextEncoderStream = TextEncoderStream;
window.TextEncoderStream = v_saf(function TextEncoderStream(){
window.TextEncoderStream = v_saf(function TextEncoderStream(){
return new TextEncoderStream(...arguments)
return new
_
TextEncoderStream(...arguments)
});;
});;
window.TransformStream = TransformStream;
window.TransformStream = TransformStream;
window.URLSearchParams = URLSearchParams;
window.URLSearchParams = URLSearchParams;
...
@@ -14650,7 +14651,6 @@ let params = {
...
@@ -14650,7 +14651,6 @@ let params = {
"TextTrackCue": {"value": {"type": "function"}},
"TextTrackCue": {"value": {"type": "function"}},
"TextTrack": {"value": {"type": "function"}},
"TextTrack": {"value": {"type": "function"}},
"TextEvent": {"value": {"type": "function"}},
"TextEvent": {"value": {"type": "function"}},
"TextEncoderStream": {"value": {"type": "function"}},
"TextEncoder": {"value": {"type": "function"}},
"TextEncoder": {"value": {"type": "function"}},
"TextDecoderStream": {"value": {"type": "function"}},
"TextDecoderStream": {"value": {"type": "function"}},
"TextDecoder": {"value": {"type": "function"}},
"TextDecoder": {"value": {"type": "function"}},
...
@@ -17336,6 +17336,7 @@ Object.defineProperties(Worker.prototype, {
...
@@ -17336,6 +17336,7 @@ Object.defineProperties(Worker.prototype, {
try {
try {
b(O)
b(O)
} catch (a) {
} catch (a) {
print('error', a)
Oo(a, O)
Oo(a, O)
}
}
}
}
...
@@ -17966,7 +17967,7 @@ Object.defineProperties(Worker.prototype, {
...
@@ -17966,7 +17967,7 @@ Object.defineProperties(Worker.prototype, {
a.X += 2;
a.X += 2;
let res = Ot(O);
let res = Ot(O);
print('new Re', O)
print('new Re', O)
res = reProxy(res, O)
//
res = reProxy(res, O)
a.L[a.L.length] = res
a.L[a.L.length] = res
}, function (a) {
}, function (a) {
var v = r[a.X];
var v = r[a.X];
...
@@ -19623,6 +19624,6 @@ setTimeout(r => {
...
@@ -19623,6 +19624,6 @@ setTimeout(r => {
//xhr.setRequestHeader('xhr_res', xhr_res)
//xhr.setRequestHeader('xhr_res', xhr_res)
print22(JSON.stringify(xhr.headers))
print22(JSON.stringify(xhr.headers))
_process.exit(0)
_process.exit(0)
},
1
000)
},
2
000)
\ No newline at end of file
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment