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
b4e17a23
Commit
b4e17a23
authored
Aug 31, 2023
by
wang
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
从数据库读取环境
parent
63a17aa9
Changes
8
Expand all
Show whitespace changes
Inline
Side-by-side
Showing
8 changed files
with
786 additions
and
1565 deletions
+786
-1565
env.json
env.json
+1
-3
jetblue.py
jetblue.py
+1
-1
js_dom_run.js
js_dom_run.js
+16
-800
Document.js
jsdom/lib/jsdom/living/generated/Document.js
+3
-0
Navigator.js
jsdom/lib/jsdom/living/generated/Navigator.js
+1
-1
HTMLCanvasElement-impl.js
jsdom/lib/jsdom/living/nodes/HTMLCanvasElement-impl.js
+4
-0
1.log
logs/1.log
+752
-760
sss.js
sss.js
+8
-0
No files found.
env.json
View file @
b4e17a23
This diff is collapsed.
Click to expand it.
jetblue.py
View file @
b4e17a23
...
...
@@ -65,7 +65,7 @@ for i in range(100):
headers
.
update
(
r
)
print
(
f
'{(time.time() - t1) *1000:.3f}ms'
,
len
(
headers
[
'X-1ItxWO9i-a'
.
lower
()]))
print
(
headers
[
'user-agent'
])
print
(
selectId
,
headers
[
'user-agent'
])
url
=
"https://jbrest.jetblue.com/lfs-rwb/outboundLFS"
data
=
{
"tripType"
:
"oneWay"
,
...
...
js_dom_run.js
View file @
b4e17a23
This diff is collapsed.
Click to expand it.
jsdom/lib/jsdom/living/generated/Document.js
View file @
b4e17a23
...
...
@@ -233,6 +233,9 @@ exports.install = (globalObject, globalNames) => {
}
get
featurePolicy
()
{
if
(
window
.
ENV
.
featurepolicy
.
features
===
null
&&
window
.
ENV
.
featurepolicy
.
allowedfeatures
===
null
){
return
undefined
;
}
class
FeaturePolicy
{
constructor
(
props
)
{
...
...
jsdom/lib/jsdom/living/generated/Navigator.js
View file @
b4e17a23
...
...
@@ -162,7 +162,7 @@ exports.install = (globalObject, globalNames) => {
}
get
appCodeName
()
{
return
window
.
ENV
.
navigatorparams
.
appcodename
return
window
.
ENV
.
navigatorparams
.
appcodename
||
'Mozilla'
const
esValue
=
this
!==
null
&&
this
!==
undefined
?
this
:
globalObject
;
...
...
jsdom/lib/jsdom/living/nodes/HTMLCanvasElement-impl.js
View file @
b4e17a23
...
...
@@ -2309,7 +2309,11 @@ class TextMetrics {
// this._TextMetrics = context.measureText(text)
try
{
metrics
=
window
.
ENV
.
fontsres
if
(
metrics
[
this
.
_font
]){
this
.
_TextMetrics
=
metrics
[
this
.
_font
][
this
.
_text
]
}
else
{
this
.
_TextMetrics
=
metrics
[
this
.
_font
.
replace
(
'serif'
,
'sans-serif'
)][
this
.
_text
]
}
}
catch
(
e
)
{
console
.
log
(
'_TextMetrics'
,
this
.
_text
,
this
.
_font
)
this
.
_TextMetrics
=
{
...
...
logs/1.log
View file @
b4e17a23
This diff is collapsed.
Click to expand it.
sss.js
View file @
b4e17a23
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