]> source.dussan.org Git - jquery.git/log
jquery.git
6 years agoCSS: Skip the px-appending logic for animations of non-element props
Michał Gołębiowski-Owczarek [Mon, 30 Apr 2018 16:52:39 +0000 (18:52 +0200)]
CSS: Skip the px-appending logic for animations of non-element props

Without this change animating properties from jQuery.cssNumber on non-elements
throws an error.

Ref gh-4055
Closes gh-4061

6 years agoBuild: Test on Node 10, stop testing on Node 4 & 9
Michał Gołębiowski-Owczarek [Wed, 25 Apr 2018 07:55:38 +0000 (09:55 +0200)]
Build: Test on Node 10, stop testing on Node 4 & 9

Node.js 4 & 9 are ending their life, Node.js 10 has just been released.

Closes gh-4057

6 years agoTests: ensure support tests are failed by at least one tested browser 4052/head
Michał Gołębiowski-Owczarek [Mon, 23 Apr 2018 12:16:21 +0000 (14:16 +0200)]
Tests: ensure support tests are failed by at least one tested browser

A whitelist is available so that some tests can be allowed to always succeed.
This is used only for ajax for now as it can be manually disabled in IE but
is enabled by default.

Closes gh-4052

6 years agoEvent: Add "code" property to Event object
tmybr11 [Tue, 17 Apr 2018 21:29:11 +0000 (18:29 -0300)]
Event: Add "code" property to Event object

Fixes gh-3978
Closes gh-3998

6 years agoDimensions: avoid fetching boxSizing when setting width/height
Jason Bedard [Wed, 14 Mar 2018 06:05:33 +0000 (23:05 -0700)]
Dimensions: avoid fetching boxSizing when setting width/height
- this avoids forcing a reflow in some cases

Fixes #3991

6 years agoCSS: Avoid filling jQuery.cssProps 4005/head
Dave Methvin [Sat, 24 Feb 2018 22:17:24 +0000 (17:17 -0500)]
CSS: Avoid filling jQuery.cssProps

Fixes gh-3986
Closes gh-4005

Avoids filling jQuery.cssProps by introducing a second internal
prop cache. This allows jQuery Migrate to detect external usage.

6 years agoBuild: Don't require sudo on Travis, use sandboxless headless Chrome
Michał Gołębiowski-Owczarek [Mon, 19 Mar 2018 17:12:23 +0000 (18:12 +0100)]
Build: Don't require sudo on Travis, use sandboxless headless Chrome

The Chrome sandbox doesn't work on Travis unless sudo is enabled. Instead,
we're disabling the Chrome sandbox.

Closes gh-4011

6 years agoBuild: remove artefact from previous commit
Oleg Gaydarenko [Wed, 7 Mar 2018 08:33:39 +0000 (11:33 +0300)]
Build: remove artefact from previous commit

Follow-up for 09684ba3f210594e41ecddf369ac94c688d53ccb

6 years agoCore: Use isAttached to check for attachment of element
Saptak Sengupta [Mon, 5 Mar 2018 17:57:03 +0000 (23:27 +0530)]
Core: Use isAttached to check for attachment of element

This change replaces the use of contains to check for attachment
by isAttached function

Closes gh-3977
Ref gh-3504

6 years agoBuild: Seasonal update of uglify and its options
Oleg Gaydarenko [Fri, 2 Mar 2018 17:21:33 +0000 (20:21 +0300)]
Build: Seasonal update of uglify and its options

raw     gz Compared to last run
 =      = dist/jquery.js
-294    -88 dist/jquery.min.js

Closes gh-3994

6 years agoTests: Fix Android 4.0 Deferred tests
Michał Gołębiowski-Owczarek [Mon, 12 Feb 2018 19:24:58 +0000 (20:24 +0100)]
Tests: Fix Android 4.0 Deferred tests

Closes gh-3967

6 years agoTests: Disable native abort test in Android 4.0
Michał Gołębiowski-Owczarek [Mon, 12 Feb 2018 18:08:36 +0000 (19:08 +0100)]
Tests: Disable native abort test in Android 4.0

The test works on its own when checked manually but mysteriously fails in
TestSwarm only in Android 4.0. Let's just disable it there.

