Граф коммитов

852 Коммитов

Автор SHA1 Сообщение Дата
Boris Zbarsky 6205a2679f Bug 1260515. Start allowing sync XHR with credentials in window scopes again, since no one except for us bothered to implement the spec. r=smaug 2016-05-04 20:41:32 -04:00
J. Ryan Stinnett a899dd1d54 Bug 1268688 - Start browser API for frames swapping to HTML. r=bz
MozReview-Commit-ID: 56lMg0b86Bp
2016-05-03 14:58:03 -05:00
Andrea Marchesini a8a55d5447 Bug 1269383 - Remove dom.server-events.enabled pref, r=smaug 2016-05-03 10:21:54 +02:00
Kyle Machulis 85146b9ee1 Bug 1263696 - Block embed content loading when ancestor of object element with content; r=bz 2016-05-02 09:54:16 -07:00
Aryeh Gregor 49d7e81abf Bug 1264270 - Parser should output attributes in source order, not reversed; r=hsivonen,bgrins 2016-05-01 15:15:26 +03:00
Kyle Machulis bb87072fdb Backout of 541618e4babd (bug 1263696) due to performance timeline test bustage 2016-04-28 14:48:14 -07:00
Kyle Machulis 58d9018e54 Bug 1263696 - Block content loading for embed nodes that are ancestors of objects with data; r=bz 2016-04-28 13:08:12 -07:00
Andrea Marchesini 5624c37fe0 Bug 1268361 - Strip leading '?' in `new URLSearchParams(query)`, r=smaug 2016-04-28 19:53:16 +08:00
Henry Chang 535880a873 Bug 1178337 - Part 2: Update/add test cases. r=sicking.
--HG--
extra : source : 1f0f356a737c1a7063fe5a464c14c8255b89122f
2016-04-27 10:28:38 +08:00
Ryan VanderMeulen b7422710b7 Bug 1226477 - Disable test_fileapi_slice.html on e10s for causing intermittent crashes.
--HG--
extra : histedit_source : d48c8740ff0b49ba2c068349bc37e88528e96e2b
2016-04-25 21:45:46 -04:00
Kit Cambridge b3e4980239 Bug 1266569 - Avoid including the `ChromeUtils` binding in `Base64.h`. r=froydnj
MozReview-Commit-ID: 8ZLdMhJMaUe

--HG--
extra : rebase_source : d5cb2b5bcc587bad95e6223d18ef38c6937f9270
extra : histedit_source : 208b28d87e223333c2995fd615e0602b11d5bb68
2016-04-22 07:41:58 -07:00
Kit Cambridge d21d6da5e8 Bug 1256488 - Add a Base64 URL-decoder for C++ and chrome JS callers. r=mt,baku
MozReview-Commit-ID: IrDwImYfHRu

--HG--
extra : rebase_source : ed7da7447e5d70c596234961625fcd4b8139814f
2016-03-22 12:09:04 -07:00
Andrea Marchesini deaf4cf830 Bug 1265610 - test_postMessages.html and some dom/filesystem tests requires 'dom.input.dirpicker' to be true, r=smaug 2016-04-20 11:39:33 +02:00
Shawn Huang 50467e2954 Bug 1259588 - new File("") throws TypeError exception, r=baku 2016-04-19 10:32:43 +08:00
Gabriele Svelto 48c0230171 Bug 1264587 - Enable test_copypaste.html in e10s mode r=me 2016-04-15 11:17:14 +02:00
Andrea Marchesini 65b2fadf7a Bug 778003 - enable mochitest dom/base/test/test_fileapi_slice.html for e10s, r=RyanVM 2016-04-14 05:51:18 -04:00
Carsten "Tomcat" Book 32c25ca2da merge mozilla-inbound to mozilla-central a=merge 2016-04-14 11:38:11 +02:00
Wes Kocher 2f56b9e37d Merge m-c to fx-team, a=merge
MozReview-Commit-ID: Ca64bkPvrYU
2016-04-13 15:02:31 -07:00
Julian Descottes 0fac5939fc Bug 659625 - part1: implement Console::clear in dom/base/Console.cpp;r=baku
Remove the noop implementation of console.clear and actually clear the
console storage.

mozReview-Commit-ID: B9NGhRARKoR
MozReview-Commit-ID: 2sMEGB2BsAs

--HG--
extra : rebase_source : a889ffce5ef82224feb691b499f790da9ae6f34f
extra : source : 89cfa8c724e1fcb0909e1414b6051dbd62b40105
2016-04-13 16:33:43 +02:00
Aryeh Gregor c1a60c58b4 Bug 1055776 - Move namespaceURI, prefix, localName from Node to Element; r=bz 2016-04-13 15:21:12 +03:00
Tanvi Vyas 9c0a7ac154 Bug 1105556 - Add a hidden preference that is checked in debug mode to determine whether the main LoadInfo() constructor should assert that the ContentPolicyType is not TYPE_DOCUMENT.
Set the preference in xpcshell tests that create TYPE_DOCUMENT loads in javascript and hence end up using the main constructor. r=sicking, ckerschb
2016-04-13 16:30:36 -07:00
Kyle Machulis f5a405c24d Bug 1256766 - Make sure all objects load after pref is set in youtube rewrite test; r=bz 2016-04-12 14:56:40 -07:00
Andrea Marchesini ed43c1f6e4 Bug 1258482 - FileList should contain only Files, not Directories, r=smaug 2016-04-12 08:51:52 -04:00
Andrea Marchesini a8c342535b Bug 1257180 - patch 2 - Directory can be sent via postMessage(), r=smaug 2016-04-12 08:51:04 -04:00
Andrea Marchesini eb9a84d8f8 Bug 1257180 - patch 1 - Directory clonable to workers, r=smaug 2016-04-12 08:50:38 -04:00
Sebastian Hengst f25d35d7af Backed out changeset b416fc68c0a2 (bug 1257180) for crash in test_performance_user_timing.html on Android debug. r=backout on a CLOSED TREE 2016-04-12 17:56:15 +02:00
Sebastian Hengst da254cafcc Backed out changeset 83ce34cabf08 (bug 1257180) 2016-04-12 17:56:08 +02:00
Sebastian Hengst 08c222b359 Backed out changeset 166555b48e77 (bug 1258482) 2016-04-12 17:56:00 +02:00
Andrea Marchesini dfd731fd16 Bug 1258482 - FileList should contain only Files, not Directories, r=smaug 2016-04-12 08:51:52 -04:00
Andrea Marchesini f43ec0535f Bug 1257180 - patch 2 - Directory can be sent via postMessage(), r=smaug 2016-04-12 08:51:04 -04:00
Andrea Marchesini 846b1de4c5 Bug 1257180 - patch 1 - Directory clonable to workers, r=smaug 2016-04-12 08:50:38 -04:00
Carsten "Tomcat" Book 457bb31f9b Backed out changeset 89cfa8c724e1 (bug 659625) for android test failures in own test 2016-04-13 12:30:41 +02:00
Carsten "Tomcat" Book 4c2ef97599 Merge mozilla-central to fx-team 2016-04-13 11:58:47 +02:00
Julian Descottes cadb37f0ad Bug 659625 - part1: implement Console::clear in dom/base/Console.cpp;r=baku
Remove the noop implementation of console.clear and actually clear the
console storage.

mozReview-Commit-ID: B9NGhRARKoR
MozReview-Commit-ID: 2sMEGB2BsAs

--HG--
extra : rebase_source : 3023e1f3d9452f3670af12bab55ad79b51a5af12
2016-04-07 19:48:25 +02:00
Gabriele Svelto 25af6e92e8 Bug 1222128 - Turn test_bug1011748.html into a browser mochitest to make it run properly in e10s mode r=bzbarsky
--HG--
rename : dom/base/test/test_bug1011748.html => dom/base/test/browser_bug1011748.js
2016-04-11 20:58:24 +02:00
Chris Manchester 52083635d3 Bug 1261456 - Combine support-files listed in [DEFAULT] with any listed per-test rather than overriding. r=gps
This requires a change to how we process test manifests in the build system:
now, whenever we see a support file mentioned in a manifest, we require that
file isn't already in that test's support files, but if we see a support file
that was already seen in some other test, the entry is ignored, but it is not
an error. As a result of this change, several duplicate support-files entries
needed to be removed.

