Kyle Machulis
12f2fe4705
Bug 1415747 - Remove nsIDOMHTMLScriptElement; r=bz
...
MozReview-Commit-ID: 3I7qVTsKFJC
2017-11-10 13:10:00 -08:00
Henri Sivonen
3618c1fd8a
Bug 1412866 - Use spec nomenclature for the ignore-destructive-writes counter. r=smaug
...
MozReview-Commit-ID: FKwbEZll95J
2017-10-30 17:45:09 +02:00
Kris Maglione
7b017c97d6
Bug 1407056: Part 1 - Provide more consistent principal/origin URL to content policies. r=bz,ckerschb
...
We're currently fairly vague and inconsistent about the values we provide to
content policy implementations for requestOrigin and requestPrincipal. In some
cases they're the triggering principal, sometimes the loading principal,
sometimes the channel principal.
Our existing content policy implementations which require or expect a loading
principal currently retrieve it from the context node. Since no current
callers require the principal to be the loading principal, and some already
expect it to be the triggering principal (which there's currently no other way
to retrieve), I chose to pass the triggering principal whenever possible, but
use the loading principal to determine the origin URL.
As a follow-up, I'd like to change the nsIContentPolicy interface to
explicitly receive loading and triggering principals, or possibly just
LoadInfo instances, rather than poorly-defined request
origin/principal/context args. But since that may cause trouble for
comm-central, I'd rather not do it as part of this bug.
MozReview-Commit-ID: LqD9GxdzMte
2017-10-12 15:43:55 -07:00
Kris Maglione
afc961cdba
Bug 1406278: Part 3 - Use subject principal as triggering principal in <script> "src" attribute. r=bz
...
MozReview-Commit-ID: KwGIE4t7KUx
2017-10-04 22:16:32 -07:00
Jon Coppeard
26bf68f0a5
Bug 1395896 - Record module dependency before starting fetch so that error handling works correctly r=bkelly
2017-09-06 09:07:09 +01:00
Honza Bambas
a90d5297b3
Bug 1395525 - Make all changes landed as part of tracker request tailing preferrable. r=dragana
2017-08-31 06:07:00 -04:00
Honza Bambas
559460ce73
Bug 1358060 - Allow postponing of unimportant resources opening during page load, class-of-service Tail flag. r=dragana
2017-08-30 09:32:00 -04:00
Nicolas B. Pierron
7970834f93
Bug 1394442 - Clear the bytecode buffer after the evaluation. r=mrbkap
2017-08-30 12:57:32 +00:00
Jon Coppeard
a5846642e5
Bug 1362098 - Report source position for module specfier resolution failure r=bkelly
2017-08-23 17:24:38 +01:00
Nicolas B. Pierron
c8c8b0e388
Bug 1390863 - Do not hold ScriptLoadRequest, when the load-end event is not fired. r=mrbkap
2017-08-22 18:06:37 +00:00
Jon Coppeard
b2b2e9e171
Bug Bug 1388728 - Update module loader error handling to match the spec r=bkelly
2017-08-22 10:34:14 +01:00
Jon Coppeard
115b44dacc
Bug 1388728 - Remove eager module instantiation r=bkelly
2017-08-22 10:08:21 +01:00
Jon Coppeard
0149ba95cf
Bug 1388728 - Rename JS APIs for loading modules in line with the spec r=bkelly
2017-08-22 10:07:49 +01:00
Honza Bambas
454794c9eb
Bug 1053321 - Correctly pass info about 'defer' and 'async' attributes to HTML5 parser invoked script preload. r=bkelly
2017-08-19 05:35:00 -04:00
Jon Coppeard
0a0bccc02a
Bug 1358882 - Fix build error on android r=me
2017-08-15 13:19:32 +01:00
Jon Coppeard
985bfce6ad
Bug 1358882 - Check for failed instantiation when starting to fetch module dependencies r=smaug
2017-05-02 18:01:51 +01:00
Kate McKinley
d1ad7588c6
Bug 1376651 - Pass the nsIScriptElement instead of allocating a string every time r=ckerschb
...
Change the interface to GetAlowsInline to take an nsISupports* instead
of a string, and pass the nsIScriptElement directly. If we don't have an
element, then pass nullptr or the mock string created as an
nsISupportsString.
MozReview-Commit-ID: pgIMxtplsi
2017-07-27 11:01:24 -07:00
Phil Ringnalda
542c0c9b1a
Backed out changeset 548ed79f2337 (bug 1053321) for strange and terribly-reported failures in Android opt mochitest-15 and debug mochitest-36
...
CLOSED TREE
MozReview-Commit-ID: IigWQ1wnxhZ
2017-08-01 23:13:42 -07:00
Honza Bambas
8d611334e5
Bug 1053321 - Correctly pass info about 'defer' and 'async' attributes to HTML5 parser invoked script preload. r=bkelly
2017-08-01 21:21:09 +02:00
Ryan VanderMeulen
511d89d4e7
Backed out changeset 20344f0dbff9 (bug 1053321) for ESLint failures.
2017-08-01 16:14:01 -04:00
Honza Bambas
6191721e94
Bug 1053321 - Correctly pass info about 'defer' and 'async' attributes to HTML5 parser invoked script preload. r=bkelly
2017-08-01 12:43:00 -04:00
Nicolas B. Pierron
aa25c27743
Bug 900784 - Tune the bytecode cache heuristic based on telemetry results. r=mrbkap
2017-07-28 13:06:48 +00:00
Bevis Tseng
2ecbda13e2
Bug 1378930 - Part 2: Remove the aName parameter from SchedulerGroup/DocGroup/DispatcherTrait. r=billm
2017-07-26 16:13:35 +08:00
Nicolas B. Pierron
3db8c7cbd0
Bug 1381888 - Hard-code the current size factor between the source size and the bytecode size. r=mrbkap
2017-07-18 10:09:00 -04:00
Andrew McCreight
8b6424f039
Bug 1379786, part 4 - Use GetIsSystemPrincipal() method instead of going through secman in CHECK_PRINCIPAL_AND_DATA. r=mrbkap
...
MozReview-Commit-ID: INBsjjxbXZz
2017-07-10 15:00:03 -07:00
Andrea Marchesini
9e8ae1dfd0
Bug 1350958 - Finish labeling ProxyReleaseEvent, r=billm
2017-07-14 08:49:22 +02:00
Tom Tromey
5d536690db
Bug 1306887 - keep SourceMap response header on CSS style sheets; r=bz,heycam
...
When loading a style sheet, if the SourceMap (or legacy X-SourceMap)
response header was seen, record it and make it available to chrome
scripts.
MozReview-Commit-ID: 3wtUADzgrI3
2017-06-28 16:51:46 -07:00
Nicolas B. Pierron
9bcb2494e4
Bug 1376634 - Fix telemetry reports to report cacheable scripts instead of only small scripts. r=mrbkap
2017-06-29 00:48:55 +00:00
Carsten "Tomcat" Book
372571d466
merge mozilla-inbound to mozilla-central a=merge
2017-06-27 10:56:41 +02:00
Bill McCloskey
ce42826bdf
Bug 1372405 - Provide names for all runnables in the tree (r=froydnj)
...
MozReview-Commit-ID: DKR6ROiHRS7
2017-06-26 14:19:58 -07: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
Nicolas B. Pierron
3125921cda
Bug 1362114 - JSBC: Add telemetry to later tune the heuristics. r=mrbkap,francois
2017-06-20 09:53:10 +00:00
Carsten "Tomcat" Book
bbe9441993
Backed out changeset 9846de3bd954 (bug 1372405)
2017-06-20 08:27:02 +02:00
Bill McCloskey
f69608368b
Bug 1372405 - Provide names for all runnables in the tree (r=froydnj)
...
MozReview-Commit-ID: DKR6ROiHRS7
2017-06-19 22:25:47 -07:00
Bevis Tseng
e6dc9e02bc
Bug 1372453 - Part 2: Name the caller of ProxyReleaseEvent. r=billm
...
MozReview-Commit-ID: LYhSWnZkq0i
2017-06-14 09:27:17 +08:00
Sebastian Hengst
4994857b23
merge mozilla-central to mozilla-inbound. r=merge a=merge
2017-06-18 20:50:40 +02:00
Mats Palmgren
dd5298e9b8
Bug 1372317 part 2 - Replace LookupRemoveIf() calls with Lookup() + entry.Remove() where needed. r=froydnj
...
MozReview-Commit-ID: AoRNdbzh66c
2017-06-18 17:07:54 +02:00
Masatoshi Kimura
1fd69c2f1a
Bug 1369025 - Remove mozilla::dom::EncodingUtils. r=hsivonen
...
MozReview-Commit-ID: 5O5WtxbmATQ
2017-06-17 11:54:40 +09:00
Bill McCloskey
f1728c02f2
Bug 1372736 - Avoid using AbstractThread for non-media MozPromises (r=bkelly)
...
MozReview-Commit-ID: BBi0pK4DXxf
2017-06-15 20:16:25 -07:00
Nicolas B. Pierron
a6bf1dd0bb
Bug 1372207 - Schedule JSBC encoding to be executed at the next idle time after the onload event. r=smaug
2017-06-14 14:37:14 +00:00
Mats Palmgren
e520fe153c
Bug 1372013 - Remove a redundant mFetchingModules.Get before Remove call, and replace Get+Put calls with a LookupRemoveIf call. r=froydnj
...
MozReview-Commit-ID: LDQkiin1hgf
2017-06-14 16:11:21 +02:00
Nicolas B. Pierron
d2758dc74d
Bug 1372643 - Guard ScriptLoader::GetScriptGlobalObject with mDocument weak-ptr check. r=mrbkap
2017-06-14 13:58:32 +00:00
Bill McCloskey
366b1553cc
Bug 1366072 - Change promises to take nsISerialEventTarget instead of AbstractThread (r=jwwang)
...
MozReview-Commit-ID: 4azUhSB6whu
2017-06-13 14:51:01 -07: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
Ben Kelly
d7552a9f9d
Bug 1197401 Remove the disabled HTML imports implementation. r=wchen
2017-06-12 07:36:02 -07:00
Nicolas B. Pierron
b5d811406a
Bug 1371261 - ScriptLoader: Work-around the lack of Epoch from TimeStamp class. r=mrbkap
2017-06-09 13:52:52 +00:00