Closes gh-3968

6 years agoBuild: Updating the master version to 3.3.2-pre.
Timmy Willison [Sat, 20 Jan 2018 17:27:15 +0000 (12:27 -0500)]
Build: Updating the master version to 3.3.2-pre.

6 years agoBuild: Updating the master version to 3.3.1-pre.
Timmy Willison [Fri, 19 Jan 2018 19:03:56 +0000 (14:03 -0500)]
Build: Updating the master version to 3.3.1-pre.

6 years agoRelease: update version to 3.3.0-pre
Timmy Willison [Fri, 19 Jan 2018 16:34:51 +0000 (11:34 -0500)]
Release: update version to 3.3.0-pre

6 years agoRelease: add new authors to AUTHORS.txt
Timmy Willison [Fri, 19 Jan 2018 16:24:43 +0000 (11:24 -0500)]
Release: add new authors to AUTHORS.txt

6 years agoTests: skip test with invalid selector for selector-native tests
Timmy Willison [Fri, 19 Jan 2018 16:13:48 +0000 (11:13 -0500)]
Tests: skip test with invalid selector for selector-native tests

6 years agoBuild: Add "-debug" suffix to name of karma debug tasks
Timo Tijhof [Fri, 12 Jan 2018 18:09:42 +0000 (18:09 +0000)]
Build: Add "-debug" suffix to name of karma debug tasks

Ref gh-3922
Close gh-3936

6 years agoFilter: Use direct filter in winnow
Saptak Sengupta [Wed, 10 Jan 2018 05:34:31 +0000 (11:04 +0530)]
Filter: Use direct filter in winnow

for both simple and complex selectors

Fixes gh-3272
Closes gh-3910

6 years agoTests: ensure that module assertions run on supported browsers
Timmy Willison [Tue, 16 Jan 2018 20:18:32 +0000 (15:18 -0500)]
Tests: ensure that module assertions run on supported browsers

- Also fixes tests for karma, where the URL for the module is different

Ref gh-3871

6 years agoTests: fix tests in AMD mode
Timmy Willison [Tue, 16 Jan 2018 17:41:40 +0000 (12:41 -0500)]
Tests: fix tests in AMD mode

6 years agoManipulation: Add support for scripts with module type
basil.belokon [Sun, 3 Dec 2017 09:58:09 +0000 (15:58 +0600)]
Manipulation: Add support for scripts with module type

Fixes gh-3871
Close gh-3869

6 years agoTests: correctly set sudo in travis config, not karma config
Timmy Willison [Tue, 16 Jan 2018 16:17:33 +0000 (11:17 -0500)]
Tests: correctly set sudo in travis config, not karma config

6 years agoTests: temporarily require sudo access for karma:main on travis
Timmy Willison [Tue, 16 Jan 2018 16:10:30 +0000 (11:10 -0500)]
Tests: temporarily require sudo access for karma:main on travis

- This should fix the broken travis build on Node 8
- See https://github.com/travis-ci/travis-ci/issues/8836

6 years agoTests: fix number of expected assertions in basic core
Timmy Willison [Tue, 16 Jan 2018 15:51:03 +0000 (10:51 -0500)]
Tests: fix number of expected assertions in basic core

6 years agoCore: deprecate jQuery.type
Jason Bedard [Sun, 14 Jan 2018 08:46:20 +0000 (00:46 -0800)]
Core: deprecate jQuery.type

Fixes gh-3605
Close gh-3895

6 years agoTests: fix weird flaky attributes test in Edge 16
Timmy Willison [Wed, 10 Jan 2018 16:42:24 +0000 (11:42 -0500)]
Tests: fix weird flaky attributes test in Edge 16

Fixes gh-3867
Close gh-3931

6 years agoTests: fix weird failure in Edge 16 CSS
Timmy Willison [Wed, 10 Jan 2018 16:52:50 +0000 (11:52 -0500)]
Tests: fix weird failure in Edge 16 CSS

Fixes gh-3866
Close gh-3932

6 years agoCore: deprecate jQuery.isNumeric
Jason Bedard [Wed, 13 Dec 2017 05:51:49 +0000 (21:51 -0800)]
Core: deprecate jQuery.isNumeric