MozReview-Commit-ID: G0juyxzcaB8

--HG--
rename : testing/mozbase/manifestparser/tests/test_default_skipif.py => testing/mozbase/manifestparser/tests/test_default_overrides.py
2016-04-11 11:21:20 -07:00
Gabriele Svelto f48f809be9 Bug 1258857 - Add empty items to an IPC transferable object for every flavor of the source object that did not have any data associated to it r=enndeakin 2016-04-05 10:49:36 +02:00
Chris Manchester f7a1b3fb60 Bug 1242051 - Add inter-directory test support file dependencies to ini manifests. r=gps
Previously, every test and support file would be synced to the objdir
when running any test. Now that only those support files and tests requested
are synced, we note support files required beyond those in a test's
directory in ini manifests.

MozReview-Commit-ID: EmlDz9d4lqt
2016-04-04 14:56:52 -07:00
Kershaw Chang 3c7c98dd98 Bug 962251 - Test case, r=smaug 2016-03-30 00:54:00 +02:00
J. Ryan Stinnett 013ba36705 Bug 1242644 - HTML swapFrameLoaders. r=bz
Adds swapFrameLoaders for HTML frames.  It is also possible to swap frame
loaders between XUL and HTML frames.

MozReview-Commit-ID: 43JeiBuMcOL
2016-03-31 19:47:44 -05:00
Michal Novotny f0418a0c73 Bug 1227136 - test for the crash, r=bagder 2016-03-29 22:28:27 +02:00
Blake Kaplan 76cf7eedc8 Bug 1257861 - Default to sending all cookies if we can't compute 3rdpartyness. r=sicking 2016-03-28 13:39:12 -07:00
Ehsan Akhgari d007b3e148 Bug 1259477 - Port test_document_register.html to mochitest-plain so that it can be turned on in e10s mode; r=mrbkap 2016-03-24 13:40:27 -04:00
Ehsan Akhgari 0e87b6fb88 Bug 1258872 - Port test_mutationobserver_anonymous.html to mochitest-plain so that it can be turned on in e10s mode; r=mrbkap 2016-03-23 11:54:08 -04:00
Ehsan Akhgari d05c992346 Bug 1258815 - Port some tests that depend on the parser utils object to mochitest-plain so that they can be turned on in e10s mode; r=mrbkap 2016-03-22 19:12:41 -04:00
Ehsan Akhgari 6536312ed8 Bug 1258534 - Port test_bug599295.html to mochitest-plain so that it can be turned on in e10s mode; r=mrbkap 2016-03-22 09:57:58 -04:00
Ehsan Akhgari 77e528556e Bug 1258532 - Port test_bug574596.html to mochitest-plain in order to enable it on e10s; r=mrbkap 2016-03-22 09:57:58 -04:00
Ehsan Akhgari 12d0efb5aa Bug 1257957 - Remove test_bug357450.js as a mochitest-chrome file, since it's just a support file for other tests; r=mrbkap
--HG--
rename : dom/base/test/test_bug357450.js => dom/base/test/file_bug357450.js
2016-03-22 09:57:58 -04:00
Carsten "Tomcat" Book 0db9291841 merge mozilla-inbound to mozilla-central a=merge 2016-03-21 15:30:59 +01:00
Franziskus Kiefer 1a47cfb77a Bug 1186072 - Add trailing slash to origin referer header when policy is set. r=sworkman
MozReview-Commit-ID: 3PYuODmqpbL

