Jon Coppeard
bd0f421e61
Bug 1426190 - Integrity option for descendant module scripts should be the empty string r=smaug
2017-12-21 10:58:53 +00:00
Jon Coppeard
a4ab509570
Bug 1425885 - Ignore 'event' and 'for' attributes for module scripts r=baku
2017-12-19 15:32:21 +00:00
Jon Coppeard
ef759bb6a5
Bug 1425843 - Pass correct referrer and referrer policy when fetching modules r=smaug
2017-12-19 15:30:49 +00:00
Jon Coppeard
8a6245d972
Bug 1330688 - Report a better error in the console when a module load fails r=baku r=flod
2017-12-19 15:29:38 +00:00
Jon Coppeard
cf046ed130
Bug 1365187 - Keep track of which modules in a graph have been fetched using a visited set r=smaug
2017-12-14 15:13:57 -06:00
Jon Coppeard
023b2958fa
Bug 1365187 - Simplify module map interface r=smaug
2017-12-14 15:13:57 -06:00
Steve Fink
d9f0a6c76b
Bug 1420420 followup - sidestep a rooting hazard. r=me a=hazad-fix
...
--HG--
extra : amend_source : 3369480b635e7f6675a106bce78391557516d1c7
2017-12-07 16:07:23 -08:00
Jon Coppeard
1d4c4b18bf
Bug 1420420 - Update module implementation to match latest spec regarding handling of instantiation errors r=anba r=baku r=jgraham
2017-12-06 14:54:58 +00:00
Sebastian Hengst
e70bf9e08c
Backed out changeset 92ad856a4bae (bug 1420420) for failing tests/jit-test/jit-test/tests/modules/bug-1402649.js after asserting. r=backout
2017-12-06 20:14:18 +02:00
Jon Coppeard
73138b170f
Bug 1420420 - Update module implementation to match latest spec regarding handling of instantiation errors r=anba r=baku r=jgraham
2017-12-06 14:54:58 +00:00
Jon Coppeard
1aa0606254
Bug 1421259 - Fix error events fired when loading JS module dependencies fail r=baku
2017-12-01 13:12:48 +00:00
Andrea Marchesini
9d60eea296
Bug 1418860 - Adding telemetry to see how often version param is used in ScriptLoader type, r=jonco, data-r=francois
2017-11-29 09:01:04 +01:00
Jan de Mooij
a8cef631a3
Bug 1417895 part 2 - Use a ValidJSVersion enum instead of JSVersion in script loader. r=bz
2017-11-18 23:16:09 +01:00
Jan de Mooij
d66dc34955
Bug 1417895 part 1 - Move ParseJavascriptVersion from nsContentUtils to ScriptLoader.cpp. r=bz
2017-11-18 23:16:05 +01:00
Jan de Mooij
7f30bf48a7
Bug 1417844 part 2 - Remove JSVersion from CompileOptions, CompartmentBehaviors, scripts. r=evilpie
2017-11-17 12:12:39 +01:00
Kyle Machulis
f25f505bc5
Bug 1415747 - Remove nsIDOMHTMLScriptElement; r=bz
...
MozReview-Commit-ID: 3I7qVTsKFJC
2017-11-10 13:10:00 -08:00
Nika Layzell
3409141758
Bug 1414974 - Part 2: Switch many consumers to nsGlobalWindow{Inner,Outer}, r=smaug
...
This is a large patch which tries to switch many of the external consumers of
nsGlobalWindow to instead use the new Inner or Outer variants.
MozReview-Commit-ID: 99648Lm46T5
2017-11-09 10:44:47 -05:00
Henri Sivonen
080aa07386
Bug 1412866 - Use spec nomenclature for the ignore-destructive-writes counter. r=smaug
...
MozReview-Commit-ID: FKwbEZll95J
--HG--
extra : rebase_source : b42a7a17434f1c711c395fd5a09893cac81b7a9d
2017-10-30 17:45:09 +02:00
Kris Maglione
5fdcb5a5d2
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
--HG--
extra : rebase_source : 41ce439912ae7b895e0a3b0e660fa6ba571eb50f
2017-10-12 15:43:55 -07:00
Kris Maglione
0641eb51a8
Bug 1406278: Part 3 - Use subject principal as triggering principal in <script> "src" attribute. r=bz
...
MozReview-Commit-ID: KwGIE4t7KUx
--HG--
extra : rebase_source : 7bc0f04178c5ea5a2b9b66960280f53e4a10e0cd
2017-10-04 22:16:32 -07:00
Nicholas Nethercote
d225f7151b
Bug 1400460 - Rename nsIAtom as nsAtom. r=hiro.
...
(Path is actually r=froydnj.)
Bug 1400459 devirtualized nsIAtom so that it is no longer a subclass of
nsISupports. This means that nsAtom is now a better name for it than nsIAtom.
MozReview-Commit-ID: 91U22X2NydP
--HG--
rename : xpcom/ds/nsIAtom.h => xpcom/ds/nsAtom.h
extra : rebase_source : ac3e904a21b8b48e74534fff964f1623ee937c67
2017-10-03 09:05:19 +11:00
Catalin Badea
f8162c4bfd
Bug 651120 - Remove index argument from content removed/appended/inserted notifications. r=peterv
2017-10-03 11:09:08 +01:00
Olli Pettay
ecbbad31ed
Bug 1378092 - Consider to remove MaybeGC from AutoEntryScript::~AutoEntryScript(), r=jonco
...
--HG--
extra : rebase_source : 0a2904c0204e13e15be4289c111457e1d20c1330
2017-09-07 09:28:25 +01:00
Jon Coppeard
bbf830a646
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
8d492fe637
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
4263c50db2
Bug 1358060 - Allow postponing of unimportant resources opening during page load, class-of-service Tail flag. r=dragana
...
--HG--
extra : rebase_source : 1ab691fe066e641c948aa5f42827305411579708
2017-08-30 09:32:00 -04:00
Nicolas B. Pierron
605f187aa5
Bug 1394442 - Clear the bytecode buffer after the evaluation. r=mrbkap
2017-08-30 12:57:32 +00:00
Andrew McCreight
78807d8776
Bug 1391005 - Eliminate NS_INTERFACE_MAP_BEGIN_CYCLE_COLLECTION_INHERITED. r=peterv
...
Replace it with NS_INTERFACE_MAP_BEGIN_CYCLE_COLLECTION, because it
has been the same for a while.
MozReview-Commit-ID: 5agRGFyUry1
--HG--
extra : rebase_source : 5388c56b2f6905c6ef969150f0c5b77bf247624d
2017-08-29 16:02:48 -07:00
Jon Coppeard
a5766511a6
Bug 1362098 - Report source position for module specfier resolution failure r=bkelly
2017-08-23 17:24:38 +01:00
Nicolas B. Pierron
4dd803021e
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
57cc56cf0b
Bug Bug 1388728 - Update module loader error handling to match the spec r=bkelly
2017-08-22 10:34:14 +01:00
Jon Coppeard
22a385b644
Bug 1388728 - Remove eager module instantiation r=bkelly
2017-08-22 10:08:21 +01:00
Jon Coppeard
0173f129e8
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
2f9f6408e0
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
ccc6ec51bc
Bug 1358882 - Fix build error on android r=me
2017-08-15 13:19:32 +01:00
Jon Coppeard
382f184d88
Bug 1358882 - Check for failed instantiation when starting to fetch module dependencies r=smaug
2017-05-02 18:01:51 +01:00
Kate McKinley
092434c08c
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
--HG--
extra : rebase_source : 4691643bb67ff6c78a74a4886a04c4816cff6219
2017-07-27 11:01:24 -07:00
Phil Ringnalda
c5ab89e934
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
--HG--
extra : source : 70bd3854b6d034b67419ba11044b6cbe82b713bc
2017-08-01 23:13:42 -07:00
Honza Bambas
f33b5cb515
Bug 1053321 - Correctly pass info about 'defer' and 'async' attributes to HTML5 parser invoked script preload. r=bkelly
...
--HG--
extra : histedit_source : 1743f499ca20d75df7e957fab1c942c4f4e22df8
2017-08-01 21:21:09 +02:00
Ryan VanderMeulen
1b497ab253
Backed out changeset 20344f0dbff9 (bug 1053321) for ESLint failures.
2017-08-01 16:14:01 -04:00
Honza Bambas
d8659dd692
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
7a08464871
Bug 900784 - Tune the bytecode cache heuristic based on telemetry results. r=mrbkap
2017-07-28 13:06:48 +00:00
Bevis Tseng
a7505864a8
Bug 1378930 - Part 2: Remove the aName parameter from SchedulerGroup/DocGroup/DispatcherTrait. r=billm
...
--HG--
extra : rebase_source : 11319e568a51d16754a6a9990f76c35c86c2bda7
2017-07-26 16:13:35 +08:00
Nicolas B. Pierron
6eb7dc59af
Bug 1381888 - Hard-code the current size factor between the source size and the bytecode size. r=mrbkap
...
--HG--
extra : rebase_source : 5e2a0735a7d02e414b38ce24ac6b887cb0c7ddbc
2017-07-18 10:09:00 -04:00
Andrew McCreight
bf7fff95f0
Bug 1379786, part 4 - Use GetIsSystemPrincipal() method instead of going through secman in CHECK_PRINCIPAL_AND_DATA. r=mrbkap
...
MozReview-Commit-ID: INBsjjxbXZz
--HG--
extra : rebase_source : fd6d491d01acc70be1bf51e25ec31bbcde81344a
2017-07-10 15:00:03 -07:00
Ryan VanderMeulen
019bd042fc
Merge autoland to m-c. a=merge
2017-07-14 09:16:03 -04:00
Andrea Marchesini
50f9ea47a3
Bug 1350958 - Finish labeling ProxyReleaseEvent, r=billm
2017-07-14 08:49:22 +02:00
Xidorn Quan
2fa56dab45
Bug 1379585 part 1 - Add an RAII class for auto disable interrupt callback. r=baku
...
MozReview-Commit-ID: IInIukI0yI7
--HG--
extra : rebase_source : 857e438902cb06a5514b5b0a1c4abf09edafcda1
2017-07-14 10:02:59 +10:00
Tom Tromey
28e8f458a9
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
--HG--
extra : rebase_source : 25ed09e264d4b3a679ae970c709dedd4d50e2324
2017-06-28 16:51:46 -07:00
Nicolas B. Pierron
09b27eb5ff
Bug 1376634 - Fix telemetry reports to report cacheable scripts instead of only small scripts. r=mrbkap
2017-06-29 00:48:55 +00:00