Fixes gh-2960
Closes gh-3888

6 years agoAjax: Don't process non-string data property on no-entity-body requests
Dave Methvin [Tue, 12 Sep 2017 15:24:45 +0000 (11:24 -0400)]
Ajax: Don't process non-string data property on no-entity-body requests

Fixes gh-3438
Closes gh-3781

6 years agoEvent: Move event aliases to deprecated
Dave Methvin [Fri, 29 Dec 2017 21:58:45 +0000 (16:58 -0500)]
Event: Move event aliases to deprecated

Fixes gh-3214

6 years agoCore: deprecate jQuery.isFunction
Jason Bedard [Wed, 13 Dec 2017 06:43:30 +0000 (22:43 -0800)]
Core: deprecate jQuery.isFunction

Fixes gh-3609

6 years agoBuild: Remove CRLF line endings to fix builds on Windows
Dave Methvin [Tue, 9 Jan 2018 15:50:09 +0000 (07:50 -0800)]
Build: Remove CRLF line endings to fix builds on Windows

Close gh-3929

6 years agoTests: fix function reference for unbinding
Timmy Willison [Mon, 8 Jan 2018 16:55:14 +0000 (11:55 -0500)]
Tests: fix function reference for unbinding

Ref gh-2958

6 years agoBuild: Fix UglifyJS output in Android 4.0; update uglify
Timmy Willison [Wed, 3 Jan 2018 17:19:37 +0000 (12:19 -0500)]
Build: Fix UglifyJS output in Android 4.0; update uglify

- Thanks to @mgol for first pass

Fixes gh-3743
Close gh-3920

6 years agoTests: only run ontimeout test if ontimeout exists
Timmy Willison [Wed, 3 Jan 2018 16:39:19 +0000 (11:39 -0500)]
Tests: only run ontimeout test if ontimeout exists

Fixes gh-3742
Close gh-3919

6 years agoAjax: add unit test for getScript(Object)
Timmy Willison [Wed, 3 Jan 2018 16:01:26 +0000 (11:01 -0500)]
Ajax: add unit test for getScript(Object)

Fixes gh-3736
Close gh-3918

6 years agoAttributes: allow array param in add/remove/toggleClass
Timmy Willison [Tue, 2 Jan 2018 21:45:10 +0000 (16:45 -0500)]
Attributes: allow array param in add/remove/toggleClass

+30 bytes instead of +182

Thanks to @faisaliyk for the first pass on this feature.

Fixes gh-3532
Close gh-3917

6 years agoManipulation: use `.children` to select tbody elements
Timmy Willison [Tue, 2 Jan 2018 20:42:43 +0000 (15:42 -0500)]
Manipulation: use `.children` to select tbody elements

- selectors beginning with a child combinator are not valid natively.
  This fixes the tests when using selector-native.js

6 years agoCore: deprecate jQuery.proxy (not slated for removal)
Timmy Willison [Mon, 11 Dec 2017 17:58:35 +0000 (12:58 -0500)]
Core: deprecate jQuery.proxy (not slated for removal)

Fixes gh-2958
Close gh-3885

6 years agoCore: deprecate jQuery.now
Timmy Willison [Mon, 11 Dec 2017 17:39:11 +0000 (12:39 -0500)]
Core: deprecate jQuery.now

Fixes gh-2959
Close gh-3884

6 years agoCore: adjust data tests to ensure proper camelCasing
Timmy Willison [Mon, 4 Dec 2017 21:38:37 +0000 (16:38 -0500)]
Core: adjust data tests to ensure proper camelCasing

- Add back camelCase to the public object (deprecate not remove)
Ref #3384

6 years agoCore: make camelCase function available only for internal usage
Nilton Cesar [Wed, 22 Nov 2017 19:43:44 +0000 (14:43 -0500)]
Core: make camelCase function available only for internal usage

Close gh-3604
Fixes gh-3384

6 years agoBuild: Only run browser tests in one Node version on Travis
Michał Gołębiowski-Owczarek [Wed, 3 Jan 2018 08:41:46 +0000 (09:41 +0100)]
Build: Only run browser tests in one Node version on Travis

