- fix http://bugzilla.opendarwin.org/show_bug.cgi?id=8110
Define navigator.vendorSub (bcms.gov.uk doesn't allow access to login page)
Test: fast/dom/navigator-vendorSub.html
* khtml/ecma/kjs_navigator.cpp:
(KJS::Navigator::getValueProperty): Return an empty string for vendorSub property.
* khtml/ecma/kjs_navigator.h:
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@13701
268f45cc-cd09-0410-ab3c-
d52691b4dbfc
+2006-04-05 Alexey Proskuryakov <ap@nypop.com>
+
+ Reviewed by Darin.
+
+ - test for http://bugzilla.opendarwin.org/show_bug.cgi?id=8110
+ Define navigator.vendorSub (bcms.gov.uk doesn't allow access to login page)
+
+ * fast/dom/navigator-vendorSub-expected.txt: Added.
+ * fast/dom/navigator-vendorSub.html: Added.
+
2006-04-04 Darin Adler <darin@apple.com>
Reviewed by Justin and Adele.
--- /dev/null
+Tests for bug 8110: Define navigator.vendorSub (bcms.gov.uk doesn't allow access to login page).
+
+navigator.vendorSub: '' (should not be undefined or null)
--- /dev/null
+<html>
+<body>
+<p>Tests for <a href="http://bugzilla.opendarwin.org/show_bug.cgi?id=8110">bug 8110</a>:
+Define navigator.vendorSub (bcms.gov.uk doesn't allow access to login page).</p>
+<script>
+ if (window.layoutTestController)
+ layoutTestController.dumpAsText();
+
+ document.write("navigator.vendorSub: '" + navigator.vendorSub + "' (should not be undefined or null)");
+</script>
+</body>
+</html>
+2006-04-05 Alexey Proskuryakov <ap@nypop.com>
+
+ Reviewed by Darin.
+
+ - fix http://bugzilla.opendarwin.org/show_bug.cgi?id=8110
+ Define navigator.vendorSub (bcms.gov.uk doesn't allow access to login page)
+
+ Test: fast/dom/navigator-vendorSub.html
+
+ * khtml/ecma/kjs_navigator.cpp:
+ (KJS::Navigator::getValueProperty): Return an empty string for vendorSub property.
+ * khtml/ecma/kjs_navigator.h:
+
2006-04-04 Darin Adler <darin@apple.com>
Reviewed by Justin (editing parts) and Adele (the rest).
product Navigator::Product DontDelete|ReadOnly
productSub Navigator::ProductSub DontDelete|ReadOnly
vendor Navigator::Vendor DontDelete|ReadOnly
+ vendorSub Navigator::VendorSub DontDelete|ReadOnly
cookieEnabled Navigator::CookieEnabled DontDelete|ReadOnly
javaEnabled Navigator::JavaEnabled DontDelete|Function 0
@end
return jsString("20030107");
case Vendor:
return jsString("Apple Computer, Inc.");
+ case VendorSub:
+ return jsString("");
case Language:
return jsString(defaultLanguage());
case UserAgent:
virtual const ClassInfo* classInfo() const { return &info; }
static const ClassInfo info;
enum { AppCodeName, AppName, AppVersion, Language, UserAgent, Platform,
- _Plugins, _MimeTypes, Product, ProductSub, Vendor, CookieEnabled, JavaEnabled };
+ _Plugins, _MimeTypes, Product, ProductSub, Vendor, VendorSub, CookieEnabled, JavaEnabled };
WebCore::Frame *frame() const { return m_frame; }
private:
WebCore::Frame *m_frame;