--HG--
extra : source : ac4148f22b2d6f76762dac3fd94a6452da80bdde
2016-02-24 10:51:54 +01:00
Phil Ringnalda b47ec4d2bd Backed out 8 changesets (bug 1173320) for adding dom/filesystem/tests/test_basic.html without making it work on Android
Backed out changeset 7e3a105b9160 (bug 1173320)
Backed out changeset 094819fbb07f (bug 1173320)
Backed out changeset 23b0e55ff1db (bug 1173320)
Backed out changeset 8bf8e2fcedad (bug 1173320)
Backed out changeset 3de390c6f47f (bug 1173320)
Backed out changeset fb298010e12e (bug 1173320)
Backed out changeset f1a965c2f796 (bug 1173320)
Backed out changeset 176128ba757f (bug 1173320)
2016-03-19 19:44:22 -07:00
Andrea Marchesini 6f10afaf24 Bug 1173320 - patch 7/8 - Tests for FileList and Directories, r=smaug 2016-03-19 22:29:47 +01:00
Andrea Marchesini 7aba2fa5e8 Bug 1173320 - patch 6/8 - Make FileList clonable to workers if it doesn't contain Directories, r=smaug 2016-03-19 22:29:47 +01:00
Andrea Marchesini 2fdbbe6373 Bug 1173320 - patch 4/8 - Directory in FileList, r=smaug 2016-03-19 22:29:46 +01:00
Andrea Marchesini 8d3c72ef64 Bug 1173320 - patch 7/8 - Tests for FileList and Directories, r=smaug 2016-03-20 11:56:11 +01:00
Andrea Marchesini 5f7cc5cffa Bug 1173320 - patch 6/8 - Make FileList clonable to workers if it doesn't contain Directories, r=smaug 2016-03-20 11:56:10 +01:00
Andrea Marchesini 548dc7f03a Bug 1173320 - patch 4/8 - Directory in FileList, r=smaug 2016-03-20 11:56:10 +01:00
Ryan VanderMeulen ac97cbbe14 Backed out 8 changesets (bug 1173320) for bustage.
Backed out changeset e5c224d964bc (bug 1173320)
Backed out changeset db971ba7c26d (bug 1173320)
Backed out changeset cd7e79d9a750 (bug 1173320)
Backed out changeset 56bbea4fe199 (bug 1173320)
Backed out changeset e94ced2f8e3c (bug 1173320)
Backed out changeset 401c1e7df8ea (bug 1173320)
Backed out changeset bf65b38f759e (bug 1173320)
Backed out changeset ac58a56021ac (bug 1173320)

DONTBUILD CLOSED TREE
2016-03-19 10:52:12 -04:00
Andrea Marchesini 346e100de6 Bug 1173320 - patch 7/8 - Tests for FileList and Directories, r=smaug 2016-03-19 14:34:57 +01:00
Andrea Marchesini 508d8a34f8 Bug 1173320 - patch 6/8 - Make FileList clonable to workers if it doesn't contain Directories, r=smaug 2016-03-19 14:34:35 +01:00
Andrea Marchesini abfa0bb4b2 Bug 1173320 - patch 4/8 - Directory in FileList, r=smaug 2016-03-19 14:33:43 +01:00
Luke Wagner 6d089acee2 Bug 1008453. Add support for navigator.hardwareConcurrency. r=khuey 2016-03-16 15:41:38 -04:00
Carsten "Tomcat" Book d115280c5f Backed out changeset a7040abce944 (bug 1008453) for w-p-t test failures on a CLOSED TREE 2016-03-18 08:21:42 +01:00
Luke Wagner 83bbb15353 Bug 1008453. Add support for navigator.hardwareConcurrency. r=khuey 2016-03-16 15:41:38 -04:00
Wes Kocher 2dfef24422 Backed out 2 changesets (bug 357450) for breaking test_bug357450.xul CLOSED TREE
Backed out changeset f88028f44033 (bug 357450)
Backed out changeset b8b677c574e5 (bug 357450)

