Shawn Huang
4f875a9b13
Bug 1343463 - Move indexeddb service worker test to workers folder, r=baku
...
--HG--
rename : dom/indexedDB/test/service_worker.js => dom/workers/test/service_worker.js
rename : dom/indexedDB/test/service_worker_client.html => dom/workers/test/service_worker_client.html
rename : dom/indexedDB/test/test_serviceworker.html => dom/workers/test/test_serviceworker.html
2017-03-06 16:24:33 +08:00
Joel Maher
f297f17181
Bug 1339232 - annotate more dom/* moz.build files with BUG_COMPONENT. r=overholt
...
MozReview-Commit-ID: 2HbPxGkrVfv
2017-03-01 08:20:25 -05:00
Bevis Tseng
69a59cfe93
Bug 1328517 - Part 2: Add Assertion to Each ActorEventTarget. r=janv
...
MozReview-Commit-ID: DDQ0ytBiwm3
--HG--
extra : rebase_source : d3a724e9d69e492621948436cc68cf1d59cdb3a6
2017-02-10 15:13:45 +08:00
Bevis Tseng
dbc3db29c2
Bug 1328517 - Part 1: DocGroup labeling. r=janv
...
MozReview-Commit-ID: 3ZtkzLut0UO
--HG--
extra : rebase_source : ba972891e8b94e755880143c0e87286a45d032a7
2017-01-13 16:40:58 +08:00
Andrea Marchesini
0c0a744d4f
Bug 1342361 - Get rid of ArchiveReader API, r=smaug
2017-02-27 17:50:46 +01:00
Masatoshi Kimura
b8ab6903ab
Bug 1342144 - Restore test_getFileId.html and stop using legacy generators in the test. r=jaws
...
I guess bug 994190 accidentally removed this test from mochitest.ini.
MozReview-Commit-ID: FeqJY5V0GXH
--HG--
extra : rebase_source : f2c75f7b56e25c28a7863d1db101c1bbdf43a9a8
2017-02-24 19:41:59 +09:00
Masatoshi Kimura
7be7b11a1c
Bug 1342144 - Remove version parameter from the type attribute of script elements. r=jmaher
...
This patch is generated by the following sed script:
find . ! -wholename '*/.hg*' -type f \( -iname '*.html' -o -iname '*.xhtml' -o -iname '*.xul' -o -iname '*.js' \) -exec sed -i -e 's/\(\(text\|application\)\/javascript\);version=1.[0-9]/\1/g' {} \;
MozReview-Commit-ID: AzhtdwJwVNg
--HG--
extra : rebase_source : e8f90249454c0779d926f87777f457352961748d
2017-02-23 06:10:07 +09:00
Bevis Tseng
a8c5e52ea6
Bug 1333273 - Disable test_blob_worker_{crash, xhr_post, xhr_post_multifile}.html in Win7(e10s). r=janv
2017-02-24 16:30:47 +08:00
Luke Wagner
6f8ce1e317
Bug 1342060 - wasm: enable by default (r=bbouvier,sr=jorendorff)
...
MozReview-Commit-ID: LozhxKgleFc
--HG--
extra : rebase_source : 1821c3965c46044e99a132398ea862f49eb6aca0
2017-02-23 13:02:40 -06:00
Bevis Tseng
a4245a6a11
Bug 1300927 - Terminate all workers at the end of the test to work around bug 1340941. r=janv
2017-02-18 01:40:30 +08:00
Tom Tromey
d2667a2b27
Bug 1060419 - make AppendPrintf and nsPrintfCString use Printf.h, r=froydnj
...
MozReview-Commit-ID: 2E8FoiNxU8L
--HG--
extra : rebase_source : 810ac727bef0751f24edea18c52e0ec170bf367d
2016-12-14 09:32:21 -07:00
Tom Tromey
5f8f360823
Bug 1060419 - make log_print use Printf.h, r=froydnj
...
MozReview-Commit-ID: BIZ1GQEZ1vs
--HG--
extra : rebase_source : 2f1f0aa12493c44f352d9a7e8683e7bb72d2d75b
2016-12-15 20:16:31 -07:00
Andrea Marchesini
3043646e52
Bug 1339871 - Splitting dom/file/File.{h,cpp}, r=smaug
...
--HG--
rename : dom/file/File.cpp => dom/file/BaseBlobImpl.cpp
rename : dom/file/File.h => dom/file/BaseBlobImpl.h
rename : dom/file/File.cpp => dom/file/Blob.cpp
rename : dom/file/File.h => dom/file/Blob.h
rename : dom/file/File.cpp => dom/file/BlobImpl.cpp
rename : dom/file/File.h => dom/file/BlobImpl.h
rename : dom/file/File.cpp => dom/file/EmptyBlobImpl.cpp
rename : dom/file/File.h => dom/file/EmptyBlobImpl.h
rename : dom/file/File.cpp => dom/file/FileBlobImpl.cpp
rename : dom/file/File.h => dom/file/FileBlobImpl.h
rename : dom/file/File.cpp => dom/file/MemoryBlobImpl.cpp
rename : dom/file/File.h => dom/file/MemoryBlobImpl.h
rename : dom/file/File.cpp => dom/file/StreamBlobImpl.cpp
rename : dom/file/File.h => dom/file/StreamBlobImpl.h
rename : dom/file/File.h => dom/file/StringBlobImpl.h
rename : dom/file/File.h => dom/file/TemporaryBlobImpl.h
2017-02-16 18:26:38 +01:00
Jeff Walden
965f401e22
Bug 1287006 - Don't pass Nullable by value in various places, rather by const&. r=bz
...
--HG--
extra : rebase_source : cbdd6e33cc69f58983a4b6ce97642caf54ddbc9a
2017-02-13 09:07:40 -08:00
Masatoshi Kimura
24a8330f71
Bug 1219523 - Remove the "dom.workers.latestJSVersion" pref. r=baku
...
MozReview-Commit-ID: 92fCMCLTxRp
--HG--
extra : rebase_source : 728d515eb2f2d5c0a03e80866ec2c56443c3dce8
2017-02-12 13:37:38 +09:00
Tooru Fujisawa
746c9596d6
Bug 1226398 - Part 2: Check dom/indexedDB/ in eslint. r=jaws
2017-02-11 11:47:57 +09:00
Tooru Fujisawa
5bc59c92e3
Bug 1226398 - Part 1: Remove remaining legacy generator from dom/indexedDB/test/. r=jaws
2017-02-11 11:47:56 +09:00
Jan Varga
f85e997184
Bug 1313176 - Fail index/cursor operations gracefully if they need preprocessing. This fixes the crash when devtools try to inspect idb databases with WebAssembly modules). It's a temporary fix until we implement preprocessing for indexes and cursors. A bunch of new tests is added to test indexes and cursors with wasm; r=asuth
2017-02-08 11:12:00 +01:00
Andrea Marchesini
8cf1cb8c2f
Bug 1335536 - File.createFromNsIFile and File.createFromFileName should be async - part 1 - tests, r=smaug
2017-02-08 10:18:32 +01:00
Andrew Sutherland
45cc729bbb
Bug 1335054 - Fix IndexedDB blob writing ownership race. r=janv
...
--HG--
extra : rebase_source : 1b67f4f1977233a196616f041622fa1bc4d8f0d9
2017-02-07 01:18:33 -05:00
Andrea Marchesini
fc26940d57
Bug 1336091 - File.relativeWebkitPath should not start with '/', r=smaug
2017-02-06 11:07:54 +01:00
Aakar Dwivedi
995c71cd97
Bug 1334989 - Parameter in the declaration of the function made same as the one in definition of the function; r=janv
2017-02-05 08:17:45 +01:00
Greg Mierzwinski
d034427bd2
Bug 1301197 - Add xpcshell code coverage to linux64-jsdcov and the 'coverage' mozinfo flag. r=jmaher
...
This patch makes it possible to collect code coverage for xpcshell tests using the linux64-jsdcov build. It also enables the use of a 'coverage' flag to disable tests when they are instrumented with the js debugger for code coverage. Lastly, it uses the 'coverage' flag to disable certain tests.
MozReview-Commit-ID: 97VFkJmlwQn
--HG--
extra : rebase_source : 26c841f5a68f927889c0903e701bfde4b7ca84ac
2016-11-08 15:57:21 -05:00
Boris Zbarsky
69e66238f4
Bug 1335368 part 14. Remove the use of IsCallerChrome in IDBFactory. r=smaug
2017-02-01 15:43:37 -05:00
Boris Zbarsky
e641fa9f96
Bug 1335368 part 13. Remove the use of IsCallerChrome in dom/file. r=baku
2017-02-01 15:43:37 -05:00
Sebastian Hengst
ccd3fc9950
Backed out changeset 99587cc6ef23 (bug 1335536) for failing robocop testFilePicker on Android. r=backout
2017-02-01 19:08:22 +01:00
Andrea Marchesini
3b9eaa7785
Bug 1335536 - File.createFromNsIFile and File.createFromFileName should be async - part 1 - tests, r=smaug
2017-02-01 17:13:08 +01:00
Florian Quèze
bdc1ffa608
Bug 1334831 - script-generated patch to use .remove() instead of .parentNode.removeChild, r=jaws.
2017-01-30 08:10:22 +01:00
Andrew Sutherland
8e593b76bd
Bug 1319531 - Ensure all streams provided by DatabaseFile can be read without generating NS_BASE_STREAM_WOULD_BLOCK errors. r=janv
...
IndexedDB database operations are written such that they must execute
synchronously. For this reason, the add/put operation reads/writes its
Blobs to disk in a synchronous fashion. However, with the introduction
of SendStream-backed Blobs for large (>1 MiB) blobs whose contents are
streamed to the parent replacing nsStringInputStream-backed Blobs
(whose contents were sent up in a single IPC message that might exceed
the size limit and cause a crash), this has no longer been a safe
assumption. However, the problems weren't immediately obvious because
most pre-WASM Blobs are smaller than the 1MiB threshold and even when
they exceeded the size, their memory-backed contents could rapidly be
sent to the parent via IPC, making NS_BASE_STREAM_WOULD_BLOCK errors
rare/hard to reproduce. (rr and its enforced single-threading is a
good way to reproduce, however. Also, see the testing patch on the
bug that introduces artificial delays into SendStream.)
Included SpecialPowersObserver.jsm minor changes to "CreateFiles":
- appendRelativePath is used instead of appendPath because appendPath
only allows a single path component to be appended. In other words,
file creation is limited to files at the root of the profile
directory using appendPath, which is needlessly limiting.
- outStream is now closed even if no data is provided. This is
essential on windows where file deletion only occurs when all handles
are closed. Without this fix, "RemoveFiles" side-effect of deleting
the created files might not take effect until garbage collection runs
and collects the outStream.
2017-01-30 01:07:27 -05:00
Wes Kocher
7cd28f7e5d
Merge inbound to central, a=merge
...
MozReview-Commit-ID: HvoljuLV6Gj
2017-01-27 16:37:18 -08:00
Gijs Kruitbosch
8faf5c08a8
Bug 1333164 - fix invalid references to mochitest stylesheet, r=erahm
...
MozReview-Commit-ID: 1Xxt72jYdm7
--HG--
extra : rebase_source : 15d854ffd6a142687fe5232149a0e370f1c058c2
2017-01-24 14:24:04 +00:00
Florian Quèze
2cf30507bd
Bug 1334261 - script-generated patch to remove more newURI null parameters, r=jaws.
2017-01-27 10:51:02 +01:00
Carsten "Tomcat" Book
3ba519c29b
Backed out changeset 3f1285bd1cbd (bug 1319531) for test failures in own test on a CLOSED TREE
2017-01-26 14:41:33 +01:00
Andrew Sutherland
a00fb459e2
Bug 1319531 - Ensure all streams provided by DatabaseFile can be read without generating NS_BASE_STREAM_WOULD_BLOCK errors. r=janv
...
IndexedDB database operations are written such that they must execute
synchronously. For this reason, the add/put operation reads/writes its
Blobs to disk in a synchronous fashion. However, with the introduction
of SendStream-backed Blobs for large (>1 MiB) blobs whose contents are
streamed to the parent replacing nsStringInputStream-backed Blobs
(whose contents were sent up in a single IPC message that might exceed
the size limit and cause a crash), this has no longer been a safe
assumption. However, the problems weren't immediately obvious because
most pre-WASM Blobs are smaller than the 1MiB threshold and even when
they exceeded the size, their memory-backed contents could rapidly be
sent to the parent via IPC, making NS_BASE_STREAM_WOULD_BLOCK errors
rare/hard to reproduce. (rr and its enforced single-threading is a
good way to reproduce, however. Also, see the testing patch on the
bug that introduces artificial delays into SendStream.)
Included SpecialPowersObserver.jsm minor changes to "CreateFiles":
- appendRelativePath is used instead of appendPath because appendPath
only allows a single path component to be appended. In other words,
file creation is limited to files at the root of the profile
directory using appendPath, which is needlessly limiting.
- outStream is now closed even if no data is provided. This is
essential on windows where file deletion only occurs when all handles
are closed. Without this fix, "RemoveFiles" side-effect of deleting
the created files might not take effect until garbage collection runs
and collects the outStream.
2017-01-26 05:46:59 -05:00
Florian Quèze
0e0865f4fc
Bug 1331599 - script-generated patch to replace removeEventListener calls with the once option when possible, r=jaws.
2017-01-25 07:01:52 +01:00
Nicholas Nethercote
22b6d342d7
Bug 1333296 (part 1) - Rename MOZ_ENABLE_PROFILER_SPS as MOZ_GECKO_PROFILER. r=mstange,glandium.
...
--HG--
extra : rebase_source : 223f3a17f009645369be503392cc1f0cea7f19a1
2017-01-24 14:15:12 +11:00
Florian Quèze
85611a7b6d
Bug 1331081
- script generated patch to omit addEventListener/removeEventListener's third parameter when it's false, r=jaws.
...
--HG--
extra : rebase_source : a22344ee1569f58f1f0a01017bfe0d46a6a14602
2017-01-17 11:50:25 +01:00
Florian Quèze
fc6379e827
Bug 1329182 - remove trailing newURI null parameters in the rest of the tree, r=jaws.
2017-01-09 20:27:26 +01:00
Markus Stange
d2dbdff4a9
Bug 1323100 - Use NS_NewNamedThread for IndexedDB threads. r=froydnj
...
MozReview-Commit-ID: Do4l5QL2qSG
--HG--
extra : rebase_source : ae45941a84ec25a45b796bd01d6bac48f3be6886
2016-12-21 11:26:48 +01:00
Olli Pettay
0364dbc792
Bug 1326507, remove NS_IMPL_CYCLE_COLLECTION_TRAVERSE_SCRIPT_OBJECTS, r=mccr8
...
--HG--
extra : rebase_source : 3ae1207308de120b7299b13ecaa95dd1612b3459
2017-01-03 21:47:55 +02:00
Tim Nguyen
668b50d4d7
Bug 1322938 - Disable test_lowDiskSpace.html on Android debug (bug 1328321). r=me
...
MozReview-Commit-ID: 7zC45kyXsOB
2017-01-03 19:12:39 +01:00
Jan Varga
965cffb389
Bug 1286914 - Part 1: Prevent creation of origin directories which are not supported by our origin parser; r=asuth
2017-01-03 13:46:34 +01:00
Luke Wagner
d69a4426a7
Bug 1326280 - Baldr: use .wasm as bytecode file format (r=bbouvier)
...
MozReview-Commit-ID: 5nmuLDswfWU
--HG--
extra : rebase_source : eb0839326f65c58bd51521bc6bcdca9a4cec846a
2016-12-30 10:49:54 -06:00
Cervantes Yu
6629c9887c
Bug 1321244 - Lazily init global variables that could implicitly initialize NSPR. r=froydnj
...
MozReview-Commit-ID: IPU9Qc8lr50
--HG--
extra : rebase_source : f25e7403492d1935c8ca714a75ccf99811775b44
2016-12-01 11:48:32 +08:00
Kan-Ru Chen
c649cfaa98
Bug 1319271 - Use actor's manager in case actor is already deleted (r=billm)
...
MozReview-Commit-ID: 3Dr2POjqNft
2016-12-13 16:46:33 -08:00
Jan Varga
d80cf26c97
Bug 1312808 - rewrite stored WebAssembly.Module when build-id changes; r=asuth,luke
2016-12-08 15:37:13 -10:00
Tooru Fujisawa
515ef9ba45
Bug 1321218 - Remove legacy generator from dom/. r=smaug
2016-12-01 18:11:32 +09:00
Panos Astithas
64baf2d729
Bug 1282768 - Part 2 - Move the secondary actions of doorhanger notifications to their own menu button. r=paolo
...
MozReview-Commit-ID: 2cnufF7wZJG
--HG--
extra : rebase_source : 6bb9c9f8bd52bd8e6f54cbc2b0ef2760fee25c3a
2016-11-20 18:40:22 +01:00
Jonathan Kingston
74e50ea3c1
Bug 1267604 - Restyle doorhanger notifications. r=paolo
...
MozReview-Commit-ID: HBykgFhgjmX
--HG--
extra : rebase_source : fd94d5e2549271b4f0696b1435bce9178cb291d1
2016-11-20 18:40:08 +01:00
Dave Huseby
4e53da9544
Bug 1309067 - adding asserts to ensure boolean and OA private browsing values match. r=ehsan
2016-11-17 12:14:00 +01:00
Ehsan Akhgari
d07f79a266
Bug 1318210 - Remove nsIAppsService; r=baku
2016-11-17 10:41:36 -05:00
Stone Shih
1ed10ff082
Bug 1305458 Part1: Rename nsIDOMEventTarget::PreHandleEvent to nsIDOMEventTarget::GetEventTargetParent. r=smaug
...
MozReview-Commit-ID: FM3vDUyLOCb
--HG--
extra : rebase_source : 5a513af84718a6d591f77437a0704984c8fc2b67
2016-10-21 10:11:07 +08:00
Andrea Marchesini
3120de1ea7
Bug 1315905
- Cleanup Necko http security check - part 2 - tests, r=valentin
2016-11-17 14:53:30 +01:00
Ehsan Akhgari
dc33b55d94
Bug 1312101 - Part 2: Remove AppProcessChecker and code that depends on it; r=baku
2016-11-16 14:51:08 -05:00
Ehsan Akhgari
eac76d9772
Bug 1310845 - Remove support for mozapp iframes; r=fabrice,jryans,baku,mcmanus
...
This patch removes support for mozapp iframes, leaving support for
mozbrowser iframes intact. Some of the code has been rewritten in order
to phrase things in terms of mozbrowser only, as opposed to mozbrowser
or app. In some places, code that was only useful with apps has been
completely removed, so that the APIs consumed can also be removed. In
some places where the notion of appId was bleeding out of this API, now
we use NO_APP_ID. Other notions of appId which were restricted to this
API have been removed.
2016-11-16 09:13:38 -05:00
Kan-Ru Chen
f8100451db
Bug 1314254 - Add mozilla::ipc::IPCResult type and convert IPDL handlers to use new return type. r=billm
...
We will use the new type for the generated IPDL message handler
prototype to make sure correct error handling method is called.
MozReview-Commit-ID: AzVbApxFGZ0
2016-11-15 04:26:00 +01:00
Andi-Bogdan Postelnicu
65ae72060c
Bug 1317241 - Use C++11's override and remove virtual where applicable in dom/ r=baku
...
MozReview-Commit-ID: 8jUAehd1odv
--HG--
extra : rebase_source : 13375a14447ce344214fa30babf540de0a394c6a
2016-11-15 13:09:07 +02:00
Andi-Bogdan Postelnicu
ae0295a290
Bug 1317241 - Replace string literals containing escaped characters with raw string literals in dom/. r=baku
...
MozReview-Commit-ID: FGjPRf0g3Yt
--HG--
extra : rebase_source : efe73faf1a5d3f26efea56e985bdbb586a6d1da8
2016-11-14 11:45:55 +02:00
Andi-Bogdan Postelnicu
aaf2063029
Bug 1317241 - Replace default bodies of special member functions with = default in dom/. r=baku
...
MozReview-Commit-ID: 12AHOhrpaNO
--HG--
extra : rebase_source : 7881277a13fe7389b95635ee9b94f1686f56d142
2016-11-14 11:40:37 +02:00
Andi-Bogdan Postelnicu
4df235170d
Bug 1317241 - Use auto type specifier where aplicable for variable declarations to improve code readability and maintainability in dom/. r=baku
...
MozReview-Commit-ID: CST7fV4h20h
--HG--
extra : rebase_source : 663d24e9c15d7b42023f1557b75fb8dabfc9b6a9
2016-11-14 11:35:58 +02:00
Andi-Bogdan Postelnicu
b43be84495
Bug 1317241 - Converts for(...; ...; ...) loops to use the new range-based loops in C++11 in dom/. r=baku
...
MozReview-Commit-ID: ysMKgcL3YQ
--HG--
extra : rebase_source : 37ac432e1bca84a6ab34ab2b84577b6702ba6413
2016-11-14 11:31:11 +02:00
Andrea Marchesini
2aba798852
Bug 1303518 - Remove the chrome only constructor for File, r=qdot
2016-11-11 18:56:44 +01:00
Phil Ringnalda
a7bc94158c
Merge m-i to m-c, a=merge
...
MozReview-Commit-ID: H4VKCYDq5cD
--HG--
rename : xpcom/tests/TestAutoRef.cpp => xpcom/tests/gtest/TestAutoRef.cpp
rename : xpcom/tests/TestCOMArray.cpp => xpcom/tests/gtest/TestCOMArray.cpp
rename : xpcom/tests/TestCOMPtr.cpp => xpcom/tests/gtest/TestCOMPtr.cpp
rename : xpcom/tests/TestCOMPtrEq.cpp => xpcom/tests/gtest/TestCOMPtrEq.cpp
rename : xpcom/tests/TestFile.cpp => xpcom/tests/gtest/TestFile.cpp
rename : xpcom/tests/TestHashtables.cpp => xpcom/tests/gtest/TestHashtables.cpp
rename : xpcom/tests/TestID.cpp => xpcom/tests/gtest/TestID.cpp
2016-11-05 13:36:25 -07:00
Sebastian Hengst
72f14c6f84
Bug 1310297 - Remove test annotations using b2g, mulet or gonk: dom/indexedDB. r=RyanVM
...
MozReview-Commit-ID: 6Y7ZxXV59au
--HG--
extra : rebase_source : eba5e6849d332c162ce390a295eec0b7fe3f0703
2016-11-05 11:29:16 +01:00
Bevis Tseng
3af6bacb93
Bug 1309527
- Fix the race condition to prevent the access of metadata in both PBackground thread and the Connection thread. r=janv
2016-10-26 19:14:12 +08:00
Sebastian Hengst
5c11198962
Backed out changeset 2bbfcf5356f7 (bug 1309527
) for timing out in idbobjectstore-rename-store.html on Windows x64 opt. r=backout
2016-11-02 19:15:52 +01:00
Bevis Tseng
4496af6962
Bug 1309527
- Fix the race condition to prevent the access of metadata in both PBackground thread and the Connection thread. r=janv
...
--HG--
extra : rebase_source : 4be928b9ed804ac033edfbf5b95490f178a49366
2016-10-26 19:14:12 +08:00
Bevis Tseng
fa5f21c539
Bug 1274075 - Throw UnknowError if the size of the serialized message is too large. r=janv
...
--HG--
extra : rebase_source : 1b34071dae6ccca7c8aa7cc8e8068c90218aceae
2016-10-17 11:45:03 +08:00
Phil Ringnalda
1261559426
Backed out changeset 2e8791563f4d (bug 1309527
) for Win8 timeouts in idbobjectstore-rename-store.html
2016-11-02 19:22:18 -07:00
Bevis Tseng
790be48aa6
Bug 1309527
- Fix the race condition to prevent the access of metadata in both PBackground thread and the Connection thread. r=janv
2016-11-02 23:12:31 +01:00
Andrea Marchesini
0e290de2a9
Bug 1313907 - Remove a warning in IDB ActorParent.cpp, r=me
2016-10-30 10:02:26 +01:00
Ben Kelly
0983850a63
Bug 1303167
P6 Rename new suspend and freeze methods to final names. r=smaug
2016-10-26 10:20:16 -07:00
Ben Kelly
bf0ca72f77
Bug 1303167
P2 Use new window suspend and freeze methods. r=smaug
...
* * *
Bug 1303167
P2 interdiff 0001 Review feedback
2016-10-26 10:20:15 -07:00
Shawn Huang
d93d31503b
Bug 1304966 - Enable Storage API only for nightly bulid, r=baku
2016-10-26 21:38:08 +08:00
Luke Wagner
c13c2f061b
Bug 1311466 - A follow-up fix. Fix a todo in verifyWasmModule() by passing constructors of correct global to instanceof; r=janv
2016-10-26 11:10:08 +02:00
Jan Varga
17a0c4983e
Bug 1311466 - Part 10: Implement functionality for preprocessing multiple results, fixed objectStore.getAll() to use it including a new test; r=asuth
2016-10-26 06:51:33 +02:00
Jan Varga
22e3c614b1
Bug 964561 - A follow-up fix. Pass correct buffer size to CopyFileData(); r=asuth
2016-10-26 05:44:53 +02:00
Jan Varga
1fb27ff1f9
Bug 1311466 - A follow-up fix. Fix Cancel() return type to make windows happy; r=me
2016-10-25 21:59:22 +02:00
Jan Varga
ae1e9a74ca
Bug 1311466 - A follow-up fix. Fix a bad implicit conversion constructor; r=me CLOSED TREE
2016-10-25 21:38:37 +02:00
Jan Varga
223cc662a8
Bug 1311466 - Part 9: Extract common code for sending preprocess info; r=asuth
2016-10-25 21:19:10 +02:00
Jan Varga
9d0d2c5654
Bug 1311466 - Part 8: Implement basic functionality for preprocessing results before they are sent for synchronous deserialization; r=asuth
2016-10-25 21:19:06 +02:00
Jan Varga
8fef5e4a97
Bug 1311466 - Part 6: Core changes for WebAssembly module deserialization (works only in xpcshell); r=asuth
2016-10-25 21:18:58 +02:00
Jan Varga
00707ba46a
Bug 1311466 - Part 3: Core changes for WebAssembly module serialization including a test; r=asuth
2016-10-25 21:18:48 +02:00
Jan Varga
51534c010e
Bug 1311466 - Part 2: Refactor IPDL structs to use file types too; r=asuth
2016-10-25 21:18:44 +02:00
Jan Varga
bf334a376c
Bug 1311466 - Part 1: Define only one file type; r=asuth
2016-10-25 21:18:40 +02:00
Jan Varga
d1f5aaafa4
Bug 964561 - Part 9: Add a new test for externally stored structured clone data; r=asuth
2016-10-25 21:18:33 +02:00
Jan Varga
37e3797013
Bug 964561 - Part 8: Disable externally stored structured clone data in file tests; r=asuth
2016-10-25 21:18:29 +02:00
Jan Varga
3e4ce601e3
Bug 964561 - Part 7: Compress externally stored structured clone data; r=asuth
2016-10-25 21:18:26 +02:00
Jan Varga
b0015a18c7
Bug 964561 - Part 6: Core changes for storing structured clone data outside of the database; r=asuth
2016-10-25 21:18:22 +02:00
Jan Varga
1ac7543f8b
Bug 964561 - Part 5: Add a data threshold pref; r=asuth
2016-10-25 21:18:18 +02:00
Jan Varga
9844d8618e
Bug 964561 - Part 4: Update keys directly in the structured clone buffer; r=asuth
2016-10-25 21:18:14 +02:00
Jan Varga
ca3b715776
Bug 964561 - Part 3: Implement an input stream wrapper around structured clone data; r=asuth
2016-10-25 21:18:11 +02:00
Jan Varga
1a6dfd7db0
Bug 964561 - Part 2: Refactor file ids handling for better expandability; r=asuth
2016-10-25 21:18:07 +02:00
Jan Varga
f9dad43bb9
Bug 964561 - Part 1: Use a type in StructuredCloneFile instead of a boolean; r=asuth
2016-10-25 21:18:03 +02:00
Lars T Hansen
9f439ac1de
Bug 1302036 - DOM changes to conform to new JS engine API for cloning. r=baku
...
--HG--
extra : rebase_source : bc9bda42eb0769f2fe76d702a41278e01bb497d7
2016-10-24 15:14:45 +02:00
Jan Varga
e15de1fcc5
Bug 768074 - Update Snappy library to revision >= r59 to get ARM optimizations; r=bkelly
2016-10-24 21:19:24 +02:00
Nathan Froyd
d1879e1c4b
Bug 1312104 - part 2 - use FloatingPoint<>::kSignBit in lieu of hand-rolled constant; r=janv
...
This way is a little bit more readable.
2016-10-24 13:22:54 -04:00
Nathan Froyd
7f6b03f97d
Bug 1312104 - part 1 - use BitwiseCast for punning between uint64_t/double in indexedDB; r=janv
...
We have code elsewhere for this sort of stuff; let's use it here.
2016-10-24 13:22:54 -04:00
Jan Varga
3e0e4383f2
Bug 1272855 - dom/indexedDB/test/unit/test_quotaExceeded_recovery.js incurs ~3.5 GB of I/O; r=baku
2016-10-24 11:18:25 +02:00
Ehsan Akhgari
834072cc97
Bug 1311247 - Avoid using unsafe CPOWs in browser_perwindow_privateBrowsing.js; r=mrbkap
2016-10-21 11:20:05 -04:00
Carsten "Tomcat" Book
6f5013d535
Backed out changeset e93fcd61991f (bug 1311247) for frequent OS X bc 7 failures
2016-10-21 08:51:46 +02:00
Ehsan Akhgari
5caff82499
Bug 1311247 - Avoid using unsafe CPOWs in browser_perwindow_privateBrowsing.js; r=mrbkap
2016-10-20 18:33:00 -04:00
Jon Coppeard
556585c65f
Bug 1297558 - Remove explicit calls to Expose*ToActiveJS r=mccr8
2016-10-18 17:58:19 +01:00
Ehsan Akhgari
9de6bbbaec
Bug 1261019 - Part 3: Remove Navigator.mozApps and code depending on it; r=myk,jryans,fabrice,mcmanus,peterv
2016-10-13 13:18:41 -04:00
Bevis Tseng
d3bd0e0c64
Bug 1300454 - SendAbort() to parent after IDBTransaction is aborted in INITIAL state. r=janv
2016-10-04 15:40:11 +08:00
Josh Matthews
ee8da66177
Bug 1294450 - Make AutoIPCStream favour PSendStream for large input streams. r=nfroydj
2016-09-29 06:20:00 +02:00
Wes Kocher
673a0db365
Backed out changeset 57e78c503c4e (bug 1294450) for build bustage a=backout
2016-09-28 17:38:00 -07:00
Josh Matthews
facc06fda2
Bug 1294450 - Make AutoIPCStream favour PSendStream for large input streams. r=froydnj
...
--HG--
extra : rebase_source : 764aa593bd2734ca15d556a0b5ca55e3f69d25bb
2016-09-28 18:38:51 -04:00
Carsten "Tomcat" Book
572e74ee99
merge mozilla-inbound to mozilla-central a=merge
2016-09-28 15:56:33 +02:00
Cykesiopka
69ec95883f
Bug 1304779 - Delete unused dom/indexedDB/ActorsParent.cpp copy constructors. r=janv
...
MozReview-Commit-ID: 4c5Y0QtQ5CS
--HG--
extra : rebase_source : ebdf38ea0b65c49c0c2a6df878466f87d9604dc4
2016-09-23 00:29:44 +08:00
Eric Faust
121151ec67
Bug 1263595
- Avoid deadlock between the JIT and the gecko profiler on win64. (r=froydnj)
2016-09-15 21:35:14 -07:00
Bevis Tseng
626dd129aa
Bug 1302261 - Refresh Spec For Deleted Indexes. r=janv
2016-09-12 15:38:43 -07:00
Jan Varga
c0462c28b6
Bug 1290853 - Iterate the blocked transactions in the first-come, first-served order. r=btseng
2016-08-24 13:40:25 +08:00
Wes Kocher
611fb66887
Backed out changeset 39da44265946 (bug 1263595
) for build bustage a=backout CLOSED TREE
2016-09-16 14:19:22 -07:00
Eric Faust
db0cfdc6bc
Bug 1263595
- Avoid deadlock between the JIT and the gecko profiler on win64. (r=froydnj)
2016-09-15 21:35:14 -07:00
Phil Ringnalda
6beabc555f
Backed out changeset 48694b762a84 (bug 1263595
) for -Werror bustage
...
CLOSED TREE
2016-09-15 22:04:50 -07:00
Eric Faust
c725e729c5
Bug 1263595
- Avoid deadlock between the JIT and the gecko profiler on win64. (r=froydnj)
2016-09-15 21:35:14 -07:00
Michael Layzell
e12728495c
Bug 1018486 - Part 9: Changes to account for modifications to clang plugin, r=ehsan
...
MozReview-Commit-ID: EPQMbfHYxUK
2016-09-07 10:50:47 -04:00
Michael Layzell
c47fca1cd7
Bug 1018486 - Part 1: Changes in dom/, r=baku
...
MozReview-Commit-ID: 4tCUM4KRe81
2016-09-07 10:50:35 -04:00
Shawn Huang
ba9fa0d68a
Bug 1267941 - Implement Storage API estimate() feature, r=janv,baku
2016-06-14 13:57:36 +01:00
Kan-Ru Chen
78c48f9b6d
Bug 1300512 - Remove OptionalContentId and replace it with Maybe<ContentParentId> in IndexedDB. r=janv
...
MozReview-Commit-ID: 6Cjlej1TwCY
--HG--
extra : rebase_source : 2a9990e842a05a2e75b473f6d038b946bf59fc5e
2016-09-05 18:31:21 +08:00
Nicholas Nethercote
b71747b2ac
Bug 1299727 - Rename NS_WARN_IF_FALSE as NS_WARNING_ASSERTION. r=erahm.
...
The new name makes the sense of the condition much clearer. E.g. compare:
NS_WARN_IF_FALSE(!rv.Failed());
with:
NS_WARNING_ASSERTION(!rv.Failed());
The new name also makes it clearer that it only has effect in debug builds,
because that's standard for assertions.
--HG--
extra : rebase_source : 886e57a9e433e0cb6ed635cc075b34b7ebf81853
2016-09-01 15:01:16 +10:00
Kan-Ru Chen
b6d880aca1
Bug 1297276 - Rename mfbt/unused.h to mfbt/Unused.h for consistency. r=froydnj
...
The patch is generated from following command:
rgrep -l unused.h|xargs sed -i -e s,mozilla/unused.h,mozilla/Unused.h,
MozReview-Commit-ID: AtLcWApZfES
--HG--
rename : mfbt/unused.h => mfbt/Unused.h
2016-08-24 14:47:04 +08:00
Kan-Ru Chen
b4cf4bec61
Bug 1264642 - Part 6. Mark JSStructuredCloneData as MOZ_NON_MEMMOVABLE and add specializations in nsTArray.h. r=froydnj
...
MozReview-Commit-ID: HltgzBnxMsn
2016-08-23 00:40:47 +08:00
Kan-Ru Chen
0dbfe2dbcc
Bug 1264642 - Part 5. Make SerializedStructuredClone{Read,Write}Info use SerializedStructuredCloneBuffer. r=baku
...
MozReview-Commit-ID: KUz3E5Sw5W3
2016-08-23 00:40:47 +08:00
Kan-Ru Chen
506dfe6ea3
Bug 1264642 - Part 4. Use BufferList to replace raw buffers in StructuredClone. r=baku r=billm r=jorendorff
...
In JS StructuredClone BufferList<SystemAllocPolicy> is typedef'd to
JSStructuredCloneData and use everywhere in gecko that stores structured
clone data.
This patch changed some raw pointers to UniquePtr<JSStructuredCloneData>
and some to stack allocated JSStructuredCloneData for better life time
management. Some parameters or methods are deleted because of changing
to the new data structure.
MessagePortMessage now has the exactly same structure with
ClonedMessageData. Maybe in the future they can be consolidated.
MozReview-Commit-ID: 1IY9p5eKLgv
2016-08-23 00:40:46 +08:00
Kan-Ru Chen
e4b3f7ccbb
Bug 1264642 - Part 1. Remove unused methods from IDBObjectStore::StructuredCloneWriteInfo. r=baku
...
MozReview-Commit-ID: 8MIFD0MizOo
2016-08-23 00:40:45 +08:00
Ben Kelly
9d7b33a00b
Bug 1293690 P2 Set explicit status levels to fail at when calling WorkerHolder::HoldWorker. r=baku
2016-08-18 07:11:04 -07:00
Bevis Tseng
f3cc098cd9
Bug 1275518 - Add null pointer check before accessing DatabaseInfo::mConnection. r=janv
...
--HG--
extra : rebase_source : 725bc0d4229624de7078195ffb56c7dfc49bbab3
2016-08-17 16:13:50 +08:00
Phil Ringnalda
4083fafafc
Backed out 10 changesets (bug 1290116, bug 1293690) for build bustage
...
CLOSED TREE
Backed out changeset bbc14d107fca (bug 1290116)
Backed out changeset a81b6ce5c25f (bug 1290116)
Backed out changeset e0b9c25b6125 (bug 1290116)
Backed out changeset 8e9a9ba04ce5 (bug 1290116)
Backed out changeset 2d5ad5e9ed20 (bug 1290116)
Backed out changeset eb7da0dbfc72 (bug 1290116)
Backed out changeset 6a4e8c92faae (bug 1290116)
Backed out changeset 0342d98afa10 (bug 1293690)
Backed out changeset d84b0768f0ce (bug 1293690)
Backed out changeset f9f62ade9508 (bug 1293690)
2016-08-17 21:16:43 -07:00
Ben Kelly
fa520e1fdd
Bug 1293690 P2 Set explicit status levels to fail at when calling WorkerHolder::HoldWorker. r=baku
2016-08-17 20:01:35 -07:00
Andrea Marchesini
a183983968
Bug 1264053 - MessagePort should support transferable objects in multi-e10s, r=sfink, r=smaug, r=jorendorff, r=janv
2016-07-21 15:29:42 +02:00
Bevis Tseng
b17713a4cb
Bug 1271500 - Binary Key Support. r=janv
...
--HG--
extra : rebase_source : 3762fa91b4c068d7d0158a55911bc3f13b47a93f
2016-08-12 15:03:59 +08:00
Nicholas Nethercote
ca40b738e4
Bug 1294620 - Use infallible XPIDL attribute getters more. r=erahm.
...
This makes a lot of code more compact, and also avoids some redundant nsresult
checks.
The patch also removes a handful of redundant checks on infallible setters.
--HG--
extra : rebase_source : f82426e7584d0d5cddf7c2524356f0f318fbea7d
2016-08-12 15:19:29 +10:00
Honza Bambas
938cfdf0c1
Bug 1293327 - Take file protocol handler service directly in indexedDB. r=janv
...
--HG--
extra : amend_source : f705a56379b9d1f27bad063949deacb3f7b2c01b
2016-08-11 22:13:17 -04:00
Jan de Mooij
c33bac8363
Bug 1292892 part 5 - Replace most nsContentUtils::RootingCx calls with dom::RootingCx. r=bz,terrence
2016-08-11 14:39:23 +02:00
Bevis Tseng
34652d2187
Bug 1271506 - Support of IDBObjectStore.getKey. r=khuey
2016-07-21 16:31:59 +08:00
Bevis Tseng
efa7337a9a
Bug 1271505 - Support of IDBCursor.continuePrimaryKey. r=khuey
2016-07-26 15:26:50 +08:00
Bevis Tseng
c36eaf728e
Bug 1289375 - Rollback incomplete change of preloading cursors for IndexedDB. r=khuey
2016-07-26 18:51:19 +08:00
Boris Zbarsky
fb2eb08b4d
Bug 1289179. IDBRequest::SetResultCallback should expose its script owner to active JS before entering its compartment. r=baku
2016-07-27 11:05:36 -04:00
Carsten "Tomcat" Book
b9a6c687fa
merge mozilla-inbound to mozilla-central a=merge
2016-07-25 15:50:41 +02:00
Jan de Mooij
c7e88a5ad8
Bug 1286795 part 6 - Replace JS_NewRuntime/JS_DestroyRuntime with JS_NewContext/JS_DestroyContext. r=luke,bz
2016-07-23 19:54:19 +02:00
Carsten "Tomcat" Book
8b6316ec5f
Merge mozilla-central to mozilla-inbound
2016-07-22 11:59:06 +02:00
Carsten "Tomcat" Book
c7846e126c
Backed out changeset 16aa7041c009 (bug 1287107) for causing xpcshell and mac tests
2016-07-22 11:30:23 +02:00
Andrew McCreight
623b56a3f1
Bug 1287143
- Remove the window argument to SpecialPowers.exactGC(). r=jmaher
...
Cu.forceCC() is the same as DOMWindowUtils.cycleCollect(), but does
not require a window.
2016-07-19 13:13:00 +08:00
Fabrice Desré
f5b619fb28
Bug 1287107 - Making transition alive with gaia as chrome:// r=bholley,fabrice
...
MozReview-Commit-ID: 9uVUrmuVFXQ
--HG--
extra : rebase_source : d0c19fcda5c72ecdce3b0d0bbbafa5a7954d7a4c
2016-03-03 09:58:47 -08:00
Tom Tromey
5538d692d3
Bug 1286877 - do not set c-basic-offset for python-mode; r=gps
...
This removes the unnecessary setting of c-basic-offset from all
python-mode files.
This was automatically generated using
perl -pi -e 's/; *c-basic-offset: *[0-9]+//'
... on the affected files.
The bulk of these files are moz.build files but there a few others as
well.
MozReview-Commit-ID: 2pPf3DEiZqx
--HG--
extra : rebase_source : 0a7dcac80b924174a2c429b093791148ea6ac204
2016-07-14 10:16:42 -06:00
Chris Peterson
b175c9fdd5
Bug 1277106 - Part 2: Expand MOZ_UTF16() strings to u"" string literals. r=Waldo
2016-07-20 22:03:25 -07:00
Carsten "Tomcat" Book
8428cd56e3
merge mozilla-inbound to mozilla-central a=merge
2016-07-20 11:20:15 +02:00
Andi-Bogdan Postelnicu
956584cb73
Bug 1287756 - prevent assignment in assert expression for |mCurrentMaintenance|.r=janv
...
MozReview-Commit-ID: 8p72mQrKmWx
--HG--
extra : rebase_source : 7ff9956ddc08fed0b602455d37c2b088e21e70a5
2016-07-19 21:18:03 +03:00