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

Issue 26397003: Disable spawnFunction from dom enabled isolates (Closed)

Created:
7 years, 2 months ago by vsm
Modified:
7 years, 2 months ago
Reviewers:
ricow1, siva
CC:
reviews+dom_dartlang.org
Visibility:
Public.

Description

Disable spawnFunction from dom enabled isolates R=asiva@google.com Committed: https://src.chromium.org/viewvc/multivm?view=rev&revision=1423

Patch Set 1 #

Total comments: 2

Patch Set 2 : Address comments #

Total comments: 1
Unified diffs Side-by-side diffs Delta from patch set Stats (+10 lines, -3 lines) Patch
M Source/bindings/dart/DartController.cpp View 1 3 chunks +10 lines, -3 lines 1 comment Download

Messages

Total messages: 5 (0 generated)
vsm
7 years, 2 months ago (2013-10-08 23:23:23 UTC) #1
siva
LGTM for now, we need to change the callback API to include an boolean. https://chromiumcodereview.appspot.com/26397003/diff/1/Source/bindings/dart/DartController.cpp ...
7 years, 2 months ago (2013-10-08 23:46:32 UTC) #2
vsm
https://chromiumcodereview.appspot.com/26397003/diff/1/Source/bindings/dart/DartController.cpp File Source/bindings/dart/DartController.cpp (right): https://chromiumcodereview.appspot.com/26397003/diff/1/Source/bindings/dart/DartController.cpp#newcode357 Source/bindings/dart/DartController.cpp:357: // Hacky way to find out if it's spawnFunction ...
7 years, 2 months ago (2013-10-09 04:48:35 UTC) #3
vsm
Committed patchset #2 manually as r1423 (presubmit successful).
7 years, 2 months ago (2013-10-09 16:24:43 UTC) #4
ricow1
7 years, 2 months ago (2013-10-11 11:08:37 UTC) #5
Message was sent while issue was closed.
https://codereview.chromium.org/26397003/diff/5001/Source/bindings/dart/DartC...
File Source/bindings/dart/DartController.cpp (right):

https://codereview.chromium.org/26397003/diff/5001/Source/bindings/dart/DartC...
Source/bindings/dart/DartController.cpp:384:
DartUtilities::reportProblem(context, "spawnFunction is not supported from a
dom-enabled isolate.  Please use spawnUri instead.");
Why don't we throw an exception here? This is messing up testing scripts since
the actual script will keep running, just sending more and more of these in many
cases - and with no way for the unittest framework to actually report something
sane to the user (i.e., we don't ever see this in the dart code.)

Powered by Google App Engine
This is Rietveld 408576698