MozReview-Commit-ID: KGpzmjYcdRl
2016-03-17 15:54:48 -07:00
Ehsan Akhgari 6f9c977a54 Add test_bug357450.js to the list of support-files for test_bug357450.xul, no bug 2016-03-17 17:15:18 -04:00
Ehsan Akhgari 96aa3e4625 Remove test_bug357450.js from the mochitest-chrome manifest, no bug
This is not a standalone test.
2016-03-17 15:38:52 -04:00
Geoff Brown 29977660c0 Bug 1251013 - Update android_version annotations in test manifests - mochitest; r=jmaher 2016-03-17 10:00:48 -06:00
Mark Capella ab13c38790 Bug 1254096 - Update CaretPositionFromPoint() for type=number, r=ehsan 2016-03-16 16:15:17 -04:00
Ehsan Akhgari 38d1ffea4e Bug 1043562 - Hide the Contacts API from the contexts that lack sufficient privileges, such as Firefox desktop and Android; r=smaug 2016-03-13 15:17:54 -04:00
Kyle Huey 9eea75a6f5 Bug 1252268: If the slow script dialog aborts an interval timer callback, don't schedule it again. r=bz 2016-03-10 01:50:56 -08:00
Andrea Marchesini 50777157d4 Bug 1254179 - Reuse the same websocket tests on main-thread and workers, r=ehsan
--HG--
rename : dom/workers/test/test_websocket.html => dom/workers/test/test_websocket1.html
rename : dom/workers/test/test_websocket.html => dom/workers/test/test_websocket2.html
rename : dom/workers/test/test_websocket.html => dom/workers/test/test_websocket3.html
rename : dom/workers/test/test_websocket.html => dom/workers/test/test_websocket4.html
rename : dom/workers/test/test_websocket.html => dom/workers/test/test_websocket5.html
2016-03-07 19:12:23 +01:00
Ryan VanderMeulen 54367e83bf Merge fx-team to m-c. a=merge 2016-03-05 19:22:45 -05:00
Blake Kaplan af91847c15 Bug 1234440 - Stop using CPOWs in this test. r=wchen
--HG--
extra : rebase_source : 8884f9c2cb21565ce7934553f0b47ac7e2032e97
2016-03-04 17:54:00 -05:00
Mike de Boer c326e059de Bug 1241930: Part 5 - convert all assertion methods used inside content tasks to the Assert.* family in dom tests. r=mconley 2016-03-04 14:32:32 +01:00
Valentin Gosu eb30e01d66 Bug 652186 - Fix tests involving URL backslash replacement r=bz
MozReview-Commit-ID: JgWFkJN7Mtc

--HG--
extra : rebase_source : 177a7884009a4b27d83f41fc5f1dd0d14e8c0421
2016-03-03 15:50:22 +01:00
Andrea Marchesini 9d9cc381bc Bug 1237807 - Split test_websocket.html - patch 5, r=ehsan 2016-03-04 20:39:10 +01:00
Andrea Marchesini 598aa62f02 Bug 1237807 - Split test_websocket.html - patch 4, r=ehsan 2016-03-04 20:38:54 +01:00
Andrea Marchesini 664e369557 Bug 1237807 - Split test_websocket.html - patch 3, r=ehsan 2016-03-04 20:38:45 +01:00
Andrea Marchesini c6058e6515 Bug 1237807 - Split test_websocket.html - patch 2, r=ehsan 2016-03-04 20:38:22 +01:00
Andrea Marchesini cabe8b041e Bug 1237807 - Split test_websocket.html - patch 1, r=ehsan 2016-03-04 20:38:12 +01:00
Martijn Wargers 5c4ab36d15 Bug 1252444 - Rewrite some dom mochitests to use pushPrefEnv instead of setCharPref. r=jmaher
--HG--
extra : rebase_source : 7b61270760aa225f8c087ea190aaeb49670ca900
2016-03-03 09:41:14 -05:00
Carsten "Tomcat" Book eb98199ac0 Backed out changeset ac4148f22b2d (bug 1186072) for referrer test failures
--HG--
extra : rebase_source : 124130bb041418eb97862a131ae6365df5cfbdc6
2016-03-03 09:23:59 +01:00
Franziskus Kiefer 55e0623947 Bug 1186072 - add trailing slash to origin referer header when policy is set, r=sworkman
MozReview-Commit-ID: 3PYuODmqpbL

--HG--
extra : transplant_source : %E5P%B1%1F%82%08%07%2A%1C%26%AF%C5%C8%29%B1y%97O%877
2016-02-24 10:51:54 +01:00
J. Ryan Stinnett 2a55d065b7 Bug 1238160 - Rename OriginAttributes.mInBrowser and associated methods. r=bz,mayhemer
This change renames OriginAttributes.mInBrowser to mInIsolatedMozBrowser and
nsIPrincipal::GetIsInBrowserElement to GetIsInIsolatedMozBrowserElement.  Other
methods that pass these values around also have name changes.

Tokens such as "inBrowser" have previously been serialized into cache keys, used
as DB column names, stored in app registries, etc.  No changes are made to any
serialization formats.  Only runtime method and variable names are updated.

