Re: [whatwg] Spec for location object needs to make some properties unforgeable; need supporting WebIDL changes

On Tue, Sep 25, 2012 at 10:10 AM, Ms2ger <ms2ger@gmail.com> wrote:
> On 09/25/2012 06:54 PM, Adam Barth wrote:
>>
>> On Mon, Sep 24, 2012 at 11:31 PM, Boris Zbarsky <bzbarsky@mit.edu> wrote:
>> Here are a couple test suites that might be helpful:
>>
>> http://trac.webkit.org/browser/trunk/LayoutTests/fast/dom/Window/Location
>>
>> In particular the location-override-* and location-shadow-* tests.
>> Also http://webblaze.cs.berkeley.edu/tests/window-location/ has a test
>> suite (which might overlap substantially with the former).
>
> It would be really nice if we could reuse those tests in the conformance
> test suite. Do you know about their copyright status?

Yes.  The ones in the WebKit repository are covered by
<http://www.webkit.org/coding/bsd-license.html>.  I wrote the ones on
webblaze.cs.berkeley.edu.  Anyone is welcome to use them under the
following license:

Copyright (C) 2009 Adam Barth. All rights reserved.

Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions are
met:

1. Redistributions of source code must retain the above copyright
notice, this list of conditions and the following disclaimer.

2. Redistributions in binary form must reproduce the above copyright
notice, this list of conditions and the following disclaimer in the
documentation and/or other materials provided with the distribution.

THIS SOFTWARE IS PROVIDED BY ADAM BARTH AND ITS CONTRIBUTORS “AS IS”
AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO,
THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL ADAM BARTH OR ITS
CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF
LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.

Received on Tuesday, 25 September 2012 17:16:27 UTC