Граф коммитов

162 Коммитов

Автор SHA1 Сообщение Дата
Brian Hackett 21af5aff57 Bug 1481350 - Don't try to handle messages sent to child-allocated browsers, r=froydnj.
--HG--
extra : rebase_source : 047b9692d79b58699ffa57b3048892403e999b69
2018-08-21 00:54:40 +00:00
Jeff Walden e4f79e2a19 Bug 1484421 - Move JSON-related functionality into js/public/JSON.h that isn't #include'd in jsapi.h. r=jandem 2018-08-20 07:54:45 -07:00
Kris Maglione 9ea1907ed5 Bug 1472491: Part 0 - Process UpdateSharedData message in middle man process. r=mccr8
This message is necessary to initialize the IPC sharedData structures in every
content process. If any JS code tries to access cpmm.sharedData before it has
been processed, the process crashes. As happens on OS-X record-replay tests
when trying to land these patches.

Differential Revision: https://phabricator.services.mozilla.com/D3235

--HG--
extra : rebase_source : 715cba69b5e705b75f2b5072536f449fcb22ef42
2018-08-12 20:12:05 -07:00
Kris Maglione ee36f9afd8 Bug 1480244: Part 1a - Rename ProcessGlobal to ContentProcessMessageManager. r=bz
After these patches, these objects will no longer be globals, which would make
their current names misleading. Parts 1a-1c give more appropriate names to the
bindings which will cease to be globals.

MozReview-Commit-ID: L8GolQaHnO5

