Commit Graph

462 Commits

Author SHA1 Message Date
Jan Varga
6845def215 Bug 1182987 - Part 4: Add a test for QuotaExceededError recovery and the new "cleanup" transaction type; r=baku 2016-03-15 07:00:44 +01:00
Marco Castelluccio
2fb9c40ec1 Bug 1250453 - Remove DOMApplicationRegistry.allAppsLaunchable property and related testing API. r=myk 2016-03-14 16:29:11 +00:00
Andrew Halberstadt
280b1b39cd Bug 1250616 - Sign indexedDB-test extension for mochitest, r=khuey
For details on extensions in automation and signing, see:
https://wiki.mozilla.org/EngineeringProductivity/HowTo/SignExtensions

MozReview-Commit-ID: 6unn8eJl9PW

--HG--
extra : rebase_source : 3eb93bfa515b7b94b42c1122c1e22903638af562
extra : amend_source : 6717aff0d64992639d0ad9a5cb3c185edfbfb3f2
extra : intermediate-source : 502cf531ec266e44fdfbb1974277bf75282cf066
extra : source : 7566245cc5ea9e15415e71a2599ec72c953189df
2016-02-26 10:45:14 -05:00
Phil Ringnalda
4b0cdb5de3 Back out 3 changesets (bug 1250616, bug 1251372) for failing browser_checkAddonCompatibility.js after the version bump
CLOSED TREE

Backed out changeset 4fa5b5a25f04 (bug 1251372)
Backed out changeset 502cf531ec26 (bug 1250616)
Backed out changeset 2f25d03334b2 (bug 1250616)
2016-03-08 19:04:46 -08:00
Andrew Halberstadt
41118c27b8 Bug 1250616 - Sign indexedDB-test extension for mochitest, r=khuey
For details on extensions in automation and signing, see:
https://wiki.mozilla.org/EngineeringProductivity/HowTo/SignExtensions

MozReview-Commit-ID: 6unn8eJl9PW

--HG--
extra : rebase_source : b3ec2d27aa2be197e1240edc22f349a3fff0530c
extra : amend_source : bb01dd6a8d27197ed1e70a694d2142417dd18c23
extra : intermediate-source : 10d85d4a79c2684f12deb4dd33468d97d03fb0dc
extra : source : 7566245cc5ea9e15415e71a2599ec72c953189df
2016-02-26 10:45:14 -05:00
Sebastian Hengst
9b21582e0d Backed out changeset 10d85d4a79c2 (bug 1250616) for breaking extension worker-test@mozilla.org in test setup. r=backout 2016-03-08 16:11:51 +01:00
Andrew Halberstadt
03780d09dd Bug 1250616 - Sign indexedDB-test extension for mochitest, r=khuey
For details on extensions in automation and signing, see:
https://wiki.mozilla.org/EngineeringProductivity/HowTo/SignExtensions

MozReview-Commit-ID: 6unn8eJl9PW

--HG--
extra : rebase_source : 0be434fc1c98f738efd397c48535c33191177f9d
extra : amend_source : bb01dd6a8d27197ed1e70a694d2142417dd18c23
extra : source : 7566245cc5ea9e15415e71a2599ec72c953189df
2016-02-26 10:45:14 -05: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
Carsten "Tomcat" Book
30e5302af8 Merge mozilla-central to mozilla-inbound 2016-03-01 15:25:31 +01:00
Jan Varga
446a305dec Bug 1248550 - Part 7: Improve the test for idle maintenance to trigger interference between database maintenance and normal database operations; r=khuey 2016-03-01 10:45:17 +01:00
Wes Kocher
260756840b Backed out changeset 7566245cc5ea (bug 1250616) for test_globalObjects_other.xul failures
MozReview-Commit-ID: DFurflAIJ5U
2016-02-29 12:37:41 -08:00
Andrew Halberstadt
7c7ceb967f Bug 1250616 - Sign indexedDB-test extension for mochitest, r=khuey
For details on extensions in automation and signing, see:
https://wiki.mozilla.org/EngineeringProductivity/HowTo/SignExtensions

