Title: [145579] branches/safari-536.30-branch

Diff

Modified: branches/safari-536.30-branch/LayoutTests/ChangeLog (145578 => 145579)


--- branches/safari-536.30-branch/LayoutTests/ChangeLog	2013-03-12 20:38:26 UTC (rev 145578)
+++ branches/safari-536.30-branch/LayoutTests/ChangeLog	2013-03-12 21:04:42 UTC (rev 145579)
@@ -1,3 +1,27 @@
+2013-03-12  Lucas Forschler  <lforsch...@apple.com>
+
+        Merge r123145
+
+    2012-07-19  Erik Arvidsson  <a...@chromium.org>
+
+            Window top should not be replaceable
+            https://bugs.webkit.org/show_bug.cgi?id=91755
+
+            Reviewed by Adam Barth.
+
+            Window top is readonly and unforgable and should not be replaceable.
+
+            http://www.whatwg.org/specs/web-apps/current-work/multipage/browsers.html#the-window-object
+
+            This change brings JSC inline with all other browsers.
+
+            * fast/dom/Window/get-set-properties-expected.txt:
+            * fast/dom/Window/get-set-properties.html:
+            * fast/dom/Window/window-property-shadowing-expected.txt:
+            * fast/dom/Window/window-property-shadowing.html:
+            * platform/chromium/fast/dom/Window/get-set-properties-expected.txt: Removed.
+            * platform/chromium/fast/dom/Window/window-property-shadowing-expected.txt: Removed.
+
 2013-02-06  Lucas Forschler  <lforsch...@apple.com>
 
         We don't have the text-based repaint test harness on the branch.

Modified: branches/safari-536.30-branch/LayoutTests/fast/dom/Window/get-set-properties-expected.txt (145578 => 145579)


--- branches/safari-536.30-branch/LayoutTests/fast/dom/Window/get-set-properties-expected.txt	2013-03-12 20:38:26 UTC (rev 145578)
+++ branches/safari-536.30-branch/LayoutTests/fast/dom/Window/get-set-properties-expected.txt	2013-03-12 21:04:42 UTC (rev 145579)
@@ -263,8 +263,6 @@
 PASS: canSet('statusbar') should be 'true' and is.
 PASS: canGet('toolbar') should be 'true' and is.
 PASS: canSet('toolbar') should be 'true' and is.
-PASS: canGet('top') should be 'true' and is.
-PASS: canSet('top') should be 'true' and is.
 
 ----- tests for getting/setting readonly properties -----
 
@@ -278,6 +276,8 @@
 PASS: canSet('pageYOffset') should be 'false' and is.
 PASS: canGet('window') should be 'true' and is.
 PASS: canSet('window') should be 'false' and is.
+PASS: canGet('top') should be 'true' and is.
+PASS: canSet('top') should be 'false' and is.
 
 ----- tests for getting/setting string properties -----
 

Modified: branches/safari-536.30-branch/LayoutTests/fast/dom/Window/get-set-properties.html (145578 => 145579)


--- branches/safari-536.30-branch/LayoutTests/fast/dom/Window/get-set-properties.html	2013-03-12 20:38:26 UTC (rev 145578)
+++ branches/safari-536.30-branch/LayoutTests/fast/dom/Window/get-set-properties.html	2013-03-12 21:04:42 UTC (rev 145579)
@@ -198,8 +198,7 @@
     "scrollbars",
     "self",
     "statusbar",
