Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
J
jquery
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
夏彬
jquery
Commits
2524da09
Commit
2524da09
authored
Jan 25, 2015
by
Michał Gołębiowski
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Ajax: Run the PATCH test only in IE8 on TestSwarm
Fixes gh-1994 Closes gh-2026
parent
ba352e83
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
13 additions
and
10 deletions
+13
-10
ajax.js
test/unit/ajax.js
+13
-10
No files found.
test/unit/ajax.js
View file @
2524da09
...
...
@@ -1578,16 +1578,19 @@ module( "ajax", {
}
}
);
ajaxTest
(
"#13240 - jQuery.ajax() - support non-RFC2616 methods"
,
1
,
{
url
:
"data/echoQuery.php"
,
method
:
"PATCH"
,
success
:
function
()
{
ok
(
true
,
"success"
);
},
error
:
function
()
{
ok
(
false
,
"error"
);
}
});
// BrowserStack PATCH support sometimes breaks so on TestSwarm run the test in IE8 only.
if
(
location
.
search
.
indexOf
(
"swarmURL="
)
===
-
1
||
document
.
documentMode
<
9
)
{
ajaxTest
(
"#13240 - jQuery.ajax() - support non-RFC2616 methods"
,
1
,
{
url
:
"data/echoQuery.php"
,
method
:
"PATCH"
,
success
:
function
()
{
ok
(
true
,
"success"
);
},
error
:
function
()
{
ok
(
false
,
"error"
);
}
}
);
}
testIframeWithCallback
(
"#14379 - jQuery.ajax() on unload"
,
"ajax/onunload.html"
,
function
(
status
)
{
expect
(
1
);
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment