This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Index: py/selenium/webdriver/remote/webdriver.py | |
| =================================================================== | |
| --- py/selenium/webdriver/remote/webdriver.py (revision 15812) | |
| +++ py/selenium/webdriver/remote/webdriver.py (working copy) | |
| @@ -39,7 +39,7 @@ | |
| """ | |
| def __init__(self, command_executor='http://127.0.0.1:4444/wd/hub', | |
| - desired_capabilities=None, browser_profile=None): | |
| + desired_capabilities=None, browser_profile=None, session_id=None): |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| this is a vim-gist test |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| language: python | |
| python: | |
| - 2.6 | |
| - 2.7 | |
| install: pip install pytest | |
| script: python setup.py develop && py.test test |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Index: dom.js | |
| =================================================================== | |
| --- dom.js (revision 16201) | |
| +++ dom.js (working copy) | |
| @@ -708,7 +708,27 @@ | |
| if (!positiveSize(elem)) { | |
| return false; | |
| } | |
| + function isOverflowHiding(e){ | |
| + var parent = bot.dom.getParentElement(e); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Index: test/shown_test.html | |
| =================================================================== | |
| --- test/shown_test.html (revision 16201) | |
| +++ test/shown_test.html (working copy) | |
| @@ -286,6 +286,10 @@ | |
| var noscript = findElement({id: 'noscript'}); | |
| assertFalse(isShown(noscript)); | |
| } | |
| + function testThatItemsHiddenWithOverflowHiddenAreFalse(){ | |
| + var target = findElement({id: 'target'}); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| diff --git a/dashboard.js b/dashboard.js | |
| index 3d2b04c..90a003e 100644 | |
| --- a/dashboard.js | |
| +++ b/dashboard.js | |
| @@ -11,6 +11,23 @@ ddoc = { | |
| ] | |
| }; | |
| +ddoc.validate_doc_update = function(newDoc, oldDoc, userCtx){ | |
| + if (newDoc._deleted === true ) { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| diff --git a/dashboard.js b/dashboard.js | |
| index 3d2b04c..5c07701 100644 | |
| --- a/dashboard.js | |
| +++ b/dashboard.js | |
| @@ -11,6 +11,23 @@ ddoc = { | |
| ] | |
| }; | |
| +ddoc.validate_doc_update = function(newDoc, oldDoc, userCtx){ | |
| + if (newDoc._deleted === true && userCtx.roles.indexOf('_admin') !== -1) ) { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| function(){return function(){var g=void 0,h=!0,i=null,j=!1,k=this; | |
| function l(a){var b=typeof a;if("object"==b)if(a){if(a instanceof Array)return"array";if(a instanceof Object)return b;var c=Object.prototype.toString.call(a);if("[object Window]"==c)return"object";if("[object Array]"==c||"number"==typeof a.length&&"undefined"!=typeof a.splice&&"undefined"!=typeof a.propertyIsEnumerable&&!a.propertyIsEnumerable("splice"))return"array";if("[object Function]"==c||"undefined"!=typeof a.call&&"undefined"!=typeof a.propertyIsEnumerable&&!a.propertyIsEnumerable("call"))return"function"}else return"null"; | |
| else if("function"==b&&"undefined"==typeof a.call)return"object";return b}function m(a){return"string"==typeof a}function n(a,b){function c(){}c.prototype=b.prototype;a.h=b.prototype;a.prototype=new c};function o(a){var b=a.length-1;return 0<=b&&a.indexOf(" ",b)==b}function aa(a,b){for(var c=1;c<arguments.length;c++)var d=(""+arguments[c]).replace(/\$/g,"$$$$"),a=a.replace(/\%s/,d);return a}function p(a){return a.rep |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| function(){return function(){var g=void 0,h=!0,i=null,j=!1,k=this; | |
| function l(a){var b=typeof a;if("object"==b)if(a){if(a instanceof Array)return"array";if(a instanceof Object)return b;var c=Object.prototype.toString.call(a);if("[object Window]"==c)return"object";if("[object Array]"==c||"number"==typeof a.length&&"undefined"!=typeof a.splice&&"undefined"!=typeof a.propertyIsEnumerable&&!a.propertyIsEnumerable("splice"))return"array";if("[object Function]"==c||"undefined"!=typeof a.call&&"undefined"!=typeof a.propertyIsEnumerable&&!a.propertyIsEnumerable("call"))return"function"}else return"null"; | |
| else if("function"==b&&"undefined"==typeof a.call)return"object";return b}function m(a,b){function c(){}c.prototype=b.prototype;a.h=b.prototype;a.prototype=new c};function aa(a,b){for(var c=1;c<arguments.length;c++)var d=(""+arguments[c]).replace(/\$/g,"$$$$"),a=a.replace(/\%s/,d);return a}function n(a){return a.replace(/^[\s\xa0]+|[\s\xa0]+$/g,"")}var o={};function ba(a){return o[a]||(o[a]=(""+a).replace(/\-([a-z])/ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| function(){return function(){var f=null,g=!1,h=this; | |
| function i(a){var c=typeof a;if("object"==c)if(a){if(a instanceof Array)return"array";if(a instanceof Object)return c;var b=Object.prototype.toString.call(a);if("[object Window]"==b)return"object";if("[object Array]"==b||"number"==typeof a.length&&"undefined"!=typeof a.splice&&"undefined"!=typeof a.propertyIsEnumerable&&!a.propertyIsEnumerable("splice"))return"array";if("[object Function]"==b||"undefined"!=typeof a.call&&"undefined"!=typeof a.propertyIsEnumerable&&!a.propertyIsEnumerable("call"))return"function"}else return"null";else if("function"== | |
| c&&"undefined"==typeof a.call)return"object";return c}function j(a,c){function b(){}b.prototype=c.prototype;a.f=c.prototype;a.prototype=new b};function k(a,c){for(var b=1;b<arguments.length;b++)var d=(""+arguments[b]).replace(/\$/g,"$$$$"),a=a.replace(/\%s/,d);return a}function l(a){return a.replace(/^[\s\xa0]+|[\s\xa0]+$/g,"")};var m,n="",o=/rv\:([^\);]+)(\)|;)/.exec(h.navigator?h.navigator.userAgent:f);m=n=o? |