--HG--
rename : dom/base/ProcessGlobal.cpp => dom/base/ContentProcessMessageManager.cpp
rename : dom/base/ProcessGlobal.h => dom/base/ContentProcessMessageManager.h
extra : rebase_source : c5db43ff4f56bc27c869a8051c8d2c000b3fe287
2018-08-02 15:03:50 -07:00
Brian Hackett c628b4c529 Bug 1481351 - Fix some issues around PBrowser::Show message handling, tidy up web replay child headers, r=mccr8.
--HG--
extra : rebase_source : 25560255da80c4f27dbcc3c73272ba57f516d7f7
2018-08-14 00:40:15 +00:00
Brian Hackett 9444619b6c Bug 1481346 - Fix problems when forwarding sync messages in the middleman, r=mccr8.
--HG--
extra : rebase_source : 38dfeca916baf25166fea246b94c26a14bf24827
2018-08-14 00:30:09 +00:00
Brian Hackett 3f4120fa48 Bug 1482275 Part 1 - Trigger crashes in hanged replaying processes, r=froydnj.
--HG--
extra : rebase_source : 66acfd57306c85692d293481efb9f196adb3cd0b
2018-08-14 00:48:28 +00:00
Brian Hackett 52b5bc2878 Bug 1481009 Part 7 - Treat inaccessible memory regions after thread stacks as untracked, r=froydnj.
--HG--
extra : rebase_source : 96ee59dd67123fa67014f554d7219f11555e16d4
2018-08-13 20:48:14 +00:00
Brian Hackett ed1cb3c6c3 Bug 1481009 Part 6 - Cleanly shutdown middleman processes after a recording/replaying child crashes, r=froydnj.
--HG--
extra : rebase_source : bbdd58e8db173030c25fd2905be3b24d8d71f599
2018-08-13 20:47:49 +00:00
Brian Hackett 71986ca9f7 Bug 1481009 Part 5 - Generate a minidump when reporting a fatal record/replay error, r=froydnj.
--HG--
extra : rebase_source : e9f64d2fe625dbb6eb01c9868e8aab6ebc11b8f4
2018-08-13 20:47:35 +00:00
Brian Hackett a4c6ff4a58 Bug 1481009 Part 4 - Add redirection for crash reporter code, r=froydnj.
--HG--
extra : rebase_source : 1797bf07028601f9a0521a28d24d0bd89eb07012
2018-08-13 20:47:05 +00:00
Brian Hackett 9e357f95bd Bug 1481009 Part 3 - Report recording/replaying processes crashes as if they happened in the middleman, r=gsvelto.
--HG--
extra : rebase_source : 9abe5c418d156d2e0d88d4a398d02dbd67cb1074
2018-08-13 20:46:42 +00:00
Brian Hackett 5d16fec3c6 Bug 1482668 - Add some redirections for server connection APIs, r=froydnj. 2018-08-13 15:19:40 +00:00
Cosmin Sabou ca86972424 Backed out 8 changesets (bug 1481009) for causing devtools crashes @XUL + 0x37bba19. a=backout
Backed out changeset 11ee868c5903 (bug 1481009)
Backed out changeset 4a0c7dd5e1ac (bug 1481009)
Backed out changeset 4e6908123a97 (bug 1481009)
Backed out changeset 6869ea5ebd32 (bug 1481009)
Backed out changeset 85eec9cfc3d9 (bug 1481009)
Backed out changeset f7f4127aa9d8 (bug 1481009)
Backed out changeset 58598aa3cf0c (bug 1481009)
Backed out changeset 1ec7f635f4f3 (bug 1481009)
2018-08-12 14:50:41 +03:00
Brian Hackett 5e3223e51d Bug 1481009 Part 7 - Treat inaccessible memory regions after thread stacks as untracked, r=froydnj.
--HG--
extra : rebase_source : 66388f2c1fb8499da7cbcb2c3bd934a5cf04452b
2018-08-08 16:50:15 +00:00
Brian Hackett 6da96bb9e8 Bug 1481009 Part 6 - Cleanly shutdown middleman processes after a recording/replaying child crashes, r=froydnj.
--HG--
extra : rebase_source : 2147c889acf725dad16d2878ea77ce605a19f046
2018-08-08 16:49:14 +00:00
Brian Hackett 787cdfdba6 Bug 1481009 Part 5 - Generate a minidump when reporting a fatal record/replay error, r=froydnj.
--HG--
extra : rebase_source : 12a863ed8970e3586e91b4e1f8acb8a59321f73c
2018-08-08 16:47:53 +00:00
Brian Hackett 3f0e33d9c3 Bug 1481009 Part 4 - Add redirection for crash reporter code, r=froydnj.
--HG--
extra : rebase_source : 6237a4c6d9b3a0ef44f5c02fbbc5d21f3d36c9eb
2018-08-08 16:46:45 +00:00
Brian Hackett b4b9e7d9a1 Bug 1481009 Part 3 - Report recording/replaying processes crashes as if they happened in the middleman, r=gsvelto.
--HG--
extra : rebase_source : fe9d098d759f49773ff81c9c38c02134e464bfcd
2018-08-08 16:45:59 +00:00
Jan de Mooij 582e2ce27b Bug 1481184 - Use JSAutoRealm instead of JSAutoRealmAllowCCW in toolkit/recordreplay. r=bhackett
--HG--
extra : rebase_source : b49e29a24a89de25a64c91f85aedaaa1e7edfc5f
2018-08-08 12:51:13 +02:00
Brian Hackett f9e0de05ea Bug 1479058 Part 9 - Add breakpoint kind for console messages, r=mccr8.
--HG--
extra : rebase_source : 9c7e5ea2cebbcc81f7bb563e470b832fde4f8ffc
2018-08-02 23:32:00 +00:00
Brian Hackett 5913321baf Bug 1479058 Part 4 - RecordReplayControl changes for time warping, r=mccr8.
--HG--
extra : rebase_source : dbdd117c0f5e7979899a3c87c9ef04e7f9010dc1
2018-08-02 23:29:05 +00:00
Brian Hackett f712bae6eb Bug 1479058 Part 3 - Add TimeWarp() method and forced pause breakpoints, r=mccr8.
--HG--
extra : rebase_source : c338fadca5b14213695356f834ede9c1be0cd90d
2018-08-02 23:28:34 +00:00
Brian Hackett f42f9a7314 Bug 1479058 Part 2 - Add RunToPoint message and handling in child, r=mccr8.
--HG--
extra : rebase_source : f1e7b1bbe92bc2aa632dbaaadf09fb7714763e9e
2018-08-02 23:27:39 +00:00
Brian Hackett a1556089f7 Bug 1479058 Part 1 - Add NewTimeWarpTarget() API, r=mccr8.
--HG--
extra : rebase_source : 556161b281c21b19f972854b5c3b31e302d0dd26
2018-08-02 23:26:25 +00:00
Brian Hackett 239efbe15d Bug 1480426 - Avoid allowing memory changes when restoring checkpoints, r=froydnj.
--HG--
extra : rebase_source : c6bfdf52e467cfd2ca13822501941a2a7b874f35
2018-08-02 17:18:17 +00:00
Brian Hackett 4647908e1f Bug 1479650 - Redirect tzset, and avoid infinite recursion in mach_absolute_time redirection, r=froydnj.
--HG--
extra : rebase_source : 150c6fc4440cbd08bb6baf75fb601d744083a7a4
2018-07-31 19:32:13 +00:00
Brian Hackett 14d5ea5010 Bug 1479643 - Remove assertion that binary path matches between recording and replaying, r=mccr8.
--HG--
extra : rebase_source : 5d2956083e0832e7c0ccd1e494931d6ea29837e9
2018-07-31 19:24:02 +00:00
Brian Hackett 47937aa525 Bug 1479200 - Exclude graphics shared memory contents from snapshots, r=froydnj.
--HG--
extra : rebase_source : 2fbe4afcef2c748342b434f46d1a07795fc446a2
2018-07-31 19:17:03 +00:00
Jan de Mooij bdb81c4ee7 Bug 1479363 part 11 - Use JSAutoRealm instead of JSAutoRealmAllowCCW in toolkit/recordreplay/ipc. r=bhackett 2018-07-31 08:37:58 +02:00
Jan de Mooij 80adc67aba Bug 1478955 part 1 - Rename JSAutoRealm to JSAutoRealmAllowCCW. r=luke 2018-07-28 12:12:26 +02:00
Mike Hommey d7cb7c77a3 Bug 1478293 - Mark RecordReplayInterceptObjCMessage as used. r=froydnj
So that LTO doesn't eliminate it, leaving the assembly from RR_objc_msgSend
unable to find it.

