Changeset 190610 in webkit


Ignore:
Timestamp:
Oct 6, 2015 1:02:00 AM (9 years ago)
Author:
calvaris@igalia.com
Message:

JSBuiltinConstructor must always add builtin header
https://bugs.webkit.org/show_bug.cgi?id=149759

Reviewed by Darin Adler.

Covered by TestJSBuiltinConstructor.idl.

  • bindings/scripts/CodeGeneratorJS.pm:

(AddIncludesForJSBuiltinMethods): Forces adding the builtin header when the JSBuiltinConstructor is present.

  • bindings/scripts/test/JS/JSTestJSBuiltinConstructor.cpp: Expectation.
Location:
trunk/Source/WebCore
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/WebCore/ChangeLog

    r190608 r190610  
     12015-10-06  Xabier Rodriguez Calvar  <calvaris@igalia.com>
     2
     3        JSBuiltinConstructor must always add builtin header
     4        https://bugs.webkit.org/show_bug.cgi?id=149759
     5
     6        Reviewed by Darin Adler.
     7
     8        Covered by TestJSBuiltinConstructor.idl.
     9
     10        * bindings/scripts/CodeGeneratorJS.pm:
     11        (AddIncludesForJSBuiltinMethods): Forces adding the builtin header when the JSBuiltinConstructor is present.
     12        * bindings/scripts/test/JS/JSTestJSBuiltinConstructor.cpp: Expectation.
     13
    1142015-10-05  Youenn Fablet  <youenn.fablet@crf.canon.fr>
    215
  • trunk/Source/WebCore/bindings/scripts/CodeGeneratorJS.pm

    r190569 r190610  
    51165116    my $interface = shift;
    51175117
     5118    if ($interface->extendedAttributes->{"JSBuiltinConstructor"}) {
     5119        AddToImplIncludes($interface->name . "Builtins.h");
     5120        return 1;
     5121    }
     5122
    51185123    foreach my $function (@{$interface->functions}) {
    51195124        next unless ($function->signature->extendedAttributes->{"JSBuiltin"});
  • trunk/Source/WebCore/bindings/scripts/test/JS/JSTestJSBuiltinConstructor.cpp

    r190403 r190610  
    2323
    2424#include "JSDOMBinding.h"
     25#include "TestJSBuiltinConstructorBuiltins.h"
    2526#include <wtf/GetPtr.h>
    2627
Note: See TracChangeset for help on using the changeset viewer.