Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(223)

Issue 181843003: Don't ignore OOM exceptions. (Closed)

Created:
6 years, 10 months ago by jochen (gone - plz use gerrit)
Modified:
6 years, 9 months ago
Reviewers:
haraken, dcarney, yurys
CC:
blink-reviews, Nils Barth (inactive), kojih, arv+blink, jsbell+bindings_chromium.org, sof, abarth-chromium, marja+watch_chromium.org, adamk+blink_chromium.org, Nate Chapin, Inactive
Visibility:
Public.

Description

Don't ignore OOM exceptions. A few years back, we wanted to show an infobar if V8 runs out of memory. However, there are many places that don't check whether V8 is OOM and just crash if they get empty handles back. Also, there isn't really much we can savely do other than crash. BUG=347124, 347724 R=dcarney@chromium.org,haraken@chromium.org,yurys@chromium.org Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=169029

Patch Set 1 #

Patch Set 2 : updates #

Patch Set 3 : rebase #

Unified diffs Side-by-side diffs Delta from patch set Stats (+5 lines, -66 lines) Patch
M Source/bindings/v8/ScriptController.h View 1 2 chunks +0 lines, -2 lines 0 comments Download
M Source/bindings/v8/ScriptController.cpp View 1 2 1 chunk +3 lines, -13 lines 0 comments Download
M Source/bindings/v8/V8AbstractEventListener.cpp View 1 2 1 chunk +0 lines, -2 lines 0 comments Download
M Source/bindings/v8/V8Binding.cpp View 1 2 2 chunks +0 lines, -23 lines 0 comments Download
M Source/bindings/v8/V8Initializer.cpp View 1 2 1 chunk +0 lines, -1 line 0 comments Download
M Source/bindings/v8/V8ScriptRunner.cpp View 1 2 chunks +0 lines, -6 lines 0 comments Download
M Source/bindings/v8/V8WindowShell.h View 1 2 1 chunk +1 line, -1 line 0 comments Download
M Source/bindings/v8/V8WindowShell.cpp View 1 2 1 chunk +1 line, -4 lines 0 comments Download
M Source/core/loader/FrameLoaderClient.h View 1 2 1 chunk +0 lines, -2 lines 0 comments Download
M Source/web/FrameLoaderClientImpl.h View 1 2 1 chunk +0 lines, -3 lines 0 comments Download
M Source/web/FrameLoaderClientImpl.cpp View 1 2 1 chunk +0 lines, -6 lines 0 comments Download
M public/web/WebFrameClient.h View 1 2 1 chunk +0 lines, -3 lines 0 comments Download

Messages

Total messages: 11 (0 generated)
jochen (gone - plz use gerrit)
6 years, 10 months ago (2014-02-26 19:31:24 UTC) #1
haraken
LGTM Also you might want to consider removing handleOutOfMemory() in V8Binding.cpp. It won't be necessary ...
6 years, 10 months ago (2014-02-26 22:45:04 UTC) #2
yurys
Don't we want to show such infobar/some other indicator this time. Without it the crash ...
6 years, 9 months ago (2014-02-27 11:09:32 UTC) #3
jochen (gone - plz use gerrit)
On 2014/02/27 11:09:32, yurys wrote: > Don't we want to show such infobar/some other indicator ...
6 years, 9 months ago (2014-02-27 12:04:09 UTC) #4
yurys
On 2014/02/27 12:04:09, jochen (OOO from March 1) wrote: > On 2014/02/27 11:09:32, yurys wrote: ...
6 years, 9 months ago (2014-02-27 12:24:25 UTC) #5
jochen (gone - plz use gerrit)
On 2014/02/27 12:24:25, yurys wrote: > On 2014/02/27 12:04:09, jochen (OOO from March 1) wrote: ...
6 years, 9 months ago (2014-02-27 12:36:23 UTC) #6
yurys
On 2014/02/27 12:36:23, jochen (OOO from March 1) wrote: > On 2014/02/27 12:24:25, yurys wrote: ...
6 years, 9 months ago (2014-02-27 13:42:30 UTC) #7
jochen (gone - plz use gerrit)
The CQ bit was checked by jochen@chromium.org
6 years, 9 months ago (2014-03-12 15:00:49 UTC) #8
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/jochen@chromium.org/181843003/40001
6 years, 9 months ago (2014-03-12 15:00:56 UTC) #9
jochen (gone - plz use gerrit)
Glen approved the ui change.
6 years, 9 months ago (2014-03-12 15:01:21 UTC) #10
commit-bot: I haz the power
6 years, 9 months ago (2014-03-12 16:11:47 UTC) #11
Message was sent while issue was closed.
Change committed as 169029

Powered by Google App Engine
This is Rietveld 408576698