MozReview-Commit-ID: 6unn8eJl9PW

--HG--
extra : rebase_source : c11c53c129cb16c5ccb6dd03364768cb18779f6b
extra : amend_source : ebf04756b516843738be361696383c35b187a12e
2016-02-26 10:45:14 -05:00
Florian Quèze
7d8de4e227 Bug 1220748 - Enable browser_permissionsPromptDeny.js in e10s, r=felipe. 2016-02-29 11:44:49 +01:00
Andrew McCreight
0529e722df Bug 1243577, part 3 - Make test_blob_file_backed.js use SpecialPowers.createFiles(). r=khuey
This method is e10s-compatible. It is async, so it requires
rejiggering the test a little. This also requires fixing up a shim
version for xpcshell tests. Finally, this test is the only user of
SpecialPowers.createDOMFiles, so I removed it.
2016-02-18 09:09:28 -08:00
Andrew McCreight
d9e6cb799e Bug 1243577, part 2 - Change file permissions to match SpecialPowers.createFiles. r=khuey
I don't think that this matters, but I split it into a separate change
set to avoid hiding it.
2016-02-18 09:09:28 -08:00
Andrew McCreight
6bb770cba7 Bug 1243577, part 1 - Delete trailing whitespace in xpcshell-head-parent-process.js. r=khuey 2016-02-18 09:09:28 -08: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
Kyle Huey
590c6ec6dd Bug 1150737: Make executeSoon work properly on workers, enable tests. r=bent 2016-02-10 22:35:50 -08:00
Jan Varga
9b4516ad03 Bug 1183959 - Move FlushPendingFileDeletions() from PContent to PBackground; r=khuey 2016-02-10 16:11:25 +01: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
Andrew McCreight
1f5db5ab06 Bug 1243113 - Enable test_blob_worker_xhr_* tests on e10s Windows. r=khuey
--HG--
extra : rebase_source : db27c66182ee0540bc9d2a5356c68cb0be2bcb2a
2016-01-28 12:33:00 -05:00
Ehsan Akhgari
7a3453ad7a Bug 1237363 - Part 1: Unregister all service workers registered in mochitests at the end of the test; r=jdm 2016-01-12 09:51:19 -05:00
Andrea Marchesini
32580a380e Bug 1231100 - Get rid of nsIDOMFileReader - patch 2, r=sicking 2015-12-09 15:52:38 -05:00
Andrea Marchesini
c2230f21f8 Bug 1231100 - Get rid of nsIDOMFileReader - patch 1, r=sicking 2015-12-09 15:52:15 -05:00
Mike Hommey
3a7b31cfb5 Bug 1228444 - Rename DIST_FILES to FINAL_TARGET_PP_FILES. r=gps
This makes it clearer that really it's the same thing as FINAL_TARGET,
with preprocessing.
We still keep DIST_FILES in backend.mk because it's shorter and doesn't
really matter.
2015-12-01 08:25:22 +09:00
Mike Hommey
655579a1fa Bug 1228444 - Don't silence "no preprocessor directives found" warnings for DIST_FILES. r=gps
and move files without preprocessor directives to FINAL_TARGET_FILES.
2015-12-01 08:25:22 +09:00
Andrew McCreight
738b476cb2 Bug 1226311, part 2 - Remove SpecialPowers.isMainProcess usage from various IndexedDB tests. r=janv
isMainProcess() is used in a few places to disable tests when run in a
content process. However, these tests are either never run in e10s or
pass when run with e10s, so remove all of the testing code. Some of
this was to work around issues with test_ipc.html which does not seem
to exist any more.

