builder.Append(func_length > 0 ? "set " : "get ");
I don't know if there is a better way to do this...
Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |
shouldBe("targetWindow.focus.name", "''");
This changes the test back to what matches Webkit's version (which I think captures the original intent of the test case).
Code-Review | +1 |
${info}.GetIsolate(), attribute.name, attribute.get_callback, 0,
As an alternative (if you like), I think we can pass `"get {}".format(attribute.name)` here. Then we don't need a runtime string calculation.
Keep 79-column rule in Python if applied.
${info}.GetIsolate(), operation.name, operation.callback, operation.func_length,
style nit: 79-column rule in Python.
builder.Append(func_length > 0 ? "set " : "get ");
I don't know if there is a better way to do this...
Given this is an IDL attribute, I think this is fine.
shouldBe("targetWindow.focus.name", "''");
This changes the test back to what matches Webkit's version (which I think captures the original intent of the test case).
Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |
Code-Review | +1 |
Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |
Commit-Queue | +2 |
${info}.GetIsolate(), attribute.name, attribute.get_callback, 0,
As an alternative (if you like), I think we can pass `"get {}".format(attribute.name)` here. Then we don't need a runtime string calculation.
Keep 79-column rule in Python if applied.
We can't python format the attribute.name because it is a variable from kCrossOriginAttributeTable. So left it as it is. We could add multiple varaibles to that table but I think this is ok.
${info}.GetIsolate(), operation.name, operation.callback, operation.func_length,
style nit: 79-column rule in Python.
Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |
3 is the latest approved patch-set.
The change was submitted with unreviewed changes in the following files:
```
The name of the file: third_party/blink/renderer/bindings/scripts/bind_gen/interface.py
Insertions: 2, Deletions: 2.
@@ -4081,8 +4081,8 @@
continue;
v8::Local<v8::Function> function;
if (!bindings::GetCrossOriginFunction(
- ${info}.GetIsolate(), operation.name, operation.callback, operation.func_length,
- ${class_name}::GetWrapperTypeInfo())
+ ${info}.GetIsolate(), operation.name, operation.callback,
+ operation.func_length, ${class_name}::GetWrapperTypeInfo())
.ToLocal(&function)) {
// Exception was thrown which means that the request was intercepted.
return v8::Intercepted::kYes;
```
[bindings] Fix names on anonymous cross origin functions
The name on the functions was the empty string. This fixes 4
WPT tests.
Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |