postMessage
, то проблем с x instanceof RegExp/Array
не должно быть — // top
frames.myframe.postMessage([ 'action', [], /x/ ], '*');
// myframe
window.onmessage = function(event){
event.data[1] instanceof Array // -> true
event.data[2] instanceof RegExp // -> true
}
tx.executeSql("ALTER TABLE mytable ADD time VARCHAR NOT NULL BEFORE description");
could not prepare statement (1 near "BEFORE": syntax error)
tx.executeSql("ALTER TABLE mytable ADD time VARCHAR NOT NULL");
could not prepare statement (1 Cannot add a NOT NULL column with default value NULL)
ALTER TABLE mytable ADD time VARCHAR NOT NULL DEFAULT ''
win.print = function() {
var accum = [];
for (var i = 0; i != arguments.length; i++)
accum.push(String(arguments[i]));
var joined = accum.join("");
env.output(DIV(null, preNewline != "\n" ? joined.replace(/\n/g, preNewline) : joined));
};