Ref gh-3744
Closes gh-3894

6 years agoTests: Add support for running unit tests via grunt with karma
Timo Tijhof [Tue, 1 Aug 2017 16:52:45 +0000 (09:52 -0700)]
Tests: Add support for running unit tests via grunt with karma

- Update QUnit to 1.23.1
- Remove unused dl#dl from test/index.html
- Remove unused map#imgmap from test/index.html
- Ensure all urls to data use baseURI
- Add the 'grunt karma:main' task
  - customContextFile & customDebugFile
- Add 'npm run jenkins' script

Close gh-3744
Fixes gh-1999

6 years agoDocs: Create CODE_OF_CONDUCT.md
Timmy Willison [Mon, 27 Nov 2017 16:41:00 +0000 (11:41 -0500)]
Docs: Create CODE_OF_CONDUCT.md

Close gh-3865

6 years agoCSS: Correctly set support properties with non-default zoom
Saptak Sengupta [Wed, 6 Dec 2017 04:59:54 +0000 (10:29 +0530)]
CSS: Correctly set support properties with non-default zoom

Fixes gh-3808
Closes gh-3872

7 years agoManipulation: Reduce size by eliminating single-use variable
Richard Gibson [Wed, 22 Nov 2017 19:43:44 +0000 (14:43 -0500)]
Manipulation: Reduce size by eliminating single-use variable

Closes gh-3851

7 years agoTests: Add iOS 11 support test results
Michał Gołębiowski-Owczarek [Mon, 20 Nov 2017 22:46:31 +0000 (23:46 +0100)]
Tests: Add iOS 11 support test results

7 years agoBuild: Test on Node.js 9
Michał Gołębiowski-Owczarek [Mon, 6 Nov 2017 22:14:22 +0000 (23:14 +0100)]
Build: Test on Node.js 9

Closes gh-3840

7 years agoTests: Add Safari 11 support test results
Michał Gołębiowski-Owczarek [Wed, 18 Oct 2017 15:59:22 +0000 (17:59 +0200)]
Tests: Add Safari 11 support test results

7 years agoTests: Make Node tests work for paths with spaces in them
Michał Gołębiowski-Owczarek [Wed, 18 Oct 2017 15:44:50 +0000 (17:44 +0200)]
Tests: Make Node tests work for paths with spaces in them

Without this patch Jenkins tests fail as jQuery job names there contain spaces,
e.g. "jQuery Core".

Closes gh-3821

7 years agoBuild: Remove package-lock.json, add it to .gitignore
Michał Gołębiowski-Owczarek [Mon, 25 Sep 2017 17:34:28 +0000 (19:34 +0200)]
Build: Remove package-lock.json, add it to .gitignore

npm 5, even the version included in the latest Node.js 8.5.0 re-generates
`package-lock.json` on each install. And when it does on a system that doesn't
support all the optional dependencies that are supported on the OS where the
lockfile was generated, it removes those optional deps from the lockfile.

The effect is that everyone firing `npm install` on our repo on any OS other
than macOS will immediately get a dirty state of the repo as the `fsevents`
dependency subtree gets removed from `package-lock.json`. That's a really bad
experience.

This commit removes package-lock.json from the repository and adds it to
.gitignore. We'll start committing the file again once the issue is resolved
on npm's part.

Fixes gh-3792

7 years agoBuild: increase timeout in Promises/A+ tests 10 times
Michał Gołębiowski-Owczarek [Wed, 20 Sep 2017 13:36:40 +0000 (15:36 +0200)]
Build: increase timeout in Promises/A+ tests 10 times

The promises-aplus-tests sets up a default 200 ms Mocha timeout. This makes
our tests randomly fail on Jenkins. 2 seconds will be safer.

Closes gh-3791

7 years agoBuild: Drop cross-spawn, use child_process.spawn shell option
Michał Gołębiowski-Owczarek [Wed, 20 Sep 2017 13:32:35 +0000 (15:32 +0200)]
Build: Drop cross-spawn, use child_process.spawn shell option

7 years agoBuild: Update to Babel 7, use for-of plugin instead of preset-es2015
Henry Zhu [Mon, 25 Sep 2017 17:02:19 +0000 (13:02 -0400)]
Build: Update to Babel 7, use for-of plugin instead of preset-es2015

