aboutsummaryrefslogtreecommitdiffstats
path: root/test/testabilityPatch.js
AgeCommit message (Collapse)Author
2011-01-18improved dump function to atomatically render HTMLMisko Hevery
2011-01-10Rename angular.foreach to angular.forEach to make the api consistent.Igor Minar
camelcase is used for other angular functions and forEach is also used by EcmaScript standard. - rename the internal as well as the external function name - tweak the implementation of the function so that it doesn't clober it self when we extend the angular object with an object that has a forEach property equal to this forEach function Closes #85
2011-01-07change to keydown from keyup; add delayed $updateViewMisko Hevery
- There was a perceived lag when typing do to the fact that we were listening on the keyup event instead of keydown. The issue with keydown is that we can not read the value of the input field. To solve this we schedule a defer call and perform the model update then. - To prevent calling $eval on root scope too many times as well as to prevent drowning the browser with too many updates we now call the $eval only after 25ms and any additional requests get ignored. The new update service is called $updateView
2010-12-08Fixed failed assignments of form abj[0].name=valueMisko Hevery
Closes #169
2010-12-02Closes #170. Corrected the behavior of select when options are ng:repeatedMisko Hevery
- Delete $postEval method, as it was a hack
2010-10-27Fix failing tests for ie, and mark elements as ng-widget, ng-directive, and ↵Misko Hevery
ng-binding
2010-10-26create HTML sanitizer to allow inclusion of untrusted HTML in safe manner.Misko Hevery
Sanitization works in two phases: 1) We parse the HTML into sax-like events (start, end, chars). HTML parsing is very complex, and so it may very well be that what most browser consider valid HTML may not pares properly here, but we do best effort. We treat this parser as untrusted. 2) We have safe sanitizeWriter which treats its input (start, end, chars) as untrusted content and escapes everything. It only allows elements in the whitelist and only allows attributes which are whitelisted. Any attribute value must not start with 'javascript:'. This check is performed after escaping for entity (&xAB; etc..) and ignoring any whitespace. - Correct linky filter to use safeHtmlWriter - Correct html filter to use safeHtmlWriter Close #33; Close #34
2010-10-22Workaround for http://bugs.jquery.com/ticket/7292Misko Hevery
2010-10-19Fix browser triggering in scenario to always do native events.Misko Hevery
- Also fixed angular.suffix for scenarios - refactored click() to browserTrigger() - Fixed Rakefile with CSS and jQuery
2010-10-15fixed lint warnings and one flaky testMisko Hevery
2010-10-14New Angular Scenario runner and DSL system with redesigned HTML UI.Elliott Sprehn
Uses the Jasmine syntax for tests, ex: describe('widgets', function() { it('should verify that basic widgets work', function(){ navigateTo('widgets.html'); input('text.basic').enter('Carlos'); expect(binding('text.basic')).toEqual('Carlos'); input('text.basic').enter('Carlos Santana'); expect(binding('text.basic')).not().toEqual('Carlos Boozer'); input('text.password').enter('secret'); expect(binding('text.password')).toEqual('secret'); expect(binding('text.hidden')).toEqual('hiddenValue'); expect(binding('gender')).toEqual('male'); input('gender').select('female'); expect(binding('gender')).toEqual('female'); }); }); Note: To create new UI's implement the interface shown in angular.scenario.ui.Html.
2010-09-21HEAD is now at 10c0151 Fixes on issue when a SELECT has OPTION which are ↵Misko Hevery
data bound (ie OPTION has repeater or OPTION.value is bound), then SELECT does not update to match the correct OPTION after the change in model (ie after the OPTION repeater unrolls or OPTION.value is changed.)
2010-08-18added better handling of ng:format=numberMisko Hevery
2010-08-12Fix toEqual matcher to use angular.equals instead of simple == comparison, ↵Shyam Seshadri
which breaks down for arrays and objects
2010-07-23fix issues with ie 7Misko Hevery
2010-07-02changed the eval for ie to be able to return a functionMisko Hevery
2010-07-02change all attributes from ng- to ng: prefixMisko Hevery
2010-05-10improved handling of text fields when formater fails to prevent clobering of ↵Misko Hevery
field
2010-05-07xhr bulk fixesMisko Hevery
2010-04-27resources now use browser mockMisko Hevery
2010-04-22clean up failing test with jqueryMisko Hevery
2010-04-22fix CI BuildMisko Hevery
2010-04-22tests work under jquery and withoutMisko Hevery
2010-04-22working on jQuery passing testsMisko Hevery
2010-04-21more if tests passMisko Hevery
2010-04-19last failing ie test remainingMisko Hevery
2010-04-19lintMisko Hevery
2010-04-19ie fixesMisko Hevery
2010-04-15added $route serviceMisko Hevery
2010-04-12tests pass on chromeMisko Hevery
2010-04-12removed Meta and allowed binding of HTMLMisko Hevery
2010-04-08tests failing jstd to show coryMisko Hevery
2010-04-06few fixes to make tests pass with jqueryMisko Hevery
2010-04-05added ng:includeMisko Hevery
2010-04-05added ng:switch widgetMisko Hevery
2010-04-03injection is now workingMisko Hevery
2010-03-31all tests green, some dissabledMisko Hevery
2010-03-30more tests fixedMisko Hevery
2010-03-29dissabled a lot of tests, and made the core test set pass.Misko Hevery
2010-03-15added resources; removed compiled codeMisko Hevery
2010-02-04updateView is now called on binder instead of scopeMisko Hevery
2010-02-04consider widget errors only when widgets are visibleMisko Hevery
2010-02-04list formater always should return arryMisko Hevery
2010-01-25fixes to make it pass on IEMisko Hevery
2010-01-23lots of cleanup to get it ready for OSMisko Hevery
2010-01-18checkpoint for integration with angularMisko Hevery
2010-01-09removed nglr namespaceMisko Hevery
2010-01-08created a way to init the code without autobootstrapMisko Hevery
2010-01-05angular.jsAdam Abrons