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

Issue 2728303006: Add AllowUserAgentScript to WebFrame::callFunctionEvenIfScriptDisabled. (Closed)

Created:
3 years, 9 months ago by dgozman
Modified:
3 years, 8 months ago
Reviewers:
haraken
CC:
chromium-reviews, blink-reviews, kinuko+watch
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Add AllowUserAgentScript to WebFrame::callFunctionEvenIfScriptDisabled. This whole method looks like a workaround, and it hits DCHECK sometimes because of ScriptForbiddenScope on the stack. It's only used in tests and extensions which need to execute code no matter what so adding an exception here will prevent unnecessary checks. BUG=697536

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+1 line, -0 lines) Patch
M third_party/WebKit/Source/web/WebLocalFrameImpl.cpp View 1 chunk +1 line, -0 lines 0 comments Download

Messages

Total messages: 7 (5 generated)
dgozman
Could you please take a look?
3 years, 9 months ago (2017-03-08 03:01:18 UTC) #6
haraken
3 years, 9 months ago (2017-03-08 06:01:30 UTC) #7
LGTM

Powered by Google App Engine
This is Rietveld 408576698