-    "toolbar",
-    "top"
+    "toolbar"
 ];
 
 var windowReadOnlyProperties = [
@@ -207,7 +206,8 @@
     "document",
     "pageXOffset",
     "pageYOffset",
-    "window"
+    "window",
+    "top"
 ];
 
 var windowReadWriteStringProperties = [

Modified: branches/safari-536.30-branch/LayoutTests/fast/dom/Window/window-property-shadowing-expected.txt (145578 => 145579)


--- branches/safari-536.30-branch/LayoutTests/fast/dom/Window/window-property-shadowing-expected.txt	2013-03-12 20:38:26 UTC (rev 145578)
+++ branches/safari-536.30-branch/LayoutTests/fast/dom/Window/window-property-shadowing-expected.txt	2013-03-12 21:04:42 UTC (rev 145579)
@@ -28,7 +28,6 @@
 PASS: scrollX successfully shadowed
 PASS: scrollY successfully shadowed
 PASS: self successfully shadowed
-PASS: top successfully shadowed
 PASS: history successfully shadowed
 PASS: getSelection successfully shadowed
 PASS: getComputedStyle successfully shadowed

Modified: branches/safari-536.30-branch/LayoutTests/fast/dom/Window/window-property-shadowing.html (145578 => 145579)


--- branches/safari-536.30-branch/LayoutTests/fast/dom/Window/window-property-shadowing.html	2013-03-12 20:38:26 UTC (rev 145578)
+++ branches/safari-536.30-branch/LayoutTests/fast/dom/Window/window-property-shadowing.html	2013-03-12 21:04:42 UTC (rev 145579)
@@ -75,8 +75,6 @@
         log(scrollY == 1 ? "PASS: scrollY successfully shadowed" : "FAIL: scrollY was not shadowed");
         var self = 1;
         log(self == 1 ? "PASS: self successfully shadowed" : "FAIL: self was not shadowed");
-        var top = 1;
-        log(top == 1 ? "PASS: top successfully shadowed" : "FAIL: top was not shadowed");
         var history = 1;
         log(history == 1 ? "PASS: history successfully shadowed" : "FAIL: history was not shadowed");
 

Deleted: branches/safari-536.30-branch/LayoutTests/platform/chromium/fast/dom/Window/get-set-properties-expected.txt (145578 => 145579)


--- branches/safari-536.30-branch/LayoutTests/platform/chromium/fast/dom/Window/get-set-properties-expected.txt	2013-03-12 20:38:26 UTC (rev 145578)
+++ branches/safari-536.30-branch/LayoutTests/platform/chromium/fast/dom/Window/get-set-properties-expected.txt	2013-03-12 21:04:42 UTC (rev 145579)
@@ -1,391 +0,0 @@
-This page tests getting and setting window properties and functions.
-
-
------ tests for getting/setting read-write properties -----
-
-PASS: canGet('Attr') should be 'true' and is.
-PASS: canSet('Attr') should be 'true' and is.
-PASS: canGet('CDATASection') should be 'true' and is.
-PASS: canSet('CDATASection') should be 'true' and is.
-PASS: canGet('CSSPrimitiveValue') should be 'true' and is.
-PASS: canSet('CSSPrimitiveValue') should be 'true' and is.
-PASS: canGet('CSSRule') should be 'true' and is.
-PASS: canSet('CSSRule') should be 'true' and is.
-PASS: canGet('CSSStyleDeclaration') should be 'true' and is.
-PASS: canSet('CSSStyleDeclaration') should be 'true' and is.
-PASS: canGet('CSSValue') should be 'true' and is.
-PASS: canSet('CSSValue') should be 'true' and is.
-PASS: canGet('CharacterData') should be 'true' and is.
-PASS: canSet('CharacterData') should be 'true' and is.
-PASS: canGet('Comment') should be 'true' and is.
-PASS: canSet('Comment') should be 'true' and is.
-PASS: canGet('DOMException') should be 'true' and is.
-PASS: canSet('DOMException') should be 'true' and is.
-PASS: canGet('DOMImplementation') should be 'true' and is.
-PASS: canSet('DOMImplementation') should be 'true' and is.
-PASS: canGet('DOMParser') should be 'true' and is.
-PASS: canSet('DOMParser') should be 'true' and is.
-PASS: canGet('Document') should be 'true' and is.
-PASS: canSet('Document') should be 'true' and is.
-PASS: canGet('DocumentFragment') should be 'true' and is.
-PASS: canSet('DocumentFragment') should be 'true' and is.
-PASS: canGet('DocumentType') should be 'true' and is.
-PASS: canSet('DocumentType') should be 'true' and is.
-PASS: canGet('Element') should be 'true' and is.
-PASS: canSet('Element') should be 'true' and is.
-PASS: canGet('Entity') should be 'true' and is.
-PASS: canSet('Entity') should be 'true' and is.
-PASS: canGet('EntityReference') should be 'true' and is.
-PASS: canSet('EntityReference') should be 'true' and is.
-PASS: canGet('EvalError') should be 'true' and is.
-PASS: canSet('EvalError') should be 'true' and is.
-PASS: canGet('Event') should be 'true' and is.
-PASS: canSet('Event') should be 'true' and is.
-PASS: canGet('HTMLAnchorElement') should be 'true' and is.
-PASS: canSet('HTMLAnchorElement') should be 'true' and is.
-PASS: canGet('HTMLAppletElement') should be 'true' and is.
-PASS: canSet('HTMLAppletElement') should be 'true' and is.
-PASS: canGet('HTMLAreaElement') should be 'true' and is.
-PASS: canSet('HTMLAreaElement') should be 'true' and is.
-PASS: canGet('HTMLBRElement') should be 'true' and is.
-PASS: canSet('HTMLBRElement') should be 'true' and is.
-PASS: canGet('HTMLBaseElement') should be 'true' and is.
-PASS: canSet('HTMLBaseElement') should be 'true' and is.
-PASS: canGet('HTMLBaseFontElement') should be 'true' and is.
-PASS: canSet('HTMLBaseFontElement') should be 'true' and is.
-PASS: canGet('HTMLBodyElement') should be 'true' and is.
-PASS: canSet('HTMLBodyElement') should be 'true' and is.
-PASS: canGet('HTMLButtonElement') should be 'true' and is.
-PASS: canSet('HTMLButtonElement') should be 'true' and is.
-PASS: canGet('HTMLCanvasElement') should be 'true' and is.
-PASS: canSet('HTMLCanvasElement') should be 'true' and is.
-PASS: canGet('HTMLDListElement') should be 'true' and is.
-PASS: canSet('HTMLDListElement') should be 'true' and is.
-PASS: canGet('HTMLDirectoryElement') should be 'true' and is.
-PASS: canSet('HTMLDirectoryElement') should be 'true' and is.
-PASS: canGet('HTMLDivElement') should be 'true' and is.
-PASS: canSet('HTMLDivElement') should be 'true' and is.
-PASS: canGet('HTMLDocument') should be 'true' and is.
-PASS: canSet('HTMLDocument') should be 'true' and is.
-PASS: canGet('HTMLElement') should be 'true' and is.
-PASS: canSet('HTMLElement') should be 'true' and is.
-PASS: canGet('HTMLFieldSetElement') should be 'true' and is.
-PASS: canSet('HTMLFieldSetElement') should be 'true' and is.
-PASS: canGet('HTMLFontElement') should be 'true' and is.
-PASS: canSet('HTMLFontElement') should be 'true' and is.
-PASS: canGet('HTMLFormElement') should be 'true' and is.
-PASS: canSet('HTMLFormElement') should be 'true' and is.
-PASS: canGet('HTMLFrameElement') should be 'true' and is.
-PASS: canSet('HTMLFrameElement') should be 'true' and is.
-PASS: canGet('HTMLFrameSetElement') should be 'true' and is.
-PASS: canSet('HTMLFrameSetElement') should be 'true' and is.
-PASS: canGet('HTMLHRElement') should be 'true' and is.
-PASS: canSet('HTMLHRElement') should be 'true' and is.
-PASS: canGet('HTMLHeadElement') should be 'true' and is.
-PASS: canSet('HTMLHeadElement') should be 'true' and is.
-PASS: canGet('HTMLHeadingElement') should be 'true' and is.
-PASS: canSet('HTMLHeadingElement') should be 'true' and is.
-PASS: canGet('HTMLHtmlElement') should be 'true' and is.
-PASS: canSet('HTMLHtmlElement') should be 'true' and is.
-PASS: canGet('HTMLIFrameElement') should be 'true' and is.
-PASS: canSet('HTMLIFrameElement') should be 'true' and is.
-PASS: canGet('HTMLImageElement') should be 'true' and is.
-PASS: canSet('HTMLImageElement') should be 'true' and is.
-PASS: canGet('HTMLInputElement') should be 'true' and is.
-PASS: canSet('HTMLInputElement') should be 'true' and is.
-*** FAIL: canGet('HTMLIsIndexElement') should be 'true' but instead is false. ***
-PASS: canSet('HTMLIsIndexElement') should be 'true' and is.
-PASS: canGet('HTMLLIElement') should be 'true' and is.
-PASS: canSet('HTMLLIElement') should be 'true' and is.
-PASS: canGet('HTMLLabelElement') should be 'true' and is.
-PASS: canSet('HTMLLabelElement') should be 'true' and is.
-PASS: canGet('HTMLLegendElement') should be 'true' and is.
-PASS: canSet('HTMLLegendElement') should be 'true' and is.
-PASS: canGet('HTMLLinkElement') should be 'true' and is.
-PASS: canSet('HTMLLinkElement') should be 'true' and is.
-PASS: canGet('HTMLMapElement') should be 'true' and is.
-PASS: canSet('HTMLMapElement') should be 'true' and is.
-PASS: canGet('HTMLMarqueeElement') should be 'true' and is.
-PASS: canSet('HTMLMarqueeElement') should be 'true' and is.
-PASS: canGet('HTMLMenuElement') should be 'true' and is.
-PASS: canSet('HTMLMenuElement') should be 'true' and is.
-PASS: canGet('HTMLMetaElement') should be 'true' and is.
-PASS: canSet('HTMLMetaElement') should be 'true' and is.
-PASS: canGet('HTMLModElement') should be 'true' and is.
-PASS: canSet('HTMLModElement') should be 'true' and is.
-PASS: canGet('HTMLOListElement') should be 'true' and is.
-PASS: canSet('HTMLOListElement') should be 'true' and is.
-PASS: canGet('HTMLOptGroupElement') should be 'true' and is.
-PASS: canSet('HTMLOptGroupElement') should be 'true' and is.
-PASS: canGet('HTMLOptionElement') should be 'true' and is.
-PASS: canSet('HTMLOptionElement') should be 'true' and is.
-PASS: canGet('HTMLParagraphElement') should be 'true' and is.
-PASS: canSet('HTMLParagraphElement') should be 'true' and is.
-PASS: canGet('HTMLParamElement') should be 'true' and is.
-PASS: canSet('HTMLParamElement') should be 'true' and is.
-PASS: canGet('HTMLPreElement') should be 'true' and is.
-PASS: canSet('HTMLPreElement') should be 'true' and is.
-PASS: canGet('HTMLQuoteElement') should be 'true' and is.
-PASS: canSet('HTMLQuoteElement') should be 'true' and is.
-PASS: canGet('HTMLScriptElement') should be 'true' and is.
-PASS: canSet('HTMLScriptElement') should be 'true' and is.
-PASS: canGet('HTMLSelectElement') should be 'true' and is.
-PASS: canSet('HTMLSelectElement') should be 'true' and is.
-PASS: canGet('HTMLStyleElement') should be 'true' and is.
-PASS: canSet('HTMLStyleElement') should be 'true' and is.
-PASS: canGet('HTMLTableCaptionElement') should be 'true' and is.
-PASS: canSet('HTMLTableCaptionElement') should be 'true' and is.
-PASS: canGet('HTMLTableCellElement') should be 'true' and is.
-PASS: canSet('HTMLTableCellElement') should be 'true' and is.
-PASS: canGet('HTMLTableColElement') should be 'true' and is.
-PASS: canSet('HTMLTableColElement') should be 'true' and is.
-PASS: canGet('HTMLTableElement') should be 'true' and is.
-PASS: canSet('HTMLTableElement') should be 'true' and is.
-PASS: canGet('HTMLTableRowElement') should be 'true' and is.
-PASS: canSet('HTMLTableRowElement') should be 'true' and is.
-PASS: canGet('HTMLTableSectionElement') should be 'true' and is.
-PASS: canSet('HTMLTableSectionElement') should be 'true' and is.
-PASS: canGet('HTMLTextAreaElement') should be 'true' and is.
-PASS: canSet('HTMLTextAreaElement') should be 'true' and is.
-PASS: canGet('HTMLTitleElement') should be 'true' and is.
-PASS: canSet('HTMLTitleElement') should be 'true' and is.
-PASS: canGet('HTMLUListElement') should be 'true' and is.
-PASS: canSet('HTMLUListElement') should be 'true' and is.
-PASS: canGet('Image') should be 'true' and is.
-PASS: canSet('Image') should be 'true' and is.
-PASS: canGet('MutationEvent') should be 'true' and is.
-PASS: canSet('MutationEvent') should be 'true' and is.
-PASS: canGet('Node') should be 'true' and is.
-PASS: canSet('Node') should be 'true' and is.
-PASS: canGet('NodeFilter') should be 'true' and is.
-PASS: canSet('NodeFilter') should be 'true' and is.
-PASS: canGet('Notation') should be 'true' and is.
-PASS: canSet('Notation') should be 'true' and is.
-PASS: canGet('Option') should be 'true' and is.
-PASS: canSet('Option') should be 'true' and is.
-PASS: canGet('ProcessingInstruction') should be 'true' and is.
-PASS: canSet('ProcessingInstruction') should be 'true' and is.
-PASS: canGet('Range') should be 'true' and is.
-PASS: canSet('Range') should be 'true' and is.
-PASS: canGet('RangeError') should be 'true' and is.
-PASS: canSet('RangeError') should be 'true' and is.
-PASS: canGet('RangeException') should be 'true' and is.
-PASS: canSet('RangeException') should be 'true' and is.
-PASS: canGet('ReferenceError') should be 'true' and is.
-PASS: canSet('ReferenceError') should be 'true' and is.
-PASS: canGet('SyntaxError') should be 'true' and is.
-PASS: canSet('SyntaxError') should be 'true' and is.
-PASS: canGet('Text') should be 'true' and is.
-PASS: canSet('Text') should be 'true' and is.
-PASS: canGet('TypeError') should be 'true' and is.
-PASS: canSet('TypeError') should be 'true' and is.
-PASS: canGet('URIError') should be 'true' and is.
-PASS: canSet('URIError') should be 'true' and is.
-PASS: canGet('XMLDocument') should be 'true' and is.
-PASS: canSet('XMLDocument') should be 'true' and is.
-PASS: canGet('XMLHttpRequest') should be 'true' and is.
-PASS: canSet('XMLHttpRequest') should be 'true' and is.
-PASS: canGet('XMLSerializer') should be 'true' and is.
-PASS: canSet('XMLSerializer') should be 'true' and is.
-PASS: canGet('XPathEvaluator') should be 'true' and is.
-PASS: canSet('XPathEvaluator') should be 'true' and is.
-PASS: canGet('XPathResult') should be 'true' and is.
-PASS: canSet('XPathResult') should be 'true' and is.
-PASS: canGet('XSLTProcessor') should be 'true' and is.
-PASS: canSet('XSLTProcessor') should be 'true' and is.
-PASS: canGet('addEventListener') should be 'true' and is.
-PASS: canSet('addEventListener') should be 'true' and is.
-PASS: canGet('alert') should be 'true' and is.
-PASS: canSet('alert') should be 'true' and is.
-PASS: canGet('atob') should be 'true' and is.
-PASS: canSet('atob') should be 'true' and is.
-PASS: canGet('btoa') should be 'true' and is.
-PASS: canSet('btoa') should be 'true' and is.
-PASS: canGet('captureEvents') should be 'true' and is.
-PASS: canSet('captureEvents') should be 'true' and is.
-PASS: canGet('clearInterval') should be 'true' and is.
-PASS: canSet('clearInterval') should be 'true' and is.
-PASS: canGet('clearTimeout') should be 'true' and is.
-PASS: canSet('clearTimeout') should be 'true' and is.
-PASS: canGet('clientInformation') should be 'true' and is.
-PASS: canSet('clientInformation') should be 'true' and is.
-PASS: canGet('console') should be 'true' and is.
-PASS: canSet('console') should be 'true' and is.
-PASS: canGet('devicePixelRatio') should be 'true' and is.
-PASS: canSet('devicePixelRatio') should be 'true' and is.
-PASS: canGet('event') should be 'true' and is.
-PASS: canSet('event') should be 'true' and is.
-PASS: canGet('frames') should be 'true' and is.
-PASS: canSet('frames') should be 'true' and is.
-PASS: canGet('history') should be 'true' and is.
-PASS: canSet('history') should be 'true' and is.
-PASS: canGet('innerHeight') should be 'true' and is.
-PASS: canSet('innerHeight') should be 'true' and is.
-PASS: canGet('innerWidth') should be 'true' and is.
-PASS: canSet('innerWidth') should be 'true' and is.
-PASS: canGet('length') should be 'true' and is.
-PASS: canSet('length') should be 'true' and is.
-PASS: canGet('locationbar') should be 'true' and is.
-PASS: canSet('locationbar') should be 'true' and is.
-PASS: canGet('menubar') should be 'true' and is.
-PASS: canSet('menubar') should be 'true' and is.
-PASS: canGet('navigator') should be 'true' and is.
-PASS: canSet('navigator') should be 'true' and is.
-PASS: canGet('offscreenBuffering') should be 'true' and is.
-PASS: canSet('offscreenBuffering') should be 'true' and is.
-PASS: canGet('opener') should be 'true' and is.
-PASS: canSet('opener') should be 'true' and is.
-PASS: canGet('outerHeight') should be 'true' and is.
-PASS: canSet('outerHeight') should be 'true' and is.
-PASS: canGet('outerWidth') should be 'true' and is.
-PASS: canSet('outerWidth') should be 'true' and is.
-PASS: canGet('parent') should be 'true' and is.
-PASS: canSet('parent') should be 'true' and is.
-PASS: canGet('personalbar') should be 'true' and is.
-PASS: canSet('personalbar') should be 'true' and is.
-PASS: canGet('screenLeft') should be 'true' and is.
-PASS: canSet('screenLeft') should be 'true' and is.
-PASS: canGet('screenTop') should be 'true' and is.
-PASS: canSet('screenTop') should be 'true' and is.
-PASS: canGet('screenX') should be 'true' and is.
-PASS: canSet('screenX') should be 'true' and is.
-PASS: canGet('screenY') should be 'true' and is.
-PASS: canSet('screenY') should be 'true' and is.
-PASS: canGet('scrollX') should be 'true' and is.
-PASS: canSet('scrollX') should be 'true' and is.
-PASS: canGet('scrollY') should be 'true' and is.
-PASS: canSet('scrollY') should be 'true' and is.
-PASS: canGet('scrollbars') should be 'true' and is.
-PASS: canSet('scrollbars') should be 'true' and is.
-PASS: canGet('self') should be 'true' and is.
-PASS: canSet('self') should be 'true' and is.
-PASS: canGet('statusbar') should be 'true' and is.
-PASS: canSet('statusbar') should be 'true' and is.
-PASS: canGet('toolbar') should be 'true' and is.
-PASS: canSet('toolbar') should be 'true' and is.
-PASS: canGet('top') should be 'true' and is.
-*** FAIL: canSet('top') should be 'true' but instead is false. ***
-
------ tests for getting/setting readonly properties -----
-
-PASS: canGet('closed') should be 'true' and is.
-PASS: canSet('closed') should be 'false' and is.
-PASS: canGet('document') should be 'true' and is.
-PASS: canSet('document') should be 'false' and is.
-PASS: canGet('pageXOffset') should be 'true' and is.
-PASS: canSet('pageXOffset') should be 'false' and is.
-PASS: canGet('pageYOffset') should be 'true' and is.
-PASS: canSet('pageYOffset') should be 'false' and is.
-PASS: canGet('window') should be 'true' and is.
-PASS: canSet('window') should be 'false' and is.
-
------ tests for getting/setting string properties -----
-
-PASS: canGet('defaultStatus') should be 'true' and is.
-PASS: canSetWithTypeConversion('defaultStatus') should be 'true' and is.
-PASS: canGet('defaultstatus') should be 'true' and is.
-PASS: canSetWithTypeConversion('defaultstatus') should be 'true' and is.
-PASS: canGet('name') should be 'true' and is.
-PASS: canSetWithTypeConversion('name') should be 'true' and is.
-PASS: canGet('status') should be 'true' and is.
-PASS: canSetWithTypeConversion('status') should be 'true' and is.
-
------ tests for getting/setting functions -----
-
-PASS: canGet('blur') should be 'true' and is.
-PASS: canSet('blur') should be 'true' and is.
-PASS: canGet('close') should be 'true' and is.
-PASS: canSet('close') should be 'true' and is.
-PASS: canGet('confirm') should be 'true' and is.
-PASS: canSet('confirm') should be 'true' and is.
-PASS: canGet('find') should be 'true' and is.
-PASS: canSet('find') should be 'true' and is.
-PASS: canGet('focus') should be 'true' and is.
-PASS: canSet('focus') should be 'true' and is.
-PASS: canGet('getComputedStyle') should be 'true' and is.
-PASS: canSet('getComputedStyle') should be 'true' and is.
-PASS: canGet('getMatchedCSSRules') should be 'true' and is.
-PASS: canSet('getMatchedCSSRules') should be 'true' and is.
-PASS: canGet('getSelection') should be 'true' and is.
-PASS: canSet('getSelection') should be 'true' and is.
-PASS: canGet('moveBy') should be 'true' and is.
-PASS: canSet('moveBy') should be 'true' and is.
-PASS: canGet('moveTo') should be 'true' and is.
-PASS: canSet('moveTo') should be 'true' and is.
-PASS: canGet('onabort') should be 'true' and is.
-PASS: canSet('onabort') should be 'true' and is.
-PASS: canGet('onbeforeunload') should be 'true' and is.
-PASS: canSet('onbeforeunload') should be 'true' and is.
-PASS: canGet('onblur') should be 'true' and is.
-PASS: canSet('onblur') should be 'true' and is.
-PASS: canGet('onchange') should be 'true' and is.
-PASS: canSet('onchange') should be 'true' and is.
-PASS: canGet('onclick') should be 'true' and is.
-PASS: canSet('onclick') should be 'true' and is.
-PASS: canGet('ondblclick') should be 'true' and is.
-PASS: canSet('ondblclick') should be 'true' and is.
-PASS: canGet('onerror') should be 'true' and is.
-PASS: canSet('onerror') should be 'true' and is.
-PASS: canGet('onfocus') should be 'true' and is.
-PASS: canSet('onfocus') should be 'true' and is.
-PASS: canGet('onkeydown') should be 'true' and is.
-PASS: canSet('onkeydown') should be 'true' and is.
-PASS: canGet('onkeypress') should be 'true' and is.
-PASS: canSet('onkeypress') should be 'true' and is.
-PASS: canGet('onkeyup') should be 'true' and is.
-PASS: canSet('onkeyup') should be 'true' and is.
-PASS: canGet('onload') should be 'true' and is.
-PASS: canSet('onload') should be 'true' and is.
-PASS: canGet('onmousedown') should be 'true' and is.
-PASS: canSet('onmousedown') should be 'true' and is.
-PASS: canGet('onmousemove') should be 'true' and is.
-PASS: canSet('onmousemove') should be 'true' and is.
-PASS: canGet('onmouseout') should be 'true' and is.
-PASS: canSet('onmouseout') should be 'true' and is.
-PASS: canGet('onmouseover') should be 'true' and is.
-PASS: canSet('onmouseover') should be 'true' and is.
-PASS: canGet('onmouseup') should be 'true' and is.
-PASS: canSet('onmouseup') should be 'true' and is.
-PASS: canGet('onmousewheel') should be 'true' and is.
-PASS: canSet('onmousewheel') should be 'true' and is.
-PASS: canGet('onreset') should be 'true' and is.
-PASS: canSet('onreset') should be 'true' and is.
-PASS: canGet('onresize') should be 'true' and is.
-PASS: canSet('onresize') should be 'true' and is.
-PASS: canGet('onscroll') should be 'true' and is.
-PASS: canSet('onscroll') should be 'true' and is.
-PASS: canGet('onsearch') should be 'true' and is.
-PASS: canSet('onsearch') should be 'true' and is.
-PASS: canGet('onselect') should be 'true' and is.
-PASS: canSet('onselect') should be 'true' and is.
-PASS: canGet('onsubmit') should be 'true' and is.
-PASS: canSet('onsubmit') should be 'true' and is.
-PASS: canGet('onunload') should be 'true' and is.
-PASS: canSet('onunload') should be 'true' and is.
-PASS: canGet('open') should be 'true' and is.
-PASS: canSet('open') should be 'true' and is.
-PASS: canGet('print') should be 'true' and is.
-PASS: canSet('print') should be 'true' and is.
-PASS: canGet('prompt') should be 'true' and is.
-PASS: canSet('prompt') should be 'true' and is.
-PASS: canGet('releaseEvents') should be 'true' and is.
-PASS: canSet('releaseEvents') should be 'true' and is.
-PASS: canGet('removeEventListener') should be 'true' and is.
-PASS: canSet('removeEventListener') should be 'true' and is.
-PASS: canGet('resizeBy') should be 'true' and is.
-PASS: canSet('resizeBy') should be 'true' and is.
-PASS: canGet('resizeTo') should be 'true' and is.
-PASS: canSet('resizeTo') should be 'true' and is.
-PASS: canGet('scroll') should be 'true' and is.
-PASS: canSet('scroll') should be 'true' and is.
-PASS: canGet('scrollBy') should be 'true' and is.
-PASS: canSet('scrollBy') should be 'true' and is.
-PASS: canGet('scrollTo') should be 'true' and is.
-PASS: canSet('scrollTo') should be 'true' and is.
-PASS: canGet('setInterval') should be 'true' and is.
-PASS: canSet('setInterval') should be 'true' and is.
-PASS: canGet('setTimeout') should be 'true' and is.
-PASS: canSet('setTimeout') should be 'true' and is.
-PASS: canGet('stop') should be 'true' and is.
-PASS: canSet('stop') should be 'true' and is.
-

Deleted: branches/safari-536.30-branch/LayoutTests/platform/chromium/fast/dom/Window/window-property-shadowing-expected.txt (145578 => 145579)


--- branches/safari-536.30-branch/LayoutTests/platform/chromium/fast/dom/Window/window-property-shadowing-expected.txt	2013-03-12 20:38:26 UTC (rev 145578)
+++ branches/safari-536.30-branch/LayoutTests/platform/chromium/fast/dom/Window/window-property-shadowing-expected.txt	2013-03-12 21:04:42 UTC (rev 145579)
@@ -1,169 +0,0 @@
-PASS: locationbar successfully shadowed
-PASS: menubar successfully shadowed
-PASS: personalbar successfully shadowed
-PASS: statusbar successfully shadowed
-PASS: toolbar successfully shadowed
-PASS: devicePixelRatio successfully shadowed
-PASS: defaultStatus successfully shadowed
-PASS: defaultstatus successfully shadowed
-PASS: status successfully shadowed
-PASS: frames successfully shadowed
-PASS: event successfully shadowed
-PASS: innerHeight successfully shadowed
-PASS: innerWidth successfully shadowed
-PASS: length successfully shadowed
-PASS: name successfully shadowed
-PASS: navigator successfully shadowed
-PASS: clientInformation successfully shadowed
-PASS: screen successfully shadowed
-PASS: offscreenBuffering successfully shadowed
-PASS: opener successfully shadowed
-PASS: outerHeight successfully shadowed
-PASS: outerWidth successfully shadowed
-PASS: parent successfully shadowed
-PASS: screenX successfully shadowed
-PASS: screenY successfully shadowed
-PASS: screenLeft successfully shadowed
-PASS: screenTop successfully shadowed
-PASS: scrollX successfully shadowed
-PASS: scrollY successfully shadowed
-PASS: self successfully shadowed
-FAIL: top was not shadowed
-PASS: history successfully shadowed
-PASS: getSelection successfully shadowed
-PASS: getComputedStyle successfully shadowed
-PASS: getMatchedCSSRules successfully shadowed
-PASS: atob successfully shadowed
-PASS: btoa successfully shadowed
-PASS: scroll successfully shadowed
-PASS: scrollBy successfully shadowed
-PASS: scrollTo successfully shadowed
-PASS: moveBy successfully shadowed
-PASS: moveTo successfully shadowed
-PASS: resizeBy successfully shadowed
-PASS: resizeTo successfully shadowed
-PASS: alert successfully shadowed
-PASS: confirm successfully shadowed
-PASS: prompt successfully shadowed
-PASS: open successfully shadowed
-PASS: print successfully shadowed
-PASS: setTimeout successfully shadowed
-PASS: clearTimeout successfully shadowed
-PASS: focus successfully shadowed
-PASS: blur successfully shadowed
-PASS: close successfully shadowed
-PASS: setInterval successfully shadowed
-PASS: clearInterval successfully shadowed
-PASS: captureEvents successfully shadowed
-PASS: releaseEvents successfully shadowed
-PASS: addEventListener successfully shadowed
-PASS: removeEventListener successfully shadowed
-PASS: showModalDialog successfully shadowed
-PASS: find successfully shadowed
-PASS: stop successfully shadowed
-PASS: Image successfully shadowed
-PASS: Option successfully shadowed
-PASS: DOMException successfully shadowed
-PASS: XMLHttpRequest successfully shadowed
-PASS: XSLTProcessor successfully shadowed
-PASS: StyleSheet successfully shadowed
-PASS: CSSStyleSheet successfully shadowed
-PASS: CSSValue successfully shadowed
-PASS: CSSPrimitiveValue successfully shadowed
-PASS: CSSValueList successfully shadowed
-PASS: CSSRule successfully shadowed
-PASS: CSSCharsetRule successfully shadowed
-PASS: CSSFontFaceRule successfully shadowed
-PASS: CSSImportRule successfully shadowed
-PASS: CSSMediaRule successfully shadowed
-PASS: CSSPageRule successfully shadowed
-PASS: CSSStyleRule successfully shadowed
-PASS: CSSStyleDeclaration successfully shadowed
-PASS: MediaList successfully shadowed
-PASS: Counter successfully shadowed
-PASS: CSSRuleList successfully shadowed
-PASS: Rect successfully shadowed
-PASS: DOMImplementation successfully shadowed
-PASS: DocumentFragment successfully shadowed
-PASS: Document successfully shadowed
-PASS: Node successfully shadowed
-PASS: NodeList successfully shadowed
-PASS: NamedNodeMap successfully shadowed
-PASS: CharacterData successfully shadowed
-PASS: Attr successfully shadowed
-PASS: Element successfully shadowed
-PASS: Text successfully shadowed
-PASS: Comment successfully shadowed
-PASS: CDATASection successfully shadowed
-PASS: DocumentType successfully shadowed
-PASS: Notation successfully shadowed
-PASS: Entity successfully shadowed
-PASS: EntityReference successfully shadowed
-PASS: ProcessingInstruction successfully shadowed
-PASS: HTMLDocument successfully shadowed
-PASS: HTMLElement successfully shadowed
-PASS: HTMLAnchorElement successfully shadowed
-PASS: HTMLAppletElement successfully shadowed
-PASS: HTMLAreaElement successfully shadowed
-PASS: HTMLBRElement successfully shadowed
-PASS: HTMLBaseElement successfully shadowed
-PASS: HTMLBaseFontElement successfully shadowed
-PASS: HTMLBlockquoteElement successfully shadowed
-PASS: HTMLBodyElement successfully shadowed
-PASS: HTMLButtonElement successfully shadowed
-PASS: HTMLCanvasElement successfully shadowed
-PASS: HTMLDListElement successfully shadowed
-PASS: HTMLDirectoryElement successfully shadowed
-PASS: HTMLDivElement successfully shadowed
-PASS: HTMLEmbedElement successfully shadowed
-PASS: HTMLFieldSetElement successfully shadowed
-PASS: HTMLFontElement successfully shadowed
-PASS: HTMLFormElement successfully shadowed
-PASS: HTMLFrameElement successfully shadowed
-PASS: HTMLFrameSetElement successfully shadowed
-PASS: HTMLHRElement successfully shadowed
-PASS: HTMLHeadElement successfully shadowed
-PASS: HTMLHeadingElement successfully shadowed
-PASS: HTMLHtmlElement successfully shadowed
-PASS: HTMLIFrameElement successfully shadowed
-PASS: HTMLImageElement successfully shadowed
-PASS: HTMLInputElement successfully shadowed
-PASS: HTMLIsIndexElement successfully shadowed
-PASS: HTMLLIElement successfully shadowed
-PASS: HTMLLabelElement successfully shadowed
-PASS: HTMLLegendElement successfully shadowed
-PASS: HTMLLinkElement successfully shadowed
-PASS: HTMLMapElement successfully shadowed
-PASS: HTMLMarqueeElement successfully shadowed
-PASS: HTMLMenuElement successfully shadowed
-PASS: HTMLMetaElement successfully shadowed
-PASS: HTMLModElement successfully shadowed
-PASS: HTMLOListElement successfully shadowed
-PASS: HTMLObjectElement successfully shadowed
-PASS: HTMLOptGroupElement successfully shadowed
-PASS: HTMLOptionElement successfully shadowed
-PASS: HTMLParagraphElement successfully shadowed
-PASS: HTMLParamElement successfully shadowed
-PASS: HTMLPreElement successfully shadowed
-PASS: HTMLQuoteElement successfully shadowed
-PASS: HTMLScriptElement successfully shadowed
-PASS: HTMLSelectElement successfully shadowed
-PASS: HTMLStyleElement successfully shadowed
-PASS: HTMLTableCaptionElement successfully shadowed
-PASS: HTMLTableCellElement successfully shadowed
-PASS: HTMLTableColElement successfully shadowed
-PASS: HTMLTableElement successfully shadowed
-PASS: HTMLTableRowElement successfully shadowed
-PASS: HTMLTableSectionElement successfully shadowed
-PASS: HTMLTextAreaElement successfully shadowed
-PASS: HTMLTitleElement successfully shadowed
-PASS: HTMLUListElement successfully shadowed
-PASS: Event successfully shadowed
-PASS: MutationEvent successfully shadowed
-PASS: NodeFilter successfully shadowed
-PASS: Range successfully shadowed
-PASS: RangeException successfully shadowed
-PASS: XMLDocument successfully shadowed
-PASS: DOMParser successfully shadowed
-PASS: XMLSerializer successfully shadowed
-

Modified: branches/safari-536.30-branch/Source/WebCore/ChangeLog (145578 => 145579)


--- branches/safari-536.30-branch/Source/WebCore/ChangeLog	2013-03-12 20:38:26 UTC (rev 145578)
+++ branches/safari-536.30-branch/Source/WebCore/ChangeLog	2013-03-12 21:04:42 UTC (rev 145579)
@@ -1,3 +1,24 @@
+2013-03-12  Lucas Forschler  <lforsch...@apple.com>
+
+        Merge r123145
+
+    2012-07-19  Erik Arvidsson  <a...@chromium.org>
+
+            Window top should not be replaceable
+            https://bugs.webkit.org/show_bug.cgi?id=91755
+
+            Reviewed by Adam Barth.
+
+            Window top is readonly and unforgable and should not be replaceable.
+
+            http://www.whatwg.org/specs/web-apps/current-work/multipage/browsers.html#the-window-object
+
+            This change brings JSC inline with all other browsers.
+
+            No new tests. Modified existing tests.
+
+            * page/DOMWindow.idl:
+
 2013-03-07  Lucas Forschler  <lforsch...@apple.com>
 
         Merge r145013

Modified: branches/safari-536.30-branch/Source/WebCore/page/DOMWindow.idl (145578 => 145579)


--- branches/safari-536.30-branch/Source/WebCore/page/DOMWindow.idl	2013-03-12 20:38:26 UTC (rev 145578)
+++ branches/safari-536.30-branch/Source/WebCore/page/DOMWindow.idl	2013-03-12 21:04:42 UTC (rev 145579)
@@ -135,7 +135,7 @@
 
         attribute [Replaceable, DoNotCheckSecurityOnGetter, V8CustomSetter] DOMWindow opener;
         attribute [Replaceable, DoNotCheckSecurityOnGetter] DOMWindow parent;
-        attribute [Replaceable, DoNotCheckSecurityOnGetter, V8Unforgeable, V8ReadOnly] DOMWindow top;
+        readonly attribute [DoNotCheckSecurityOnGetter, V8Unforgeable] DOMWindow top;
 
         // DOM Level 2 AbstractView Interface
         readonly attribute Document document;
_______________________________________________
webkit-changes mailing list
webkit-changes@lists.webkit.org
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to