Tim Huang
756cf900c9
Bug 1336802 - Part 2: Updating the whole code base to make sure nsILoadInfo get null check. r=smaug
...
--HG--
extra : rebase_source : 22149fd540fd02119afe9fe5c9a815d01cf959c1
2017-02-07 11:49:34 +08:00
Tooru Fujisawa
33a302accc
Bug 1320408 - Part 22: Remove JSContext* parameter from ProxyObject::renew and Wrapper::Renew. r=jandem
2017-02-08 23:04:57 +09: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
Makoto Kato
0d01065054
Bug 1215247 - Turn on ICU and Intl API for Android. r=Waldo
...
Intl API (ECMA-402) already supports most web browsers such as Edge (including Windows 10 Mobile), Chrome (including Android), and upcoming Safari 10(https://developer.apple.com/library/prerelease/content/releasenotes/General/WhatsNewInSafari/Articles/Safari_10_0.html ).
Also IDN2008 support, and number control by <input type="number"> require ICU. And, although gfx has own unicode table, we want to remove this if ICU is supported on all platform.
Also, new L20N framework (aka L20N) wants to use Intl API to localize UI.
So I would like to use ICU as default on Fennec Android.
Negative issue is file size. ICU has big table, file size of libxul.so will be following. This support requires additional 4.4MB.
before this ... 26287379 bytes
after this ... 30692696 bytes
Although android OS already has ICU, ICU version is different per OS version. And our ICU requirement is 50.1+ (Android 4.0 uses ICU 48) and exported fucntion name of ICU has ICU version suffix. So we cannot use it.
MozReview-Commit-ID: 5R5iNMzWNjS
--HG--
extra : rebase_source : fceb3ee320f885e7c03749f76cf0ad7699a21c2c
2016-08-01 14:14:22 +09:00
Ben Kelly
fa883b7bc2
Bug 1333573 P9 Refactor worker proxy release of main thread objects to reduce duplicate code. r=baku
2017-02-07 10:28:39 -05:00
Ben Kelly
75937028fd
Bug 1333573 P8 Update test_chromeWorkerJSM.xul to expect synchronous SecurityError. r=baku
2017-02-07 10:28:39 -05:00
Ben Kelly
3e2defe12c
Bug 1333573 P7 Release WorkerLoadInfo data on main thread if we fail nested worker creation. r=baku
2017-02-07 10:28:39 -05:00
Ben Kelly
0096e443be
Bug 1333573 P6 Move ForgetMainThreadObjects() into WorkerLoadInfo. r=baku
2017-02-07 10:28:39 -05:00
Ben Kelly
2c1712e58b
Bug 1333573 P5 Validate that final channel load principal does not change. r=baku
2017-02-07 10:28:39 -05:00
Ben Kelly
8625a63853
Bug 1333573 P4 Set WorkerLoadInfo principal as soon as we get the channel. r=baku
2017-02-07 10:28:39 -05:00
Ben Kelly
aa461bc68f
Bug 1333573 P3 Move logic to set principal from channel into WorkerLoadInfo. r=baku
2017-02-07 10:28:39 -05:00
Ben Kelly
99c380fb94
Bug 1333573 P2 Make nested worker pass WorkerLoadInfo to main thread when getting channel. r=baku
2017-02-07 10:28:38 -05:00
Ben Kelly
50e8b39d0c
Bug 1333573 P1 Move WorkerPrivate::SetPrincipal() logic into a WorkerLoadInfo method. r=baku
2017-02-07 10:28:38 -05:00
Andrea Marchesini
869af55a16
Bug 1335678 - Revert patch for bug 1302566, r=ehsan
2017-02-06 16:37:15 +01:00
Tom Tung
e185f7bc4c
Bug 1220936 - Flush console report to innerWindowID by using nsIDocument and nsILoadGroup. r=bkelly.
2017-02-06 09:19:34 +08:00
Ben Kelly
c07494ba04
Bug 1336529 Handle ServiceWorkerInfo destruction while released KeepAliveToken. r=asuth
2017-02-03 14:36:27 -05:00
Andrea Marchesini
1fd70e0029
Bug 1336020
- transferables should be arrays of objects, r=smaug
2017-02-03 11:00:38 +01:00
Andrea Marchesini
270f257d6b
Bug 1336020
- postMessages should have transferable as [] by default, r=smaug
2017-02-03 11:00:37 +01:00
Andrea Marchesini
c58769de70
Bug 1336043 - close() should be in DedicatedWorkerGlobalScope and SharedWorkerGlobalScope only, r=bkelly
2017-02-03 08:35:19 +01:00
Andrea Marchesini
2134b5e0e7
Bug 1336044 - No needs of JSContext in SharedWorker CTOR, r=qdot
2017-02-03 07:46:22 +01:00
Sebastian Hengst
3b7bb25ac6
Backed out changeset bf20544a7385 (bug 1336043) for failing wpt interfaces.worker.html. r=backout
2017-02-02 17:35:46 +01:00
Andrea Marchesini
8aa589ac59
Bug 1336043 - close() should be in DedicatedWorkerGlobalScope and SharedWorkerGlobalScope only, r=bkelly
2017-02-02 16:15:24 +01:00
Boris Zbarsky
6540e985fc
Bug 1335368 part 18. Get rid of IsCallerChrome in workers. r=bholley
2017-02-01 15:43:38 -05:00
Boris Zbarsky
1f816c60cf
Bug 1335368 part 12. Remove the use of IsCallerChrome in FetchRequest. r=bkelly
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
Ben Kelly
4c2a1798cd
Bug 1335425 Improve ScriptLoader CacheCreator's ability to handle failures and cancelation. r=baku
2017-02-01 06:48:07 -08:00
Andrea Marchesini
43b97e9ea3
Bug 1288768 - Better error reporting for network errors in workers - WPT, r=bz
2017-01-28 15:40:08 +01:00
Andrea Marchesini
e14c51cdfd
Bug 1288768 - Better error reporting for network errors in workers, r=bz
2017-01-28 15:39:24 +01:00
Ben Kelly
e552aee61a
Bug 1335414 Make ServiceWorkerManager::CreateNewRegistration() safer. r=asuth
2017-01-31 07:29:34 -08:00
Catalin Badea
3d75f82b5f
Bug 1316659 - Use OpenWindowRunnable as an observer when waiting for fennec to start before executing an open window operation. r=bkelly
...
This patch also changes the order in which pending openWindow operations
are executed.
2017-01-31 14:21:52 +00: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
Nicholas Nethercote
fd25b06c81
Bug 1328365 (part 1) - Replace tlsTicker with gSampler. r=mstange.
...
There is a single GeckoSampler and it is currently only accessed on the main
thread, so it's silly to use TLS for it; a normal global variable is better.
This patch also adds main thread assertions to a number of the profiler_*()
functions. Even though bug 1330184 may get rid of some of them, right now they
are a useful as both a sanity check and documentation.
--HG--
extra : rebase_source : 7613eb3cc8089b31180365f6463c81f4556c7b66
2017-01-25 16:00:47 +11:00
Phil Ringnalda
439b10ced6
Backed out 2 changesets (bug 1288768) for wptlint failure
...
Backed out changeset 3361d527f683 (bug 1288768)
Backed out changeset d8b8219c20d6 (bug 1288768)
2017-01-28 08:10:26 -08:00
Andrea Marchesini
cab859bea8
Bug 1288768 - Better error reporting for network errors in workers - WPT, r=bz
2017-01-28 15:40:08 +01:00
Andrea Marchesini
bc538fc7e0
Bug 1288768 - Better error reporting for network errors in workers, r=bz
2017-01-28 15:39:24 +01:00
Wes Kocher
18e735dcef
Merge m-c to inbound, a=merge
...
MozReview-Commit-ID: EfMOcZbAiSe
2017-01-27 16:39:29 -08:00
Wes Kocher
ae4121c502
Backed out changeset 15a5f1ecca37 (bug 1216175) for m(oth)/m(c2) failures in test_WorkerDebugger.xul a=backout
...
MozReview-Commit-ID: LOu50H5NS2L
2017-01-27 13:50:12 -08:00
Ben Kelly
5484668122
Bug 1334480 Don't try to update a nullptr registration. r=asuth
2017-01-27 12:04:24 -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
Andrea Marchesini
6278ae48c8
Bug 1302566 - Get rid of nsContentUtils::IsInPrivateBrowsing, r=ehsan
2017-01-27 16:53:44 +01:00
Wes Kocher
8fa84ca644
Merge inbound to central, a=merge
...
MozReview-Commit-ID: BZgxmhS6OtM
2017-01-26 16:19:05 -08:00
Catalin Badea
d766bfbd2b
Bug 1333112 - Fix windowClient.Navigate leak. r=bkelly
2017-01-26 21:37:17 +02:00
Olli Pettay
c3fe34260f
Bug 1333903 - ErrorEvent, CloseEvent, ProgressEvent and FileList should be exposed in workers, r=baku
...
--HG--
extra : rebase_source : efcc0f77c1ae9838f1c999ec53a129b6f76c4f01
2017-01-26 18:57:59 +02:00
Ben Kelly
3f5c467b20
Bug 1319278 P5 Removed unused TimerThreadEventTarget. r=baku
2017-01-26 08:01:33 -08:00
Ben Kelly
aec8848418
Bug 1319278 P4 Make ServiceWorkerPrivate use new WorkerControlEventTarget instead of TimeThreadEventTarget. r=baku
2017-01-26 08:01:33 -08:00
Ben Kelly
67f0e950f9
Bug 1319278 P3 Make worker GC use new WorkerControlEventTarget. r=baku
2017-01-26 08:01:33 -08:00
Ben Kelly
e3e5175758
Bug 1319278 P2 Make the WorkerPrivate create a WorkerControlEventTarget. r=baku
2017-01-26 08:01:32 -08:00
Ben Kelly
9dfba8baab
Bug 1319278 P1 Add a WorkerControlEventTarget that executes runnables as WorkerControlRunnables. r=baku
2017-01-26 08:01:32 -08:00
Christian Holler
4dc29b3b09
Bug 1332361 - Expose TestingFunctions to content in FUZZING builds. r=jandem.
...
MozReview-Commit-ID: HA0oodPzAeS
--HG--
extra : rebase_source : 896f4d9465b8bd2a5655dec63165f893b0f0f5df
2017-01-25 13:39:54 +01:00
Kartikaya Gupta
1af1a82edf
Bug 1312319 - Add a NS_INLINE_DECL_PURE_VIRTUAL_REFCOUNTING macro and replace existing pure-virtual AddRef/Release declarations. r=froydnj
...
MozReview-Commit-ID: 5yt3O4Hoois
--HG--
extra : rebase_source : 5dad12cd8400b8a783e8407de874d4b7c75cb645
2017-01-25 14:51:34 -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
Bill McCloskey
cf9eef1ea4
Bug 1331804 - Give runnable names to some generic dispatch sites (r=ehsan)
...
MozReview-Commit-ID: 83IL5zcor1W
2017-01-24 16:34:37 -08:00
Bill McCloskey
ef3d0f1c2e
Bug 1331804 - Add more runnable names (r=ehsan)
...
MozReview-Commit-ID: 1QBmqfgY6WI
2017-01-24 16:34:37 -08:00
Olli Pettay
8607eb6848
Bug 1216175, ensure GC/CC are run in workers, r=baku
...
--HG--
extra : rebase_source : 588d593153636951d74b6523459f18aee9c56864
2017-01-27 13:27:42 +02:00
Wes Kocher
f7ccafcb58
Backed out 8 changesets (bug 1331804, bug 1332100) for windows vm debug dt5 failures a=backout
...
Backed out changeset 8bf7f0e27c6c (bug 1331804)
Backed out changeset 600c0b9026c2 (bug 1331804)
Backed out changeset 3a5b5b9ecace (bug 1331804)
Backed out changeset c76432c9954e (bug 1331804)
Backed out changeset 46a9096745e7 (bug 1332100)
Backed out changeset 8b751230fa23 (bug 1331804)
Backed out changeset 2810212347fd (bug 1331804)
Backed out changeset be72b7763910 (bug 1331804)
MozReview-Commit-ID: Ywdsr4GZ4a
2017-01-24 15:12:21 -08:00
Bill McCloskey
5e4b276c5d
Bug 1331804 - Give runnable names to some generic dispatch sites (r=ehsan)
...
MozReview-Commit-ID: 83IL5zcor1W
2017-01-24 10:04:55 -08:00
Bill McCloskey
80aaeed2fc
Bug 1331804 - Add more runnable names (r=ehsan)
...
MozReview-Commit-ID: 1QBmqfgY6WI
2017-01-24 10:04:55 -08:00
Benjamin Bouvier
2552158d1c
Bug 1333368: Pass option to always use wasm baseline compiler to workers; r=luke
...
MozReview-Commit-ID: LB1D6fuAUza
--HG--
extra : rebase_source : 2cbca48ace4098352badade4b4080a7063a14268
extra : amend_source : 857ce4960630e269e8d8cb2551eb6e47d6a0e150
2017-01-24 11:46:50 +01:00
Ben Kelly
30664f7219
Bug 1331619 Make ServiceWorkerClients check the return value of OpenWindow2(). r=catalinb
2017-01-24 06:10:50 -08:00
Ben Kelly
e5bccaf01d
Bug 1315446 Avoid crashing if GetCurrentThreadJSContext() or GetCurrentThreadWorkerGlobal() are called after worker shutdown. r=baku
2017-01-24 06:09:22 -08:00
Ben Kelly
ced2265022
Bug 1333082 Handle nullptr mRegistration in ServiceWorkerUpdateJob::ContinueAfterInstallEvent(). r=asuth
2017-01-23 10:50:22 -08:00
Sebastian Hengst
e3d93fdf34
Backed out changeset 2e942ed64921 (bug 1302566) for mass test failures after asserting isPrivate == mRespectPrivacy at imgLoader.cpp:2072. r=backout on a CLOSED TREE
2017-01-23 13:25:19 +01:00
Andrea Marchesini
27afefa942
Bug 1302566 - Get rid of nsContentUtils::IsInPrivateBrowsing, r=ehsan
2017-01-23 12:36:01 +01:00
Catalin Badea
1609baa123
Bug 1328293 - Show if a service worker is listening for fetch events in about:debugging. r=jdescottes
2017-01-22 09:03:00 +02:00
Phil Ringnalda
2b0e87f459
Backed out 2 changesets (bug 1328293) for eslint failures
...
CLOSED TREE
Backed out changeset a76a454541fc (bug 1328293)
Backed out changeset 42823a93cd16 (bug 1328293)
2017-01-21 12:19:37 -08:00
Catalin Badea
9eb245ebd5
Bug 1328293 - Show if a service worker is listening for fetch events in about:debugging. r=jdescottes
2017-01-21 21:19:35 +02:00
Nicholas Nethercote
12647a7223
Bug 1332577 (part 7) - Rename mozilla_get_pseudo_stack() as profiler_get_pseudo_stack(). r=mstange.
...
This makes it consistent with other profiler functions.
--HG--
extra : rebase_source : 1e52acdc448691b8859bb147a0c70b198b432fe2
2017-01-20 15:07:05 +11:00
Lars T Hansen
6d7b1e9cef
Bug 1312446 - Enable SharedArrayBuffer and Atomics by default. r=shu
...
--HG--
extra : rebase_source : 308016a3820017d790d7a77d8fc25e1388f04df4
extra : amend_source : 1fc3635840cd1a1021f6f3f9d6491c381a122dc9
2017-01-19 17:22:47 +01:00
Wes Kocher
336f27142f
Merge m-c to autoland, a=merge
...
MozReview-Commit-ID: 3pEpsd3DljH
2017-01-19 16:47:25 -08:00
Ben Kelly
ace278d884
Bug 1331949 Make service worker and cache diagnostic assert code compile on beta. r=asuth
2017-01-19 08:11:41 -08:00
Mark Banner
16e6d381ac
Bug 503613 - Remove old 'tail =' lines from xpcshell.ini files; r=gps
...
MozReview-Commit-ID: 62Hp5ISxowJ
--HG--
extra : rebase_source : daa8efb3409031fea553f4fd0c9d0746e38dc308
extra : histedit_source : b4c23aacf678ba0d0ac9c09191a7c494ead11a08
2017-01-18 10:30:39 +00:00
Kris Maglione
729b7a2019
Bug 1273251: Part 3 - Allow CallbackObject to contain a null callable. r=peterv
...
MozReview-Commit-ID: FCXVHouhG3I
--HG--
extra : rebase_source : f3e9325559d40bcb4017ec2505f435275d4fea7f
2016-11-14 21:25:37 -08:00
Ben Kelly
8f32455085
Bug 1331656 Make ServiceWorkerManager handle PBackground init failure. r=baku
2017-01-18 12:18:51 -08: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
Ben Kelly
96ddcd4808
Bug 1330984 Handle mProfileDir being cleared in ServiceWorkerRegistrar. r=baku
2017-01-16 14:30:12 -05:00
Stone Shih
4a63ec7173
Bug 1267903 - Part 2: Enable related test cases. r=baku
...
MozReview-Commit-ID: KXDlkewqs9n
--HG--
extra : rebase_source : 70339d4159a51aba8d3688cb31606f806dd7cae8
extra : histedit_source : 043a5de4d8cd8f0774d2fd4c394fa4e462f7cfab
2016-11-17 19:07:53 +08:00
Ben Kelly
700a14067d
Bug 1330693 Try to handle SW job double-completion better. r=ehsan
2017-01-16 09:17:15 -05:00
David Parks
e214363851
Bug 1312788 - Log to browser console and telemetry if the parent content to a ServiceWorker is a file. r=bkelly
...
Info is useful to sandboxing. Logs when ServiceWorker is registered (i.e. each run), not just when it is installed.
--HG--
extra : rebase_source : e21a521a5015c722cfbf2f5a7a23d5cf39a88a18
2017-01-10 15:17:13 -08:00
Ben Kelly
9cf054007d
Bug 1330679 Don't force crash if ServiceWorkerManager tries to init during browser shutdown. r=baku
2017-01-13 07:39:30 -08:00
Ben Kelly
d930800016
Bug 1330673 Gracefully handle ServiceWorkerRegistrar not being active. r=baku
2017-01-13 07:39:28 -08:00
Carsten "Tomcat" Book
d69139ac79
merge mozilla-inbound to mozilla-central a=merge
2017-01-13 10:20:25 +01:00
Ben Kelly
798b98749f
Bug 1329989 - Simplify the ServiceWorkerRegistrationWorkerThread runnables. r=baku
...
MozReview-Commit-ID: MPxbX3vNpT
2017-01-12 16:46:24 -08:00
Ben Kelly
43bcf0875f
Bug 1330747 Always nullptr check return value from ServiceWorkerManager::GetInstance(). r=asuth
2017-01-12 14:00:36 -08:00
Andrea Marchesini
359ae91eac
Bug 1328653 - Merging all the various *OriginAttributes to just one, r=huseby
2017-01-12 17:38:48 +01:00
Wes Kocher
e7af9d37e0
Merge m-c to autoland, a=merge CLOSED TREE
...
MozReview-Commit-ID: 1X0vSt6PtFn
2017-01-12 16:20:57 -08:00
Xidorn Quan
a8e64a94e1
Bug 1298756 - Use uint8_t/uint16_t as underlying type for enums from webidl. r=bz
...
MozReview-Commit-ID: 3uS9s5ZrPFd
--HG--
extra : rebase_source : ff64b4468ee99ba08fd8638298a27711b7fb6393
2017-01-12 12:23:37 +11:00
Ryan VanderMeulen
d62662c8d1
Bug 1244697 - Skip test_WorkerDebuggerGlobalScope.reportError.xul on Linux for intermittent timeouts.
2017-01-10 20:23:23 -05:00
Ryan VanderMeulen
f83442a8e0
Bug 1244409 - Skip test_WorkerDebuggerManager.xul on Linux for intermittent timeouts.
2017-01-10 20:22:27 -05:00
Ben Kelly
b54fac30f3
Bug 1329668 Handle partial initialized when ScriptLoader is canceled. r=baku
2017-01-10 08:20:16 -08:00
Ben Kelly
72c6b83915
Bug 1329716 Try to ensure we don't dispatch a SW event if the registration has been removed. r=asuth
2017-01-09 13:40:46 -08:00
Ben Kelly
5b3f27ba05
Bug 1329759 Gracefully handle a missing active service worker during interception. r=asuth
2017-01-09 13:40:46 -08:00
Catalin Badea
8fdb24116b
Bug 1325381 - Fix crash with script constructed ExtendableEvent().waitUntil(). r=bkelly
...
--HG--
extra : rebase_source : 3f471344266b1cd77fa71bb33aed40adb2b52985
2016-12-22 12:27:00 -05:00
Ho-Pang Hsu
6311ff9492
Bug 1290944 - Part 4.2: Update a related gtest. r=bkelly
2017-01-04 17:09:10 +08:00
Ho-Pang Hsu
e1372ee18c
Bug 1290944 - Part 3.3: Propagate load flags to ScriptLoader when loading scripts. r=bkelly
...
--HG--
extra : rebase_source : 6cb8155fc3bee7ce33dc2c102b1da8c6f78b5d2a
extra : histedit_source : 162fc4393380cb44ec9a8ac4dd2b75847ecc33a4
2017-01-04 17:09:00 +08:00
Ho-Pang Hsu
35faba9cdd
Bug 1290944 - Part 3.2: Pass LOAD_BYPASS_CACHE caused by script expiration timer to ServiceWorkerInfo. r=bkelly
...
--HG--
extra : rebase_source : 1922d7aa09cb63afecbd77d6d0922935cbef1211
extra : histedit_source : 122c0f5a3558fdefa6b9397f4846749817725c63
2017-01-04 17:08:58 +08:00
Ho-Pang Hsu
c97ed915b8
Bug 1290944 - Part 3.1: Propogate load flags to ServiceWorkerInfo. r=bkelly
...
--HG--
extra : rebase_source : 906461c06b5859e3a799f4d0b419bb33d4e076c6
extra : histedit_source : f2cb7a617d5546f624d58795c6ec7b0cc886888d
2017-01-04 17:08:55 +08:00
Ho-Pang Hsu
011108b52a
Bug 1290944 - Part 2.3: Set the load flags when registering a service worker. r=bkelly
...
--HG--
extra : rebase_source : e9aa5dcd79d696dd097fbe88775ba4a5be74d462
extra : histedit_source : 289384bf6f96ddd998828e1c365b3f7256e4f7f8
2017-01-04 17:08:51 +08:00
Ho-Pang Hsu
7b90ecb108
Bug 1290944 - Part 2.2: Load the main script with the load flags of the ServiceWorkerRegistration. r=bkelly
...
--HG--
extra : rebase_source : 313acc76937d6fe6905f7392101c55e6dddb1beb
extra : histedit_source : 8e0c5ba6490c7820e1066757594e219ad421981a
2017-01-04 17:08:46 +08:00
Ho-Pang Hsu
823817b955
Bug 1290944 - Part 2.1: Save load flags in ServiceWorkerRegistration. r=bkelly
...
--HG--
extra : rebase_source : 07b7eedfe4e3ab15b118247252217e19880b7a92
extra : histedit_source : 36d071ba90659d05fd071f8fe90ce5703f095390
2017-01-04 17:08:43 +08:00
Andrea Marchesini
94547f20bb
Bug 604026 - Sync event loops in workers should be created only if compatible with the worker shutdown status, r=bkelly
2017-01-05 10:05:32 +01:00
Thomas Nguyen
d1229b6f90
Bug 1304623 - Create a pref to control the default referrer policy - part 1. r=bkelly
...
MozReview-Commit-ID: 6R7kLB6jvhP
2017-01-05 11:30:07 +08:00
Bill McCloskey
8a53959bbe
Bug 1320753 - Make TabGroup event target be a ThrottledEventQueue for timers, workers (r=bkelly)
...
MozReview-Commit-ID: FCfYz02r8yI
2016-12-23 11:48:13 -08:00
Catalin Badea
50c925905e
Bug 1325101 - Update nofetch handler mochitest. r=bkelly
2016-12-21 10:38:00 +08:00
Catalin Badea
f6289b3f5b
Bug 1325101 - Don't set fetch handler flag for events other than 'fetch'. r=bkelly
2016-12-21 10:16:00 +08:00
Yoshi Huang
2ceecc22f5
Bug 1324115 - Part 2: replace the callers to use C++ helper. r=smaug
2016-12-21 14:59:21 +08:00
Catalin Badea
48e3f68e98
Bug 1181127 - Update ServiceWorkerRegistrar gTest. r=bkelly
2016-12-19 04:38:53 +02:00
Catalin Badea
6f3c7b97ba
Bug 1181127 - Mochitest for nofetch handler optimization. r=bkelly
2016-12-19 04:38:53 +02:00
Catalin Badea
82cfe6ab4d
Bug 1181127 - Don't run service workers for fetch events if no fetch handlers were added during script's evaluation. r=bkelly
...
Display a warning when event listeners are added after the script's evaluation.
2016-12-19 04:38:53 +02:00
Andrea Marchesini
e65baf57a5
Bug 1323172 - Fix some mochitest failures, r=me
2016-12-16 10:23:49 +01:00
Andrea Marchesini
4f830c36c0
Bug 1322292 - Some fixes for the Performance API in workers - part 3 - TimeStampToDOMHighRes() in workerPrivate, r=bz
2016-12-16 09:08:05 +01:00
Andrea Marchesini
64b687fb1c
Bug 1322292 - Some fixes for the Performance API in workers - part 2 - Get rid of NowBaseTimeStamp(), r=bz
2016-12-16 09:07:39 +01:00
Andrea Marchesini
d1ffedb88f
Bug 1323172 - Expose NetworkInformation interface to workers, r=bkelly
2016-12-16 08:50:23 +01:00
Carsten "Tomcat" Book
8d71717fb4
Backed out changeset b7638db235fd (bug 1323172) for test bustage in dom/workers/test/test_navigator.html on a CLOSED TREE
2016-12-15 17:06:22 +01:00
Andrea Marchesini
130d95f581
Bug 1323172 - Expose NetworkInformation interface to workers, r=bkelly
2016-12-15 14:36:47 +01:00
Carsten "Tomcat" Book
2bad844136
Backed out changeset 8f305096ee45 (bug 1323172) for crashes in /test_tcpsocket_enabled_no_perm.html
2016-12-15 14:21:09 +01:00
Andrea Marchesini
87a09a3bb4
Bug 1323172 - Expose NetworkInformation interface to workers, r=bkelly
2016-12-15 12:46:21 +01:00
Thomas Wisniewski
54ad3187aa
Bug 1319744 - Ensure that progress events and corresponding LOADING readystatechanges fire as per spec. r=baku
2016-12-13 15:23:01 -05:00
Tomislav Jurin
348bfffc19
Bug 1296189 - Replace NS_RUNTIMEABORT("some string literal message") with MOZ_CRASH(). r=froydnj
2016-12-02 13:46:53 -08:00
Andrea Marchesini
f22cf0451c
Bug 1321530 - FileReader.abort() should not throw, r=smaug
2016-12-02 13:16:59 +00:00
Dylan Roeh
9ff1fe4af5
Bug 1235431 - Implement windowClient.focus() for Fennec. r=catalinb
2016-11-14 17:22:13 -06:00
Andrea Marchesini
0980d4aa73
Bug 1321525 - FileReader.readAs* should throw if called nested, r=smaug
2016-12-01 18:57:36 +01:00
Tom Tung
6199b99617
Bug 1271692 - Do not fail event processing if an exception is thrown in ServiceWorker. r=bkelly
2016-11-10 17:53:24 +08:00
Tooru Fujisawa
515ef9ba45
Bug 1321218 - Remove legacy generator from dom/. r=smaug
2016-12-01 18:11:32 +09:00
Tooru Fujisawa
db7ca4ebd1
Bug 1313490 - Part 3: Remove expression closure from dom/. r=mrbkap
2016-11-26 06:41:43 +09:00
Catalin Badea
e991f36d9f
Bug 1319334 - Resolve ready promise *after* updating registration.state properties. r=bkelly
2016-11-22 06:38:00 +08:00
Catalin Badea
3475196327
Bug 1317266 - Transition ServiceWorker instances when the SW changes states instead of just invalidating them. r=bkelly
2016-11-21 02:14:54 +00:00
Catalin Badea
781c81773d
Bug 1317266 - Test registration.installing getting collected before all statechange events are dispatched. r=bkelly
2016-11-21 02:14:53 +00:00
Catalin Badea
c50fc1bc10
Bug 1263304
- Add a mochitest for asynchronously calling waitUntil(). r=bkelly
2016-11-21 02:14:53 +00:00
Catalin Badea
c9691a4a70
Bug 1263304
- Allow waitUntil() to be called asynchronously. r=bkelly
...
The behaviour is changed in two ways:
1. waitUntil() will now wait for each promise separately, even if one of
them is rejected.
2. Extensions can be added asynchronously as long there is a pending
waitUntil promise.
2016-11-21 02:14:53 +00:00
Catalin Badea
4d1930cd13
Bug 1263304
- Move Service Worker MessageEvent dispatching code to ServiceWorkerPrivate. r=bkelly
...
This refactoring makes it easier to modify the behaviour of lifetime
extensions by having a single call path for all extendable events.
2016-11-21 02:14:53 +00:00
Boris Zbarsky
884fc2ea5c
Bug 1316616 part 1. Replace some redundant code in GetCurrentThreadWorkerPrivate() with a call to a function that we already have. r=bkelly
2016-11-18 16:13:06 -05:00
Andrea Marchesini
42cdd9436b
Bug 1318273 - Improve the use of SpecialPowers.pushPrefEnv() - part 2, r=qdot
2016-11-18 09:33:50 +01:00
Andrea Marchesini
2f974ccbce
Bug 1318273 - Improve the use of SpecialPowers.pushPrefEnv() - part 1, r=qdot
2016-11-18 09:33:33 +01:00
Sebastian Hengst
7110a88674
Backed out changeset d43b778d95c6 (bug 1318273) for failing mochitest fetch/test_formdataparsing.html. r=backout on a CLOSED TREE
2016-11-17 20:58:38 +01:00
Sebastian Hengst
fdfd8b91d1
Backed out changeset 2560659cda95 (bug 1318273)
2016-11-17 20:57:59 +01:00
Andrea Marchesini
a895bd31ae
Bug 1318273 - Improve the use of SpecialPowers.pushPrefEnv() - part 2, r=qdot
2016-11-17 19:36:21 +01:00
Andrea Marchesini
cf2ad8072f
Bug 1318273 - Improve the use of SpecialPowers.pushPrefEnv() - part 1, r=qdot
2016-11-17 19:36:01 +01: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
Ehsan Akhgari
1488007b30
Bug 1318206 - Remove some unused code for clearing app data; r=baku,mcmanus
2016-11-17 08:30:21 -05: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
Boris Zbarsky
be79f7def4
Bug 1317990. Remove Event::IsChrome in favor of passing CallerType arguments. r=smaug,bkelly
2016-11-16 14:10:22 -05:00
Andrea Marchesini
24085dac28
Bug 1317725 -Correct creation of Sliced Remote Blob actorss when used in FormData in workers, r=smaug
...
--HG--
rename : dom/workers/test/script_bug1301094.js => dom/workers/test/script_createFile.js
2016-11-16 15:04:23 +01:00
Carsten "Tomcat" Book
e7ca75286b
Merge mozilla-central to inbound
2016-11-16 14:53:15 +01: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
Thomas Nguyen
b169621e2e
Bug 1264792 - Update request'referrer policy when redirect.r=bkelly,dragana.
...
MozReview-Commit-ID: 3V6W0fuRomZ
--HG--
extra : rebase_source : 4b708f9646ea42ef40c60ba0b7a86e14edf621e3
2016-11-14 15:15:32 +08:00
Boris Zbarsky
9fa05c9f15
Bug 1317591. Get rid of IsCallerChrome usage in Navigator. r=bkelly
...
This restores the throwing behavior for .userAgent/appVersion/platform that was
incorrectly removed in bug 925847.
2016-11-15 17:44:43 -05:00
Andrea Marchesini
2aba798852
Bug 1303518 - Remove the chrome only constructor for File, r=qdot
2016-11-11 18:56:44 +01:00
Andrea Marchesini
957bc33d4a
Bug 1313762 - SharedWorker::PreHandleEvent must be able to deal with widget events, r=smaug
2016-11-11 16:23:32 +01:00
Carsten "Tomcat" Book
dc9b560f7d
Backed out changeset f03cd54afbc1 (bug 1263304
) for causing frequent timeouts in test_has_permissions.html
2016-11-11 10:48:20 +01:00
Carsten "Tomcat" Book
e84cb96866
Backed out changeset b2d3c6629a37 (bug 1263304
)
2016-11-11 10:47:43 +01:00
Carsten "Tomcat" Book
933a225285
Backed out changeset 2c423ac723b6 (bug 1263304
)
2016-11-11 10:47:42 +01:00
Catalin Badea
9abfeeb183
Bug 1263304
- Add a mochitest for asynchronously calling waitUntil(). r=bkelly
2016-11-11 00:07:15 +02:00
Catalin Badea
41a29766a9
Bug 1263304
- Allow waitUntil() to be called asynchronously. r=bkelly
...
The behaviour is changed in two ways:
1. waitUntil() will now wait for each promise separately, even if one of
them is rejected.
2. Extensions can be added asynchronously as long there is a pending
waitUntil promise.
2016-11-11 00:07:15 +02:00
Catalin Badea
18617f0ce0
Bug 1263304
- Move Service Worker MessageEvent dispatching code to ServiceWorkerPrivate. r=bkelly
...
This refactoring makes it easier to modify the behaviour of lifetime
extensions by having a single call path for all extendable events.
2016-11-11 00:07:15 +02:00
Tom Tung
8b030a7e26
Bug 1264178 - Part 2: Change URL's getter function from PassByReference to ReturnByReference. r=bkelly
...
--HG--
extra : rebase_source : d38a18c5856943b125d4a999091e4532a56934e2
2016-11-07 14:59:00 +08:00
Tom Tung
a63de77d6a
Bug 1264178 - Part 1: Expose URL fragment to request but not response. r=bkelly
...
--HG--
extra : rebase_source : ee0cac184ac64b1fa9185f912753f10b61a55383
2016-11-07 10:16:34 +08:00
Ben Kelly
d48deb5760
Bug 1300659 P4 Use ThrottledEventQueue in workers. r=baku
2016-11-07 12:30:17 -08:00
Sebastian Hengst
e271a86b39
Bug 1310297 - Remove test annotations using b2g, mulet or gonk: dom/workers. r=RyanVM
...
MozReview-Commit-ID: BqEzF7D2X1S
--HG--
extra : rebase_source : 12efebd4f3695625bc6987e854e290f88dc0f6ce
2016-11-05 11:29:18 +01:00
Jon Coppeard
11dbca2419
Bug 1309929 - Use an async memory report for workers r=erahm r=bkelly
2016-10-28 10:50:16 +01:00
Andrea Marchesini
137c628055
Bug 1289001 - NeckoParent::GetValidatedAppInfo should consider ServiceWorkers when validating HttpChannel requests, r=bkelly, r=valentin, f=asuth
2016-11-03 08:18:51 +01:00
Sebastian Hengst
5cd97768df
Backed out changeset 0473f2d0d024 (bug 1289001) for eslint failures. r=backout on a CLOSED TREE
2016-11-02 23:04:44 +01:00
Andrea Marchesini
d20e6fd29f
Bug 1289001 - NeckoParent::GetValidatedAppInfo should consider ServiceWorkers when validating HttpChannel requests, r=bkelly, r=valentin, f=asuth
2016-11-02 21:57:45 +01:00
Geoff Brown
ef3f1323fa
Bug 1313397 - Move browser/components/sessionstore/Utils.jsm to toolkit/modules; r=mikedeboer
...
--HG--
rename : browser/components/sessionstore/Utils.jsm => toolkit/modules/sessionstore/Utils.jsm
2016-11-02 10:56:20 -06:00
Andrea Marchesini
71a877d360
Bug 1314341 - Missing check for baseURI in ServiceWorkerManager::Register, r=bkelly
2016-11-01 21:46:24 +01:00
Dylan Roeh
041f83edff
Bug 1262251 - Make openWindow() launch Fennec if it isn't already running. r=catalinb
2016-10-31 14:10:25 -05:00
Wes Kocher
876ad139ba
Bug 1304966 - Mark Storage APIs as nightly-only r=bz a=me CLOSED TREE
...
--HG--
extra : amend_source : 3ab5ad4d67c2752e318a9aadcd4e27b519e1e7cf
extra : histedit_source : 401472005646e5e3800a94c508eb8b1c71041fc4%2C7b315988fe6ed4c603a20d87a7f61e6c9549b1df
2016-10-28 11:28:51 -07:00
Carsten "Tomcat" Book
a8880bf90a
Backed out changeset b010bc739093 (bug 1309929) for frequent failures in test_WebAudioMemoryReporting.html
2016-10-28 16:06:58 +02:00
Jon Coppeard
9c95009509
Bug 1309929 - Use an async memory report for workers r=erahm
2016-10-28 10:50:16 +01:00
Phil Ringnalda
9fa3ebe028
Backed out changeset 582e5f96a727 (bug 1262251) for Linux serviceworker bustage
2016-10-27 18:50:12 -07:00
Dylan Roeh
df4c14e4bb
Bug 1262251 - Make openWindow() launch Fennec if it isn't already running. r=catalinb
2016-10-27 13:58:39 -05:00
Wes Kocher
cbc0a94248
Backed out changeset 0349a81229e7 (bug 1262251) for build bustage a=backout CLOSED TREE
...
--HG--
extra : amend_source : 68bb204192d6e3f0c2ae4287dbbf09b81f676f64
2016-10-27 11:55:12 -07:00
Dylan Roeh
04eecc22e1
Bug 1262251 - Make openWindow() launch Fennec if it isn't already running. r=catalinb
2016-10-27 12:49:50 -05:00
Ryan VanderMeulen
845c51f12f
Bug 1309861 - Update the dom/workers interfaces test expectations as well. r=bz
...
--HG--
extra : rebase_source : f6912c4a018183bc8bdc38547d5ac416ce2acd55
2016-10-27 14:07:31 -04:00
Andrea Marchesini
65ae873c8a
Bug 1313007 - Remove ExtendableMessageEvent::SetSource, r=qdot
2016-10-26 22:02:54 +02:00
Andrea Marchesini
92035ed242
Bug 1313004 - ServiceWorkerMessageEvent can be generated code, r=qdot
2016-10-26 22:00:17 +02: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
Andrea Marchesini
909b97a385
Bug 1312705 - Update ExtendableMessageEvent to the latest version of the spec, r=smaug
2016-10-25 18:23:06 +02:00
Andrea Marchesini
9d5c3d64e8
Bug 1312705 - Update ServiceWorkerMessageEvent to the latest version of the spec, r=smaug
2016-10-25 18:22:46 +02:00
Andrea Marchesini
2304607a62
Bug 1307566 - Timeout increased for test_subworkers_suspended.html, r=bkelly
2016-10-25 18:21:34 +02:00
Andrea Marchesini
a9fedb7608
Bug 1272066 - Add telemetry for sync worker runnables, r=bkelly
2016-10-25 15:39:30 +02:00
Ben Kelly
2cebe4f62c
Bug 1311523 Allow multiple windows to be paused for SharedWorkers. r=baku
2016-10-25 06:26:04 -07: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
Andrea Marchesini
c11a158627
Bug 1310967 - Update MessageEvent to the latest spec, r=smaug
2016-10-25 07:48:05 +02:00
Sebastian Hengst
1d68ef32e7
Backed out changeset 1fc115bbc7be (bug 1310967) for failing test_messageEvent_init.html. r=backout
2016-10-24 19:14:38 +02:00
Andrea Marchesini
1a3cb83d92
Bug 1310967 - Update MessageEvent to the latest spec, r=smaug
2016-10-24 17:10:46 +02:00
Paul Bignier
48fae840d8
Bug 1305959 - Initialize a ClientNavigateRunnable member. r=baku
2016-09-29 10:40:26 +02:00
Tooru Fujisawa
6f9d4ca127
Bug 1283710 - Part 5: Rename message to toStringResult if it is the result of toString. r=bholley,jwalden,froydnj
2016-08-14 20:39:31 +09:00
Tooru Fujisawa
fa2f08828a
Bug 1283710 - Part 4: Do not duplicate message in ExpandErrorArgumentsVA, and remove message parameter from WarningReporter. r=jwalden
2016-08-14 20:39:31 +09:00
Boris Zbarsky
c2d8d70720
Bug 1222516 part 1. Add a window API for opening a window with navigation and a given docshell loadinfo to use for the navigation. r=mconley
...
This will be used to pass through information like the triggering principal and
whatnot, as well as the boolean for not sending a referrer, for rel=noreferrer
links.
2016-10-20 16:52:38 -04:00
Boris Zbarsky
39be7c954d
Bug 1267339
part 3. Add support for the noopener window feature in windowwatcher. r=mconley
2016-10-20 16:52:38 -04:00
Boris Zbarsky
9c68071fa2
Bug 1267339
part 2. Push maintenance of the popup spam count down into the window watcher. r=mconley
2016-10-20 16:52:38 -04:00
Boris Zbarsky
fe57b51a79
Bug 1267339
part 1. Remove the unused aOpenerFullZoom argument to nsPIWindowWatcher::OpenWindow2. r=mconley
2016-10-20 16:52:37 -04:00
Tom Tung
ed32b98f9f
Bug 1311290 - Move the skip-if annotation to the test it was intended for. r=bkelly
2016-10-19 17:37:57 +08:00
Cervantes Yu
f0f2a09c5a
Bug 1278443 - Part 2: Continue to run the worker even if BackgroundChild fails to create. r=mrbkap
...
MozReview-Commit-ID: LBBN4hfXigf
--HG--
extra : rebase_source : f35e75eebf051ec5eb6948bbeb7742a573168602
2016-10-05 16:57:31 +08:00
Wes Kocher
71f24926ed
Backed out 10 changesets (bug 1283710) for osx xpcshell failures a=backout
...
Backed out changeset eb95a12e5d86 (bug 1283710)
Backed out changeset f727edc4be48 (bug 1283710)
Backed out changeset fed60fbf645d (bug 1283710)
Backed out changeset 98339fa564f1 (bug 1283710)
Backed out changeset 51b8d69edca0 (bug 1283710)
Backed out changeset d72527b7d3c0 (bug 1283710)
Backed out changeset ee5215f1a38e (bug 1283710)
Backed out changeset dcedbaefe399 (bug 1283710)
Backed out changeset 61f8250cbe0b (bug 1283710)
Backed out changeset 239382846137 (bug 1283710)
2016-10-18 17:27:58 -07:00
Wes Kocher
8f8236ba1e
Backed out 2 changesets (bug 1310967) for failures in messageEvent tests a=backou
...
Backed out changeset dac69b2b8d26 (bug 1310967)
Backed out changeset 133feae49330 (bug 1310967)
2016-10-18 10:53:44 -07:00
Tooru Fujisawa
8d69b4f507
Bug 1283710 - Part 5: Rename message to toStringResult if it is the result of toString. r=bholley,jwalden,froydnj
2016-08-14 20:39:31 +09:00
Tooru Fujisawa
84473915d8
Bug 1283710 - Part 4: Do not duplicate message in ExpandErrorArgumentsVA, and remove message parameter from WarningReporter. r=jwalden
2016-08-14 20:39:31 +09:00
Jon Coppeard
556585c65f
Bug 1297558 - Remove explicit calls to Expose*ToActiveJS r=mccr8
2016-10-18 17:58:19 +01:00
Andrea Marchesini
8349366911
Bug 1310967 - Update MessageEvent to the latest spec, r=smaug
2016-10-18 18:19:59 +02:00
Valentin Gosu
08a83ff913
Bug 1307491 - (Part 2) Remove support for per-app-offline in dom/ [nukeb2g] r=baku
...
MozReview-Commit-ID: DV58awPq98
--HG--
extra : rebase_source : 5372e7095fc5cefe2ccacfca4a3e23be76ff24fd
2016-10-17 03:58:54 +02:00
William Chen
f208316cdd
Bug 862395 - Part 3: Add preference for web notification requireInteraction flag. r=baku
...
--HG--
extra : rebase_source : 751db25819dbd441d549721757d9bcb0bc67ec8e
extra : histedit_source : 10337b25798cc73cce0b2779fab4e01076cd0423
2016-10-12 16:43:27 -07:00
Andi-Bogdan Postelnicu
32daac2711
Bug 1308868
- Add ignore-initialization-check annotation to mWorkerPrivate from ClientNavigateRunnable. r=baku
...
MozReview-Commit-ID: 2dLsmPWeqSk
2016-10-14 16:44:08 +03:00
Andrea Marchesini
b88af2e644
Bug 1308956 - Get rid of MessagePortList - part 1 - MessagePortList removed from events, r=smaug
2016-10-13 15:19:24 +02:00
Wes Kocher
2337995bb0
Merge m-c to autoland, a=merge
2016-10-12 14:44:21 -07:00
Andrea Marchesini
19a783cce8
Bug 1308667 - WorkerPrivate::QueueRunnable can be used by any parent thread; assertion fixed, r=bkelly
2016-10-12 15:15:04 +02:00
Andi-Bogdan Postelnicu
5b2a91df8c
Bug 1309150 - prevent dead code in WorkerPrivateParent<Derived>::Freeze when looking for frozen shared workers. r=mrbkap
...
MozReview-Commit-ID: 5iPQwosRAxW
--HG--
extra : rebase_source : e59689490eab0f0b2153fad2db29badec3909640
2016-10-11 11:33:31 +03:00
Ehsan Akhgari
f3346119eb
Bug 1308943 - Remove the code used to notify the soft update in the right app; r=baku
...
This code was originally added in bug 1225121.
2016-10-10 16:58:33 -04:00
Boris Zbarsky
0b7535dfdc
Bug 1269052 part 3. Implement isSecureContext for worker scopes. r=bkelly
2016-10-10 15:09:00 -04:00
Ehsan Akhgari
7276f21d9a
Bug 1308267 - Part 3: Remove b2g interfaces from test_serviceworker_interfaces.html; r=baku
2016-10-09 17:45:08 -04:00
Ehsan Akhgari
e9c3e33c50
Bug 1308267 - Part 2: Remove b2g interfaces from test_worker_interfaces.html; r=baku
2016-10-09 17:44:23 -04:00
Yoshi Huang
2a51f65d99
Bug 1237152 - rename clear-origin-data to clear-origin-attributes-data, r=smaug
...
find \( -name '*.cpp' -o -name '*.h' -o -name '*.js' -o -name '*.jsm' -o -name '*.idl' -o -name '*.html' \) \
-a -type f -exec sed -i 's/clear-origin-data/clear-origin-attributes-data/g' {} \;
2016-10-07 17:45:10 +08:00
Andrea Marchesini
ba090ed697
Bug 1304489 - part 2 - Better naming for suspend/resume: parentWindowPaused/parentWindowResumed, r=ejpbruel
2016-10-04 12:14:07 +02:00
Andrea Marchesini
fbb338bc11
Bug 1304489 - part 1 - Sub-workers must be frozen/thawed, r=bkelly
2016-10-04 12:13:33 +02:00
Frederik Braun
ae7fb1e8d0
Bug 1279139 - require-sri-for needs to govern scriptloading for workers. r=baku
...
MozReview-Commit-ID: 3m21kbiV5qK
--HG--
extra : rebase_source : 30c784392e96c1b28c55d38959cc529093b9b568
2016-10-04 02:36:00 +02:00
Phil Ringnalda
c2d51243de
Merge m-c to m-i
...
MozReview-Commit-ID: EDdoYQ8zdUw
2016-10-03 20:35:14 -07:00
Phil Ringnalda
c1e745733c
Merge m-i to m-c, a=merge
...
MozReview-Commit-ID: IffTwuMbwmG
2016-10-03 20:09:05 -07:00
Julian Descottes
9ee4ee975c
Bug 1153292 - part3: aboutdebugging: expose sw state from registration, notify listeners on statechange;r=bkelly
...
As it turns out, the workaround used to detect "not activated" service worker registrations works only
in e10s pages. In non e10s, service worker registrations are returned even if they are not in activated
state. Here we add the currently associated worker to the registration info, which will be used
to determine if the service worker is activated by about debugging.
MozReview-Commit-ID: ImeZcXQdBtO
--HG--
extra : rebase_source : f7e023708f8954b978b189025fd0b06c587d6a8e
2016-09-15 14:47:15 +02:00
Stone Shih
d76caea5e4
Bug 1292063 - Part 1: Add Event.composed. r=smaug
...
--HG--
extra : rebase_source : 105f9cfddb083d48d3da25fa13bf9a3b4c2637f6
2016-08-31 11:16:11 +08:00
Edgar Chen
cf7304c3c6
Bug 1306007 - Part 1: Remove srcset/picture feature control preference; r=jdm,smaug
...
MozReview-Commit-ID: BsyTHeqiGZL
--HG--
extra : rebase_source : 2add2510dbe16c641fe997a8349c1a36009bec20
2016-04-16 18:07:56 -04:00
Tooru Fujisawa
26cadb42f0
Bug 1290337 - Part 16: Replace Value parameter to const Value& in dom. r=smaug
2016-09-11 18:15:24 +09:00
Tooru Fujisawa
de1ccd1e93
Bug 1289050 - Part 6: Use ASCII variant of JS_ReportErrorNumber in simple case. r=jwalden
2016-08-14 20:39:29 +09:00
Tooru Fujisawa
6d493d48ec
Bug 1289050 - Part 1: Use ASCII variant of JS_ReportError in simple case. r=jwalden
2016-08-14 20:39:28 +09:00
Phil Ringnalda
556a8f6ea1
Backed out 3 changesets (bug 1301301) for crashing
...
Backed out changeset da70c5abd73a (bug 1301301)
Backed out changeset 6186eae0c2b7 (bug 1301301)
Backed out changeset 45fb9c1ce63a (bug 1301301)
2016-09-27 19:49:17 -07:00
Andrew McCreight
9d11cb0868
Bug 1301301, part 3 - Implement Begin and EndCycleCollectionCallback in CCJSContext. r=smaug
...
This will let my later patch run code at the start and end of each CC.
This patch should not change any behavior.
MozReview-Commit-ID: Fu6v3wo8qKB
2016-09-26 10:19:07 -07:00
Tom Tung
8026a8d792
Bug 1301966 - Prevent serviceWorker to modify response for sharedWorker and remove the second unexpected registration for the serviceWorker test. r=bkelly.
2016-09-26 09:54:10 +08:00
Thomas Nguyen
1780aece77
Bug 1276836 - Update and add tests for same-origin, strict-origin, strict-origin-when-cross-origin referrer policy. r=jdm
...
MozReview-Commit-ID: 9ISKTDHBSHP
--HG--
extra : rebase_source : ef3013b777aa77146cc941807afb0e8531fb1f74
2016-09-22 16:27:46 -07:00
Josh Matthews
701a2f8248
Bug 1300464 - Propagate redirecting channel's security information to new HTTP channels when intercepted channels are redirected. r=mayhemer
...
--HG--
extra : rebase_source : 2655a88e05214b1c3fc5ab03be446e56b9afdb78
2016-09-16 13:38:07 -04:00
Arthur Edelstein
dfebfaa34a
Bug 1268726 - isolate shared worker by first party domain. r=baku
...
Tor 15564: Isolate SharedWorker by first party domain
uplift/refactor by Dave Huseby <dhuseby@mozilla.com>
review tweaks
2016-09-19 21:13:00 -04:00
Bill McCloskey
a51047b439
Bug 1279086 - Allow multiple interrupt callbacks (r=dvander)
2016-09-16 20:33:49 -07:00
Jan de Mooij
919372cf5c
Bug 1302448 part 3 - Rename WorkerJSRuntime to WorkerJSContext. r=baku
...
--HG--
extra : rebase_source : a1df9ae95f0c80f67ce21bc494bb92a20cbc5784
2016-09-14 15:48:42 +02:00
Jan de Mooij
a53986bf29
Bug 1302448 part 1 - Rename CycleCollectedJSRuntime to CycleCollectedJSContext. r=mccr8
...
--HG--
rename : xpcom/base/CycleCollectedJSRuntime.cpp => xpcom/base/CycleCollectedJSContext.cpp
rename : xpcom/base/CycleCollectedJSRuntime.h => xpcom/base/CycleCollectedJSContext.h
extra : rebase_source : 075214b5057f151520926715b6154e99ae80a0b3
2016-09-14 15:47:32 +02:00
Ben Kelly
f1f3b13517
Bug 1300658 P5 Make service worker APIs use the MainThreadTaskQueue. r=baku
2016-09-13 20:14:02 -07:00
Ben Kelly
adf0d2b529
Bug 1300658 P3 Don't fail test_consoleAndBlobs.html if other console messages are received. r=baku
2016-09-13 20:14:02 -07:00
Ben Kelly
e5c5dd65ac
Bug 1300658 P2 Make WorkerRunnable's destined for main thread use the MainThreadTaskQueue. r=baku
2016-09-13 20:14:02 -07:00
Ben Kelly
f7c726cbfd
Bug 1300658 P1 Expose a main thread TaskQueue WorkerPrivate. r=baku
2016-09-13 20:14:02 -07:00
Wes Kocher
17b9381e0b
Backed out 6 changesets (bug 1300658) for frequent Windows VM Xpcshell failures a=backout
...
Backed out changeset 6cf3a60640cf (bug 1300658)
Backed out changeset c74062a27462 (bug 1300658)
Backed out changeset 39fbc61739ef (bug 1300658)
Backed out changeset 0b9d70b040a2 (bug 1300658)
Backed out changeset 4e921d61f036 (bug 1300658)
Backed out changeset 56496fad6494 (bug 1300658)
2016-09-12 16:34:08 -07:00
Ben Kelly
9b3174b58d
Bug 1300658 P5 Make service worker APIs use the MainThreadTaskQueue. r=baku
2016-09-12 12:32:21 -07:00
Ben Kelly
957adb3f56
Bug 1300658 P3 Don't fail test_consoleAndBlobs.html if other console messages are received. r=baku
2016-09-12 12:32:21 -07:00
Ben Kelly
a10ca84838
Bug 1300658 P2 Make WorkerRunnable's destined for main thread use the MainThreadTaskQueue. r=baku
2016-09-12 12:32:21 -07:00
Ben Kelly
6a05598770
Bug 1300658 P1 Expose a main thread TaskQueue WorkerPrivate. r=baku
2016-09-12 12:32:21 -07:00
Ben Kelly
a8a4ae3c4f
Backout rev 5c7368370ff9 to 980659720b86 (bug 1300118 and bug 1300658) for incorrect bug number in commit message. r=me
2016-09-12 12:29:17 -07:00
Ben Kelly
cb975cddf1
Bug 1300658 P5 Make service worker APIs use the MainThreadTaskQueue. r=baku
2016-09-12 11:21:02 -07:00
Ben Kelly
33f12f6300
Bug 1300658 P3 Don't fail test_consoleAndBlobs.html if other console messages are received. r=baku
2016-09-12 11:21:02 -07:00
Ben Kelly
7bb3320bdd
Bug 1300658 P2 Make WorkerRunnable's destined for main thread use the MainThreadTaskQueue. r=baku
2016-09-12 11:21:01 -07:00
Ben Kelly
e60f286936
Bug 1300658 P1 Expose a main thread TaskQueue WorkerPrivate. r=baku
2016-09-12 11:21:01 -07:00