Changeset 109574 in webkit


Ignore:
Timestamp:
Mar 2, 2012 7:14:47 AM (12 years ago)
Author:
commit-queue@webkit.org
Message:

Rename DOMURL to URL in the bindings
https://bugs.webkit.org/show_bug.cgi?id=78214

Patch by Kaustubh Atrawalkar <Kaustubh Atrawalkar> on 2012-03-02
Reviewed by Kentaro Hara.

Source/WebCore:

No new tests. Interface name change.

  • html/DOMURL.idl: Added InterfaceName attribute to DOMURL.

LayoutTests:

  • fast/files/domurl-script-execution-context-crash-expected.txt:
  • fast/files/domurl-script-execution-context-crash.html:
  • fast/js/constructor-length.html:
  • platform/gtk/fast/dom/prototype-inheritance-2-expected.txt:
  • platform/gtk/fast/js/constructor-length-expected.txt:
  • platform/gtk/fast/js/global-constructors-expected.txt:
  • platform/mac/fast/dom/prototype-inheritance-2-expected.txt:
  • platform/mac/fast/js/constructor-length-expected.txt:
  • platform/mac/fast/js/global-constructors-expected.txt:
  • platform/qt/fast/dom/prototype-inheritance-2-expected.txt:
  • platform/qt/fast/js/global-constructors-expected.txt:
Location:
trunk
Files:
14 edited

Legend:

Unmodified
Added
Removed
  • trunk/LayoutTests/ChangeLog

    r109573 r109574  
     12012-03-02  Kaustubh Atrawalkar  <kaustubh@motorola.com>
     2
     3        Rename DOMURL to URL in the bindings
     4        https://bugs.webkit.org/show_bug.cgi?id=78214
     5
     6        Reviewed by Kentaro Hara.
     7
     8        * fast/files/domurl-script-execution-context-crash-expected.txt:
     9        * fast/files/domurl-script-execution-context-crash.html:
     10        * fast/js/constructor-length.html:
     11        * platform/gtk/fast/dom/prototype-inheritance-2-expected.txt:
     12        * platform/gtk/fast/js/constructor-length-expected.txt:
     13        * platform/gtk/fast/js/global-constructors-expected.txt:
     14        * platform/mac/fast/dom/prototype-inheritance-2-expected.txt:
     15        * platform/mac/fast/js/constructor-length-expected.txt:
     16        * platform/mac/fast/js/global-constructors-expected.txt:
     17        * platform/qt/fast/dom/prototype-inheritance-2-expected.txt:
     18        * platform/qt/fast/js/global-constructors-expected.txt:
     19
    1202012-03-02  Roland Steiner  <rolandsteiner@chromium.org>
    221
  • trunk/LayoutTests/fast/files/domurl-script-execution-context-crash-expected.txt

    r77914 r109574  
    1 PASS: null security context for DOMURL did not crash
     1PASS: null security context for URL did not crash
  • trunk/LayoutTests/fast/files/domurl-script-execution-context-crash.html

    r77914 r109574  
    66        e.apply(w, ['webkitURL']);
    77    } catch (ex) { }
    8     document.body.innerHTML = "PASS: null security context for DOMURL did not crash";
     8    document.body.innerHTML = "PASS: null security context for URL did not crash";
    99    if (window.layoutTestController)
    1010        layoutTestController.notifyDone();
  • trunk/LayoutTests/fast/js/constructor-length.html

    r109035 r109574  
    1515shouldBe('DOMFormData.length', '0');
    1616shouldBe('DOMParser.length', '0');
    17 shouldBe('DOMURL.length', '0');
    1817shouldBe('DataView.length', '3');
    1918shouldBe('ErrorEvent.length', '2');
     
    5655shouldBe('WebSocket.length', '1');
    5756shouldBe('Worker.length', '1');
     57shouldBe('webkitURL.length', '0');
    5858shouldBe('XMLHttpRequest.length', '0');
    5959shouldBe('XMLSerializer.length', '0');
  • trunk/LayoutTests/platform/gtk/fast/dom/prototype-inheritance-2-expected.txt

    r109520 r109574  
    243243Never found DOMSettableTokenList
    244244Never found DOMStringList
    245 Never found DOMURL
    246245Never found Document
    247246Never found DocumentFragment
     
    453452Never found TextTrackCueList
    454453Never found TextTrackList
     454Never found URL
    455455Never found WebKitCSSMatrix
    456456Never found WebKitCSSRegionRule
  • trunk/LayoutTests/platform/gtk/fast/js/constructor-length-expected.txt

    r109083 r109574  
    1111FAIL DOMFormData.length should be 0. Threw exception ReferenceError: Can't find variable: DOMFormData
    1212PASS DOMParser.length is 0
    13 FAIL DOMURL.length should be 0. Threw exception ReferenceError: Can't find variable: DOMURL
    1413PASS DataView.length is 3
    1514PASS ErrorEvent.length is 2
     
    5251PASS WebSocket.length is 1
    5352PASS Worker.length is 1
     53PASS webkitURL.length is 0
    5454PASS XMLHttpRequest.length is 0
    5555PASS XMLSerializer.length is 0
  • trunk/LayoutTests/platform/gtk/fast/js/global-constructors-expected.txt

    r109520 r109574  
    337337PASS XSLTProcessor.toString() is '[object XSLTProcessorConstructor]'
    338338FAIL webkitPeerConnection.toString() should be [object webkitPeerConnectionConstructor]. Was [object PeerConnectionConstructor].
    339 FAIL webkitURL.toString() should be [object webkitURLConstructor]. Was [object DOMURLConstructor].
     339FAIL webkitURL.toString() should be [object webkitURLConstructor]. Was [object URLConstructor].
    340340PASS successfullyParsed is true
    341341
  • trunk/LayoutTests/platform/mac/fast/dom/prototype-inheritance-2-expected.txt

    r109306 r109574  
    246246Never found DOMSettableTokenList
    247247Never found DOMStringList
    248 Never found DOMURL
    249248Never found Document
    250249Never found DocumentFragment
     
    455454Never found TextTrackCueList
    456455Never found WebKitCSSFilterValue
     456Never found URL
    457457Never found WebKitCSSMatrix
    458458Never found WebKitCSSRegionRule
  • trunk/LayoutTests/platform/mac/fast/js/constructor-length-expected.txt

    r109035 r109574  
    1111FAIL DOMFormData.length should be 0. Threw exception ReferenceError: Can't find variable: DOMFormData
    1212PASS DOMParser.length is 0
    13 FAIL DOMURL.length should be 0. Threw exception ReferenceError: Can't find variable: DOMURL
    1413PASS DataView.length is 3
    1514PASS ErrorEvent.length is 2
     
    5251PASS WebSocket.length is 1
    5352PASS Worker.length is 1
     53PASS webkitURL.length is 0
    5454PASS XMLHttpRequest.length is 0
    5555PASS XMLSerializer.length is 0
  • trunk/LayoutTests/platform/mac/fast/js/global-constructors-expected.txt

    r108729 r109574  
    338338FAIL webkitAudioContext.toString() should be [object webkitAudioContextConstructor]. Was [object AudioContextConstructor].
    339339FAIL webkitAudioPannerNode.toString() should be [object webkitAudioPannerNodeConstructor]. Was [object AudioPannerNodeConstructor].
    340 FAIL webkitURL.toString() should be [object webkitURLConstructor]. Was [object DOMURLConstructor].
     340FAIL webkitURL.toString() should be [object webkitURLConstructor]. Was [object URLConstructor].
    341341PASS successfullyParsed is true
    342342
  • trunk/LayoutTests/platform/qt/fast/dom/prototype-inheritance-2-expected.txt

    r109553 r109574  
    243243Never found DOMSettableTokenList
    244244Never found DOMStringList
    245 Never found DOMURL
    246245Never found Document
    247246Never found DocumentFragment
     
    436435Never found TextMetrics
    437436Never found WebKitCSSFilterValue
     437Never found URL
    438438Never found WebKitCSSMatrix
    439439Never found WebKitCSSRegionRule
  • trunk/LayoutTests/platform/qt/fast/js/global-constructors-expected.txt

    r109553 r109574  
    318318PASS XPathResult.toString() is '[object XPathResultConstructor]'
    319319PASS XSLTProcessor.toString() is '[object XSLTProcessorConstructor]'
    320 FAIL webkitURL.toString() should be [object webkitURLConstructor]. Was [object DOMURLConstructor].
     320FAIL webkitURL.toString() should be [object webkitURLConstructor]. Was [object URLConstructor].
    321321PASS successfullyParsed is true
    322322
  • trunk/Source/WebCore/ChangeLog

    r109573 r109574  
     12012-03-02  Kaustubh Atrawalkar  <kaustubh@motorola.com>
     2
     3        Rename DOMURL to URL in the bindings
     4        https://bugs.webkit.org/show_bug.cgi?id=78214
     5
     6        Reviewed by Kentaro Hara.
     7
     8        No new tests. Interface name change.
     9
     10        * html/DOMURL.idl: Added InterfaceName attribute to DOMURL.
     11
    1122012-03-02  Roland Steiner  <rolandsteiner@chromium.org>
    213
  • trunk/Source/WebCore/html/DOMURL.idl

    r109210 r109574  
    3131        JSGenerateToNativeObject,
    3232        JSGenerateToJSObject,
    33         JSNoStaticTables
     33        JSNoStaticTables,
     34        InterfaceName=URL
    3435    ] DOMURL {
    3536#if defined(ENABLE_MEDIA_STREAM) && ENABLE_MEDIA_STREAM
Note: See TracChangeset for help on using the changeset viewer.