Closes gh-3786

7 years agoCSS: Detect more WebKit styles erroneously reported as percentages
Richard Gibson [Mon, 18 Sep 2017 15:59:50 +0000 (11:59 -0400)]
CSS: Detect more WebKit styles erroneously reported as percentages

Ref 692f9d4db30c9c6c4f6bc76005cf153586202fa6
Fixes gh-3777
Closes gh-3778

7 years agoTests: Update lineHeight adjustments to give Android more slop
Richard Gibson [Fri, 8 Sep 2017 21:14:57 +0000 (17:14 -0400)]
Tests: Update lineHeight adjustments to give Android more slop

7 years agoCSS: Avoid unit-conversion interference from CSS upper bounds
Richard Gibson [Mon, 28 Aug 2017 17:23:04 +0000 (13:23 -0400)]
CSS: Avoid unit-conversion interference from CSS upper bounds

Fixes gh-2144
Closes gh-3745

7 years agoTests: Update path calculation
Jordan Beland [Wed, 16 Aug 2017 05:07:49 +0000 (22:07 -0700)]
Tests: Update path calculation

Fixes gh-3756
Closes gh-3757

7 years agoBuild: Update my name in ATHORS.txt
Michał Gołębiowski-Owczarek [Sat, 12 Aug 2017 16:23:38 +0000 (18:23 +0200)]
Build: Update my name in ATHORS.txt

I forgot .mailmap isn't everything.

7 years agoBuild: Update my name in .mailmap
Michał Gołębiowski-Owczarek [Sat, 12 Aug 2017 16:06:34 +0000 (18:06 +0200)]
Build: Update my name in .mailmap

I got married! 🎉

7 years agoBuild: Fix comment typo
Matan Kotler-Berkowitz [Tue, 8 Aug 2017 22:08:02 +0000 (01:08 +0300)]
Build: Fix comment typo

Closes gh-3747

7 years agoDimensions: Don't trust non-pixel computed width/height
Richard Gibson [Mon, 7 Aug 2017 16:26:03 +0000 (12:26 -0400)]
Dimensions: Don't trust non-pixel computed width/height

Fixes gh-3611
Closes gh-3741

7 years agoTests: Replace non-ASCII whitespace in source code
Richard Gibson [Mon, 31 Jul 2017 19:16:23 +0000 (15:16 -0400)]
Tests: Replace non-ASCII whitespace in source code

7 years agoDimensions: Improve offsetWidth/offsetHeight fallback
Richard Gibson [Mon, 31 Jul 2017 16:36:54 +0000 (12:36 -0400)]
Dimensions: Improve offsetWidth/offsetHeight fallback

Fixes gh-3698
Fixes gh-3602
Closes gh-3738

7 years agoAjax: add an ontimeout handler to all requests
Erik Lax [Thu, 23 Mar 2017 13:33:25 +0000 (14:33 +0100)]
Ajax: add an ontimeout handler to all requests

Fixes gh-3586
Close gh-3590

7 years agoTests: Account for TestSwarm focus issues
Richard Gibson [Thu, 20 Jul 2017 18:17:09 +0000 (14:17 -0400)]
Tests: Account for TestSwarm focus issues

Closes gh-3732

7 years agoTests: Simulate events when CI hinders use of native ones
Richard Gibson [Thu, 20 Jul 2017 17:16:04 +0000 (13:16 -0400)]
Tests: Simulate events when CI hinders use of native ones

Ref gh-3732

7 years agoTests: Reduce the abort timeout for simple focus testing
Richard Gibson [Wed, 19 Jul 2017 15:45:03 +0000 (11:45 -0400)]
Tests: Reduce the abort timeout for simple focus testing

Ref gh-3732

7 years agoTests: Abort focus tests when the environment doesn't cooperate
Richard Gibson [Wed, 19 Jul 2017 00:49:47 +0000 (20:49 -0400)]
Tests: Abort focus tests when the environment doesn't cooperate

Ref gh-3732

