⚠ Archived content — this site is no longer maintained.   Current WebKit documentation is at docs.webkit.org.

Changeset 135871 in webkit


Ignore:
Timestamp:
Nov 27, 2012, 9:59:01 AM (14 years ago)
Author:
commit-queue@webkit.org
Message:

Fix world-reuse test for mac build
​https://bugs.webkit.org/show_bug.cgi?id=103385

Patch by Dan Carney <​dcarney@google.com> on 2012-11-27
Reviewed by Jochen Eisinger.

Mac and chrome builds have different expectations for where
an isolated world is executed.

  • http/tests/security/isolatedWorld/world-reuse.html:
Location:
trunk/LayoutTests
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/LayoutTests/ChangeLog

    r135870 r135871  
     12012-11-27  Dan Carney  <dcarney@google.com>
     2
     3        Fix world-reuse test for mac build
     4        https://bugs.webkit.org/show_bug.cgi?id=103385
     5
     6        Reviewed by Jochen Eisinger.
     7
     8        Mac and chrome builds have different expectations for where
     9        an isolated world is executed.
     10
     11        * http/tests/security/isolatedWorld/world-reuse.html:
     12
    1132012-11-27  Robert Kroeger  <rjkroege@chromium.org>
    214
  • trunk/LayoutTests/http/tests/security/isolatedWorld/world-reuse.html

    r135765 r135871  
    3434    // Isolated world executing in frame should be able to to access parent content.
    3535    testRunner.evaluateScriptInIsolatedWorld(1,
    36       "parent.document.body.appendChild(parent.document.createTextNode('Expecting true: ' + (parent.frames[0].document == this.document)));" +
     36      "parent.document.body.appendChild(parent.document.createTextNode('Expecting true: ' + !!parent.frames[0].document.getElementById('output')));" +
    3737      "parent.document.body.appendChild(parent.document.createElement('br'));");
    3838
Note: See TracChangeset for help on using the changeset viewer.