зеркало из https://github.com/mozilla/gecko-dev.git
servo: Merge #8818 - Make IPC image cache listener silently drop failures instead of catas… (from jdm:imagepanic); r=Manishearth
…trophically panicking. Resolves #8817. Source-Repo: https://github.com/servo/servo Source-Revision: 39a36a0098fd27230de1e1a3be835a7af589df2a
This commit is contained in:
Родитель
68a759bf6a
Коммит
cdcb0691de
|
@ -117,8 +117,8 @@ impl HTMLImageElement {
|
|||
let runnable = ImageResponseHandlerRunnable::new(
|
||||
trusted_node.clone(), image_response);
|
||||
let runnable = wrapper.wrap_runnable(runnable);
|
||||
script_chan.send(CommonScriptMsg::RunnableMsg(
|
||||
UpdateReplacedElement, runnable)).unwrap();
|
||||
let _ = script_chan.send(CommonScriptMsg::RunnableMsg(
|
||||
UpdateReplacedElement, runnable));
|
||||
});
|
||||
|
||||
image_cache.request_image(img_url,
|
||||
|
|
Загрузка…
Ссылка в новой задаче