7 years agoTests: Try extra hard to control focus
Richard Gibson [Wed, 19 Jul 2017 00:32:01 +0000 (20:32 -0400)]
Tests: Try extra hard to control focus

Ref gh-3732

7 years agoSupport: Properly check for IE9 absolute scrollbox mishandling
Richard Gibson [Tue, 18 Jul 2017 19:40:41 +0000 (15:40 -0400)]
Support: Properly check for IE9 absolute scrollbox mishandling

Ref gh-3589
Fixes gh-3699
Fixes gh-3730
Closes gh-3729

7 years agoDimensions: Detect and account for content-box dimension mishandling
Richard Gibson [Mon, 10 Jul 2017 16:35:03 +0000 (12:35 -0400)]
Dimensions: Detect and account for content-box dimension mishandling

Fixes gh-3699
Closes gh-3700

7 years agoOffset: fix error from bad merge in #3695
Jason Bedard [Mon, 10 Jul 2017 16:12:49 +0000 (09:12 -0700)]
Offset: fix error from bad merge in #3695

7 years agoRevert "Offset: Resolve strict mode ClientRect "no setter" exception"
Jason Bedard [Wed, 5 Jul 2017 05:22:13 +0000 (22:22 -0700)]
Revert "Offset: Resolve strict mode ClientRect "no setter" exception"

This reverts commit 3befe5911af0cf516896482bb9ddf197c8cb8a8e.

7 years agoTest: ensure position/offset return mutable objects
Jason Bedard [Thu, 15 Jun 2017 07:04:45 +0000 (00:04 -0700)]
Test: ensure position/offset return mutable objects

Fixes gh-3612
Closes gh-3695

7 years agoCore: Deprecate jQuery.isWindow
Shashanka Nataraj [Fri, 23 Jun 2017 04:14:43 +0000 (04:14 +0000)]
Core: Deprecate jQuery.isWindow

Fixes gh-3629
Close gh-3702

7 years agoEvent: `stopPropagation()` on native event-handler
Pierre Spring [Tue, 13 Jun 2017 16:22:08 +0000 (18:22 +0200)]
Event: `stopPropagation()` on native event-handler

Fixes gh-3693
Close gh-3694

7 years agoBuild: fix uglify options for uglify update
Timmy Willison [Mon, 3 Jul 2017 18:25:32 +0000 (14:25 -0400)]
Build: fix uglify options for uglify update

- Uses new typeofs option for compression
- See https://github.com/mishoo/UglifyJS2/issues/2198

Close gh-3710

7 years agoBuild: Update sinon, husky, and qunitjs
Timmy Willison [Mon, 3 Jul 2017 18:03:49 +0000 (14:03 -0400)]
Build: Update sinon, husky, and qunitjs

7 years agoBuild: update node dependencies; commit package-lock.json
CDAGaming [Mon, 26 Jun 2017 15:03:45 +0000 (11:03 -0400)]
Build: update node dependencies; commit package-lock.json

- Also ignore yarn.lock
Close gh-3669

7 years agoDeferred: fix memory leak of promise callbacks
Jason Bedard [Tue, 20 Jun 2017 05:23:24 +0000 (22:23 -0700)]
Deferred: fix memory leak of promise callbacks

Fixes gh-3606
Closes gh-3657

7 years agoDimensions: Include scroll gutter in "padding" box
Richard Gibson [Mon, 19 Jun 2017 19:42:55 +0000 (15:42 -0400)]
Dimensions: Include scroll gutter in "padding" box

Fixes gh-3589
Closes gh-3656

7 years agoTests: minor typos
Andreas Solleder [Fri, 19 May 2017 20:28:54 +0000 (22:28 +0200)]
Tests: minor typos

Close gh-3671

7 years agoBuild: Test on Node.js 8, stop testing on Node.js 7
Michał Gołębiowski [Tue, 30 May 2017 19:22:52 +0000 (21:22 +0200)]
Build: Test on Node.js 8, stop testing on Node.js 7

7 years agoDocs:Tests: Update IE/Edge-related support comments & tests
Michał Gołębiowski [Mon, 15 May 2017 18:37:14 +0000 (20:37 +0200)]
Docs:Tests: Update IE/Edge-related support comments & tests

Closes gh-3661

