Changeset 217181 in webkit


Ignore:
Timestamp:
May 19, 2017 7:30:27 PM (7 years ago)
Author:
Chris Dumez
Message:

Consider not exposing webkitURL in workers
https://bugs.webkit.org/show_bug.cgi?id=172166

Reviewed by Geoffrey Garen.

Source/WebCore:

Drop webkitURL alias for URL in workers, to match other browsers. The risk should
be low given that this only impacts workers, we expose URL to workers and Blink
does not have this alias. We still support the webkitURL alias for URL on Window.

No new tests, rebaselined existing test.

  • workers/WorkerGlobalScope.idl:

LayoutTests:

Rebaseline existing test to reflect behavior change.

  • js/dom/global-constructors-attributes-dedicated-worker-expected.txt:
Location:
trunk
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • trunk/LayoutTests/ChangeLog

    r217176 r217181  
     12017-05-19  Chris Dumez  <cdumez@apple.com>
     2
     3        Consider not exposing webkitURL in workers
     4        https://bugs.webkit.org/show_bug.cgi?id=172166
     5
     6        Reviewed by Geoffrey Garen.
     7
     8        Rebaseline existing test to reflect behavior change.
     9
     10        * js/dom/global-constructors-attributes-dedicated-worker-expected.txt:
     11
    1122017-05-19  Jeremy Jones  <jeremyj@apple.com>
    213
  • trunk/LayoutTests/js/dom/global-constructors-attributes-dedicated-worker-expected.txt

    r215931 r217181  
    390390PASS [Worker] Object.getOwnPropertyDescriptor(global, 'XMLHttpRequestEventTarget').enumerable is false
    391391PASS [Worker] Object.getOwnPropertyDescriptor(global, 'XMLHttpRequestEventTarget').configurable is true
    392 PASS [Worker] Object.getOwnPropertyDescriptor(global, 'webkitURL').value is webkitURL
    393 PASS [Worker] Object.getOwnPropertyDescriptor(global, 'webkitURL').hasOwnProperty('get') is false
    394 PASS [Worker] Object.getOwnPropertyDescriptor(global, 'webkitURL').hasOwnProperty('set') is false
    395 PASS [Worker] Object.getOwnPropertyDescriptor(global, 'webkitURL').enumerable is false
    396 PASS [Worker] Object.getOwnPropertyDescriptor(global, 'webkitURL').configurable is true
    397392PASS successfullyParsed is true
    398393
  • trunk/Source/WebCore/ChangeLog

    r217180 r217181  
     12017-05-19  Chris Dumez  <cdumez@apple.com>
     2
     3        Consider not exposing webkitURL in workers
     4        https://bugs.webkit.org/show_bug.cgi?id=172166
     5
     6        Reviewed by Geoffrey Garen.
     7
     8        Drop webkitURL alias for URL in workers, to match other browsers. The risk should
     9        be low given that this only impacts workers, we expose URL to workers and Blink
     10        does not have this alias. We still support the webkitURL alias for URL on Window.
     11
     12        No new tests, rebaselined existing test.
     13
     14        * workers/WorkerGlobalScope.idl:
     15
    1162017-05-19  Youenn Fablet  <youenn@apple.com>
    217
  • trunk/Source/WebCore/workers/WorkerGlobalScope.idl

    r211594 r217181  
    4646    // Additional constructors
    4747
    48     attribute DOMURLConstructor webkitURL; // FIXME: deprecate this.
    49 
    5048    // FIXME: Automatically generate these once we can drop the IndexedDBWorkers runtime flag.
    5149    [Conditional=INDEXED_DATABASE_IN_WORKERS, EnabledAtRuntime=IndexedDBWorkers] attribute IDBCursorConstructor IDBCursor;
Note: See TracChangeset for help on using the changeset viewer.