Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

add Cr22, Cr23, Safari 6 to the list.

  • Loading branch information...
commit 46380b3cd5f5908ecf84a06f9a515e8684458819 1 parent 92e1ac4
Masataka Yakura authored
Showing with 14 additions and 11 deletions.
  1. +1 −1  manifest.json
  2. +1 −1  updateTitle.js
  3. +12 −9 wkversion.js
2  manifest.json
View
@@ -1,6 +1,6 @@
{
"name": "Dicentra",
- "version": "0.5.2",
+ "version": "0.5.3",
"description": "enhances WebKit changeset page.",
"manifest_version": 2,
2  updateTitle.js
View
@@ -5,7 +5,7 @@
/*
bugzilla : /https?:\/\/bugs\.webkit\.org\/show_bug\.cgi\?id=\d+/g,
- shortered: /<\s*https?:\/webkit\.org\/b\/\d+>/g;
+ shortened: /<\s*https?:\/webkit\.org\/b\/\d+>/g;
rdar url : /<\s*rdar:\/\/problem\/\d+>/g,
// might need ones for wkb.ug and wkbug.com someday.
*/
21 wkversion.js
View
@@ -1,7 +1,7 @@
(function () {
/**
- * A helper function for XHR
+ * Helper function for XHR
* @param {string} url a URL to GET
* @param {function(string, Object=)} callback invoked when a request succeeds
* @param {Object=} annexure data which can be passed to the {@code callback}
@@ -21,7 +21,7 @@
};
/**
- * Obtains WebKit revision number from the changeset URL.
+ * Obtains WebKit revision number from changeset URL.
* @param {string} url URL of a WebKit changeset.
* @return {number} revision a WebKit revision number
*/
@@ -38,7 +38,7 @@
};
/**
- * Obtains WebKit version number from the revision number.
+ * Obtains WebKit version number from revision number.
* @param {(number|string)} revision revision number of a WebKit changeset.
* @return {Array.<string>} an array of strings made by MAJOR_VERSION and MINOR_VERSION
*/
@@ -138,7 +138,8 @@
var findSafariVersion = function (version) {
var safari = [
- { "product": "5.1", "webkit": "534.57.2" },
+ { "product": "6.0", "webkit": "536.25" },
+ { "product": "5.1", "webkit": "534.48.3" },
{ "product": "5.0", "webkit": "534.22.3" },
{ "product": "4.1", "webkit": "533.19.4" },
{ "product": "4.0", "webkit": "531.22.7" },
@@ -158,7 +159,9 @@
var findChromeVersion = function (version) {
var chrome = [
- { "product": "21", "branch": "1142", "webkit": "537.01" },
+ { "product": "23", "branch": "1271", "webkit": "537.11" },
+ { "product": "22", "branch": "1229", "webkit": "537.04" },
+ { "product": "21", "branch": "1180", "webkit": "537.01" },
{ "product": "20", "branch": "1132", "webkit": "536.11" },
{ "product": "19", "branch": "1084", "webkit": "536.05" },
{ "product": "18", "branch": "1025", "webkit": "535.19" },
@@ -166,10 +169,6 @@
{ "product": "16", "branch": "912", "webkit": "535.07" },
{ "product": "15", "branch": "874", "webkit": "535.02" },
{ "product": "13/14", "branch": "835", "webkit": "535.01" },
- /* TODO: find a way to differentiate Cr13 and Cr14
- { "product": "14", "branch": "835", "webkit": "535.1" },
- { "product": "13", "branch": "782", "webkit": "535.1" },
- */
{ "product": "12", "branch": "742", "webkit": "534.30" },
{ "product": "11", "branch": "696", "webkit": "534.24" },
{ "product": "10", "branch": "648", "webkit": "534.16" },
@@ -183,6 +182,10 @@
{ "product": "2", "branch": "172", "webkit": "530.05" },
{ "product": "1", "branch": "154", "webkit": "525.19" },
];
+ /* TODO: find a way to distinguish Cr13 and Cr14
+ { "product": "14", "branch": "835", "webkit": "535.1" },
+ { "product": "13", "branch": "782", "webkit": "535.1" },
+ */
return findBrowserVersion(chrome, version);
};
Please sign in to comment.
Something went wrong with that request. Please try again.