--HG--
extra : rebase_source : 457c2f4612fd3485d4e099b51e324a6e085016e6
2018-07-26 11:10:40 +09:00
Brian Hackett 354da63fd0 Bug 1477561 Part 2 - Explicitly pass pref handles around when spawning recording processes, r=kmag.
--HG--
extra : rebase_source : f3e51555d2b9eb74d57c83d3b38f58576b8a1501
2018-07-24 15:48:10 +00:00
Brian Hackett 83d770739d Bug 1477561 - Improve handling of shared memory preference data when spawning recording processes, r=mccr8.
--HG--
extra : rebase_source : eddad711819ffb1783f9a02cefbe2d75fd6b8f68
2018-07-24 15:46:38 +00:00
Sebastian Hengst 4d9d456ce8 Bug 1464903 - Add metadata to file bugs for toolkit/recordreplay into Core::Web Replay. r=test-fix 2018-07-23 11:06:50 +03:00
Brian Hackett 1c5735cc0d Bug 1465466 Part 4 - Send compositor updates to the UI process from the middleman, r=mccr8,nical.
--HG--
extra : rebase_source : 660a736cb9e6a49912eb535ced4b60766fcb668b
2018-07-22 12:03:06 +00:00
Brian Hackett 11d1005390 Bug 1465466 Part 2 - Synchronously composite into a graphics shmem buffer when recording/replaying, r=nical.
--HG--
extra : rebase_source : a89c5fd8f87f82e5a93f9b3311617317a67b3333
2018-07-22 12:02:26 +00:00
Brian Hackett e6a4589c5b Bug 1465294 Part 14 - Use a single thread in stylo when recording/replaying, r=xidorn.
--HG--
extra : rebase_source : b15f4a8889bb2e379a75fabf331a79502a84dc7e
2018-07-22 12:01:34 +00:00
Brian Hackett b0487e5938 Bug 1470795 Part 11 - Fix bug in record/replay channel initialization, r=mccr8.
--HG--
extra : rebase_source : 51aa6307326ffaf8fe1e169d94579b74b1ee3d89
2018-07-22 12:00:53 +00:00
Brian Hackett f8489a95cf Bug 1470795 Part 10 - Include progress counter in record/replay assertion streams, r=froydnj.
--HG--
extra : rebase_source : ab97ec7f7602f5d2e05014374996288250c2d87c
2018-07-22 12:00:14 +00:00
Brian Hackett b3b2c75438 Bug 1470795 Part 7 - Add RecordReplayControl JS interface, r=mccr8.
--HG--
extra : rebase_source : a8d1d5c4fc9a33069a56a1c7035936e4b032ac16
2018-07-22 11:59:00 +00:00
Brian Hackett dc539c0008 Bug 1470795 Part 6 - Add navigation logic for managing breakpoints in child process, r=mccr8.
--HG--
extra : rebase_source : 764945decc9eba8fae725e0da279969e0f136792
2018-07-22 11:58:24 +00:00
Brian Hackett 4f9e9a98ca Bug 1470795 Part 3 - Trivial renaming due to API changes, r=froydnj.
--HG--
extra : rebase_source : 95fd379bb385ead70fa241933639e704267229d9
2018-07-22 11:57:38 +00:00
Brian Hackett 312bb81dda Bug 1470795 Part 2 - Record/replay API changes for replay debugger, r=froydnj.
--HG--
extra : rebase_source : 798587fb1675a3a02a0ef3b7606577c5b63cc216
2018-07-22 11:56:47 +00:00
Brian Hackett 7c29c70818 Bug 1466877 Part 4 - Graphics shmem changes for sandboxing, r=jld.
--HG--
extra : rebase_source : af5400385f9b61332ae3e585215d932d3ffbb53c
2018-07-22 11:56:17 +00:00
Brian Hackett 7a22eaef3e Bug 1466877 Part 3 - Middleman changes for sandboxing, r=mccr8.
--HG--
extra : rebase_source : df935b9f85a064451c82ede4b64ad6444966f16a
2018-07-22 11:55:36 +00:00
Brian Hackett 8a5d8c4df2 Bug 1466877 Part 2 - Child side changes for sandboxing, r=mccr8.
--HG--
extra : rebase_source : f4128fd36a0eb2d121fc43b0a3594e357c3fc07e
2018-07-22 11:54:55 +00:00
Brian Hackett bf6fb5d8ab Bug 1466877 Part 1 - Sandbox redirections, r=froydnj.
--HG--
extra : rebase_source : a24a44762ce9df8742800ef4d082e69634244827
2018-07-22 11:54:14 +00:00
Brian Hackett d2ffbf8f5c Bug 1465287 Part 4 - Add dummy IPC implementation for disabled platforms, r=mccr8.
--HG--
extra : rebase_source : 03ddc29a1fd9e8e56b6c04a56f8d83d5be79be39
2018-07-22 11:49:58 +00:00
Brian Hackett b8c260609d Bug 1465287 Part 3 - Middleman side of record/replay IPC, r=mccr8,jld.
--HG--
extra : rebase_source : c0fec84bf1bb88d3973d6367c273be2f4b442b31
2018-07-22 11:49:17 +00:00
Brian Hackett 14a96e97ac Bug 1465287 Part 2 - Child side of record/replay IPC, r=mccr8,jld.
--HG--
extra : rebase_source : 964fd1e2faafbf06be81f6dd49c8e778df8a79eb
2018-07-22 11:48:46 +00:00
Brian Hackett dbf2a5eadf Bug 1465287 Part 1 - IPC channels, r=mccr8,jld.
--HG--
extra : rebase_source : c08c055d06a4ffc3241c7220ac57a8a820cc03fd
2018-07-22 11:48:08 +00:00
Brian Hackett 38ee8c769d Bug 1464903 Part 10 - Rewinding logic, r=mccr8.
--HG--
extra : rebase_source : a8a22dfae099ae4eb24149d32f1824e653cd8614
2018-07-22 11:47:25 +00:00
Brian Hackett 73d46b5b3a Bug 1464903 Part 9 - Thread state snapshots, r=froydnj.
--HG--
extra : rebase_source : f2bb66955536a27b699800cc4aa799a223b57fed
2018-07-22 11:47:04 +00:00
Brian Hackett cadd8f1037 Bug 1464903 Part 8 - Heap memory snapshots, r=froydnj.
--HG--
extra : rebase_source : 51bd94455e1f616bcf947e24f775f05abe686a3d
2018-07-22 11:46:33 +00:00
Brian Hackett ba5d634fb4 Bug 1464903 Part 7 - Darwin redirections, r=froydnj.
--HG--
extra : rebase_source : 9b4d76690e46df84b3906eaac13f3fc89b2669a7
2018-07-22 11:46:02 +00:00
Brian Hackett bf2d66a38e Bug 1464903 Part 6 - Redirection infrastructure, r=froydnj.
--HG--
extra : rebase_source : 388c86e7eea4c94161d572ddf9390cf923c11a8c
2018-07-22 11:45:11 +00:00
Brian Hackett 328be466d8 Bug 1464903 Part 5 - Core record/replay functionality, r=froydnj.
--HG--
extra : rebase_source : e7d9586d4c0291813f30e69befc2f8d6a6974212
2018-07-22 11:44:20 +00:00
Brian Hackett 405fa64ef9 Bug 1464903 Part 4 - PLD and PL hashtable stabilization, r=froydnj.
--HG--
extra : rebase_source : 8880d2153cc3fe869d3575961284b570650ab36d
2018-07-22 11:43:39 +00:00
Brian Hackett 20e02d2085 Bug 1464903 Part 3 - Record/replay utilities, r=froydnj.
--HG--
extra : rebase_source : 014d5737b4db1b4bb2de94c869bd4b9bcf88936d
2018-07-22 11:42:50 +00:00
Brian Hackett e6baf647d7 Bug 1464903 Part 2 - Record/replay build files, r=froydnj.
--HG--
extra : rebase_source : 96d8d7574869a7a46b346eb683413f363166b935
2018-07-22 11:42:17 +00:00
Brian Hackett 5acb348b7e Bug 1207696 Part 1b - Add libudis86 source, r=jandem.
--HG--
extra : rebase_source : c9e81989f3a3ae81bae45fa2519164598c9c09d0
2018-07-22 11:39:51 +00:00