Andrea Marchesini
71aba8e0ee
Bug 1362119 - part 1 - Moving dom/base/Script{Loader,Element}.* in dom/script, r=ehsan
...
This patch does these things:
1. it moves nsScriptElement, nsScriptLoader, ScriptSettings, nsIScriptElement
and nsIScriptLoaderObserver in dom/script
2. it renames nsScriptElement to mozilla::dom::ScriptElement
3. it renames nsScriptLaoder to mozilla::dom::ScriptLoader
2017-05-08 08:24:22 +02:00
Kris Maglione
8984bdae3a
Bug 1359653: Part 7 - Use the script preloader for loading frame scripts. r=billm
...
MozReview-Commit-ID: L0EjM0Uomfb
2017-05-02 15:16:55 -07:00
Sebastian Hengst
3d866b8993
Backed out changeset c1b0ed47743f (bug 1359653)
2017-05-06 11:02:13 +02:00
Kris Maglione
eade48d065
Bug 1359653: Part 7 - Use the script preloader for loading frame scripts. r=billm
...
MozReview-Commit-ID: L0EjM0Uomfb
2017-05-02 15:16:55 -07:00
Bill McCloskey
5a9c3656df
Revert "Bug 1340719 - Throw an exception if accessing Xray from wrong docgroup (r=bholley)"
...
This reverts commit ff10f4faedd42f13ed2899cf4ea05c47411aba95.
2017-04-07 14:23:06 -07:00
Bill McCloskey
89fbb60be1
Bug 1340719 - Throw an exception if accessing Xray from wrong docgroup (r=bholley)
...
MozReview-Commit-ID: BBrRsk3KvGb
2017-04-05 13:26:20 -07:00
Wes Kocher
0eb31f0868
Merge m-c to autoland, a=merge
2017-03-29 15:48:28 -07:00
Markus Stange
6b5d0cba27
Bug 1348426 - Add profiler labels to RecvSync/Async/RpcMessage that include the message name. r=billm
...
MozReview-Commit-ID: F7MZhgV12DZ
2017-03-29 17:43:21 -04:00
Michael Layzell
4035e5c387
Bug 1348113 - Part 2: Sanitize the message names before sending them to telemetry, r=mccr8
...
MozReview-Commit-ID: LPNPZXt4BGU
2017-03-29 10:10:26 -04:00
Michael Layzell
27a960a68f
Bug 1348113 - Part 1: Add the IPC_SYNC_JS_LATENCY_MS probe to track JS sync IPC latency from sendSyncMessage/sendRpcMessage, r=billm
...
MozReview-Commit-ID: 6ROx87BL18p
2017-03-29 10:10:26 -04:00
Christoph Diehl
195f79c5f1
Bug 777600 - Add MessageManager Fuzzer. r=billm
2017-02-28 16:24:43 -08:00
Gabor Krizsanits
620f28fbd3
Bug 1337730 - part1: releaseCachedProcesses API for testing. r=mrbkap
2017-02-21 11:27:23 +01:00
Andrea Marchesini
c048b4585c
Bug 1339871 - Splitting dom/file/File.{h,cpp}, r=smaug
2017-02-16 18:26:38 +01:00
Sylvestre Ledru
e3d60e5b2e
Bug 1338086 - Remove useless else blocks in order to reduce complexity in dom/base/ r=Ehsan
...
MozReview-Commit-ID: 5sCNbqC4ew3
2017-02-09 15:44:02 +01:00
Brian Hackett
672894a957
Bug 1337112 - Remove links from JSRuntime to its single context and zone group, r=jandem,jonco.
2017-02-10 16:47:50 -07:00
Olli Pettay
3898f7d882
Bug 1326507, remove NS_IMPL_CYCLE_COLLECTION_TRAVERSE_SCRIPT_OBJECTS, r=mccr8
2017-01-03 21:47:55 +02:00
Andrew Sutherland
f799e93175
Bug 1315913 - Part 1: Move nsFrameMessenger structured clone Build/Unpack into StructuredCloneData and expand to support PBackground. r=baku
2016-11-21 04:06:41 -05:00
Ehsan Akhgari
5bbe94bf07
Bug 1312101 - Part 2: Remove AppProcessChecker and code that depends on it; r=baku
2016-11-16 14:51:08 -05:00
Andi-Bogdan Postelnicu
efac806caa
Bug 1317241 - Use C++11's override and remove virtual where applicable in dom/ r=baku
...
MozReview-Commit-ID: 8jUAehd1odv
2016-11-15 13:09:07 +02:00
Andi-Bogdan Postelnicu
c47b0b7b15
Bug 1317241 - Replace default bodies of special member functions with = default in dom/. r=baku
...
MozReview-Commit-ID: 12AHOhrpaNO
2016-11-14 11:40:37 +02:00
Andi-Bogdan Postelnicu
dbc05f2e21
Bug 1317241 - Use auto type specifier where aplicable for variable declarations to improve code readability and maintainability in dom/. r=baku
...
MozReview-Commit-ID: CST7fV4h20h
2016-11-14 11:35:58 +02:00
Jon Coppeard
863d796e4b
Bug 1297558 - Remove explicit calls to Expose*ToActiveJS r=mccr8
2016-10-18 17:58:19 +01:00
Andrea Marchesini
a4e6d895f1
Bug 1308956 - Get rid of MessagePortList - part 2 - files removed, r=smaug
2016-10-13 15:19:52 +02:00
Jan de Mooij
b402a91ead
Bug 1302448 part 1 - Rename CycleCollectedJSRuntime to CycleCollectedJSContext. r=mccr8
2016-09-14 15:47:32 +02:00
Michael Layzell
f2f13378b5
Bug 1018486 - Part 1: Changes in dom/, r=baku
...
MozReview-Commit-ID: 4tCUM4KRe81
2016-09-07 10:50:35 -04:00
Nicholas Nethercote
1009bf0056
Bug 1297658 - Avoid unnecessary checking in memory reporters. r=erahm.
...
This patch removes checking of all the callback calls in memory reporter
CollectReport() functions, because it's not useful.
The patch also does some associated clean-up.
- Replaces some uses of nsIMemoryReporterCallback with the preferred
nsIHandleReportCallback typedef.
- Replaces aCallback/aCb/aClosure with aHandleRepor/aData for CollectReports()
parameter names, for consistency.
- Adds MOZ_MUST_USE/[must_use] in a few places in nsIMemoryReporter.idl.
- Uses the MOZ_COLLECT_REPORT macro in all suitable places.
Overall the patch reduces code size by ~300 lines and reduces the size of
libxul by about 37 KiB on my Linux64 builds.
2016-08-24 15:23:45 +10:00
Gabor Krizsanits
1abc7b6238
Bug 1291202 - Link pmm's with fmm's. r=billm
2016-08-22 10:28:04 +02:00
Kan-Ru Chen
e8b75a6839
Bug 1264642 - Part 4. Use BufferList to replace raw buffers in StructuredClone. r=baku r=billm r=jorendorff
...
In JS StructuredClone BufferList<SystemAllocPolicy> is typedef'd to
JSStructuredCloneData and use everywhere in gecko that stores structured
clone data.
This patch changed some raw pointers to UniquePtr<JSStructuredCloneData>
and some to stack allocated JSStructuredCloneData for better life time
management. Some parameters or methods are deleted because of changing
to the new data structure.
MessagePortMessage now has the exactly same structure with
ClonedMessageData. Maybe in the future they can be consolidated.
MozReview-Commit-ID: 1IY9p5eKLgv
2016-08-23 00:40:46 +08:00
Sebastian Hengst
6bc45cfb3c
Backed out changeset 262a71c958db (bug 1291202) for build bustage. r=backout on a CLOSED TREE
2016-08-22 11:17:14 +02:00
Gabor Krizsanits
9be97f9962
Bug 1291202 - Link pmm's with fmm's. r=billm
2016-08-22 10:28:04 +02:00
Jan de Mooij
a3f6c24c77
Bug 1294404 - Merge PerThreadDataFriendFields and ContextFriendFields, clean up APIs. r=terrence,bz
2016-08-12 11:39:16 +02:00
Jan de Mooij
bfe36450fc
Bug 1292892 part 5 - Replace most nsContentUtils::RootingCx calls with dom::RootingCx. r=bz,terrence
2016-08-11 14:39:23 +02:00
Jan de Mooij
7aaedf17ba
Bug 1292892 part 2 - Some RootingContext cleanup. r=bz,terrence
2016-08-11 14:39:22 +02:00
Jan de Mooij
bd0f1c9018
Bug 1292892 part 1 - Stop using JSRuntime outside SpiderMonkey. r=bz,terrence,fitzgen,kanru
2016-08-11 14:39:22 +02:00
Nicholas Nethercote
1f65390cc9
Bug 1293603 (part 2) - Make Run() declarations consistent. r=erahm.
...
This patch makes most Run() declarations in subclasses of nsIRunnable have the
same form: |NS_IMETHOD Run() override|.
As a result of these changes, I had to add |override| to a couple of other
functions to satisfy clang's -Winconsistent-missing-override warning.
2016-08-08 12:18:10 +10:00
Andrea Marchesini
3e782b8fc6
Bug 1288736 - Add some missing rv.SuppressException(), r=smaug
2016-07-22 16:50:10 +02:00
Andrew McCreight
5cbfd5ead4
Bug 1287623, part 1 - Use StaticRefPtr for sScriptCacheCleaner. r=smaug
2016-07-21 09:54:16 -07:00
Wes Kocher
971937eaaf
Backed out 5 changesets (bug 1287623) for static build bustage CLOSED TREE
...
Backed out changeset a48daec87ec9 (bug 1287623)
Backed out changeset 248153344e15 (bug 1287623)
Backed out changeset 8aa409c9b1ce (bug 1287623)
Backed out changeset 602d4d88e806 (bug 1287623)
Backed out changeset 114da8bdc0b0 (bug 1287623)
2016-07-20 15:40:33 -07:00
Andrew McCreight
0202a3f7bf
Bug 1287623, part 1 - Use StaticRefPtr for sScriptCacheCleaner. r=smaug
2016-07-20 15:19:00 -07:00
Ehsan Akhgari
7782233baf
Bug 1277135 - Add an rval argument to JS::CloneAndExecuteScript(); r=jorendorff
2016-07-19 19:40:51 -04:00
Andrew McCreight
9ea83ae5f3
Bug 1272423 - Refuse to send large messages via the message manager. r=baku
...
Large IPC messages will hit a fatal assert, so reject message manager
messages earlier.
Also, collect telemetry on the rejected messages.
2016-06-09 09:35:19 -07:00
Andrew McCreight
56f2f26b8d
Bug 1275707, part 3 - Rename MESSAGE_MANAGER_MESSAGE_SIZE. r=baku
...
Now that digits have been filtered out of the message manager message
names to avoid creating thousands of similar keys, we can reenable the
telemetry by renaming it. Also, update the description to address
bsmedberg's comments, and add me to the list of alert emails.
2016-06-01 15:11:06 -07:00
Andrew McCreight
b1200dbede
Bug 1275707, part 2 - Remove numbers from the message manager message names. r=billm
...
There are a huge number of different message manager messages with
names of the form "ublock0:sb:{N}", where {N} is some number from 1 to
over 1000. Having so many different keys seems to cause problems for
telemetry and makes it harder to tell how many messages of each type
there really are, so this patch combines them by eliminating any
digits. It will also help for the webdev tools that use channels with
names like "debug:server1.conn5.child1:packet". This will create some
ambiguity (eg there are some messages of the form "ublock:sb:{N}"),
but that should be a minor issue.
2016-06-01 15:11:06 -07:00
Andrew McCreight
af2410d014
Bug 1275707, part 1 - Factor out a common method for message manager size telemetry. r=billm
2016-06-01 15:11:06 -07:00
Kyle Huey
a9cf047227
Bug 1265927: Move nsRunnable to mozilla::Runnable, CancelableRunnable to mozilla::CancelableRunnable. r=froydnj
2016-04-25 17:23:21 -07:00
Andrew McCreight
054b1a2317
Bug 1260908 - Fix type of kMinTelemetryMessageSize. r=smaug
2016-04-14 09:22:44 -07:00
Alexandre Poirot
8a897edf8d
Bug 1258496 - Purge message manager cached scripts on 'message-manager-flush-caches' notification. r=smaug
2016-04-13 11:04:11 -07:00
Andrew McCreight
ace7c88d0c
Bug 1263235, part 2 - Make PContent::AsyncMessage and PContentBridge::AsyncMessage's data argument last. r=smaug
2016-04-09 06:50:59 -07:00
Bill McCloskey
a772e66968
Bug 1260908 - Record IPC message sizes (r=dvander)
2016-04-01 11:22:27 -07:00
Wes Kocher
a1f94ce495
Backed out 2 changesets (bug 1260908) for build bustage
...
Backed out changeset 5582a25d289d (bug 1260908)
Backed out changeset 9612cef48d43 (bug 1260908)
MozReview-Commit-ID: BKeDiGZ8Z8B
2016-04-01 10:44:27 -07:00