Sebastian Hengst
89e8ea64b1
Backed out changeset 537abc431472 (bug 1359718)
2017-05-23 18:34:40 +02:00
Andrea Marchesini
7db3365daf
Bug 1359718 - Get rid of PBlob - part 2 - PBlob, r=smaug, r=kanru
2017-05-23 18:05:19 +02:00
Andrea Marchesini
0556e09658
Bug 1360185 - Use of IPCBlob in IndexedDB - part 5 - IPCBlobInputStream must implement nsIFileMetadata, r=janv
...
This patch uses also AsyncWait() to store Wasm modules into indexedDB
2017-05-23 07:52:47 +02:00
Jan Varga
148a63cc3f
Bug 1360185 - Use of IPCBlob in IndexedDB - part 4 - IPCBlob and sharing files when used by IDB, r=baku
2017-05-18 09:50:57 +02:00
Andrea Marchesini
335ccef6d3
Bug 1360185 - Use of IPCBlob in IndexedDB - part 3 - IPCBlob must support fileId and fullPath values for indexedDB, r=janv
...
These 2 values are used only for testing, but they are extremely useful.
2017-05-23 07:51:13 +02:00
Andrea Marchesini
c15f78065c
Bug 1360185 - Use of IPCBlob in IndexedDB - part 2 - Lazy Data set to any received blob, r=janv
2017-05-23 07:50:54 +02:00
Andrea Marchesini
f9c4fde785
Bug 1360185 - Use of IPCBlob in IndexedDB - part 1 - Replacement of PBlob with IPCBlob, r=janv
2017-05-23 07:50:33 +02:00
Mark Banner
0ce286101c
Bug 1359011 - Make the mozilla/recommended eslint configuration the default for the whole tree. r=mossop
...
MozReview-Commit-ID: HtUW43tCli1
--HG--
extra : rebase_source : 6496bc47860d9c1ab522a78e73b41550700021cb
2017-04-25 20:12:21 +01:00
Mark Banner
3161044b80
Bug 1363795 - Enable some Mozilla ESLint recommended rules for dom/indexedDB/test - manual fixes. r=bevis
...
MozReview-Commit-ID: L79wR0OhqMz
--HG--
extra : rebase_source : 8f843dae15241ac9e471d71110d813d76d542c5f
2017-05-10 17:28:55 +01:00
Mark Banner
52a86c565f
Bug 1363795 - Enable some Mozilla ESLint recommended rules for dom/indexedDB/test - automatic fixes. r=bevis
...
MozReview-Commit-ID: I8FKV241Inw
--HG--
extra : rebase_source : 3efeabcfcf6bec378f0d1eca60c84c920e265bc4
2017-05-10 17:19:34 +01:00
Mark Banner
e123b6dfb8
Bug 1363795 - Enable some Mozilla ESLint recommended rules for dom/indexedDB/test (no-undef). r=bevis
...
MozReview-Commit-ID: G6uRTV9i0uX
--HG--
extra : rebase_source : d882067602831bc2a257283aa2e70529568ddf0f
2017-05-10 17:05:18 +01:00
Mark Banner
b5cf40721c
Bug 1361760 - Enable some Mozilla ESLint recommended rules for dom/indexedDB/test/unit - manual fixes. r=bevis
...
MozReview-Commit-ID: 6ThfXUwvojk
--HG--
extra : rebase_source : f76edd5048227d3df7bee48d86aebb2d23828d1f
2017-05-03 17:54:12 +01:00
Mark Banner
9dce8bd209
Bug 1361760 - Enable some Mozilla ESLint recommended rules for dom/indexedDB/test/unit - automatic fixes. r=bevis
...
MozReview-Commit-ID: 8GVCzudNPiq
--HG--
extra : rebase_source : d924c54b9d5bfe0b22199190c6b9a28feec15622
2017-05-03 17:30:48 +01:00
Mark Banner
2451fe6f08
Bug 1361760 - Enable some Mozilla ESLint recommended rules for dom/indexedDB/test/unit. r=bevis
...
MozReview-Commit-ID: CM8apJcdRVs
--HG--
extra : rebase_source : 06d8d2b291dbd608ba68e5f7f9c622592cfd3cb6
2017-04-25 21:53:00 +01:00
Christoph Kerschbaumer
e4f38c8d7c
Bug 1362993 - Rewrite gBrowser.addTab() to use BrowserTestUtils.addTab(). r=florian
2017-05-15 21:49:50 +02:00
Nathan Froyd
c1d1748428
Bug 1359490 - add an event loop spinning abstraction function; r=gerald
...
This function is arguably nicer than calling NS_ProcessNextEvent
manually, is slightly more efficient, and will enable better auditing
for NS_ProcessNextEvent when we do Quantum DOM scheduling changes.
2017-05-15 09:34:19 -04:00
Andrea Marchesini
18368ca143
Bug 1359087 - Use IPCBlob in FileHandle - part 4 - FileHelper::SyncCopy must work with asyncInputStream, r=asuth
2017-05-09 22:35:43 +02:00
Andrea Marchesini
018dbb6ceb
Bug 1359087 - Use IPCBlob in FileHandle - part 3 - Changes in IndexedDB StreamWrapper, r=janv
2017-05-09 22:35:42 +02:00
Frederik Braun
cd1cbcef0f
Bug 1359350: Add no-eval rule to eslint config (and whitelist failures in tests) r=standard8
...
MozReview-Commit-ID: 4nYlX4sSdbF
--HG--
extra : rebase_source : cf610e7d8bf2b8dbd5a0d40c5b835bc6620c3bba
2017-05-08 14:50:50 +02:00
Jan Varga
a5802cc08e
Bug 1339826 - Part 3: Add a self reference in Maintenance::Finish() to prevent self destruction while the method is still being executed; r=btseng
2017-04-28 17:43:03 +02:00
Jan Varga
b8c306d6f2
Bug 1339826 - Part 2: Warn if a maintenance finishes with an error; r=btseng
2017-04-28 17:42:53 +02:00
Jan Varga
a37d570a42
Bug 1339826 - Part 1: Don't assume that some nsIFile methods can't ever fail; r=btseng
2017-04-28 17:42:39 +02:00
Florian Queze
4b1556a5f2
Bug 1355056 - replace (function(args) { /* do stuff using this */ }).bind(this) with arrow functions, r=jaws.
2017-04-27 00:25:45 +02:00
Bill McCloskey
207af130a2
Bug 1343396 - Split CycledCollectedJSContext and XPCJSContext into separate context and runtime classes (r=mccr8)
...
To run JS in separate cooperative threads, we need to split up per-thread state
from per-runtime state. This patch does that for XPConnect.
MozReview-Commit-ID: 407SlJ7nR6v
2017-04-18 17:01:04 -07:00
Florian Queze
f935ddc4b3
Bug 1356569 - Remove notifyObservers' last parameter when it is falsy, r=jaws.
2017-04-14 21:51:39 +02:00
Florian Queze
37ff4fc7cc
Bug 1356569 - Remove addObserver's last parameter when it is false, r=jaws.
2017-04-14 21:51:38 +02:00
Sebastian Hengst
a07223d699
Backed out changeset 322fde2d53bf (bug 1356569) so bug 1355161 can be backed out. r=backout
2017-04-14 23:39:22 +02:00
Sebastian Hengst
738d097aae
Backed out changeset 55f3df15eaa6 (bug 1356569)
2017-04-14 23:39:17 +02:00
Florian Queze
3c564a2b02
Bug 1356569 - Remove notifyObservers' last parameter when it is falsy, r=jaws.
2017-04-14 21:51:39 +02:00
Florian Queze
95d4d20c17
Bug 1356569 - Remove addObserver's last parameter when it is false, r=jaws.
2017-04-14 21:51:38 +02:00
Sajid Ahmed
591da76059
Bug 1007034 - Add console warnings for the deprecated BindXXXParameter methods in mozIStorageBaseStatement and replace calls to the deprecated methods in dom/indexedDB/ActorsParent.cpp. r=mak
...
--HG--
extra : rebase_source : ac32534d36959ff7f3a1c3a382319e6de4225c2f
2017-04-05 14:08:25 -04:00
milindl
6109edd9bd
Bug 1247201 - yield on tests using removeDataFromDomain,r=mak
...
This changeset changes tests using ForgetAboutSite.removeDataFromDomain
to yield on it, since now it is a Task
MozReview-Commit-ID: 72OEYoO1avd
--HG--
extra : rebase_source : 9ea8cc06493c3e965d260dc9377461ff29fe572a
2017-03-17 14:29:48 +05:30
Bevis Tseng
26e1690d7b
Bug 1349158 - Update Key Generator algorithm specified in IDB v2.0. r=janv
...
KeyGenerator in [1] has been updated to cover the corner case of the
explicit key is not in the range of 1 ~ 2^53.
WPT of keygenerator-explicit.html improve the test coverage of these
corner cases.
[1] http://w3c.github.io/IndexedDB/#possibly-update-the-key-generator
2017-03-22 15:21:08 +08:00
Jan Varga
ee8bdbeba6
Bug 1348660 - Part 6: Rename QuotaManager::IsOriginWhitelistedForPersistentStorage() to QuotaManager::IsOriginInternal(); r=btseng
2017-03-22 12:14:09 +01:00
Jan Varga
ae1ee28451
Bug 1348660 - Part 3: Separate the canceled state out of UsageInfo; r=btseng
2017-03-22 12:13:54 +01:00
Jan Varga
4221505b78
Bug 1348660 - Part 2: Rename usage related methods and structures to express the relation to a concrete origin; r=btseng
2017-03-22 12:13:48 +01:00
Jan Varga
2232d1fd5c
Bug 1348660 - Part 1: Convert nsIQuotaUsageRequest result related attributes to a new structure nsIQuotaUsageResult and expose it using a new result attribute of type nsIVariant; r=btseng
2017-03-22 12:13:38 +01:00
Tom Tung
b21732dac3
Bug 1298329 - Part 1: Implement persist/persisted in QuotaManager and expose them to QuotaManagerService; r=janv
2016-08-25 10:19:31 +08:00
Florian Quèze
cd762cc83c
Bug 1344711 - script-generated patch to remove try blocks around get*Pref calls, r=jaws.
...
--HG--
extra : rebase_source : c6e20e6e79b0ca5de751c52712d96cbea9432d26
2017-03-07 15:29:48 +01:00
Shawn Huang
cdec8ba558
Bug 1268804 Part 2: Add test cases for SecureContext, r=janv
2017-03-07 16:28:37 +08:00
Shawn Huang
9bcc4a5ca9
Bug 1343463 - Move indexeddb service worker test to serviceworkers folder, r=baku
...
--HG--
rename : dom/indexedDB/test/service_worker.js => dom/workers/test/serviceworkers/service_worker.js
rename : dom/indexedDB/test/service_worker_client.html => dom/workers/test/serviceworkers/service_worker_client.html
rename : dom/indexedDB/test/test_serviceworker.html => dom/workers/test/serviceworkers/test_serviceworker.html
2017-03-07 13:40:37 +08:00
Jan Varga
2c456d0807
Bug 1339081 - Part 23: Treat it as an error if the origin stored in the database doesn't match the origin used to open the database; r=asuth
2017-03-06 18:40:37 +01:00
Jan Varga
b7172cf3d7
Bug 1339081 - Part 21: Rename file manager directories as part of new upgrade helper; r=asuth
2017-03-06 18:40:31 +01:00
Jan Varga
0656215c6c
Bug 1339081 - Part 20: Rationalize IndexedDB origin initialization code (preparation for sharing with a new upgrade method); r=asuth
2017-03-06 18:40:28 +01:00
Jan Varga
7903eab8b6
Bug 1339081 - Part 19: Strip obsolete origin attributes in IndexedDB databases (needed for bug 1314361), original patch by Kris Maglione; r=asuth
2017-03-06 18:40:25 +01:00
Jan Varga
6e8bf16da5
Bug 1339081 - Part 18: Simplify File.createFromNsIFile() usage; r=asuth
2017-03-06 18:40:22 +01:00
Jan Varga
8aa8c239ef
Bug 1339081 - Part 16: Remove apps data as part of new upgrade helper (needed for bug 1311057), add a bunch of new tests to verify upgrade methods; r=asuth
2017-03-06 18:40:13 +01:00
Jan Varga
928e24d75d
Bug 1311057 - Part 3: Code simplification and cleanup after isApp removal; r=asuth
2017-03-06 18:38:44 +01:00
Jan Varga
dcc35b89e6
Bug 1311057 - Part 2: Remove isApp from quota manager and its clients; r=asuth
2017-03-06 18:38:42 +01:00
Carsten "Tomcat" Book
e5ba19f18b
Backed out changeset 271dd75925bd (bug 1343463) for causing test failures in test_navigator_secureContext.html
...
--HG--
rename : dom/workers/test/service_worker.js => dom/indexedDB/test/service_worker.js
rename : dom/workers/test/service_worker_client.html => dom/indexedDB/test/service_worker_client.html
rename : dom/workers/test/test_serviceworker.html => dom/indexedDB/test/test_serviceworker.html
2017-03-06 13:57:47 +01:00
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