This patch also removes some code for disabling a test on Windows 2003.
2015-11-25 08:09:32 -08:00
Andrew McCreight
f417b30660 Bug 1226311, part 1 - Remove some obsolete includes for test_ipc.html in indexeddb. r=janv
test_ipc.html doesn't seem to exist any more.
2015-11-25 08:09:32 -08:00
Jan Varga
01bc2fb8bb Bug 961049 - Part 9: Fix asynchronous deletion of files to work on PBackground; r=baku 2015-11-22 10:44:43 +01:00
Jan Varga
e52ccb9b1e Bug 961049 - Part 7: QuotaManager on PBackground indexedDB changes; r=baku 2015-11-22 10:44:24 +01:00
Phil Ringnalda
dc2edc3740 Bug 1183959 - Disable test_file_os_delete.html on e10s
CLOSED TREE
2015-11-12 20:01:39 -08:00
Gregor Wagner
96837db759 Bug 1222478 - Enable more mulet tests. r=gerard-majax 2015-11-06 20:01:45 +01:00
Andrew McCreight
d8c072ada0 Bug 1220732 - Enable some bc tests. r=mrbkap
--HG--
extra : rebase_source : 851b8270c99ac544a7980a3ff82cb9a59029373a
2015-11-03 09:04:00 +01:00
Yoshi Huang
176a15f268 Bug 1196665 - Add originAttributes into SpecialPowers. r=bholley
From 7bb0fbba24f4f65d3fa83efe223b1431cd71fdb6 Mon Sep 17 00:00:00 2001
---
 dom/apps/tests/test_third_party_homescreen.html    |   8 +-
 .../test/test_messagemanager_assertpermission.html |   4 +-
 dom/base/test/test_messagemanager_targetchain.html |  16 +--
 ...rowserElement_AllowEmbedAppsInNestedOOIframe.js |  11 +-
 .../mochitest/browserElement_CopyPaste.js          |   9 +-
 .../browserElement_DisallowEmbedAppsInOOP.js       |   9 +-
 .../mochitest/browserElement_Proxy.js              |  10 +-
 .../browserElement_SetInputMethodActive.js         |   3 +-
 .../mochitest/browserElement_SetVisibleFrames.js   |  17 ++--
 .../mochitest/browserElement_SetVisibleFrames2.js  |  16 +--
 .../priority/test_ExpectingSystemMessage2.html     |  16 +--
 .../mochitest/priority/test_NestedFrames.html      |  16 +--
 dom/cache/test/mochitest/driver.js                 |  11 +-
 .../test/mochitest/test_cache_orphaned_body.html   |  33 +-----
 .../test/mochitest/test_cache_orphaned_cache.html  |  33 +-----
 dom/cache/test/mochitest/test_cache_restart.html   |  11 +-
 dom/cache/test/mochitest/test_cache_shrink.html    |  33 +-----
 dom/indexedDB/test/file.js                         |  12 +--
 dom/indexedDB/test/helpers.js                      |   9 +-
 dom/indexedDB/test/webapp_clearBrowserData.js      |   6 +-
 dom/inputmethod/mochitest/test_bug1043828.html     |   5 +-
 dom/inputmethod/mochitest/test_bug944397.html      |   5 +-
 .../mochitest/test_focus_blur_manage_events.html   |   5 +-
 .../mochitest/test_input_registry_events.html      |   5 +-
 .../mochitest/test_simple_manage_events.html       |   5 +-
 .../tests/test_permission_for_nested_oop_app.html  |   3 +-
 .../tests/test_permission_for_two_oop_apps.html    |   3 +-
 dom/ipc/tests/test_permission_helper.js            |  21 ++--
 .../test_permission_when_oop_app_crashes.html      |   3 +-
 dom/tv/test/mochitest/head.js                      |   5 +-
 .../test_SpecialPowersPushAppPermissions.html      |  14 ++-
 .../tests/Harness_sanity/test_bug816847.html       |   6 +-
 .../components/SpecialPowersObserver.js            |   4 +-
 .../content/SpecialPowersObserverAPI.js            |  24 +----
 testing/specialpowers/content/specialpowersAPI.js  | 111 ++++++++-------------
 35 files changed, 173 insertions(+), 329 deletions(-)
