Jeff Walden
e7704e1d45
Bug 1559633 - Introduce a ScriptDecoding.h header containing templated decoding code for decoding script data as UTF-8 or UTF-16. r=bzbarsky
...
Depends on D36133
Differential Revision: https://phabricator.services.mozilla.com/D36134
2019-06-26 23:25:19 +00:00
Jeff Walden
338aa62605
Bug 1554362 - Accumulate external source text as either UTF-8 or UTF-16, in pref-controlled fashion, and then compile the accumulated text using corresponding JSAPI entrypoints without inflating UTF-8 to UTF-16. r=bzbarsky
...
Differential Revision: https://phabricator.services.mozilla.com/D34825
2019-06-15 20:48:40 +00:00
Jeff Walden
e3e50181b6
Bug 1554362 - Replace the two ScriptLoadHandler::EnsureDecoder overloads with one inline function that fast-paths the already-have-one test and an out-of-line function that tries to provide one presuming none exists. r=bzbarsky
...
Differential Revision: https://phabricator.services.mozilla.com/D34823
2019-06-15 20:48:12 +00:00
Andrea Marchesini
02dd724e4f
Bug 1548253 - Port pref cache variables of nsContentUtils to StaticPrefs - dom.script_loader.bytecode_cache.enabled, r=Ehsan
...
Differential Revision: https://phabricator.services.mozilla.com/D29523
2019-05-01 21:11:17 +00:00
Eric Faust
ede2067cf5
Bug 1520274 - Allow serving BinAST scripts with nosniff. (r=baku, r=dveditz)
2019-01-30 10:50:47 -08:00
Tooru Fujisawa
5c7bd4be0c
Bug 1519302 - Add pref to restrict BinAST feature to specific hosts. r=baku
...
To reduce the attack surface in early test for BinAST, add a preference to
restrict the hosts that Firefox accepts BinAST file from.
The preference is turned on by default (BinAST itself is turned off by
default for now), and the list contains hosts which is going to be used in
early test.
For hosts not listed in the list, Firefox doesn't send BinAST MIME-Type in
Accept field, and doesn't handle BinAST file in case the server returns
BinAST file.
Differential Revision: https://phabricator.services.mozilla.com/D16517
2019-01-17 03:22:39 +00:00
Andreea Pavel
aa82436a2d
Backed out changeset 8c88a33dc39f (bug 1519302) for failing _mozilla/binast/domain-restrict-excluded.https.html on a CLOSED TREE
2019-01-16 19:34:18 +02:00
Tooru Fujisawa
ab7e297952
Bug 1519302 - Add pref to restrict BinAST feature to specific hosts. r=baku
...
To reduce the attack surface in early test for BinAST, add a preference to
restrict the hosts that Firefox accepts BinAST file from.
The preference is turned on by default (BinAST itself is turned off by
default for now), and the list contains hosts which is going to be used in
early test.
For hosts not listed in the list, Firefox doesn't send BinAST MIME-Type in
Accept field, and doesn't handle BinAST file in case the server returns
BinAST file.
Differential Revision: https://phabricator.services.mozilla.com/D16517
2019-01-16 13:12:00 +00:00
Sylvestre Ledru
e5a134f73a
Bug 1511181 - Reformat everything to the Google coding style r=ehsan a=clang-format
...
# ignore-this-changeset
2018-11-30 11:46:48 +01:00
Eric Faust
9c844d663e
Bug 1504788 - Part 1: Allow reloads of bytecode cached BinAST. (r=baku)
2018-11-13 13:23:57 -08:00
Cosmin Sabou
744660979d
Backed out 3 changesets (bug 1504788) for mochitest failures on test_script_loader_js_cache.
...
Backed out changeset 8ed6a977ba83 (bug 1504788)
Backed out changeset 2fba05049f9c (bug 1504788)
Backed out changeset 3f6dc8af5bca (bug 1504788)
2018-11-13 03:26:04 +02:00
Eric Faust
759b00eca8
Bug 1504788 - Part 1: Allow reloads of bytecode cached BinAST. (r=baku)
2018-11-12 16:21:08 -08:00
Jon Coppeard
610633c128
Bug 1480720 - Factor out script fetch options from script load request classes r=baku
2018-08-06 10:54:28 +01:00
Jon Coppeard
77b30bab22
Bug 1475228 - Allocate script loader source buffers on the JS heap and pass ownership when compiling r=baku
2018-07-17 14:30:24 +01:00
Nicolas B. Pierron
d363dfafb0
Bug 1461672 - Remove Telemetry probe added to tune the JSBC. r=francois,bkelly
2018-05-21 17:17:18 +00:00
Jon Coppeard
d4094b6b99
Bug 1444956 - Support BinAST decoding in the script loader r=baku
2018-05-16 15:58:13 +01:00
Jon Coppeard
ac540f38f6
Bug 1361369 - Fix coding style in ScriptLoadRequest.h r=smaug
2018-01-08 15:17:33 +00:00
Masatoshi Kimura
a725dc3e13
Bug 1373984 - Turn nsIDocument::mCharacterSet into mozilla::NotNull<const mozilla::Encoding*>. r=hsivonen
...
MozReview-Commit-ID: GF0YXDwfA14
2017-06-18 20:37:50 +09:00
Sebastian Hengst
9736fc0664
Backed out changeset 7235d05662b0 (bug 1373984) for Android bustage. r=backout on a CLOSED TREE
2017-06-25 18:30:13 +02:00
Masatoshi Kimura
cff1fdcb48
Bug 1373984 - Turn nsIDocument::mCharacterSet into mozilla::NotNull<const mozilla::Encoding*>. r=hsivonen
...
MozReview-Commit-ID: GF0YXDwfA14
2017-06-18 20:37:50 +09:00
Wes Kocher
d214d1f5fa
Backed out changeset 77af189b5c49 (bug 1373984) for build bustage in nsHtml5Parser.cpp a=backout CLOSED TREE
...
MozReview-Commit-ID: 6kBmU71j2To
2017-06-25 05:10:14 -07:00
Masatoshi Kimura
d3e74dcb2d
Bug 1373984 - Turn nsIDocument::mCharacterSet into mozilla::NotNull<const mozilla::Encoding*>. r=hsivonen
...
MozReview-Commit-ID: GF0YXDwfA14
2017-06-18 20:37:50 +09:00
Henri Sivonen
7af0452b6b
Bug 1261841 part 2 - Use encoding_rs instead of uconv. r=emk,mystor.
...
MozReview-Commit-ID: 15Y5GTX98bv
2017-06-13 13:23:23 +03:00
Nicolas B. Pierron
071b2839f8
Bug 1370345 - Create JS bytecode mime type based on the platform BuildID instead of MOZ_BUILDID macro. r=mrbkap
2017-06-09 13:52:52 +00:00
Nicolas B. Pierron
8d54146905
Bug 1368675 - Add multiple heuristics to trigger the JS bytecode cache encoding. r=mrbkap
2017-06-05 12:06:20 +00:00
Andrea Marchesini
d4f5a2f5ea
Bug 1362119 - part 2 - Fixing the code style in dom/script, r=ehsan
2017-05-08 08:25:03 +02:00
Andrea Marchesini
1e596856da
Bug 1362119 - part 2 - Splitting ScriptLoader in multiple files, r=ehsan
...
This patch it's huge because I use hg cp in order to keep the history/blame
during the moving.
2017-05-08 08:24:44 +02:00
Carsten "Tomcat" Book
33c4ddfe00
Backed out changeset a8abdd77a92c (bug 1362119)
2017-05-08 09:54:08 +02:00
Carsten "Tomcat" Book
6f191c4573
Backed out changeset 30104bffcd4b (bug 1362119)
2017-05-08 09:54:06 +02:00
Andrea Marchesini
706d43b773
Bug 1362119 - part 2 - Fixing the code style in dom/script, r=ehsan
2017-05-08 08:25:03 +02:00
Andrea Marchesini
4daebe8012
Bug 1362119 - part 2 - Splitting ScriptLoader in multiple files, r=ehsan
...
This patch it's huge because I use hg cp in order to keep the history/blame
during the moving.
2017-05-08 08:24:44 +02:00