Ted Campbell
f8ae8df48b
Bug 1636795 - Remove ScriptStencil::finishInnerFunctions. r=mgaudet
...
Instead, have a batch process at end of bytecode emission just before reading
out the result script. We do this for functions that are inner to a script we
are generating bytecode code. These functions may still be lazy but they are
potentially exposed in JSOp::Lambda/LambdaArray ops.
Differential Revision: https://phabricator.services.mozilla.com/D74569
2020-05-11 14:41:40 +00:00
Ted Campbell
5d07273da7
Bug 1636794 - Reflect.parse no longer needs to allocate gc-things. r=mgaudet
...
Differential Revision: https://phabricator.services.mozilla.com/D74568
2020-05-11 12:14:46 +00:00
Honza Bambas
739cdadbb3
Bug 1631045 - Re-enable and fix `dom/base/test/test_bug1222633.html`, r=dragana
...
Depends on D72119
Differential Revision: https://phabricator.services.mozilla.com/D71379
2020-05-11 14:17:00 +00:00
Honza Bambas
7bc68be06a
Bug 1632135 - Adjust web-platform-tests for rel=preload milestone 1 and 2 patches, r=smaug
...
Depends on D70526
Differential Revision: https://phabricator.services.mozilla.com/D72119
2020-05-11 14:16:18 +00:00
Honza Bambas
bc388980de
Bug 1618322 - Merge `network.preload.experimental` pref to `network.preload`, r=dragana
...
Depends on D70235
Differential Revision: https://phabricator.services.mozilla.com/D70526
2020-05-11 14:15:30 +00:00
Honza Bambas
ec52ba8274
Bug 1618536 - Preload for fonts, r=heycam,hsivonen
...
Depends on D72118
Differential Revision: https://phabricator.services.mozilla.com/D70235
2020-05-11 14:14:32 +00:00
Honza Bambas
ef0d4e6dd1
Bug 1618536 - Introduce nsIContentPolicy::TYPE_INTERNAL_FONT_PRELOAD representing preload of font, mapping to TYPE_FONT externally, r=baku
...
Depends on D69628
Differential Revision: https://phabricator.services.mozilla.com/D72118
2020-05-11 14:13:16 +00:00
Honza Bambas
9e027ce534
Bug 1618535 - Implement preloading for as="fetch" type r=kershaw,baku
...
Depends on D69860
Differential Revision: https://phabricator.services.mozilla.com/D69628
2020-05-11 14:12:33 +00:00
Edgar Chen
3f250fba44
Bug 1618295 - Make imgRequestProxy implement and use PreloaderBase to support the preload as speculative load feature; r=tnikkel,smaug,mayhemer
...
Depends on D72083
Differential Revision: https://phabricator.services.mozilla.com/D69860
2020-05-11 14:43:05 +00:00
Edgar Chen
ae65cbe96e
Bug 1618295 - Add imagesrcset and imagesizes attribute to the HTML parser; r=hsivonen
...
See https://html.spec.whatwg.org/multipage/semantics.html#the-link-element:attr-link-imagesrcset .
Depends on D71949
Differential Revision: https://phabricator.services.mozilla.com/D72083
2020-05-11 14:09:36 +00:00
Edgar Chen
88a9a03a8a
Bug 1618295 - Add imageSrcset and imageSizes attributes in HTMLLinkElement; r=hsivonen
...
See https://html.spec.whatwg.org/multipage/semantics.html#htmllinkelement .
Depends on D68786
Differential Revision: https://phabricator.services.mozilla.com/D71949
2020-05-11 14:08:58 +00:00
Honza Bambas
ba512a53f7
Bug 1618293 - Make css::Loader derive and use PreloaderBase to support new preload as speculative load feature, r=smaug
...
Depends on D67481
Differential Revision: https://phabricator.services.mozilla.com/D68786
2020-05-11 14:08:08 +00:00
Honza Bambas
3af63237fe
Bug 1618292 - Make ScriptLoadRequest derive and use PreloaderBase to support new preload as speculative load feature, r=smaug
...
Depends on D67483
Differential Revision: https://phabricator.services.mozilla.com/D67481
2020-05-11 14:07:24 +00:00
Honza Bambas
c83b99c509
Bug 1618299 - Teach `dom::HTMLLinkElement` about Document.Preloads(), r=smaug
...
Depends on D71378
Differential Revision: https://phabricator.services.mozilla.com/D67483
2020-05-11 14:06:45 +00:00
Honza Bambas
c0418846f3
Bug 1631044 - Temporarily disable `dom/base/test/test_bug1222633.html`, r=dragana
...
Depends on D67482
Differential Revision: https://phabricator.services.mozilla.com/D71378
2020-05-11 14:06:41 +00:00
Honza Bambas
2d65fbb465
Bug 1618298 - Update PreloadService to provide APIs to integrate with link DOM element, r=smaug
...
Depends on D67480
Differential Revision: https://phabricator.services.mozilla.com/D67482
2020-05-11 14:05:22 +00:00
Honza Bambas
0f372316ea
Bug 1618289 - Have PreloadService hanging off dom::Document, r=smaug
...
Depends on D67479
Differential Revision: https://phabricator.services.mozilla.com/D67480
2020-05-11 14:04:36 +00:00
Honza Bambas
27c56fea74
Bug 1618287 - PreloaderBase class, r=smaug
...
Depends on D71800
Differential Revision: https://phabricator.services.mozilla.com/D67479
2020-05-11 14:20:39 +00:00
Honza Bambas
d0705fe3b4
Bug 1631863 - Call `OnRedirectResult` on the child process as well, r=michal,necko-reviewers
...
Differential Revision: https://phabricator.services.mozilla.com/D71800
2020-05-11 14:03:19 +00:00
Julian Descottes
b0621c9d5e
Bug 1636507 - Extract legacy watcher implementation to dedicated files r=ochameau,nchevobbe
...
Differential Revision: https://phabricator.services.mozilla.com/D74419
2020-05-11 14:32:24 +00:00
Mihai Alexandru Michis
c48271d35e
Backed out changeset 54d6f39b880a (bug 1635362) for causing failures in test_bug659071.html and browser_Telemetry_timestamp_test.js
...
CLOSED TREE
2020-05-11 17:26:29 +03:00
Christian Holler
53f361c007
Bug 1635762 - Switch libFuzzer upstream to git and add local patches. r=truber
...
Differential Revision: https://phabricator.services.mozilla.com/D74040
2020-05-11 12:45:07 +00:00
Jonathan Watt
28edea04b6
Bug 1636725 p2. Properly save the settings chosen by the user in the Page Setup dialog on macOS. r=bobowen
...
Depends on D74547
Differential Revision: https://phabricator.services.mozilla.com/D74548
2020-05-11 14:23:12 +00:00
Jonathan Watt
6c2bfc599b
Bug 1636725 p1. Add some printing comments. r=bobowen
...
Differential Revision: https://phabricator.services.mozilla.com/D74547
2020-05-11 14:21:02 +00:00
Jonathan Watt
d6e518eb36
Bug 1636668. Move the kInitSaveNativeData setting code into C++ code. r=bobowen
...
This code could have been moved into nsPrintingPromptService::ShowPageSetupDialog
(the C++ function that the JS code calls). However, since kInitSaveNativeData
for the print dialog is handled in nsPrintDialogX (this constant is only
relevant on macOS), I've moved the kInitSaveNativeData handling in this case
(the print *settings* dialog) one call deeper, into
nsPrintDialogX::ShowPageSetup, for consistency.
Depends on D74522
Differential Revision: https://phabricator.services.mozilla.com/D74523
2020-05-11 14:10:45 +00:00
Nicolas Silva
be515a3296
Bug 1612440 - Add BlobImageHandler::create_similar. r=gw
...
Differential Revision: https://phabricator.services.mozilla.com/D74297
2020-05-11 14:00:49 +00:00
Nicolas Silva
ee478cb6d7
Bug 1612440 - Renamed clone_sender into create_sender. r=gw
...
This was split off from https://phabricator.services.mozilla.com/D71992
Depends on D74293
Differential Revision: https://phabricator.services.mozilla.com/D74296
2020-05-07 19:45:20 +00:00
Nicolas Silva
f4e54a21aa
Bug 1612440 - Make send_transaction take &mut self. r=gw
...
Differential Revision: https://phabricator.services.mozilla.com/D74293
2020-05-11 10:27:26 +00:00
Nicolas Silva
f16e775358
Bug 1612440 - Remove ApiMsg::UpdateResources. r=gw
...
Differential Revision: https://phabricator.services.mozilla.com/D72397
2020-05-11 10:27:26 +00:00
Henri Sivonen
a364362ce0
Bug 1613899 - Re-enable test_bug976673.html for Fission. r=masayuki
...
Differential Revision: https://phabricator.services.mozilla.com/D69943
2020-04-07 22:13:41 +00:00
Neil Deakin
c4073b529c
Bug 1594752, use WindowGlobalParent's documentTitle to update tab titles rather than sending messages and events between processes, r=Gijs
...
Fix up the browser_tab_label_during_restore.js test to wait for the right number of tab title changes, since the timing of the tab title updating has now changed.
Differential Revision: https://phabricator.services.mozilla.com/D72562
2020-05-11 09:03:03 +00:00
Neil Deakin
effc8401b2
Bug 1594752, expose WindowGlobalParent's document title attribute to script, and fire a pagetitlechanged event on the frame/browser when it changes, r=nika
...
Differential Revision: https://phabricator.services.mozilla.com/D72561
2020-05-11 11:24:16 +00:00
Bas Schouten
e77dae9051
Bug 1635414: Cancel second repeating runnable. r=smaug
...
Differential Revision: https://phabricator.services.mozilla.com/D73857
2020-05-05 20:45:48 +00:00
Mihai Alexandru Michis
2df205e3f0
Backed out changeset 14b092e7a974 (bug 1635762) for causing failures in browser_Telemetry_timestamp_test.js
...
CLOSED TREE
2020-05-11 17:00:53 +03:00
Mihai Alexandru Michis
92d02a4027
Backed out changeset edd5fdedad45 (bug 1636037) for causing bustages.
...
CLOSED TREE
2020-05-11 16:39:46 +03:00
James Graham
11889d3b98
Bug 1636905 - Fix javascript url COEP tests, r=annevk
...
Differential Revision: https://phabricator.services.mozilla.com/D74652
2020-05-11 13:28:47 +00:00
Mark Banner
d3f85b69aa
Bug 1635805 - Fix failure in test_ext_settings_overrides_search_mozParam.js when search modern configuration is turned off. r=daleharvey
...
Differential Revision: https://phabricator.services.mozilla.com/D74230
2020-05-11 13:15:03 +00:00
Mark Banner
af903a0c64
Bug 1636037 - Use the specified manifest for getting icons and descriptions for search engines. r=daleharvey
...
Differential Revision: https://phabricator.services.mozilla.com/D74222
2020-05-11 13:14:25 +00:00
Gregory Mierzwinski
2f4810de2e
Bug 1636504 - Re-enable Fenix browsertime cron tasks. r=perftest-reviewers,AlexandruIonescu
...
This patch re-enables the Fenix browsertime tasks in mozilla-central that run through a cron job.
Differential Revision: https://phabricator.services.mozilla.com/D74421
2020-05-11 12:55:09 +00:00
Gijs Kruitbosch
b46afee956
Bug 1636256 - abort importJSONDump tasks in the remote settings worker at shutdown, r=leplatrem,asuth
...
To use a single transaction for `importJSONDump`, this commit:
- changes IDBHelpers' `executeIDB` method to take either a string or array
pointing to `objectStore`s that the caller wants to use.
- uses that from RemoteSettingsWorker to start a single transaction using both
the `records` and the `timestamps` store
- updates `bulkOperationHelper` to take an optional `completion` callback, in
addition to the rejection callback, to be called when all the bulk
operations are complete
- uses that optional argument from RemoteSettingsWorker's `importDumpIDB`
(the actual implementation of IDB access from `importJSONDump`) to first
bulk-import the actual records, and then update the timestamp stored for
that remote settings collection.
Then to abort that single transaction, this commit:
- stores pending transactions in a set, similar to what Database.jsm already
does, and removes items from that set when the `promise` from `executeIDB`
either resolves or rejects.
- adds a `prepareShutdown` action on the RemoteSettingsWorker's `Agent` class,
to be called by the jsm side of the worker manager when shutdown happens.
When called, it iterates over the pending transactions and aborts all of
them.
This also sets a `gShutdown` flag.
- ensures that where code `await`s in the middle of an operation, it stops
(throws) immediately if `gShutdown` has been set.
- adds a test to test_shutdown_handling.js to verify that this mechanism now
stops pending import tasks in the worker.
Finally, as a driveby, fixes an oversight in test_remote_settings_worker.js
where the second `.get()` call wasn't actually testing whether the
`importJSONDump` call in the worker had succeeded, because if the collection
was empty it would do the import itself, which I realized when I used similar
code in the shutdown test...
Differential Revision: https://phabricator.services.mozilla.com/D74315
2020-05-11 12:53:23 +00:00
Christian Holler
b8917ab3a4
Bug 1635762 - Switch libFuzzer upstream to git and add local patches. r=truber
...
Differential Revision: https://phabricator.services.mozilla.com/D74040
2020-05-11 12:45:07 +00:00
Martin Stransky
d8946e5c38
Bug 1635362 [Wayland] Split mozcontainer implementation for X11 and Wayland, r=jhorak
...
Differential Revision: https://phabricator.services.mozilla.com/D73794
2020-05-11 12:25:58 +00:00
Marian Raiciof
bdc71cf0b1
Bug 1626917 - Run talos and js-bench tests only on shippable builds r=perftest-reviewers,igoldan,ahal,sparky
...
Differential Revision: https://phabricator.services.mozilla.com/D69892
2020-05-07 21:10:49 +00:00
Simon Giesecke
75c988ec13
Bug 1627892 - Use SafeRefPtr for Request. r=dom-workers-and-storage-reviewers,perry
...
Differential Revision: https://phabricator.services.mozilla.com/D70390
2020-05-11 12:13:48 +00:00
Simon Giesecke
bec9351c13
Bug 1627892 - Make ThreadsafeHandle derive from SafeRefCounted. r=dom-workers-and-storage-reviewers,asuth
...
Differential Revision: https://phabricator.services.mozilla.com/D69962
2020-05-11 12:13:25 +00:00
Simon Giesecke
4bd2bbd28a
Bug 1627892 - Make ManagerId derive from SafeRefCounted. r=dom-workers-and-storage-reviewers,perry
...
Differential Revision: https://phabricator.services.mozilla.com/D69961
2020-05-11 12:13:07 +00:00
Simon Giesecke
e5b657303a
Bug 1627892 - Make CacheWorkerRef derive from SafeRefCounted. r=dom-workers-and-storage-reviewers,perry
...
Differential Revision: https://phabricator.services.mozilla.com/D69960
2020-05-11 12:12:22 +00:00
Simon Giesecke
8118041984
Bug 1627892 - Make StreamList derive from SafeRefCounted. r=dom-workers-and-storage-reviewers,perry
...
Differential Revision: https://phabricator.services.mozilla.com/D69959
2020-05-11 12:11:33 +00:00
Simon Giesecke
32076b1063
Bug 1627892 - Make InternalRequest derive from SafeRefCounted. r=dom-workers-and-storage-reviewers,perry
...
Differential Revision: https://phabricator.services.mozilla.com/D69958
2020-05-11 12:10:53 +00:00
Simon Giesecke
c4c6f0c42c
Bug 1627892 - Make Context derive from SafeRefCounted. r=dom-workers-and-storage-reviewers,perry
...
Differential Revision: https://phabricator.services.mozilla.com/D69957
2020-05-11 12:09:55 +00:00