2015-10-07 14:35:43 +08:00
Yoshi Huang
0f75eb4970 Backout e54c3b878993 2015-10-27 15:49:11 +08:00
Yoshi Huang
425b3272f5 Bug 1196665 - Add originAttributes into SpecialPowers. r=bholley 2015-10-07 14:35:43 +08:00
Carsten "Tomcat" Book
08997000eb Backed out 2 changesets (bug 1202902) to recking bug 1202902 to be able to reopen inbound on a CLOSED TREE
Backed out changeset 647025383676 (bug 1202902)
Backed out changeset d70c7fe532c6 (bug 1202902)
2015-10-07 14:03:21 +02:00
Carsten "Tomcat" Book
e7ef778c9d Backed out 1 changesets (bug 1202902) for causing merge conflicts to mozilla-central
Backed out changeset cfc1820361f5 (bug 1202902)

--HG--
extra : rebase_source : 5d3db72337754bc7ab0ed0c30b2896100411ff92
2015-10-07 12:13:45 +02:00
Shu-yu Guo
d06b6030f6 Bug 1202902 - Scripted fix the world. 2015-10-06 14:00:31 -07:00
Tooru Fujisawa
59f52342c7 Bug 1207494 - Part 9: Remove use of expression closure from dom/indexedDB/. r=khuey
--HG--
extra : commitid : 9tEgENbueXg
extra : rebase_source : b23c853af0346325812e8a0a4ac42bb7c3ffae27
2015-09-23 18:39:14 +09:00
Shu-yu Guo
64db2267cf Bug 1202902 - Mass replace toplevel 'let' with 'var' in preparation for global lexical scope. (rs=jorendorff) 2015-09-15 11:19:45 -07:00
Reuben Morais
33dc3930e7 Bug 1204183 - Test the object_data upgrade from bug 1202788. r=janv 2015-09-12 12:51:21 -03:00
Jan Varga
2a061d3c3b Bug 771288 - Multiprocess FileHandle support (FileHandle on PBackground); r=baku
--HG--
rename : dom/filehandle/FileHandle.cpp => dom/filehandle/FileHandleBase.cpp
rename : dom/filehandle/FileHandle.h => dom/filehandle/FileHandleBase.h
rename : dom/filehandle/FileRequest.h => dom/filehandle/FileRequestBase.h
rename : dom/filehandle/MutableFile.cpp => dom/filehandle/MutableFileBase.cpp
rename : dom/filehandle/MutableFile.h => dom/filehandle/MutableFileBase.h
2015-09-09 13:15:05 +02:00
Shihua Zheng
8b824c5ed4 Bug 871846 - Tests for locale aware indexes. r=janv 2014-07-20 14:29:54 -07:00
Michael Layzell
cd6e65d4d5 Bug 1147821 - Update IndexedDB to use common StorageAllowedForWindow logic, r=khuey 2015-08-28 10:10:30 -04:00
Yoshi Huang
e6070e9062 Bug 1165272 - Part 2: replace getNoAppCodebasePrincipal. r=bholley 2015-08-18 15:01:42 +08:00
Yoshi Huang
4347bb2318 Bug 1165272 - Part 1: remove getAppCodebasePrincipal. r=bholley 2015-08-17 17:03:19 +08:00
Bobby Holley
edfe287f26 Backed out 3 changesets (bug 1165272) for b2g sanity blocker. 2015-08-25 11:16:21 -07:00
Yoshi Huang
de47f4b89f Bug 1165272 - Part 2: Replace getNoAppCodebasePrincipal. r=bholley 2015-08-24 01:18:00 -04:00
Yoshi Huang
12efacfa8c Bug 1165272 - Part 1: Remove getAppCodebasePrincipal. r=bholley 2015-08-24 01:31:00 -04:00