Changeset 113082 in webkit


Ignore:
Timestamp:
Apr 3, 2012 1:40:36 PM (12 years ago)
Author:
msaboff@apple.com
Message:

Frequent crashes in JSC::parse in a worker thread when running regression tests
https://bugs.webkit.org/show_bug.cgi?id=82660

Reviewed by Geoffrey Garen.

Source/WebCore:

Initialize m_script to empty string. Therefore if there isn't any script payload,
the worker thread will see an empty string, not a null string.

Re-enabling fast/workers/empty-worker-nocrash.html and
fast/workers/shared-worker-constructor.html tests as part of this patch.

  • workers/WorkerScriptLoader.cpp:

(WebCore::WorkerScriptLoader::WorkerScriptLoader):

LayoutTests:

Re-enable fast/workers/empty-worker-nocrash.html and
fast/workers/shared-worker-constructor.html with corresponding fix.

  • platform/mac/Skipped:
Location:
trunk
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • trunk/LayoutTests/ChangeLog

    r113076 r113082  
     12012-04-03  Michael Saboff  <msaboff@apple.com>
     2
     3        Frequent crashes in JSC::parse in a worker thread when running regression tests
     4        https://bugs.webkit.org/show_bug.cgi?id=82660
     5
     6        Reviewed by Geoffrey Garen.
     7
     8        Re-enable fast/workers/empty-worker-nocrash.html and
     9        fast/workers/shared-worker-constructor.html with corresponding fix.
     10
     11        * platform/mac/Skipped:
     12
    1132012-04-02  Robert Hogan  <robert@webkit.org>
    214
  • trunk/LayoutTests/platform/mac/Skipped

    r112998 r113082  
    646646editing/spelling/spellcheck-async-mutation.html
    647647
    648 # Remove from the skipped list when https://bugs.webkit.org/show_bug.cgi?id=82660 is fixed.
    649 fast/workers/empty-worker-nocrash.html
    650 fast/workers/shared-worker-constructor.html
    651 
    652648# This should only be a layer change.
    653649# http://webkit.org/b/82129
  • trunk/Source/WebCore/ChangeLog

    r113081 r113082  
     12012-04-03  Michael Saboff  <msaboff@apple.com>
     2
     3        Frequent crashes in JSC::parse in a worker thread when running regression tests
     4        https://bugs.webkit.org/show_bug.cgi?id=82660
     5
     6        Reviewed by Geoffrey Garen.
     7
     8        Initialize m_script to empty string.  Therefore if there isn't any script payload,
     9        the worker thread will see an empty string, not a null string.
     10
     11        Re-enabling fast/workers/empty-worker-nocrash.html and
     12        fast/workers/shared-worker-constructor.html tests as part of this patch.
     13
     14        * workers/WorkerScriptLoader.cpp:
     15        (WebCore::WorkerScriptLoader::WorkerScriptLoader):
     16
    1172012-04-03  James Robinson  <jamesr@chromium.org>
    218
  • trunk/Source/WebCore/workers/WorkerScriptLoader.cpp

    r110023 r113082  
    4949WorkerScriptLoader::WorkerScriptLoader()
    5050    : m_client(0)
     51    , m_script("")
    5152    , m_failed(false)
    5253    , m_identifier(0)
Note: See TracChangeset for help on using the changeset viewer.