Full background here: http://code.google.com/p/chromium/issues/detail?id=33441#makechanges The problem was this line: argv[0] = v8::String::New(allow ? "false" : "true"); since the JS function did "if (enable)" and treated the string as bool, it was always true.
Created attachment 49965 [details] Proposed patch
Comment on attachment 49965 [details] Proposed patch Type FTW
Thanks for the quick review!
Comment on attachment 49965 [details] Proposed patch Clearing flags on attachment: 49965 Committed r55513: <http://trac.webkit.org/changeset/55513>
All reviewed patches have been landed. Closing bug.