<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "https://bugs.webkit.org/page.cgi?id=bugzilla.dtd">

<bugzilla version="5.0.4.1"
          urlbase="https://bugs.webkit.org/"
          
          maintainer="admin@webkit.org"
>

    <bug>
          <bug_id>78434</bug_id>
          
          <creation_ts>2012-02-12 02:57:35 -0800</creation_ts>
          <short_desc>REGRESSION (r107498): broke two tests on GTK/Qt</short_desc>
          <delta_ts>2012-02-13 02:26:15 -0800</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>WebKit</product>
          <component>WebKitGTK</component>
          <version>528+ (Nightly build)</version>
          <rep_platform>Unspecified</rep_platform>
          <op_sys>Unspecified</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>P2</priority>
          <bug_severity>Normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Philippe Normand">pnormand</reporter>
          <assigned_to name="Nobody">webkit-unassigned</assigned_to>
          <cc>barraclough</cc>
    
    <cc>ossy</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>554803</commentid>
    <comment_count>0</comment_count>
    <who name="Philippe Normand">pnormand</who>
    <bug_when>2012-02-12 02:57:35 -0800</bug_when>
    <thetext>--- /home/slave/webkitgtk/gtk-linux-64-release/build/layout-test-results/fast/dom/Window/window-custom-prototype-expected.txt 
+++ /home/slave/webkitgtk/gtk-linux-64-release/build/layout-test-results/fast/dom/Window/window-custom-prototype-actual.txt 
@@ -3,12 +3,12 @@
 On success, you will see a series of &quot;PASS&quot; messages, followed by &quot;TEST COMPLETE&quot;.
 
 
-PASS __proto__ = window; __proto threw exception Error: cyclic __proto__ value.
-PASS __proto__ = chainPointingBackToWindow; __proto__ threw exception Error: cyclic __proto__ value.
-PASS __proto__ = 1; __proto__ is originalWindowPrototype
-PASS __proto__ = &apos;a string&apos;; __proto__ is originalWindowPrototype
+FAIL __proto__ = window; __proto should throw Error: cyclic __proto__ value. Threw exception ReferenceError: Can&apos;t find variable: __proto.
+FAIL __proto__ = chainPointingBackToWindow; __proto__ should throw Error: cyclic __proto__ value. Was [object Object].
+FAIL __proto__ = 1; __proto__ should be [object DOMWindowPrototype]. Was [object Object].
+FAIL __proto__ = &apos;a string&apos;; __proto__ should be [object DOMWindowPrototype]. Was [object Object].
 PASS __proto__ = anotherObject; __proto__ is anotherObject
-PASS anotherObject.__proto__ = window; __proto__ threw exception Error: cyclic __proto__ value.
+FAIL anotherObject.__proto__ = window; __proto__ should throw Error: cyclic __proto__ value. Was [object Object].
 PASS __proto__ = null; __proto__ is null
 PASS __proto__ = 1; __proto__ is null
 PASS __proto__ = &apos;a string&apos;; __proto__ is null

--- /home/slave/webkitgtk/gtk-linux-64-release/build/layout-test-results/http/tests/security/cross-frame-access-object-getPrototypeOf-expected.txt 
+++ /home/slave/webkitgtk/gtk-linux-64-release/build/layout-test-results/http/tests/security/cross-frame-access-object-getPrototypeOf-actual.txt 
@@ -1,9 +1,5 @@
-CONSOLE MESSAGE: Unsafe JavaScript attempt to access frame with URL http://localhost:8000/security/resources/cross-frame-iframe-for-object-getPrototypeOf-test.html from frame with URL http://127.0.0.1:8000/security/cross-frame-access-object-getPrototypeOf.html. Domains, protocols and ports must match.
-
-CONSOLE MESSAGE: Unsafe JavaScript attempt to access frame with URL http://localhost:8000/security/resources/cross-frame-iframe-for-object-getPrototypeOf-test.html from frame with URL http://127.0.0.1:8000/security/cross-frame-access-object-getPrototypeOf.html. Domains, protocols and ports must match.
-
 This tests that you can&apos;t get the prototype of the window or history objects cross-origin using Object.getPrototypeOf().
 
-PASS: Object.getPrototypeOf(targetWindow) should be &apos;undefined&apos; and is.
-PASS: Object.getPrototypeOf(targetWindow.history) should be &apos;undefined&apos; and is.
+*** FAIL: Object.getPrototypeOf(targetWindow) should be &apos;undefined&apos; but instead is [object DOMWindowPrototype]. ***
+*** FAIL: Object.getPrototypeOf(targetWindow.history) should be &apos;undefined&apos; but instead is [object HistoryPrototype]. ***</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>554804</commentid>
    <comment_count>1</comment_count>
    <who name="Philippe Normand">pnormand</who>
    <bug_when>2012-02-12 03:02:08 -0800</bug_when>
    <thetext>Mac is also affected by this regression.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>554824</commentid>
    <comment_count>2</comment_count>
    <who name="Csaba Osztrogonác">ossy</who>
    <bug_when>2012-02-12 10:38:18 -0800</bug_when>
    <thetext>I think these are not regression, but progression and these tests needs to be updated. I&apos;ll check them.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>554826</commentid>
    <comment_count>3</comment_count>
    <who name="Gavin Barraclough">barraclough</who>
    <bug_when>2012-02-12 10:51:43 -0800</bug_when>
    <thetext>(In reply to comment #2)
&gt; I think these are not regression, but progression and these tests needs to be updated. I&apos;ll check them.

Hey Ossy, let me take a look at these.  The first is probably largely a progression, but I might add a couple of extra tests, but the latter is probably a genuine regression I introduced.  Will fix.

cheers,
G.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>555112</commentid>
    <comment_count>4</comment_count>
    <who name="Gavin Barraclough">barraclough</who>
    <bug_when>2012-02-13 01:29:50 -0800</bug_when>
    <thetext>I&apos;ve temporarily reverted r107498 to easy time pressure, will re-land with these tests passing.
Fixed in r107544.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>555129</commentid>
    <comment_count>5</comment_count>
    <who name="Csaba Osztrogonác">ossy</who>
    <bug_when>2012-02-13 02:26:15 -0800</bug_when>
    <thetext>(In reply to comment #4)
&gt; I&apos;ve temporarily reverted r107498 to easy time pressure, will re-land with these tests passing.
&gt; Fixed in r107544.

Thanks, I reverted followup expected updates too - http://trac.webkit.org/changeset/107552</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>