Fix DetailsRow communication use connector IDs (#18493)
Details are now initialized when they are made visible. The old way of
requesting when seen caused a lot of problems when moving stuff around.
Now uses less communication, but reserves a bit extra resources due to
all details components being in the hierarchy.
Change-Id: I1c1163bdc306f5b86e5e0f6e2bbf2801e65c2243
This patch also adds some subpart awareness as well as deferred worker
interface to VFilterSelect to support running TB4 tests reliably.
Change-Id: I41f2af38f7eba2194aa49c8d7a0d13073166cddf
* Add grace period for showing the reconnect dialog
* Try to reconnect once immediately
* Stop reconnecting when application is stopped
* Make it possible and easy to replace the reconnect dialog
Change-Id: I6695e7473859827db9dd64cbd373696aeb5d27a5
Use same reconnect logic for Push as for XHR (#17075)
* No longer queue message separately in PushConnection
* Use XHR for client to server communication when using long polling (or streaming)
* Websocket is used for communication in both directions
Note that using XHR for client to server responses at the same time
as a push connection is open means we must take into account on the
client side that we may receive message in the wrong order. This
will be addressed in the following change.
Change-Id: I97706db3481379593e71dc5bb552727a0486692b
* XhrConnection internally manages the URI to send to
* send(JsonObject) now only takes the payload
* retry logic for status 0 removed for now
Change-Id: Ieca25df0ebe06773139b2bec7e9a2586df77b24d
Use counter in client to server messages to avoid duplicate handling (#11733)
An server message id counter is included in every client to server message and an
expected id is included in every server to client message. This makes it safe to
re-send any message when the client is not 100% sure the server has received the
message, without having to worry about double handling on the server side.
Change-Id: I840cc04829fc2491f35a0e6f98f07eaf46b1ea42
The event was some times fired and sometimes not when a response was received.
It will be replaced by the new error handler
Change-Id: I7fb00a473d20e62387122a8b240704561fbc294b
Even though the call to Profiler.enter would be eliminated by the
compiler, it would still include the string concatenation since it can't
prove it wouldn't have any side effects.
Change-Id: Iae3f6d18c409f019d2207d212d00ecb78078bc3e