No behavior changes are made in this patch, so some renamed methods may have
nonsensical implementations.  These are corrected in subsequent patches
focused on behavior.

MozReview-Commit-ID: 66HfMlsXFLs
2016-03-02 10:35:56 -06:00
J. Ryan Stinnett 9ad7daa848 Bug 1238160 - Test mozbrowser APIs to ensure no content exposure. r=bz
Check the various mozbrowser APIs to ensure they are allowed when you have
browser permission and blocked when you don't (like regular web content).

MozReview-Commit-ID: FPDA1lEUwRq
2016-03-02 10:35:56 -06:00
Kyle Machulis 79cb11f843 Bug 1240471 - Possibly remove invalid queries and post console messages on youtube rewrite; r=khuey fb=cpeterson 2016-03-01 14:05:29 -08:00
Geoff Brown d05b32db6c Bug 1248817 - Make test_domwindowutils.html more forgiving of coordinate rounding; r=ochameau 2016-02-26 14:01:11 -07:00
Dragana Damjanovic 5031bdb80e Bug 580313 - New resource hints for link. r=smaug
--HG--
extra : rebase_source : 5ce4ef05217f6d513052f83a7e18b00d1596417a
2016-02-26 02:41:00 +01:00
Andrea Marchesini 2dd57b41c0 Bug 1250148 - FormData should treat empty input type=file as empty string in FormData and as unnamed Blob in HTML submission, r=smaug 2016-02-24 00:01:01 +01:00
Wes Kocher 1a11ff119f Backed out changeset 74f968e36041 (bug 1250148) for test_blobconstructor.html failures
--HG--
extra : commitid : 5I4oajo0G1j
2016-02-23 10:49:24 -08:00
Andrea Marchesini 7da3286f9d Bug 1250148 - FormData should treat empty input type=file as empty string in FormData and as unnamed Blob in HTML submission, r=smaug 2016-02-23 18:38:16 +01:00
Andrea Marchesini 0814fe6588 Bug 1246375 - Restore the previous spec version of FormData, r=smaug 2016-02-17 14:56:19 +00:00
ISHIKAWA, Chiaki be2b50a7f8 Bug 1248252 - Improper outdated octal constant syntax in M-C tree. Use '0o' prefix. r=dao
Be warned. Do not attemp to change the .js "test" source code in ./js
They are meant to check

 - the outdated 0666 octal constant is still parsed correctly,
 - the outdated 0666 octal constant raises syntax error flag
   in strict mode, etc.

So leave them alone.
2016-02-15 08:57:00 +01:00
Mats Palmgren 28b48ce024 Bug 1216001 part 2 - Optimize nsRange::ExcludeNonSelectableNodes by counting ignorable whitespace text nodes next to an unselectable node as unselectable too. r=bz 2016-02-13 18:40:23 +01:00
Phil Ringnalda 9d0e08b626 Back out 3 changesets (bug 1216001) for Win8 reftest failures in 1193519-sideways-lr-3.html and 1193519-sideways-lr-4.html and intermittent OS X failures in font-display-2.html
CLOSED TREE

Backed out changeset dbadb8fe5803 (bug 1216001)
Backed out changeset a30593ebd58e (bug 1216001)
Backed out changeset c1646ffa71b4 (bug 1216001)
2016-02-11 20:43:41 -08:00
Mats Palmgren 41740a7ab3 Bug 1216001 part 2 - Optimize nsRange::ExcludeNonSelectableNodes by counting ignorable whitespace text nodes next to an unselectable node as unselectable too. r=bz 2016-02-12 02:13:57 +01:00
Deepthi Venkitaramanan 008e6b8991 Bug 1244328 - Merge the functionality of DOMSettableTokenList into DOMTokenList and make everything that used to refer to DOMSettableTokenList refer to DOMTokenList instead. r=bzbarsky 2016-02-11 17:50:42 -05:00
Matt Wobensmith 22c63dd7b5 Bug 1246227 - Remove SEC_NORMAL from dom/base/test (r=ckerschb) 2016-02-10 14:44:15 -08:00
Myk Melez a6aff185d2 Bug 1238576 - disable mozApps API on desktop/Android; r=ehsan,ochameau,bz,mcmanus,jmaher,marco 2016-02-08 11:24:22 -08:00