Brian Hackett
b7d645db8b
Bug 1505962 - Add redirection for rand(), r=lsmyth.
...
--HG--
extra : rebase_source : e920fe34cf158a23465c97b27310d5a893d89bdc
extra : histedit_source : 02db3f0100ac0dc03f5a98925edf051fda1a9da3
2018-11-09 16:19:33 -10:00
Brian Hackett
852f1694c7
Bug 1506311 - Refine filtering of CGColorSpaceCreateDevice symbols where redirection instructions can be installed.
...
--HG--
extra : rebase_source : d02e7cd81e986f6d253857bd5ca7d17180dcdf46
extra : histedit_source : a68d8ce5c8e7dbad65196068e532c7717ac47064
2018-11-09 16:04:49 -10:00
Brian Hackett
35eb4abd27
Bug 1506005 - Remove restriction that there is only one in flight paint at a time, r=nical.
...
--HG--
extra : rebase_source : cfa34df79bc59a17b65336f6b357083a8c3ae3a2
extra : histedit_source : 238244ee21c3dee93467bb27afd4274c1b9db62c
2018-11-08 16:50:13 -10:00
Brian Hackett
8f90f4547f
Bug 1506280 - Improve diagnostics when redirecting functions, r=lsmyth.
...
--HG--
extra : rebase_source : c089fc7973a32e16cbcf22df7288356ef30b38e3
2018-11-09 12:50:28 -10:00
Brian Hackett
1cab3043ea
Bug 1506019 - Handle close() calls after diverging from the recording, r=lsmyth.
2018-11-09 10:19:18 -10:00
Brian Hackett
0acdce8b62
Backed out changeset fa47f2e5c1fb (bug 1505962) for breaking Web Replay on 10.13.
2018-11-09 06:59:38 -10:00
Brian Hackett
ceff947cb4
Bug 1505962 - Add redirection for rand(), r=lsmyth.
...
--HG--
extra : rebase_source : 89f358082db98b107a24c9aeda3cf5ddc1b7c766
2018-11-08 13:21:23 -10:00
Brian Hackett
3fd194b99e
Bug 1505959 - Support some calls in the middleman made by the socket transport service thread, r=lsmyth.
...
--HG--
extra : rebase_source : e9de7d847bf7e38026ff26cc69249af06876e0fb
2018-11-08 13:15:58 -10:00
Brian Hackett
0a03dbe9f0
Bug 1505922 - Add redirection for CGColorSpaceCreateDeviceGray, r=lsmyth.
...
--HG--
extra : rebase_source : 695074b2117a0def03f88a637cc36ad65fbaeec3
2018-11-08 11:18:25 -10:00
Brian Hackett
4be9981b8d
Bug 1505895 - Add handler for changes to a recording/replaying child's state, r=lsmyth.
...
--HG--
extra : rebase_source : 5cf996fd6d7dfef4a9fc85d697ad35819809ad96
2018-11-08 10:06:20 -10:00
Brian Hackett
aae0f91453
Bug 1503639 Part 8 - Handle middleman call messages directly when recovering, r=mccr8.
...
--HG--
extra : rebase_source : c1f90a50ced14a09e1a3492988f3d02adc13bc02
2018-11-01 17:13:11 -10:00
Brian Hackett
e3503a74b9
Bug 1503750 - Add preference to allow crashing on repaint failures, r=mccr8.
...
--HG--
extra : rebase_source : df926fba3f291e2a56975936d1090c7d0ce54c60
2018-10-31 14:57:01 -10:00
Brian Hackett
579aa6d5df
Bug 1503639 Part 7 - Remove instrumentation used to avoid taking locks after diverging from the recording, r=mccr8.
...
--HG--
extra : rebase_source : 4e08b46ebbe78ab175fd5a6b3e13da19b756f673
2018-10-31 10:23:23 -10:00
Brian Hackett
204f46c04f
Bug 1503639 Part 6 - Handle read() failures in the checkpoint listening thread, r=lsmyth.
...
--HG--
extra : rebase_source : 51c34ce73b65068f53f53aa7ffe44182921a998d
2018-10-31 10:22:20 -10:00
Brian Hackett
b2144eb85d
Bug 1503639 Part 5 - Support some new redirections after diverging from the recording, r=lsmyth.
...
--HG--
extra : rebase_source : ad74fd6574c48b68a161b9f0b85a3ae0c770e95b
2018-10-31 10:21:22 -10:00
Brian Hackett
14a138c5f4
Bug 1503639 Part 4 - Allow all threads to diverge from the recording when repainting, r=mccr8.
...
--HG--
extra : rebase_source : 4577a744d331f83a1083ef96c28dad23826894ca
2018-10-31 10:20:15 -10:00
Brian Hackett
cbe146ecec
Bug 1503639 Part 1 - Handle unrecorded waits internally, r=lsmyth.
...
--HG--
extra : rebase_source : 1871f242021d0bd84a096f9e12e8d48c1063ef49
2018-10-31 10:17:05 -10:00
Brian Hackett
762e7e1a0e
Bug 1505139 - Tolerate getenv races in JPEG library initialization, r=lsmyth.
...
--HG--
extra : rebase_source : 32c62180cd0c52f0e477cd46ba5df3cc1d3c50e1
2018-11-06 09:06:48 -10:00
Brian Hackett
6b499d9ef2
Bug 1504909 Part 4 - Always store progress counter in execution points, r=lsmyth.
...
--HG--
extra : rebase_source : f61d5728d5859d9fe6fe680b17bb04e057d15c68
2018-11-06 07:37:41 -10:00
Brian Hackett
6afbd189ab
Bug 1504909 Part 3 - Get the current point and recording endpoint from navigation state, r=lsmyth.
...
--HG--
extra : rebase_source : 41e6702c60412b4869ed80ae9ffc2b55a963d922
2018-11-06 07:37:22 -10:00
Brian Hackett
ab3bd69465
Bug 1504909 Part 2 - Remove unused recordingPosition interface, r=lsmyth.
...
--HG--
extra : rebase_source : aca78a5933e3ccedbab366c7a2b9203299d889d2
2018-11-06 07:36:54 -10:00
Brian Hackett
7a37b00f43
Bug 1505229 - Never wait for replaying child processes while recording, r=mccr8.
...
--HG--
extra : rebase_source : 2f7642006462de0507d1a24a4458221866bc4134
extra : histedit_source : e9d66d1455ad78fc1e1c2ea2ab69b7d517afcdd3
2018-11-06 15:27:58 -10:00
Ryan Hunt
076d1e73a3
Bug 1503655 part 3 - Remove PRenderFrame protocol without functional changes. r=kats
...
This commit removes the PRenderFrame protocol, while keeping the same ordering
and semantics of graphics IPC initialization.
To do this, some messages are added to PBrowser to simulate the constructor
and destructor of PRenderFrame. Messages that expected a nullable PRenderFrame
are updated to get a boolean instead.
One tricky area is the destruction of PRenderFrame. I've tried to keep it the
same as much as possible, but it's possible it might be slightly semantically
different than IPDL destruction. Destruction will be touched up in a later
patch, so I'm not too concerned.
Differential Revision: https://phabricator.services.mozilla.com/D11057
--HG--
extra : rebase_source : bb8a7896bb4aefb6e9957d8808b755fa76cc00ed
extra : histedit_source : 6377819a946b5b6bc18b15f748229360e42a6f3a
2018-11-05 12:45:06 -06:00
Brian Hackett
295da82633
Bug 1504835 - Remove remaining references to web replay graphics overlay, r=lsmyth.
...
--HG--
extra : rebase_source : 08ca828cf6a1829dbaaaa9b43315030312d4bb0c
2018-11-04 16:30:50 -10:00
Brian Hackett
645f80c048
Bug 1504372 - Always generate minidumps for replaying child crashes, r=mccr8.
...
--HG--
extra : rebase_source : f68f98127fc914339db47f57bf365a950ca2f2b4
2018-11-02 14:30:39 -10:00
Brian Hackett
cb45670d92
Bug 1504285 - Check should-idle instead of is-idle flag when rewinding to avoid deadlocks, r=mccr8.
...
--HG--
extra : rebase_source : efda340606a0c8acbac3bac8dd787c906091726f
2018-11-02 14:30:31 -10:00
Brian Hackett
48b0840f22
Bug 1503726 - Null check release callback in CGDataProviderCreateWithData redirection, r=mccr8.
2018-10-31 13:46:53 -10:00
Brian Hackett
93804cc834
Bug 1503055 - Avoid deadlocking when rewinding to avoid a different deadlock, r=mccr8.
...
--HG--
extra : rebase_source : ce275a13dc60a0b1aeeef81e9bebc9c1b80ccdfa
2018-10-29 13:23:33 -10:00
Brian Hackett
0f8a5c6db7
Bug 1488453 - Make sure there are no UAF or double frees in HashTable code, r=froydnj.
2018-10-29 12:35:20 -10:00
Brian Hackett
c54d535b22
Bug 1502207 Part 4 - Relax ordering requirements for atomic accesses to be specific to the atomic value itself, r=froydnj.
...
--HG--
extra : rebase_source : d21dfcebd9870b205276f3f4eaa86ae44d23baf9
2018-10-25 11:46:07 -10:00
Brian Hackett
b951ae43fd
Bug 1502207 Part 3 - Use new atomic access API in internal record/replay logic, r=froydnj.
...
--HG--
extra : rebase_source : f70e5def2b2cb96faf8d18d32cb86b898e894550
2018-10-25 11:42:38 -10:00
Brian Hackett
39ea3e05d1
Bug 1500805 Part 7 - Avoid crashing after a middleman call returns a null value, r=mccr8.
...
--HG--
extra : rebase_source : 4274b07437e31938349823b9229ccf3add164e9f
2018-10-21 15:09:20 -06:00
Brian Hackett
565ba58f1b
Bug 1500805 Part 6 - Add middleman call hooks for some graphics APIs, r=mccr8.
...
--HG--
extra : rebase_source : 7ace44a7b32a0878607e53e913017a4f439b87b6
2018-10-21 15:09:13 -06:00
Brian Hackett
d03d8f7b0b
Bug 1500805 Part 5 - Fix handling when creating threads after diverging from the recording, r=mccr8.
...
--HG--
extra : rebase_source : 1d1f02c7a07e25a4219b145deffae7b44217c6da
2018-10-21 15:05:00 -06:00
Brian Hackett
650805afa6
Bug 1500805 Part 4 - Watch for bogus pointers when checking for constant compile time strings, r=mccr8.
...
--HG--
extra : rebase_source : 7517295161e729dabdeae940b8ba4569df8f7754
2018-10-21 15:04:18 -06:00
Brian Hackett
cb7d3c281c
Bug 1500805 Part 3 - Rewind instead of deadlocking when taking a lock held by an idle thread, r=mccr8.
...
--HG--
extra : rebase_source : 6d3dd61782990d5a80d0469f44cd5801faa1d6d1
2018-10-21 15:03:34 -06:00
Brian Hackett
f804910b86
Bug 1500805 Part 2 - Ensure non-main threads are idle when diverging from the recording, r=mccr8.
...
--HG--
extra : rebase_source : 0d9e1ae7f0bcda2631781cc4b4a73cee88e886c8
2018-10-21 15:02:32 -06:00
Brian Hackett
274519d9f8
Bug 1500805 Part 1 - Allow idle threads to be selectively resumed, r=mccr8.
...
--HG--
extra : rebase_source : a29ef7316aea2ce566023349639f489ff7b0d9b5
2018-10-21 15:01:54 -06:00
Brian Hackett
0ceed43834
Bug 1500697 - Redirect SCDynamicStore APIs, r=mccr8.
...
--HG--
extra : rebase_source : 16212915fc4f519cc851adca66a1c75449084395
2018-10-20 10:41:21 -06:00
Brian Hackett
d59167832b
Bug 1500690 - Relax compositor thread ID assertion, r=nical.
...
--HG--
extra : rebase_source : 8a45cb4265fd27ec20d56610398005ce849e1126
2018-10-20 09:23:36 -06:00
Brian Hackett
a4dfaf285f
Bug 1488453 - Use release mode assertions in HashTable, r=mccr8.
...
--HG--
extra : rebase_source : 95945068c173777a422f459ad46af91f3889d7cd
2018-10-20 09:22:11 -06:00
Haik Aftandilian
8ed0b32f70
Bug 1431441 - Part 7 - Relax WebReplay fcntl rules to avoid sqlite crash r=froydnj
...
Patch provided by Brian Hackett <bhackett@mozilla.com>.
Only allow a limited set of commands to be used when events are not
passed through and we are recording/replaying the outputs.
Depends on D8474
Differential Revision: https://phabricator.services.mozilla.com/D8475
--HG--
extra : moz-landing-system : lando
2018-10-18 20:53:48 +00:00
Brian Hackett
5df6d60bcd
Bug 1499828 Part 4 - Handle input events in the middleman when the active child is replaying, r=mccr8.
...
--HG--
extra : rebase_source : 626118f6f96da57ae1a76cbc9f16cd711f1514de
2018-10-17 13:32:34 -06:00
Brian Hackett
8cefe66b8d
Bug 1499828 Part 3 - Redraw the overlay when required, r=mccr8.
...
--HG--
extra : rebase_source : dc275641c80c674a9384acc8f101abbf8178be74
2018-10-17 13:32:19 -06:00
Brian Hackett
93fe98e776
Bug 1499828 Part 1 - Add API for getting the current recording position, r=mccr8.
...
--HG--
extra : rebase_source : c04a4504f9e46e4a727c724834f97c1d7dce2417
2018-10-17 13:30:52 -06:00
Brian Hackett
31aa4651c5
Bug 1499186 Part 3 - Don't show out of order graphics in the middleman, r=nical.
...
--HG--
extra : rebase_source : 82f679a8e0aedb9ce24c0a9c72517a4be4d9ba16
2018-10-17 10:43:32 -06:00
Brian Hackett
d0439afd07
Bug 1499186 Part 2 - Only allow one in flight paint at a time, r=nical.
...
--HG--
extra : rebase_source : 11e42fa3affbfef7d2ce9b87da26e42f3eb9183e
2018-10-17 10:32:13 -06:00
Brian Hackett
0ec2f258e7
Bug 1499186 Part 1 - Allow recording/replaying processes to ignore vsyncs, r=nical.
...
--HG--
extra : rebase_source : e36cb48b5a7ba3b4f2fc46fd68256b46801f0792
2018-10-17 10:18:50 -06:00
Brian Hackett
c1fc84be7c
Bug 1488808 Part 16 - Avoid deadlocking in a few places after diverging from the recording, r=froydnj.
...
--HG--
extra : rebase_source : 2327cd9632cdc9ace793f9e9fea666d95f305201
2018-10-17 10:15:41 -06:00
Brian Hackett
a54a40509f
Bug 1488808 Part 15 - Add repainting stress testing mode, r=mccr8.
...
--HG--
extra : rebase_source : e7ba0e8fbc8e3971b762ced1f6801d548cd1dd12
2018-10-17 10:10:22 -06:00