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
26d97d6f
Commit
26d97d6f
authored
Sep 13, 2023
by
wang
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
对比修复
parent
fb617bd8
Changes
9
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
9 changed files
with
242 additions
and
1122 deletions
+242
-1122
collect_env.py
env/collect_env.py
+1
-1
collect.js
env/templates/collect.js
+10
-0
js_dom_run.js
js_dom_run.js
+29
-994
Document.js
jsdom/lib/jsdom/living/generated/Document.js
+1
-1
HTMLBodyElement.js
jsdom/lib/jsdom/living/generated/HTMLBodyElement.js
+8
-8
HTMLCanvasElement-impl.js
jsdom/lib/jsdom/living/nodes/HTMLCanvasElement-impl.js
+6
-2
src_out.js
src_out.js
+31
-44
src_out1.js
src_out1.js
+125
-1
sss.js
sss.js
+31
-71
No files found.
env/collect_env.py
View file @
26d97d6f
...
@@ -16,4 +16,4 @@ def collect():
...
@@ -16,4 +16,4 @@ def collect():
return
'ok'
return
'ok'
if
__name__
==
'__main__'
:
if
__name__
==
'__main__'
:
app
.
run
(
host
=
'0.0.0.0'
,
debug
=
True
,
port
=
11231
)
app
.
run
(
host
=
'0.0.0.0'
,
debug
=
True
,
port
=
11233
)
\ No newline at end of file
\ No newline at end of file
env/templates/collect.js
View file @
26d97d6f
This diff is collapsed.
Click to expand it.
js_dom_run.js
View file @
26d97d6f
This diff is collapsed.
Click to expand it.
jsdom/lib/jsdom/living/generated/Document.js
View file @
26d97d6f
...
@@ -257,7 +257,7 @@ exports.install = (globalObject, globalNames) => {
...
@@ -257,7 +257,7 @@ exports.install = (globalObject, globalNames) => {
},
},
getAllowlistForFeature
:
{
getAllowlistForFeature
:
{
value
:
function
(){
value
:
function
(){
return
[
'https://www.jetblue.com
/
'
]
return
[
'https://www.jetblue.com'
]
},
},
enumerable
:
true
enumerable
:
true
}
}
...
...
jsdom/lib/jsdom/living/generated/HTMLBodyElement.js
View file @
26d97d6f
...
@@ -188,14 +188,14 @@ exports.install = (globalObject, globalNames) => {
...
@@ -188,14 +188,14 @@ exports.install = (globalObject, globalNames) => {
ceReactionsPostSteps_helpers_custom_elements
(
globalObject
);
ceReactionsPostSteps_helpers_custom_elements
(
globalObject
);
}
}
}
}
//
get innerText() {
get
innerText
()
{
//
//
console.log('body.webkitRequestFullScreen')
console
.
log
(
'body.webkitRequestFullScreen'
)
//
}
}
//
get webkitRequestFullScreen() {
get
webkitRequestFullScreen
()
{
//
//
console.log('body.webkitRequestFullScreen')
console
.
log
(
'body.webkitRequestFullScreen'
)
//
}
}
set
vLink
(
V
)
{
set
vLink
(
V
)
{
const
esValue
=
this
!==
null
&&
this
!==
undefined
?
this
:
globalObject
;
const
esValue
=
this
!==
null
&&
this
!==
undefined
?
this
:
globalObject
;
...
...
jsdom/lib/jsdom/living/nodes/HTMLCanvasElement-impl.js
View file @
26d97d6f
This diff is collapsed.
Click to expand it.
src_out.js
View file @
26d97d6f
This diff is collapsed.
Click to expand it.
src_out1.js
View file @
26d97d6f
Date
.
now
=
function
now
()
{
return
1693903208580
};
Date
.
parse
=
function
()
{
return
1693903208580
};
Date
.
prototype
.
valueOf
=
function
()
{
return
1693903208580
};
Date
.
prototype
.
getTime
=
function
()
{
return
1693903208580
};
Date
.
prototype
.
toString
=
function
()
{
return
1693903208580
};
Performance
.
prototype
.
now
=
function
now
()
{
return
Number
(
'1693903208580'
.
slice
(
8
))
}
Math
.
random
=
function
random
()
{
return
0.08636862211354912
};
// _getOwnPropertyNames = Object.getOwnPropertyNames;
// Object.getOwnPropertyNames = function (a) {
// let res = _getOwnPropertyNames(a);
// con4('getOwnPropertyNames', a, res)
// return res;
// }
// _getOwnPropertyDescriptor = Object.getOwnPropertyDescriptor;
// Object.getOwnPropertyDescriptor = function (p, v){
// let res = _getOwnPropertyDescriptor(p,v)
// console.log('_getOwnPropertyDescriptor', v, res)
// return res;
// }
crypto
.
getRandomValues
=
function
(){
var
e
=
arguments
[
0
];
return
e
.
map
(
function
(
x
,
i
){
return
e
[
i
]
=
1073712824
});
}
con4
=
console
.
log
con3
=
function
()
{
};
_defin
=
Object
.
defineProperty
;
Object
.
defineProperty
=
function
(
p
,
v
,
d
)
{
if
(
v
===
'positionalSignals'
)
{
if
(
Array
.
isArray
(
d
.
value
)
&&
d
.
value
.
length
===
60
)
{
let
res
=
[];
d
.
value
.
forEach
((
e
,
i
)
=>
{
if
(
e
&&
e
.
length
==
2
)
{
res
.
push
(
i
+
'=='
+
e
[
1
].
length
+
'=>'
)
res
.
push
(
e
[
1
]
+
''
)
}
else
{
res
.
push
(
i
+
'==0=>iii'
)
}
})
con4
([].
slice
.
call
(
res
).
join
(
'iii'
))
}
}
return
_defin
(
p
,
v
,
d
)
}
;;;;
(
function
q
(
M
)
{
(
function
q
(
M
)
{
var
E
=
{},
r
=
{};
var
E
=
{},
r
=
{};
var
S
=
ReferenceError
,
i
=
TypeError
,
T
=
Object
,
D
=
RegExp
,
G
=
Number
,
R
=
String
,
Z
=
Array
,
U
=
T
.
bind
,
var
S
=
ReferenceError
,
i
=
TypeError
,
T
=
Object
,
D
=
RegExp
,
G
=
Number
,
R
=
String
,
Z
=
Array
,
U
=
T
.
bind
,
...
@@ -2134,7 +2204,29 @@
...
@@ -2134,7 +2204,29 @@
},
function
(
Yl
)
{
},
function
(
Yl
)
{
"use strict"
;
"use strict"
;
let
res
=
Yl
.
e
[
Yl
.
e
.
length
-
2
][
Yl
.
e
[
Yl
.
e
.
length
-
1
]];
let
res
=
Yl
.
e
[
Yl
.
e
.
length
-
2
][
Yl
.
e
[
Yl
.
e
.
length
-
1
]];
con3
(
Yl
.
e
[
Yl
.
e
.
length
-
2
].
ENV
?
'window'
:
Yl
.
e
[
Yl
.
e
.
length
-
2
],
'get'
,
Yl
.
e
[
Yl
.
e
.
length
-
1
],
'='
,
res
)
if
(
Yl
.
e
[
Yl
.
e
.
length
-
1
]
!==
'window'
&&
Yl
.
e
[
Yl
.
e
.
length
-
1
]
!==
'top'
&&
Yl
.
e
[
Yl
.
e
.
length
-
1
]
!==
'self'
){
con3
(
Yl
.
e
[
Yl
.
e
.
length
-
2
].
ENV
?
'window'
:
Yl
.
e
[
Yl
.
e
.
length
-
2
],
'get'
,
Yl
.
e
[
Yl
.
e
.
length
-
1
],
'='
,
res
)
}
if
(
Yl
.
e
[
Yl
.
e
.
length
-
1
]
===
'model'
){
con4
(
Yl
.
e
[
Yl
.
e
.
length
-
2
],
res
)
}
if
(
typeof
res
===
'boolean'
){
con4
(
Yl
.
e
[
Yl
.
e
.
length
-
2
],
res
)
}
if
(
Yl
.
e
[
Yl
.
e
.
length
-
1
]
===
'exec'
){
var
_res
=
res
;
res
=
function
(
arg
)
{
con4
(
'execexec'
,
arg
)
return
_res
.
call
(
this
,
arg
)
}
}
if
(
Yl
.
e
[
Yl
.
e
.
length
-
1
]
===
'test'
){
var
_res
=
res
;
res
=
function
(
arg
)
{
con4
(
'testtest'
,
arg
)
return
_res
.
call
(
this
,
arg
)
}
}
if
(
typeof
res
===
'boolean'
){
if
(
typeof
res
===
'boolean'
){
con3
(
Yl
.
e
[
Yl
.
e
.
length
-
2
])
con3
(
Yl
.
e
[
Yl
.
e
.
length
-
2
])
}
}
...
@@ -3223,3 +3315,35 @@
...
@@ -3223,3 +3315,35 @@
Ql
(
0
,
0
,
null
,
[
4
,
3
,
0
,
5
,
1
,
2
],
[],
[],
void
0
,
void
0
)()
Ql
(
0
,
0
,
null
,
[
4
,
3
,
0
,
5
,
1
,
2
],
[],
[],
void
0
,
void
0
)()
}(
typeof
window
!==
"undefined"
&&
window
!=
null
&&
window
.
window
===
window
?
window
:
typeof
global
!==
"undefined"
&&
global
!=
null
&&
global
.
global
===
global
?
global
:
this
))
}(
typeof
window
!==
"undefined"
&&
window
!=
null
&&
window
.
window
===
window
?
window
:
typeof
global
!==
"undefined"
&&
global
!=
null
&&
global
.
global
===
global
?
global
:
this
))
;(
function
(
e
,
d
){
var
isk
=
[
"OnJHUNRAe"
];
for
(
var
i
=
0
;
i
<
isk
.
length
;
++
i
){
e
.
initCustomEvent
(
isk
[
i
],
false
,
false
,
d
);
dispatchEvent
(
e
)}}(
document
.
createEvent
(
"CustomEvent"
),[
"A4JTF3iKAQAAYQpGDY3m_YhjoN1-FMvVLBOnsZUXFQigAmOBPzHJjEZPGHLaAUFL3fX6K21wobReCOfvosJeCA=="
,
"dsq4hRwQHTi6ly_81L5Wc3eGKgjaft7JkAob0-9EVFOvrZDSpYCM=muUPn2INXxBz"
,[],[
1819621876
,
1208048397
,
1698184042
,
1507886414
,
522954412
,
1111264009
,
2081656043
,
1657247419
],
document
.
currentScript
&&
document
.
currentScript
.
nonce
||
"7LiBTAqp+ufG+eGXhI1JYIDC"
,
document
.
currentScript
&&
document
.
currentScript
.
nonce
||
"7LiBTAqp+ufG+eGXhI1JYIDC"
,[],
typeof
arguments
===
"undefined"
?
void
0
:
arguments
]))
;(
function
(
e
,
d
){
var
isk
=
[
"OnJHUNRAe"
];
for
(
var
i
=
0
;
i
<
isk
.
length
;
++
i
){
e
.
initCustomEvent
(
isk
[
i
],
false
,
false
,
d
);
dispatchEvent
(
e
)}}(
document
.
createEvent
(
"CustomEvent"
),[
"A4JTF3iKAQAAYQpGDY3m_YhjoN1-FMvVLBOnsZUXFQigAmOBPzHJjEZPGHLaAUFL3fX6K21wobReCOfvosJeCA=="
,
"dsq4hRwQHTi6ly_81L5Wc3eGKgjaft7JkAob0-9EVFOvrZDSpYCM=muUPn2INXxBz"
,[],[
1819621876
,
1208048397
,
1698184042
,
1507886414
,
522954412
,
1111264009
,
2081656043
,
1657247419
],
document
.
currentScript
&&
document
.
currentScript
.
nonce
||
"7LiBTAqp+ufG+eGXhI1JYIDC"
,
document
.
currentScript
&&
document
.
currentScript
.
nonce
||
"7LiBTAqp+ufG+eGXhI1JYIDC"
,[],
typeof
arguments
===
"undefined"
?
void
0
:
arguments
]))
;;;
fetch
(
"https://jbrest.jetblue.com/lfs-rwb/outboundLFS"
,
{
"headers"
:
{
"accept"
:
"application/json"
,
"accept-language"
:
"en-US,en;q=0.9"
,
"api-version"
:
"v3"
,
"application-channel"
:
"Mobile_Web_iOS"
,
"booking-application-type"
:
"NGB"
,
"cache-control"
:
"no-cache"
,
"content-type"
:
"application/json"
,
"pragma"
:
"no-cache"
,
"sec-ch-ua"
:
"
\"
Not/A)Brand
\"
;v=
\"
99
\"
,
\"
Google Chrome
\"
;v=
\"
115
\"
,
\"
Chromium
\"
;v=
\"
115
\"
"
,
"sec-ch-ua-mobile"
:
"?0"
,
"sec-ch-ua-platform"
:
"
\"
macOS
\"
"
,
"sec-fetch-dest"
:
"empty"
,
"sec-fetch-mode"
:
"cors"
,
"sec-fetch-site"
:
"same-site"
,
},
"referrer"
:
"https://www.jetblue.com/booking/flights?from=LGA&to=LAX&depart=2023-10-16&isMultiCity=false&noOfRoute=1&lang=en&adults=1&children=0&infants=0&sharedMarket=false&roundTripFaresFlag=false&usePoints=false"
,
"referrerPolicy"
:
"no-referrer-when-downgrade"
,
"body"
:
"{
\"
tripType
\"
:
\"
oneWay
\"
,
\"
from
\"
:
\"
LGA
\"
,
\"
to
\"
:
\"
LAX
\"
,
\"
depart
\"
:
\"
2023-05-26
\"
,
\"
cabin
\"
:
\"
economy
\"
,
\"
refundable
\"
:false,
\"
dates
\"
:{
\"
before
\"
:
\"
3
\"
,
\"
after
\"
:
\"
3
\"
},
\"
pax
\"
:{
\"
ADT
\"
:1,
\"
CHD
\"
:0,
\"
INF
\"
:0,
\"
UNN
\"
:0},
\"
redempoint
\"
:false,
\"
pointsBreakup
\"
:{
\"
option
\"
:
\"\"
,
\"
value
\"
:0},
\"
isMultiCity
\"
:false,
\"
isDomestic
\"
:true}"
,
"method"
:
"POST"
,
"mode"
:
"cors"
,
"credentials"
:
"omit"
}).
then
(
r
=>
{
return
r
.
text
()
}).
then
(
r
=>
{
console
.
log
(
r
)
});
sss.js
View file @
26d97d6f
This diff is collapsed.
Click to expand it.
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