Skip to content

Commit 4e6a8ca

Browse files
committed
[nscl] Several content-side performance improvements.
1 parent b56ffac commit 4e6a8ca

File tree

3 files changed

+2
-10
lines changed

3 files changed

+2
-10
lines changed

build.sh

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -70,14 +70,6 @@ LIB="$SRC/lib"
7070

7171
NSCL="$SRC/nscl"
7272

73-
# install html5_events.pl dependencies if needed
74-
cpan Regexp::List List::MoreUtils
75-
if ./html5_events/html5_events.pl; then
76-
# update full event list as an array in src/lib/DocumentFreezer.js
77-
EVENTS=$(grep '^on[a-z]\+$' html5_events/html5_events_archive.txt | sed "s/^on//;s/.*/'&'/;H;1h;"'$!d;x;s/\n/, /g');
78-
perl -pi -e 's/(\bconst eventTypes\s*=\s*)\[.*?\]/$1\['"$EVENTS"'\]/' src/lib/DocumentFreezer.js
79-
fi
80-
8173
rm -rf "$BUILD" "$XPI"
8274
cp -pR "$SRC" "$BUILD"
8375

src/manifest.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -115,7 +115,7 @@
115115
"js": [
116116
"/nscl/common/UA.js",
117117
"content/ftp.js",
118-
"lib/DocumentFreezer.js",
118+
"/nscl/content/DocumentFreezer.js",
119119
"content/syncFetchPolicy.js"
120120
]
121121
}

0 commit comments

Comments
 (0)