7 years agoCSS: Drop the float mapping from cssProps
Michał Gołębiowski [Sat, 6 May 2017 18:52:07 +0000 (20:52 +0200)]
CSS: Drop the float mapping from cssProps

Firefox 35 and newer support style.float directly.

Closes #3569

7 years agoTests: Revert some testIframe changes to fix dimensions tests 3658/head
Richard Gibson [Sat, 29 Apr 2017 06:00:12 +0000 (02:00 -0400)]
Tests: Revert some testIframe changes to fix dimensions tests

Ref c0edd8dc18e02999a25768a4946093b015045f80

7 years agoRevert "Tests: Revert some testIframe changes to fix dimensions tests"
Richard Gibson [Sat, 29 Apr 2017 06:05:46 +0000 (02:05 -0400)]
Revert "Tests: Revert some testIframe changes to fix dimensions tests"

This reverts commit c4368a93116e9d1d17587fc2f5421a891957cf45.

7 years agoTests: Revert some testIframe changes to fix dimensions tests
Richard Gibson [Sat, 29 Apr 2017 06:00:12 +0000 (02:00 -0400)]
Tests: Revert some testIframe changes to fix dimensions tests

Ref c0edd8dc18e02999a25768a4946093b015045f80

7 years agoTests: Correct expected assertion count
Richard Gibson [Sat, 29 Apr 2017 05:37:47 +0000 (01:37 -0400)]
Tests: Correct expected assertion count

Ref e94b5b0bbf8d8179bc79ab749470e71092225862

7 years agoTests: Clean up offset debugging
Richard Gibson [Sat, 29 Apr 2017 05:35:20 +0000 (01:35 -0400)]
Tests: Clean up offset debugging

Ref 1d2df772b4d6e5dbf91df6e75f4a1809f7879ab0
Ref c0edd8dc18e02999a25768a4946093b015045f80

7 years agoTests: Adjust by actual scroll position, rather than expected
Richard Gibson [Sat, 29 Apr 2017 05:22:55 +0000 (01:22 -0400)]
Tests: Adjust by actual scroll position, rather than expected

Ref 1d2df772b4d6e5dbf91df6e75f4a1809f7879ab0

7 years agoTests: Keep iframes visible in TestSwarm
Richard Gibson [Sat, 29 Apr 2017 03:54:06 +0000 (23:54 -0400)]
Tests: Keep iframes visible in TestSwarm

Ref 1d2df772b4d6e5dbf91df6e75f4a1809f7879ab0

7 years agoTests: Add debugging to investigate iOS failures
Richard Gibson [Sat, 29 Apr 2017 02:36:57 +0000 (22:36 -0400)]
Tests: Add debugging to investigate iOS failures

Ref 1d2df772b4d6e5dbf91df6e75f4a1809f7879ab0

7 years agoTests: Reset iframe window scroll after updating html/document position
Richard Gibson [Fri, 28 Apr 2017 04:46:39 +0000 (00:46 -0400)]
Tests: Reset iframe window scroll after updating html/document position

Ref 1d2df772b4d6e5dbf91df6e75f4a1809f7879ab0
Closes gh-3649

7 years agoTests: Prepend test iframes for even *more* consistency
Richard Gibson [Tue, 25 Apr 2017 20:32:40 +0000 (16:32 -0400)]
Tests: Prepend test iframes for even *more* consistency

Ref 1d2df772b4d6e5dbf91df6e75f4a1809f7879ab0

7 years agoTests: Allow a mock QUnit.test for perfect testIframe fidelity
Richard Gibson [Tue, 25 Apr 2017 20:22:35 +0000 (16:22 -0400)]
Tests: Allow a mock QUnit.test for perfect testIframe fidelity

Ref 1d2df772b4d6e5dbf91df6e75f4a1809f7879ab0
Closes gh-3647

7 years agoTests: Attach test iframes to the body for visibility-dependent code
Richard Gibson [Tue, 25 Apr 2017 19:39:41 +0000 (15:39 -0400)]
Tests: Attach test iframes to the body for visibility-dependent code

Ref 1d2df772b4d6e5dbf91df6e75f4a1809f7879ab0
Closes gh-3645