Commit 02ba41ca authored by Tatiana Buldina's avatar Tatiana Buldina Committed by Commit Bot

[ChromeDriver] Update atoms with find element fix

Update atoms with Selenium code as of 11/26/2018. This includes fix to
the error code returned by FIND_ELEMENT and FIND_ELEMENTS atoms when
an invalid locator is used.

The following WPT tests now pass:
* webdriver/tests/find_element/find.py
* webdriver/tests/find_elements/find.py

The following WPT tests still fail and will be fixed in the future:
* webdriver/tests/find_element_from_element/find.py
* webdriver/tests/find_elements_from_element/find.py

Bug: chromedriver:2677
Change-Id: I4e8c11d5f264e950312493f6fed491d8ef780302
Reviewed-on: https://chromium-review.googlesource.com/c/1352626Reviewed-by: default avatarJohn Chen <johnchen@chromium.org>
Commit-Queue: Tatiana Buldina <buldina@chromium.org>
Cr-Commit-Position: refs/heads/master@{#611519}
parent 54f0b415
......@@ -18,7 +18,7 @@ Contents:
atoms.h, atoms.cc
These atoms are generated by the webdriver team and are to be checked in
manually. The current version was generated from revision
a3444b8f4dbb6e83b8710455e6d8352439ac1874.
53f0818fe574877841c331e9647a35985fbfe957.
To generate the atoms using the code found in selenium tree:
$ git clone https://github.com/SeleniumHQ/selenium.git
......
......@@ -689,17 +689,17 @@ const char* const CLEAR[] = {
"f]),c=Math.min(c,a[f+1]),e=Math.max(e,a[f+1]);return new U(b,c,d-b,e-c)",
"}return new U(0,0,0,0)}function yc(a){a=tc(a);return new hc(a.top,a.lef",
"t+a.width,a.top+a.height,a.left)}\nfunction wc(a){var b=1,c=W(a,\"opaci",
"ty\");c&&(b=Number(c));(a=qc(a))&&(b*=wc(a));return b};function Ac(){th",
"is.N=ka.document.documentElement;var a=Wa(x(this.N));a&&Bc(this,a)}func",
"tion Bc(a,b){a.N=b;A(b,\"OPTION\")&&Va(b,function(a){return A(a,\"SELEC",
"T\")})}function Cc(a){var b=Va(a.N,function(a){return!!a&&A(a)&&kc(a)},",
"!0),b=b||a.N;a=Wa(x(b));if(b!=a){if(a&&ea(a.blur)&&!A(a,\"BODY\"))try{a",
".blur()}catch(c){throw c;}ea(b.focus)&&b.focus()}};Ma();Ma();function D",
"c(a,b,c){this.B=a;this.pa=b;this.qa=c}Dc.prototype.create=function(a){a",
"=x(a).createEvent(\"HTMLEvents\");a.initEvent(this.B,this.pa,this.qa);r",
"eturn a};Dc.prototype.toString=function(){return this.B};var Ec=new Dc(",
"\"blur\",!1,!1),Fc=new Dc(\"change\",!0,!1);function Gc(a,b){b=b.create",
"(a,void 0);\"isTrusted\"in b||(b.isTrusted=!1);a.dispatchEvent(b)};func",
"ty\");c&&(b=Number(c));(a=qc(a))&&(b*=wc(a));return b};Ma();Ma();functi",
"on Ac(a,b,c){this.B=a;this.pa=b;this.qa=c}Ac.prototype.create=function(",
"a){a=x(a).createEvent(\"HTMLEvents\");a.initEvent(this.B,this.pa,this.q",
"a);return a};Ac.prototype.toString=function(){return this.B};var Bc=new",
" Ac(\"blur\",!1,!1),Cc=new Ac(\"change\",!0,!1);function Dc(a,b){b=b.cr",
"eate(a,void 0);\"isTrusted\"in b||(b.isTrusted=!1);a.dispatchEvent(b)};",
"function Ec(){this.N=ka.document.documentElement;var a=Wa(x(this.N));a&",
"&Fc(this,a)}function Fc(a,b){a.N=b;A(b,\"OPTION\")&&Va(b,function(a){re",
"turn A(a,\"SELECT\")})}function Gc(a){var b=Va(a.N,function(a){return!!",
"a&&A(a)&&kc(a)},!0),b=b||a.N;a=Wa(x(b));if(b!=a){if(a&&ea(a.blur)&&!A(a",
",\"BODY\"))try{a.blur()}catch(c){throw c;}ea(b.focus)&&b.focus()}};func",
"tion Hc(a,b){this.w={};this.g=[];this.G=0;var c=arguments.length;if(1<c",
"){if(c%2)throw Error(\"Uneven number of arguments\");for(var d=0;d<c;d+",
"=2)this.set(arguments[d],arguments[d+1])}else a&&this.addAll(a)}functio",
......@@ -746,13 +746,13 @@ const char* const CLEAR[] = {
"\\\\\",\"|\");Y(221,\"]\",\"}\");Y({c:59,b:186},\";\",\":\");Y(222,\"'",
"\",'\"');var Qc=new Hc;Qc.set(1,Mc);Qc.set(2,Nc);Qc.set(4,Oc);Qc.set(8,",
"Pc);(function(a){var b=new Hc;q(Ic(a),function(c){b.set(a.get(c).code,c",
")});return b})(Qc);function Z(){Ac.call(this)}p(Z,Ac);Z.W=void 0;Z.ra=f",
"unction(){return Z.W?Z.W:Z.W=new Z};function Rc(a){var b=Z.ra();Bc(b,a)",
";Cc(b)};ba(\"_\",function(a){if(!xc(a)||!nc(a)||\"none\"==W(a,\"pointer",
")});return b})(Qc);function Z(){Ec.call(this)}p(Z,Ec);Z.W=void 0;Z.ra=f",
"unction(){return Z.W?Z.W:Z.W=new Z};function Rc(a){var b=Z.ra();Fc(b,a)",
";Gc(b)};ba(\"_\",function(a){if(!xc(a)||!nc(a)||\"none\"==W(a,\"pointer",
"-events\"))throw new u(12,\"Element is not currently interactable and m",
"ay not be manipulated\");if(!lc(a))throw new u(12,\"Element must be use",
"r-editable in order to clear it.\");if(a.value){Rc(a);a.value=\"\";Gc(a",
",Fc);Gc(a,Ec);var b=ka.document.body;if(b)Rc(b);else throw new u(13,\"C",
"r-editable in order to clear it.\");if(a.value){Rc(a);a.value=\"\";Dc(a",
",Cc);Dc(a,Bc);var b=ka.document.body;if(b)Rc(b);else throw new u(13,\"C",
"annot unfocus element after clearing.\");}else A(a,\"INPUT\")&&a.getAtt",
"ribute(\"type\")&&\"number\"==a.getAttribute(\"type\").toLowerCase()&&(",
"Rc(a),a.value=\"\");pc(a)&&(Rc(a),a.innerHTML=\n\" \")});; return this.",
......@@ -1447,158 +1447,158 @@ const char* const CLICK[] = {
",a.top),a.bottom),a.right=Math.min(Math.max(a.left+b.width,a.left),a.ri",
"ght),a.bottom=Math.min(Math.max(a.top+b.height,a.top),a.bottom));return",
" a}function Ic(a){var b=1,c=T(a,\"opacity\");c&&(b=Number(c));(a=Cc(a))",
"&&(b*=Ic(a));return b};function Lc(a,b){this.g=ka.document.documentElem",
"ent;this.G=null;var c=ab(A(this.g));c&&Mc(this,c);this.$=a||new Nc;this",
".pa=b||new Oc}Lc.prototype.I=function(){return this.g};function Mc(a,b)",
"{a.g=b;a.G=B(b,\"OPTION\")?$a(b,function(a){return B(a,\"SELECT\")}):nu",
"ll}\nLc.prototype.W=function(a,b,c,d,e,f,h,l){if(!f&&!tc(this.g))return",
"!1;if(d&&Pc!=a&&Qc!=a)throw new u(12,\"Event type does not allow relate",
"d target: \"+a);b={clientX:b.x,clientY:b.y,button:c,altKey:0!=(this.$.c",
"a&4),ctrlKey:0!=(this.$.ca&2),shiftKey:0!=(this.$.ca&1),metaKey:0!=(thi",
"s.$.ca&8),wheelDelta:e||0,relatedTarget:d||null,count:l||1};h=h||1;c=th",
"is.g;a!=Rc&&a!=Sc&&h in Tc?c=Tc[h]:this.G&&(c=Uc(this,a));return c?this",
".pa.W(c,a,b):!0};\nLc.prototype.S=function(a,b,c,d,e,f,h,l){if(!l&&!tc(",
"this.g))return!1;if(h&&Vc!=a&&Wc!=a)throw new u(12,\"Event type does no",
"t allow related target: \"+a);b={clientX:b.x,clientY:b.y,button:c,altKe",
"y:!1,ctrlKey:!1,shiftKey:!1,metaKey:!1,relatedTarget:h||null,width:0,he",
"ight:0,pressure:0,rotation:0,pointerId:d,tiltX:0,tiltY:0,pointerType:e,",
"isPrimary:f};c=this.G?Uc(this,a):this.g;Tc[d]&&(c=Tc[d]);d=Sa(A(this.g)",
");if(d&&a==Xc){var q=d.Element.prototype.msSetPointerCapture;d.Element.",
"prototype.msSetPointerCapture=\nfunction(a){Tc[a]=this}}a=c?this.pa.S(c",
",a,b):!0;q&&(d.Element.prototype.msSetPointerCapture=q);return a};funct",
"ion Uc(a,b){switch(b){case Rc:case Yc:return a.G.multiple?a.g:a.G;defau",
"lt:return a.G.multiple?a.g:null}}function Zc(a){var b=$a(a.g,function(a",
"){return!!a&&B(a)&&xc(a)},!0),b=b||a.g;a=ab(A(b));if(b!=a){if(a&&ea(a.b",
"lur)&&!B(a,\"BODY\"))try{a.blur()}catch(c){throw c;}ea(b.focus)&&b.focu",
"s()}}function Nc(){this.ca=0}var Tc={};function Oc(){}Oc.prototype.W=fu",
"nction(a,b,c){return $c(a,b,c)};\nOc.prototype.S=function(a,b,c){return",
" $c(a,b,c)};Na();Na();function ad(a,b,c){this.B=a;this.la=b;this.ma=c}a",
"d.prototype.create=function(a){a=A(a).createEvent(\"HTMLEvents\");a.ini",
"tEvent(this.B,this.la,this.ma);return a};ad.prototype.toString=function",
"(){return this.B};function W(a,b,c){ad.call(this,a,b,c)}p(W,ad);\nW.pro",
"totype.create=function(a,b){if(this==bd)throw new u(9,\"Browser does no",
"t support a mouse pixel scroll event.\");var c=A(a);a=Sa(c);c=c.createE",
"vent(\"MouseEvents\");this==cd&&(c.wheelDelta=b.wheelDelta);c.initMouse",
"Event(this.B,this.la,this.ma,a,1,b.clientX,b.clientY,b.clientX,b.client",
"Y,b.ctrlKey,b.altKey,b.shiftKey,b.metaKey,b.button,b.relatedTarget);ret",
"urn c};function X(a,b,c){ad.call(this,a,b,c)}p(X,ad);X.prototype.create",
"=function(){throw new u(9,\"Browser does not support MSPointer events.",
"\");};\nvar dd=new ad(\"change\",!0,!1),Rc=new W(\"click\",!0,!0),ed=ne",
"w W(\"contextmenu\",!0,!0),fd=new W(\"dblclick\",!0,!0),Sc=new W(\"mous",
"edown\",!0,!0),gd=new W(\"mousemove\",!0,!1),Qc=new W(\"mouseout\",!0,!",
"0),Pc=new W(\"mouseover\",!0,!0),Yc=new W(\"mouseup\",!0,!0),cd=new W(",
"\"mousewheel\",!0,!0),bd=new W(\"MozMousePixelScroll\",!0,!0),hd=new X(",
"\"MSGotPointerCapture\",!0,!1),id=new X(\"MSLostPointerCapture\",!0,!1)",
",Xc=new X(\"MSPointerDown\",!0,!0),jd=new X(\"MSPointerMove\",!0,!0),Vc",
"=new X(\"MSPointerOver\",!0,!0),Wc=new X(\"MSPointerOut\",\n!0,!0),kd=n",
"ew X(\"MSPointerUp\",!0,!0);function $c(a,b,c){b=b.create(a,c);\"isTrus",
"ted\"in b||(b.isTrusted=!1);return a.dispatchEvent(b)};function ld(a,b)",
"{this.D={};this.h=[];this.M=0;var c=arguments.length;if(1<c){if(c%2)thr",
"ow Error(\"Uneven number of arguments\");for(var d=0;d<c;d+=2)this.set(",
"arguments[d],arguments[d+1])}else a&&this.addAll(a)}function md(a){nd(a",
");return a.h.concat()}g=ld.prototype;g.clear=function(){this.D={};this.",
"M=this.h.length=0};g.remove=function(a){return Object.prototype.hasOwnP",
"roperty.call(this.D,a)?(delete this.D[a],this.M--,this.h.length>2*this.",
"M&&nd(this),!0):!1};\nfunction nd(a){var b,c;if(a.M!=a.h.length){for(b=",
"c=0;c<a.h.length;){var d=a.h[c];Object.prototype.hasOwnProperty.call(a.",
"D,d)&&(a.h[b++]=d);c++}a.h.length=b}if(a.M!=a.h.length){var e={};for(b=",
"c=0;c<a.h.length;)d=a.h[c],Object.prototype.hasOwnProperty.call(e,d)||(",
"a.h[b++]=d,e[d]=1),c++;a.h.length=b}}g.get=function(a,b){return Object.",
"prototype.hasOwnProperty.call(this.D,a)?this.D[a]:b};g.set=function(a,b",
"){Object.prototype.hasOwnProperty.call(this.D,a)||(this.M++,this.h.push",
"(a));this.D[a]=b};\ng.addAll=function(a){if(a instanceof ld){var b=md(a",
");nd(a);for(var c=[],d=0;d<a.h.length;d++)c.push(a.D[a.h[d]]);a=c}else{",
"b=[];var d=0;for(e in a)b[d++]=e;d=[];var e=0;for(c in a)d[e++]=a[c];a=",
"d}for(c=0;c<b.length;c++)this.set(b[c],a[c])};g.forEach=function(a,b){f",
"or(var c=md(this),d=0;d<c.length;d++){var e=c[d],f=this.get(e);a.call(b",
",f,e,this)}};g.clone=function(){return new ld(this)};var od={};function",
" Y(a,b,c){fa(a)&&(a=a.b);a=new pd(a);!b||b in od&&!c||(od[b]={key:a,shi",
"ft:!1},c&&(od[c]={key:a,shift:!0}));return a}function pd(a){this.code=a",
"}Y(8);Y(9);Y(13);var qd=Y(16),rd=Y(17),sd=Y(18);Y(19);Y(20);Y(27);Y(32,",
"\" \");Y(33);Y(34);Y(35);Y(36);Y(37);Y(38);Y(39);Y(40);Y(44);Y(45);Y(46",
");Y(48,\"0\",\")\");Y(49,\"1\",\"!\");Y(50,\"2\",\"@\");Y(51,\"3\",\"#",
"\");Y(52,\"4\",\"$\");Y(53,\"5\",\"%\");Y(54,\"6\",\"^\");Y(55,\"7\",\"",
"&\");Y(56,\"8\",\"*\");Y(57,\"9\",\"(\");Y(65,\"a\",\"A\");Y(66,\"b\",",
"\"B\");Y(67,\"c\",\"C\");Y(68,\"d\",\"D\");\nY(69,\"e\",\"E\");Y(70,\"f",
"\",\"F\");Y(71,\"g\",\"G\");Y(72,\"h\",\"H\");Y(73,\"i\",\"I\");Y(74,\"",
"j\",\"J\");Y(75,\"k\",\"K\");Y(76,\"l\",\"L\");Y(77,\"m\",\"M\");Y(78,",
"\"n\",\"N\");Y(79,\"o\",\"O\");Y(80,\"p\",\"P\");Y(81,\"q\",\"Q\");Y(82",
",\"r\",\"R\");Y(83,\"s\",\"S\");Y(84,\"t\",\"T\");Y(85,\"u\",\"U\");Y(8",
"6,\"v\",\"V\");Y(87,\"w\",\"W\");Y(88,\"x\",\"X\");Y(89,\"y\",\"Y\");Y(",
"90,\"z\",\"Z\");var td=Y(Ja?{c:91,b:91}:Ia?{c:224,b:91}:{c:0,b:91});Y(J",
"a?{c:92,b:92}:Ia?{c:224,b:93}:{c:0,b:92});Y(Ja?{c:93,b:93}:Ia?{c:0,b:0}",
":{c:93,b:null});Y({c:96,b:96},\"0\");Y({c:97,b:97},\"1\");\nY({c:98,b:9",
"8},\"2\");Y({c:99,b:99},\"3\");Y({c:100,b:100},\"4\");Y({c:101,b:101},",
"\"5\");Y({c:102,b:102},\"6\");Y({c:103,b:103},\"7\");Y({c:104,b:104},\"",
"8\");Y({c:105,b:105},\"9\");Y({c:106,b:106},\"*\");Y({c:107,b:107},\"+",
"\");Y({c:109,b:109},\"-\");Y({c:110,b:110},\".\");Y({c:111,b:111},\"/\"",
");Y(144);Y(112);Y(113);Y(114);Y(115);Y(116);Y(117);Y(118);Y(119);Y(120)",
";Y(121);Y(122);Y(123);Y({c:107,b:187},\"=\",\"+\");Y(108,\",\");Y({c:10",
"9,b:189},\"-\",\"_\");Y(188,\",\",\"<\");Y(190,\".\",\">\");Y(191,\"/\"",
",\"?\");Y(192,\"`\",\"~\");Y(219,\"[\",\"{\");\nY(220,\"\\\\\",\"|\");Y",
"(221,\"]\",\"}\");Y({c:59,b:186},\";\",\":\");Y(222,\"'\",'\"');var ud=",
"new ld;ud.set(1,qd);ud.set(2,rd);ud.set(4,sd);ud.set(8,td);(function(a)",
"{var b=new ld;t(md(a),function(c){b.set(a.get(c).code,c)});return b})(u",
"d);function vd(a,b,c){Lc.call(this,b,c);this.K=this.j=null;this.C=new z",
"(0,0);this.Y=this.N=!1;if(a){n(a.buttonPressed)&&(this.j=a.buttonPresse",
"d);try{B(a.elementPressed)&&(this.K=a.elementPressed)}catch(d){this.j=n",
"ull}this.C=new z(a.clientXY.x,a.clientXY.y);this.N=!!a.nextClickIsDoubl",
"eClick;this.Y=!!a.hasEverInteracted;try{a.element&&B(a.element)&&Mc(thi",
"s,a.element)}catch(d){this.j=null}}}p(vd,Lc);var Z={};Z[Rc]=[0,1,2,null",
"];Z[ed]=[null,null,2,null];Z[Yc]=[0,1,2,null];Z[Qc]=[0,1,2,4];Z[gd]=[0,",
"1,2,4];\nQa&&(Z[Xc]=Z[Yc],Z[kd]=Z[Yc],Z[jd]=[-1,-1,-1,-1],Z[Wc]=Z[jd],Z",
"[Vc]=Z[jd]);Z[fd]=Z[Rc];Z[Sc]=Z[Yc];Z[Pc]=Z[Qc];var wd={};wd[Sc]=Xc;wd[",
"gd]=jd;wd[Qc]=Wc;wd[Pc]=Vc;wd[Yc]=kd;vd.prototype.move=function(a,b){va",
"r c=tc(a),d=Fc(a);this.C.x=b.x+d.left;this.C.y=b.y+d.top;b=this.I();if(",
"a!=b){try{Sa(A(b)).closed&&(b=null)}catch(e){b=null}b&&(d=b===ka.docume",
"nt.documentElement||b===ka.document.body,b=!this.Y&&d?null:b,xd(this,Qc",
",a));Mc(this,a);xd(this,Pc,b,null,c)}xd(this,gd,null,null,c);this.N=!1}",
";\nvd.prototype.scroll=function(a){if(0==a)throw new u(13,\"Must scroll",
" a non-zero number of ticks.\");for(var b=0<a?-120:120,c=0;c<Math.abs(a",
");c++)xd(this,cd,null,b)};function xd(a,b,c,d,e,f){a.Y=!0;if(Qa){var h=",
"wd[b];if(h&&!a.S(h,a.C,yd(a,h),1,MSPointerEvent.MSPOINTER_TYPE_MOUSE,!0",
",c,e))return!1}return a.W(b,a.C,yd(a,b),c,d,e,null,f)}function yd(a,b){",
"if(!(b in Z))return 0;a=Z[b][null===a.j?3:a.j];if(null===a)throw new u(",
"13,\"Event does not permit the specified mouse button.\");return a}\nvd",
".prototype.getState=function(){return{buttonPressed:this.j,elementPress",
"ed:this.K,clientXY:{x:this.C.x,y:this.C.y},nextClickIsDoubleClick:this.",
"N,hasEverInteracted:this.Y,element:this.I()}};function zd(a,b){this.x=a",
";this.y=b}p(zd,z);g=zd.prototype;g.clone=function(){return new zd(this.",
"x,this.y)};g.scale=z.prototype.scale;g.normalize=function(){return this",
".scale(1/Math.sqrt(this.x*this.x+this.y*this.y))};g.add=function(a){thi",
"s.x+=a.x;this.y+=a.y;return this};g.rotate=function(a){var b=Math.cos(a",
");a=Math.sin(a);var c=this.y*b+this.x*a;this.x=this.x*b-this.y*a;this.y",
"=c;return this};function Ad(a){var b;(b=qc(a,\"display\"))||(b=a.curren",
"tStyle?a.currentStyle.display:null);if(\"none\"!=(b||a.style&&a.style.d",
"isplay))b=rc(a);else{b=a.style;var c=b.display,d=b.visibility,e=b.posit",
"ion;b.visibility=\"hidden\";b.position=\"absolute\";b.display=\"inline",
"\";var f=rc(a);b.display=c;b.position=e;b.visibility=d;b=f}return 0<b.w",
"idth&&0<b.height||!a.offsetParent?b:Ad(a.offsetParent)};ba(\"_\",functi",
"on(a,b,c,d){if(!uc(a))throw new u(11,\"Element is not currently visible",
" and may not be manipulated\");b:{var e=b||void 0;if(\"scroll\"==Gc(a,e",
")){if(a.scrollIntoView&&(a.scrollIntoView(),\"none\"==Gc(a,e)))break b;",
"for(var f=Jc(a,e),h=Cc(a);h;h=Cc(h)){var l=h,q=Fc(l);var y=l;var r=qc(y",
",\"borderLeftWidth\");var v=qc(y,\"borderRightWidth\");var J=qc(y,\"bor",
"derTopWidth\");y=qc(y,\"borderBottomWidth\");v=new pc(parseFloat(J),par",
"seFloat(v),parseFloat(y),parseFloat(r));r=f.left-q.left-v.left;q=f.top-",
"q.top-\nv.top;v=l.clientHeight+f.top-f.bottom;l.scrollLeft+=Math.min(r,",
"Math.max(r-(l.clientWidth+f.left-f.right),0));l.scrollTop+=Math.min(q,M",
"ath.max(q-v,0))}Gc(a,e)}}b?b=new zd(b.x,b.y):(b=Ad(a),b=new zd(b.width/",
"2,b.height/2));c=c||new vd;c.move(a,b);if(null!==c.j)throw new u(13,\"C",
"annot press more than one button or an already pressed button.\");c.j=0",
";c.K=c.I();if(B(c.I(),\"OPTION\")||B(c.I(),\"SELECT\")||xd(c,Sc,null,nu",
"ll,!1,void 0))Qa&&0==c.j&&B(c.K,\"OPTION\")&&c.S(hd,c.C,0,1,MSPointerEv",
"ent.MSPOINTER_TYPE_MOUSE,\n!0),Zc(c);if(null===c.j)throw new u(13,\"Can",
"not release a button when no button is pressed.\");c.G&&tc(c.g)&&(a=c.G",
",b=gb(c.g),!b||a.multiple)&&(c.g.selected=!b,a.multiple&&!(0<=na(Pa,28)",
")||$c(a,dd));a=tc(c.I());xd(c,Yc,null,null,d,void 0);try{if(0==c.j&&c.I",
"()==c.K){var U=c.C,ma=yd(c,Rc);if(a||tc(c.g))!c.G&&fb(c.g)&&gb(c.g),c.W",
"(Rc,U,ma,null,0,a,void 0);c.N&&xd(c,fd);c.N=!c.N;Qa&&0==c.j&&B(c.K,\"OP",
"TION\")&&c.S(id,new z(0,0),0,1,MSPointerEvent.MSPOINTER_TYPE_MOUSE,!1)}",
"else 2==c.j&&xd(c,ed)}catch(Bd){}Tc=\n{};c.j=null;c.K=null});; return t",
"his._.apply(null,arguments);}.apply({navigator:typeof window!='undefine",
"d'?window.navigator:null,document:typeof window!='undefined'?window.doc",
"ument:null}, arguments);}",
"&&(b*=Ic(a));return b};Na();Na();function Lc(a,b,c){this.B=a;this.la=b;",
"this.ma=c}Lc.prototype.create=function(a){a=A(a).createEvent(\"HTMLEven",
"ts\");a.initEvent(this.B,this.la,this.ma);return a};Lc.prototype.toStri",
"ng=function(){return this.B};function W(a,b,c){Lc.call(this,a,b,c)}p(W,",
"Lc);\nW.prototype.create=function(a,b){if(this==Mc)throw new u(9,\"Brow",
"ser does not support a mouse pixel scroll event.\");var c=A(a);a=Sa(c);",
"c=c.createEvent(\"MouseEvents\");this==Nc&&(c.wheelDelta=b.wheelDelta);",
"c.initMouseEvent(this.B,this.la,this.ma,a,1,b.clientX,b.clientY,b.clien",
"tX,b.clientY,b.ctrlKey,b.altKey,b.shiftKey,b.metaKey,b.button,b.related",
"Target);return c};function X(a,b,c){Lc.call(this,a,b,c)}p(X,Lc);X.proto",
"type.create=function(){throw new u(9,\"Browser does not support MSPoint",
"er events.\");};\nvar Oc=new Lc(\"change\",!0,!1),Pc=new W(\"click\",!0",
",!0),Qc=new W(\"contextmenu\",!0,!0),Rc=new W(\"dblclick\",!0,!0),Sc=ne",
"w W(\"mousedown\",!0,!0),Tc=new W(\"mousemove\",!0,!1),Uc=new W(\"mouse",
"out\",!0,!0),Vc=new W(\"mouseover\",!0,!0),Wc=new W(\"mouseup\",!0,!0),",
"Nc=new W(\"mousewheel\",!0,!0),Mc=new W(\"MozMousePixelScroll\",!0,!0),",
"Xc=new X(\"MSGotPointerCapture\",!0,!1),Yc=new X(\"MSLostPointerCapture",
"\",!0,!1),Zc=new X(\"MSPointerDown\",!0,!0),$c=new X(\"MSPointerMove\",",
"!0,!0),ad=new X(\"MSPointerOver\",!0,!0),bd=new X(\"MSPointerOut\",\n!0",
",!0),cd=new X(\"MSPointerUp\",!0,!0);function dd(a,b,c){b=b.create(a,c)",
";\"isTrusted\"in b||(b.isTrusted=!1);return a.dispatchEvent(b)};functio",
"n ed(a,b){this.g=ka.document.documentElement;this.G=null;var c=ab(A(thi",
"s.g));c&&fd(this,c);this.$=a||new gd;this.pa=b||new hd}ed.prototype.I=f",
"unction(){return this.g};function fd(a,b){a.g=b;a.G=B(b,\"OPTION\")?$a(",
"b,function(a){return B(a,\"SELECT\")}):null}\ned.prototype.W=function(a",
",b,c,d,e,f,h,l){if(!f&&!tc(this.g))return!1;if(d&&Vc!=a&&Uc!=a)throw ne",
"w u(12,\"Event type does not allow related target: \"+a);b={clientX:b.x",
",clientY:b.y,button:c,altKey:0!=(this.$.ca&4),ctrlKey:0!=(this.$.ca&2),",
"shiftKey:0!=(this.$.ca&1),metaKey:0!=(this.$.ca&8),wheelDelta:e||0,rela",
"tedTarget:d||null,count:l||1};h=h||1;c=this.g;a!=Pc&&a!=Sc&&h in id?c=i",
"d[h]:this.G&&(c=jd(this,a));return c?this.pa.W(c,a,b):!0};\ned.prototyp",
"e.S=function(a,b,c,d,e,f,h,l){if(!l&&!tc(this.g))return!1;if(h&&ad!=a&&",
"bd!=a)throw new u(12,\"Event type does not allow related target: \"+a);",
"b={clientX:b.x,clientY:b.y,button:c,altKey:!1,ctrlKey:!1,shiftKey:!1,me",
"taKey:!1,relatedTarget:h||null,width:0,height:0,pressure:0,rotation:0,p",
"ointerId:d,tiltX:0,tiltY:0,pointerType:e,isPrimary:f};c=this.G?jd(this,",
"a):this.g;id[d]&&(c=id[d]);d=Sa(A(this.g));if(d&&a==Zc){var q=d.Element",
".prototype.msSetPointerCapture;d.Element.prototype.msSetPointerCapture=",
"\nfunction(a){id[a]=this}}a=c?this.pa.S(c,a,b):!0;q&&(d.Element.prototy",
"pe.msSetPointerCapture=q);return a};function jd(a,b){switch(b){case Pc:",
"case Wc:return a.G.multiple?a.g:a.G;default:return a.G.multiple?a.g:nul",
"l}}function kd(a){var b=$a(a.g,function(a){return!!a&&B(a)&&xc(a)},!0),",
"b=b||a.g;a=ab(A(b));if(b!=a){if(a&&ea(a.blur)&&!B(a,\"BODY\"))try{a.blu",
"r()}catch(c){throw c;}ea(b.focus)&&b.focus()}}function gd(){this.ca=0}v",
"ar id={};function hd(){}hd.prototype.W=function(a,b,c){return dd(a,b,c)",
"};\nhd.prototype.S=function(a,b,c){return dd(a,b,c)};function ld(a,b){t",
"his.D={};this.h=[];this.M=0;var c=arguments.length;if(1<c){if(c%2)throw",
" Error(\"Uneven number of arguments\");for(var d=0;d<c;d+=2)this.set(ar",
"guments[d],arguments[d+1])}else a&&this.addAll(a)}function md(a){nd(a);",
"return a.h.concat()}g=ld.prototype;g.clear=function(){this.D={};this.M=",
"this.h.length=0};g.remove=function(a){return Object.prototype.hasOwnPro",
"perty.call(this.D,a)?(delete this.D[a],this.M--,this.h.length>2*this.M&",
"&nd(this),!0):!1};\nfunction nd(a){var b,c;if(a.M!=a.h.length){for(b=c=",
"0;c<a.h.length;){var d=a.h[c];Object.prototype.hasOwnProperty.call(a.D,",
"d)&&(a.h[b++]=d);c++}a.h.length=b}if(a.M!=a.h.length){var e={};for(b=c=",
"0;c<a.h.length;)d=a.h[c],Object.prototype.hasOwnProperty.call(e,d)||(a.",
"h[b++]=d,e[d]=1),c++;a.h.length=b}}g.get=function(a,b){return Object.pr",
"ototype.hasOwnProperty.call(this.D,a)?this.D[a]:b};g.set=function(a,b){",
"Object.prototype.hasOwnProperty.call(this.D,a)||(this.M++,this.h.push(a",
"));this.D[a]=b};\ng.addAll=function(a){if(a instanceof ld){var b=md(a);",
"nd(a);for(var c=[],d=0;d<a.h.length;d++)c.push(a.D[a.h[d]]);a=c}else{b=",
"[];var d=0;for(e in a)b[d++]=e;d=[];var e=0;for(c in a)d[e++]=a[c];a=d}",
"for(c=0;c<b.length;c++)this.set(b[c],a[c])};g.forEach=function(a,b){for",
"(var c=md(this),d=0;d<c.length;d++){var e=c[d],f=this.get(e);a.call(b,f",
",e,this)}};g.clone=function(){return new ld(this)};var od={};function Y",
"(a,b,c){fa(a)&&(a=a.b);a=new pd(a);!b||b in od&&!c||(od[b]={key:a,shift",
":!1},c&&(od[c]={key:a,shift:!0}));return a}function pd(a){this.code=a}Y",
"(8);Y(9);Y(13);var qd=Y(16),rd=Y(17),sd=Y(18);Y(19);Y(20);Y(27);Y(32,\"",
" \");Y(33);Y(34);Y(35);Y(36);Y(37);Y(38);Y(39);Y(40);Y(44);Y(45);Y(46);",
"Y(48,\"0\",\")\");Y(49,\"1\",\"!\");Y(50,\"2\",\"@\");Y(51,\"3\",\"#\")",
";Y(52,\"4\",\"$\");Y(53,\"5\",\"%\");Y(54,\"6\",\"^\");Y(55,\"7\",\"&\"",
");Y(56,\"8\",\"*\");Y(57,\"9\",\"(\");Y(65,\"a\",\"A\");Y(66,\"b\",\"B",
"\");Y(67,\"c\",\"C\");Y(68,\"d\",\"D\");\nY(69,\"e\",\"E\");Y(70,\"f\",",
"\"F\");Y(71,\"g\",\"G\");Y(72,\"h\",\"H\");Y(73,\"i\",\"I\");Y(74,\"j\"",
",\"J\");Y(75,\"k\",\"K\");Y(76,\"l\",\"L\");Y(77,\"m\",\"M\");Y(78,\"n",
"\",\"N\");Y(79,\"o\",\"O\");Y(80,\"p\",\"P\");Y(81,\"q\",\"Q\");Y(82,\"",
"r\",\"R\");Y(83,\"s\",\"S\");Y(84,\"t\",\"T\");Y(85,\"u\",\"U\");Y(86,",
"\"v\",\"V\");Y(87,\"w\",\"W\");Y(88,\"x\",\"X\");Y(89,\"y\",\"Y\");Y(90",
",\"z\",\"Z\");var td=Y(Ja?{c:91,b:91}:Ia?{c:224,b:91}:{c:0,b:91});Y(Ja?",
"{c:92,b:92}:Ia?{c:224,b:93}:{c:0,b:92});Y(Ja?{c:93,b:93}:Ia?{c:0,b:0}:{",
"c:93,b:null});Y({c:96,b:96},\"0\");Y({c:97,b:97},\"1\");\nY({c:98,b:98}",
",\"2\");Y({c:99,b:99},\"3\");Y({c:100,b:100},\"4\");Y({c:101,b:101},\"5",
"\");Y({c:102,b:102},\"6\");Y({c:103,b:103},\"7\");Y({c:104,b:104},\"8\"",
");Y({c:105,b:105},\"9\");Y({c:106,b:106},\"*\");Y({c:107,b:107},\"+\");",
"Y({c:109,b:109},\"-\");Y({c:110,b:110},\".\");Y({c:111,b:111},\"/\");Y(",
"144);Y(112);Y(113);Y(114);Y(115);Y(116);Y(117);Y(118);Y(119);Y(120);Y(1",
"21);Y(122);Y(123);Y({c:107,b:187},\"=\",\"+\");Y(108,\",\");Y({c:109,b:",
"189},\"-\",\"_\");Y(188,\",\",\"<\");Y(190,\".\",\">\");Y(191,\"/\",\"?",
"\");Y(192,\"`\",\"~\");Y(219,\"[\",\"{\");\nY(220,\"\\\\\",\"|\");Y(221",
",\"]\",\"}\");Y({c:59,b:186},\";\",\":\");Y(222,\"'\",'\"');var ud=new ",
"ld;ud.set(1,qd);ud.set(2,rd);ud.set(4,sd);ud.set(8,td);(function(a){var",
" b=new ld;t(md(a),function(c){b.set(a.get(c).code,c)});return b})(ud);f",
"unction vd(a,b,c){ed.call(this,b,c);this.K=this.j=null;this.C=new z(0,0",
");this.Y=this.N=!1;if(a){n(a.buttonPressed)&&(this.j=a.buttonPressed);t",
"ry{B(a.elementPressed)&&(this.K=a.elementPressed)}catch(d){this.j=null}",
"this.C=new z(a.clientXY.x,a.clientXY.y);this.N=!!a.nextClickIsDoubleCli",
"ck;this.Y=!!a.hasEverInteracted;try{a.element&&B(a.element)&&fd(this,a.",
"element)}catch(d){this.j=null}}}p(vd,ed);var Z={};Z[Pc]=[0,1,2,null];Z[",
"Qc]=[null,null,2,null];Z[Wc]=[0,1,2,null];Z[Uc]=[0,1,2,4];Z[Tc]=[0,1,2,",
"4];\nQa&&(Z[Zc]=Z[Wc],Z[cd]=Z[Wc],Z[$c]=[-1,-1,-1,-1],Z[bd]=Z[$c],Z[ad]",
"=Z[$c]);Z[Rc]=Z[Pc];Z[Sc]=Z[Wc];Z[Vc]=Z[Uc];var wd={};wd[Sc]=Zc;wd[Tc]=",
"$c;wd[Uc]=bd;wd[Vc]=ad;wd[Wc]=cd;vd.prototype.move=function(a,b){var c=",
"tc(a),d=Fc(a);this.C.x=b.x+d.left;this.C.y=b.y+d.top;b=this.I();if(a!=b",
"){try{Sa(A(b)).closed&&(b=null)}catch(e){b=null}b&&(d=b===ka.document.d",
"ocumentElement||b===ka.document.body,b=!this.Y&&d?null:b,xd(this,Uc,a))",
";fd(this,a);xd(this,Vc,b,null,c)}xd(this,Tc,null,null,c);this.N=!1};\nv",
"d.prototype.scroll=function(a){if(0==a)throw new u(13,\"Must scroll a n",
"on-zero number of ticks.\");for(var b=0<a?-120:120,c=0;c<Math.abs(a);c+",
"+)xd(this,Nc,null,b)};function xd(a,b,c,d,e,f){a.Y=!0;if(Qa){var h=wd[b",
"];if(h&&!a.S(h,a.C,yd(a,h),1,MSPointerEvent.MSPOINTER_TYPE_MOUSE,!0,c,e",
"))return!1}return a.W(b,a.C,yd(a,b),c,d,e,null,f)}function yd(a,b){if(!",
"(b in Z))return 0;a=Z[b][null===a.j?3:a.j];if(null===a)throw new u(13,",
"\"Event does not permit the specified mouse button.\");return a}\nvd.pr",
"ototype.getState=function(){return{buttonPressed:this.j,elementPressed:",
"this.K,clientXY:{x:this.C.x,y:this.C.y},nextClickIsDoubleClick:this.N,h",
"asEverInteracted:this.Y,element:this.I()}};function zd(a,b){this.x=a;th",
"is.y=b}p(zd,z);g=zd.prototype;g.clone=function(){return new zd(this.x,t",
"his.y)};g.scale=z.prototype.scale;g.normalize=function(){return this.sc",
"ale(1/Math.sqrt(this.x*this.x+this.y*this.y))};g.add=function(a){this.x",
"+=a.x;this.y+=a.y;return this};g.rotate=function(a){var b=Math.cos(a);a",
"=Math.sin(a);var c=this.y*b+this.x*a;this.x=this.x*b-this.y*a;this.y=c;",
"return this};function Ad(a){var b;(b=qc(a,\"display\"))||(b=a.currentSt",
"yle?a.currentStyle.display:null);if(\"none\"!=(b||a.style&&a.style.disp",
"lay))b=rc(a);else{b=a.style;var c=b.display,d=b.visibility,e=b.position",
";b.visibility=\"hidden\";b.position=\"absolute\";b.display=\"inline\";v",
"ar f=rc(a);b.display=c;b.position=e;b.visibility=d;b=f}return 0<b.width",
"&&0<b.height||!a.offsetParent?b:Ad(a.offsetParent)};ba(\"_\",function(a",
",b,c,d){if(!uc(a))throw new u(11,\"Element is not currently visible and",
" may not be manipulated\");b:{var e=b||void 0;if(\"scroll\"==Gc(a,e)){i",
"f(a.scrollIntoView&&(a.scrollIntoView(),\"none\"==Gc(a,e)))break b;for(",
"var f=Jc(a,e),h=Cc(a);h;h=Cc(h)){var l=h,q=Fc(l);var y=l;var r=qc(y,\"b",
"orderLeftWidth\");var v=qc(y,\"borderRightWidth\");var J=qc(y,\"borderT",
"opWidth\");y=qc(y,\"borderBottomWidth\");v=new pc(parseFloat(J),parseFl",
"oat(v),parseFloat(y),parseFloat(r));r=f.left-q.left-v.left;q=f.top-q.to",
"p-\nv.top;v=l.clientHeight+f.top-f.bottom;l.scrollLeft+=Math.min(r,Math",
".max(r-(l.clientWidth+f.left-f.right),0));l.scrollTop+=Math.min(q,Math.",
"max(q-v,0))}Gc(a,e)}}b?b=new zd(b.x,b.y):(b=Ad(a),b=new zd(b.width/2,b.",
"height/2));c=c||new vd;c.move(a,b);if(null!==c.j)throw new u(13,\"Canno",
"t press more than one button or an already pressed button.\");c.j=0;c.K",
"=c.I();if(B(c.I(),\"OPTION\")||B(c.I(),\"SELECT\")||xd(c,Sc,null,null,!",
"1,void 0))Qa&&0==c.j&&B(c.K,\"OPTION\")&&c.S(Xc,c.C,0,1,MSPointerEvent.",
"MSPOINTER_TYPE_MOUSE,\n!0),kd(c);if(null===c.j)throw new u(13,\"Cannot ",
"release a button when no button is pressed.\");c.G&&tc(c.g)&&(a=c.G,b=g",
"b(c.g),!b||a.multiple)&&(c.g.selected=!b,a.multiple&&!(0<=na(Pa,28))||d",
"d(a,Oc));a=tc(c.I());xd(c,Wc,null,null,d,void 0);try{if(0==c.j&&c.I()==",
"c.K){var U=c.C,ma=yd(c,Pc);if(a||tc(c.g))!c.G&&fb(c.g)&&gb(c.g),c.W(Pc,",
"U,ma,null,0,a,void 0);c.N&&xd(c,Rc);c.N=!c.N;Qa&&0==c.j&&B(c.K,\"OPTION",
"\")&&c.S(Yc,new z(0,0),0,1,MSPointerEvent.MSPOINTER_TYPE_MOUSE,!1)}else",
" 2==c.j&&xd(c,Qc)}catch(Bd){}id=\n{};c.j=null;c.K=null});; return this.",
"_.apply(null,arguments);}.apply({navigator:typeof window!='undefined'?w",
"indow.navigator:null,document:typeof window!='undefined'?window.documen",
"t:null}, arguments);}",
NULL
};
......@@ -2554,10 +2554,10 @@ const char* const FIND_ELEMENTS[] = {
"xt:vc,\"partial link text\":vc,tagName:wc,\"tag name\":wc,xpath:U};ba(",
"\"_\",function(a,b){a:{for(c in a)if(a.hasOwnProperty(c))break a;var c=",
"null}if(c){var d=xc[c];if(d&&p(d.l))return d.l(a[c],b||ja.document)}thr",
"ow Error(\"Unsupported locator strategy: \"+c);});; return this._.apply",
"(null,arguments);}.apply({navigator:typeof window!='undefined'?window.n",
"avigator:null,document:typeof window!='undefined'?window.document:null}",
", arguments);}",
"ow new t(61,\"Unsupported locator strategy: \"+c);});; return this._.ap",
"ply(null,arguments);}.apply({navigator:typeof window!='undefined'?windo",
"w.navigator:null,document:typeof window!='undefined'?window.document:nu",
"ll}, arguments);}",
NULL
};
......@@ -4540,14 +4540,14 @@ const char* const SUBMIT[] = {
"t&&a.Document.prototype||a.document;if(!c.evaluate||b)a.XPathResult=V,c",
".evaluate=function(a,b,c,h){return(new zb(a,c)).evaluate(b,h)},c.create",
"Expression=function(a,b){return new zb(a,b)},c.createNSResolver=functio",
"n(a){return new Ab(a)}});function Bb(){this.$=ga.document.documentEleme",
"nt;a:{var a=za(this.$);try{var b=a&&a.activeElement;break a}catch(c){}b",
"=null}b&&Cb(this,b)}function Cb(a,b){a.$=b;x(b,\"OPTION\")&&Ba(b,functi",
"on(a){return x(a,\"SELECT\")})}function Db(a){return x(a,\"FORM\")};ua(",
");ua();function Eb(a,b,c){this.A=a;this.la=b;this.ma=c}Eb.prototype.cre",
"ate=function(a){a=za(a).createEvent(\"HTMLEvents\");a.initEvent(this.A,",
"this.la,this.ma);return a};Eb.prototype.toString=function(){return this",
".A};var Gb=new Eb(\"submit\",!0,!0);function W(a,b){this.v={};this.g=[]",
"n(a){return new Ab(a)}});ua();ua();function Bb(a,b,c){this.A=a;this.la=",
"b;this.ma=c}Bb.prototype.create=function(a){a=za(a).createEvent(\"HTMLE",
"vents\");a.initEvent(this.A,this.la,this.ma);return a};Bb.prototype.toS",
"tring=function(){return this.A};var Cb=new Bb(\"submit\",!0,!0);functio",
"n Db(){this.$=ga.document.documentElement;a:{var a=za(this.$);try{var b",
"=a&&a.activeElement;break a}catch(c){}b=null}b&&Eb(this,b)}function Eb(",
"a,b){a.$=b;x(b,\"OPTION\")&&Ba(b,function(a){return x(a,\"SELECT\")})}f",
"unction Gb(a){return x(a,\"FORM\")};function W(a,b){this.v={};this.g=[]",
";this.G=0;var c=arguments.length;if(1<c){if(c%2)throw Error(\"Uneven nu",
"mber of arguments\");for(var d=0;d<c;d+=2)this.set(arguments[d],argumen",
"ts[d+1])}else a&&this.addAll(a)}function Hb(a){Ib(a);return a.g.concat(",
......@@ -4594,11 +4594,11 @@ const char* const SUBMIT[] = {
"\");X(220,\"\\\\\",\"|\");X(221,\"]\",\"}\");X({c:59,b:186},\";\",\":\"",
");X(222,\"'\",'\"');var Y=new W;Y.set(1,Lb);Y.set(2,Mb);Y.set(4,Nb);Y.s",
"et(8,Ob);(function(a){var b=new W;p(Hb(a),function(c){b.set(a.get(c).co",
"de,c)});return b})(Y);function Z(){Bb.call(this)}n(Z,Bb);Z.U=void 0;Z.n",
"de,c)});return b})(Y);function Z(){Db.call(this)}n(Z,Db);Z.U=void 0;Z.n",
"a=function(){return Z.U?Z.U:Z.U=new Z};aa(\"_\",function(a){var b=Ba(a,",
"Db,!0);if(!b)throw new t(7,\"Element was not in a form, so could not su",
"bmit.\");var c=Z.na();Cb(c,a);if(!Db(b))throw new t(12,\"Element is not",
" a form, so could not submit.\");a=Gb.create(b,void 0);\"isTrusted\"in ",
"Gb,!0);if(!b)throw new t(7,\"Element was not in a form, so could not su",
"bmit.\");var c=Z.na();Eb(c,a);if(!Gb(b))throw new t(12,\"Element is not",
" a form, so could not submit.\");a=Cb.create(b,void 0);\"isTrusted\"in ",
"a||(a.isTrusted=!1);b.dispatchEvent(a)&&(x(b.submit)?b.constructor.prot",
"otype.submit.call(b):b.submit())});; return this._.apply(null,arguments",
");}.apply({navigator:typeof window!='undefined'?window.navigator:null,d",
......@@ -5334,13 +5334,13 @@ const char* const FIND_ELEMENT[] = {
"tion yc(a){for(var b in a)if(a.hasOwnProperty(b))return b;return null};",
"var zc=\"function\"===typeof ShadowRoot;ba(\"_\",function(a,b){var c;a:",
"{if(c=yc(a)){var d=xc[c];if(d&&p(d.u)){c=d.u(a[c],b||ja.document);break",
" a}}throw Error(\"Unsupported locator strategy: \"+c);}if(c)return c;if",
"(zc&&b){for(c=b;c.parentNode;)c=c.parentNode;if(c instanceof ShadowRoot",
"){a:{if((c=yc(a))&&(d=xc[c])&&p(d.l)){a=d.l(a[c],b||ja.document);break ",
"a}throw Error(\"Unsupported locator strategy: \"+c);}if(c=a[0])return c",
"}}return null});; return this._.apply(null,arguments);}.apply({navigato",
"r:typeof window!='undefined'?window.navigator:null,document:typeof wind",
"ow!='undefined'?window.document:null}, arguments);}",
" a}}throw new v(61,\"Unsupported locator strategy: \"+c);}if(c)return c",
";if(zc&&b){for(c=b;c.parentNode;)c=c.parentNode;if(c instanceof ShadowR",
"oot){a:{if((c=yc(a))&&(d=xc[c])&&p(d.l)){a=d.l(a[c],b||ja.document);bre",
"ak a}throw new v(61,\"Unsupported locator strategy: \"+c);}if(c=a[0])re",
"turn c}}return null});; return this._.apply(null,arguments);}.apply({na",
"vigator:typeof window!='undefined'?window.navigator:null,document:typeo",
"f window!='undefined'?window.document:null}, arguments);}",
NULL
};
......@@ -7771,62 +7771,61 @@ const char* const GET_APPCACHE_STATUS[] = {
const char* const GET_ATTRIBUTE[] = {
"function(){return function(){function d(a){return\"string\"==typeof a};",
"function g(a,b){this.code=a;this.state=h[a]||k;this.message=b||\"\";a=t",
"his.state.replace(/((?:^|\\s+)[a-z])/g,function(a){return a.toUpperCase",
"().replace(/^[\\s\\xa0]+/g,\"\")});b=a.length-5;if(0>b||a.indexOf(\"Err",
"or\",b)!=b)a+=\"Error\";this.name=a;a=Error(this.message);a.name=this.n",
"ame;this.stack=a.stack||\"\"}\n(function(){var a=Error;function b(){}b.",
"prototype=a.prototype;g.b=a.prototype;g.prototype=new b;g.prototype.con",
"structor=g;g.a=function(b,e,f){for(var c=Array(arguments.length-2),m=2;",
"m<arguments.length;m++)c[m-2]=arguments[m];return a.prototype[e].apply(",
"b,c)}})();var k=\"unknown error\",h={15:\"element not selectable\",11:",
"\"element not visible\"};h[31]=k;h[30]=k;h[24]=\"invalid cookie domain",
"\";h[29]=\"invalid element coordinates\";h[12]=\"invalid element state",
"\";h[32]=\"invalid selector\";h[51]=\"invalid selector\";\nh[52]=\"inva",
"lid selector\";h[17]=\"javascript error\";h[405]=\"unsupported operatio",
"n\";h[34]=\"move target out of bounds\";h[27]=\"no such alert\";h[7]=\"",
"no such element\";h[8]=\"no such frame\";h[23]=\"no such window\";h[28]",
"=\"script timeout\";h[33]=\"session not created\";h[10]=\"stale element",
" reference\";h[21]=\"timeout\";h[25]=\"unable to set cookie\";h[26]=\"u",
"nexpected alert open\";h[13]=k;h[9]=\"unknown command\";g.prototype.toS",
"tring=function(){return this.name+\": \"+this.message};function n(a,b){",
"for(var c=a.length,e=d(a)?a.split(\"\"):a,f=0;f<c;f++)f in e&&b.call(vo",
"id 0,e[f],f,a)};function p(a,b){b=b.toLowerCase();return\"style\"==b?q(",
"a.style.cssText):(a=a.getAttributeNode(b))&&a.specified?a.value:null}va",
"r r=/[;]+(?=(?:(?:[^\"]*\"){2})*[^\"]*$)(?=(?:(?:[^']*'){2})*[^']*$)(?=",
"(?:[^()]*\\([^()]*\\))*[^()]*$)/;function q(a){var b=[];n(a.split(r),fu",
"nction(a){var c=a.indexOf(\":\");0<c&&(a=[a.slice(0,c),a.slice(c+1)],2=",
"=a.length&&b.push(a[0].toLowerCase(),\":\",a[1],\";\"))});b=b.join(\"\"",
");return b=\";\"==b.charAt(b.length-1)?b:b+\";\"}\nfunction t(a,b){b&&",
"\"string\"!==typeof b&&(b=b.toString());return!!a&&1==a.nodeType&&(!b||",
"a.tagName.toUpperCase()==b)}function u(a){return t(a,\"OPTION\")?!0:t(a",
",\"INPUT\")?(a=a.type.toLowerCase(),\"checkbox\"==a||\"radio\"==a):!1};",
"var v={\"class\":\"className\",readonly:\"readOnly\"},w=\"allowfullscre",
"en allowpaymentrequest allowusermedia async autofocus autoplay checked ",
"compact complete controls declare default defaultchecked defaultselecte",
"d defer disabled ended formnovalidate hidden indeterminate iscontentedi",
"table ismap itemscope loop multiple muted nohref nomodule noresize nosh",
"ade novalidate nowrap open paused playsinline pubdate readonly required",
" reversed scoped seamless seeking selected truespeed typemustmatch will",
"validate\".split(\" \");function x(a,b){var c=b.toLowerCase();if(\"styl",
"e\"==c)return(b=a.style)&&!d(b)&&(b=b.cssText),b;if((\"selected\"==c||",
"\"checked\"==c)&&u(a)){if(!u(a))throw new g(15,\"Element is not selecta",
"ble\");b=\"selected\";var e=a.type&&a.type.toLowerCase();if(\"checkbox",
"\"==e||\"radio\"==e)b=\"checked\";return a[b]?\"true\":null}var f=t(a,",
"\"A\");if(t(a,\"IMG\")&&\"src\"==c||f&&\"href\"==c)return(b=p(a,c))&&(b",
"=a[c]),b;if(\"spellcheck\"==c){b=p(a,c);if(null!==b){if(\"false\"==b.to",
"LowerCase())return\"false\";if(\"true\"==b.toLowerCase())return\"true\"",
"}return a[c]+\n\"\"}f=v[b]||b;a:if(d(w))c=d(c)&&1==c.length?w.indexOf(c",
",0):-1;else{for(var l=0;l<w.length;l++)if(l in w&&w[l]===c){c=l;break a",
"}c=-1}if(0<=c)return(b=null!==p(a,b)||a[f])?\"true\":null;try{e=a[f]}ca",
"tch(m){}(c=null==e)||(c=typeof e,c=\"object\"==c&&null!=e||\"function\"",
"==c);b=c?p(a,b):e;return null!=b?b.toString():null}var y=[\"_\"],z=this",
";y[0]in z||!z.execScript||z.execScript(\"var \"+y[0]);\nfor(var A;y.len",
"gth&&(A=y.shift());){var B;if(B=!y.length)B=void 0!==x;B?z[A]=x:z=z[A]&",
"&z[A]!==Object.prototype[A]?z[A]:z[A]={}};; return this._.apply(null,ar",
"guments);}.apply({navigator:typeof window!='undefined'?window.navigator",
":null,document:typeof window!='undefined'?window.document:null}, argume",
"nts);}",
"function g(a,b){for(var c=a.length,e=d(a)?a.split(\"\"):a,f=0;f<c;f++)f",
" in e&&b.call(void 0,e[f],f,a)};function h(a,b){this.code=a;this.state=",
"k[a]||n;this.message=b||\"\";a=this.state.replace(/((?:^|\\s+)[a-z])/g,",
"function(a){return a.toUpperCase().replace(/^[\\s\\xa0]+/g,\"\")});b=a.",
"length-5;if(0>b||a.indexOf(\"Error\",b)!=b)a+=\"Error\";this.name=a;a=E",
"rror(this.message);a.name=this.name;this.stack=a.stack||\"\"}\n(functio",
"n(){var a=Error;function b(){}b.prototype=a.prototype;h.b=a.prototype;h",
".prototype=new b;h.prototype.constructor=h;h.a=function(b,e,f){for(var ",
"c=Array(arguments.length-2),m=2;m<arguments.length;m++)c[m-2]=arguments",
"[m];return a.prototype[e].apply(b,c)}})();var n=\"unknown error\",k={15",
":\"element not selectable\",11:\"element not visible\"};k[31]=n;k[30]=n",
";k[24]=\"invalid cookie domain\";k[29]=\"invalid element coordinates\";",
"k[12]=\"invalid element state\";k[32]=\"invalid selector\";k[51]=\"inva",
"lid selector\";\nk[52]=\"invalid selector\";k[17]=\"javascript error\";",
"k[405]=\"unsupported operation\";k[34]=\"move target out of bounds\";k[",
"27]=\"no such alert\";k[7]=\"no such element\";k[8]=\"no such frame\";k",
"[23]=\"no such window\";k[28]=\"script timeout\";k[33]=\"session not cr",
"eated\";k[10]=\"stale element reference\";k[21]=\"timeout\";k[25]=\"una",
"ble to set cookie\";k[26]=\"unexpected alert open\";k[13]=n;k[9]=\"unkn",
"own command\";h.prototype.toString=function(){return this.name+\": \"+t",
"his.message};function p(a,b){b=b.toLowerCase();return\"style\"==b?q(a.s",
"tyle.cssText):(a=a.getAttributeNode(b))&&a.specified?a.value:null}var r",
"=/[;]+(?=(?:(?:[^\"]*\"){2})*[^\"]*$)(?=(?:(?:[^']*'){2})*[^']*$)(?=(?:",
"[^()]*\\([^()]*\\))*[^()]*$)/;function q(a){var b=[];g(a.split(r),funct",
"ion(a){var c=a.indexOf(\":\");0<c&&(a=[a.slice(0,c),a.slice(c+1)],2==a.",
"length&&b.push(a[0].toLowerCase(),\":\",a[1],\";\"))});b=b.join(\"\");r",
"eturn b=\";\"==b.charAt(b.length-1)?b:b+\";\"}\nfunction t(a,b){b&&\"st",
"ring\"!==typeof b&&(b=b.toString());return!!a&&1==a.nodeType&&(!b||a.ta",
"gName.toUpperCase()==b)}function u(a){return t(a,\"OPTION\")?!0:t(a,\"I",
"NPUT\")?(a=a.type.toLowerCase(),\"checkbox\"==a||\"radio\"==a):!1};var ",
"v={\"class\":\"className\",readonly:\"readOnly\"},w=\"allowfullscreen a",
"llowpaymentrequest allowusermedia async autofocus autoplay checked comp",
"act complete controls declare default defaultchecked defaultselected de",
"fer disabled ended formnovalidate hidden indeterminate iscontenteditabl",
"e ismap itemscope loop multiple muted nohref nomodule noresize noshade ",
"novalidate nowrap open paused playsinline pubdate readonly required rev",
"ersed scoped seamless seeking selected truespeed typemustmatch willvali",
"date\".split(\" \");function x(a,b){var c=b.toLowerCase();if(\"style\"=",
"=c)return(b=a.style)&&!d(b)&&(b=b.cssText),b;if((\"selected\"==c||\"che",
"cked\"==c)&&u(a)){if(!u(a))throw new h(15,\"Element is not selectable\"",
");b=\"selected\";var e=a.type&&a.type.toLowerCase();if(\"checkbox\"==e|",
"|\"radio\"==e)b=\"checked\";return a[b]?\"true\":null}var f=t(a,\"A\");",
"if(t(a,\"IMG\")&&\"src\"==c||f&&\"href\"==c)return(b=p(a,c))&&(b=a[c]),",
"b;if(\"spellcheck\"==c){b=p(a,c);if(null!==b){if(\"false\"==b.toLowerCa",
"se())return\"false\";if(\"true\"==b.toLowerCase())return\"true\"}return",
" a[c]+\n\"\"}f=v[b]||b;a:if(d(w))c=d(c)&&1==c.length?w.indexOf(c,0):-1;",
"else{for(var l=0;l<w.length;l++)if(l in w&&w[l]===c){c=l;break a}c=-1}i",
"f(0<=c)return(b=null!==p(a,b)||a[f])?\"true\":null;try{e=a[f]}catch(m){",
"}(c=null==e)||(c=typeof e,c=\"object\"==c&&null!=e||\"function\"==c);b=",
"c?p(a,b):e;return null!=b?b.toString():null}var y=[\"_\"],z=this;y[0]in",
" z||!z.execScript||z.execScript(\"var \"+y[0]);\nfor(var A;y.length&&(A",
"=y.shift());){var B;if(B=!y.length)B=void 0!==x;B?z[A]=x:z=z[A]&&z[A]!=",
"=Object.prototype[A]?z[A]:z[A]={}};; return this._.apply(null,arguments",
");}.apply({navigator:typeof window!='undefined'?window.navigator:null,d",
"ocument:typeof window!='undefined'?window.document:null}, arguments);}",
NULL
};
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment