Commit Graph

60538 Commits

Author SHA1 Message Date
Gabor Krizsanits
ec68ced873 Bug 1333799: MinTabSelector for process selection. r=mrbkap 2017-03-07 20:00:28 +01:00
Michael Layzell
cbe4faf536 Bug 1342057 - Part 2: Add a test that the MIME type is set correctly for image data, r=baku
Unfortunately drag and drop / clipboard data is not super easy to test
with our current testing infrastructure, so we can't do too much better
than this. Additional testing will have to be done manually through our
QA process once this has landed.

MozReview-Commit-ID: 1etmIxjjiBd
2017-03-07 12:45:58 -05:00
Michael Layzell
b985d62013 Bug 1342057 - Part 1: Use correct MIME type for files as DataTransferItem.type, r=baku
MozReview-Commit-ID: 4hrZ3YoGTJj
2017-03-07 12:45:58 -05:00
Jim Chen
1294cccf48 Bug 1337467 - Convert observers to bundle events; r=rbarker r=sebastian
Bug 1337467 - 1. Convert "Window:Resize" observer to event; r=rbarker

Bug 1337467 - 2. Convert "ScrollTo:FocusedInput" observer to event; r=rbarker

Bug 1337467 - 3. Convert "Update:CheckResult" observer to event; r=sebastian

Also remove notifyCheckUpdateResult from GeckoInterface.

Bug 1337467 - 4. Convert "GeckoView:ImportScript" observer to event; r=sebastian

Bug 1337467 - 5. Convert accessibility observers to events; r=sebastian

Bug 1337467 - 6. Convert media/casting observers to events; r=sebastian

Bug 1337467 - 7. Convert "Sanitize:ClearData" observer to event; r=sebastian

Bug 1337467 - 8. Convert "Notification:Event" observer to event; r=sebastian

Bug 1337467 - 9. Convert BrowserApp observers to events; r=sebastian

Bug 1337467 - 10. Convert Tab observers to events; r=sebastian

Bug 1337467 - 11. Convert "Passwords:Init" and "FormHistory:Init" observers to events; r=sebastian

Bug 1337467 - 12. Convert Reader observers to events; r=sebastian

Bug 1337467 - 13. Convert Distribution observers to events; r=sebastian

Bug 1337467 - 14. Convert "Fonts:Reload" observer to event; r=sebastian

Bug 1337467 - 15. Convert RecentTabsAdapter observers to events; r=sebastian

Bug 1337467 - 16. Convert "Session:Prefetch" observer to event; r=sebastian

Bug 1337467 - 17. Convert "Browser:Quit" and "FullScreen:Exit" observers to events; r=sebastian

Bug 1337467 - 18. Convert SessionStore observers to events; r=sebastian

The "Session:NotifyLocationChange" observer is sent by browser.js and
requires passing a browser reference, so it's left as an observer.

Bug 1337467 - 19. Remove unused "Tab:Screenshot:Cancel" notifyObserver call; r=me

Bug 1337467 - 20. Convert "Session:Navigate" observer to event; r=sebastian

Bug 1337467 - 21. Convert "Locale:*" observers to events; r=sebastian

Bug 1337467 - Add log for unhandled events; r=me

Add back the log indicating no listener for an event, which can be
useful when reading logcat. r=me for trivial change.

Bug 1337467 - Don't return error from EventDispatcher when OnEvent fails; r=me

When a listener's OnEvent method returns an error, continue to dispatch
to other listeners and don't return an error from the dispatch function.
This avoids unexpected errors when dispatching events. r=me for trivial
patch.
2017-03-07 12:34:04 -05:00
Florian Quèze
7f1b926f29 Bug 1344711 - hand cleanup of cases that were ignored by the script to remove try blocks around get*Pref calls, r=jaws.
--HG--
extra : rebase_source : 4da1e10b87ac37de19e0ca6f79996e8a12492db9
2017-03-07 15:29:48 +01: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
Carsten "Tomcat" Book
41ba400533 Merge mozilla-central to mozilla-inbound 2017-03-07 15:18:32 +01:00
Carsten "Tomcat" Book
087da3f0d9 merge mozilla-inbound to mozilla-central a=merge 2017-03-07 15:13:31 +01:00
Shawn Huang
9c76c33226 Bug 1268804 Part 4: Add isSecureContext pref in test_interfaces for StorageManager, r=bz 2017-03-07 16:28:56 +08: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
da2665adf4 Bug 1268804 Part 1: Enable SecureContext for Storage API, r=baku 2017-03-07 16:28:28 +08:00
Andrea Marchesini
2733271b7f Bug 1344669 - Remove Performance::IsEnabled, r=qdot 2017-03-07 08:50:40 +01:00
Andrea Marchesini
1dd8d720eb Bug 1344676 - Remove XHR_IN_WORKER telemetry ID, r=qdot 2017-03-07 08:46:18 +01:00
Andrea Marchesini
ea587b3c8c Bug 1344466 - Fix error propagation in FileReader when reading from the inputStream, r=qdot 2017-03-07 08:44:54 +01:00
Iris Hsiao
b0564b3436 Backed out changeset da035ac87fe4 (bug 713680) for reftest failures 2017-03-07 14:55:21 +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
Ehsan Akhgari
9b370e9857 Bug 1344974 - Part 2: Make the non-virtual helpers for principal equality/subsumption checks inline; r=bholley 2017-03-07 00:29:27 -05:00
Ehsan Akhgari
abea0f3af0 Bug 1332036 - Avoid the sync IPC message added in bug 1331676; r=dvander 2017-03-07 08:56:26 -05:00
Dan Minor
62b1eb1bac Bug 1305136 - Disable testAudioContext test in audioContextSuspendResumeClose.html on Linux; r=karlt
This also removes the extra logging I added in loadFile which did not end up
helping anything after all.

MozReview-Commit-ID: FZT5ZShhcG0

--HG--
extra : rebase_source : f5eca9ae169c99dabfbb02dd148b66524325d352
2017-03-03 13:48:45 -05:00
Chris Peterson
1fbca779ac Bug 713680 - Change default Windows monospace font from Courier New to Consolas. r=jfkthame r=masayuki
Consolas is narrower than Courier New, so we must adjust some tests to accommodate.

* Change some tests from generic 'monospace' to 'Courier New' to continue using previous font metrics.

* selectAtPoint.html no longer needs one of its Windows-only code paths because Firefox on Windows now selects the same text as it does on Mac and Linux.

* 323386-1.html's intermittent assertion failure (bug 718883) now appears to be 100% reliable on Windows, joining Linux and Android.

* size-1-ref.html reftest needs a little fuzz because the horizontal line of the test image's '4' character is ~1 pixel shorter than the reference image's.

MozReview-Commit-ID: EB5wzhG178U

--HG--
extra : rebase_source : e7aca6d16c255e45bef5dca93fff6c09bce787c4
2017-02-22 22:08:19 -08:00
Chris Pearce
0310952278 Bug 1343140 - Output a black frame if Widevine CDM refuses to decode due to losing a key. r=gerald
MozReview-Commit-ID: JQon5f87FSF
2017-03-03 14:10:28 +13:00
Tom Ritter
15cb139b10 Bug 1344845 - Fix --disable-sandbox by ifdef-ing an include. r=handyman
MozReview-Commit-ID: F06jWmvH52V

--HG--
extra : transplant_source : %9E%D4%96%8C%2Bn%ED%B7B%E6%C04%CC%C0%7Ez%8A%EA%7E%3A
2017-03-06 13:38:32 -06:00
Ehsan Akhgari
e69291f9ae Bug 1344587 - Fix a leak in test_multicast_dns_device_provider.js; r=schien 2017-03-06 15:06:13 -05:00
Michael Layzell
d982a16df5 Bug 1338328 - Change error type for custom-clipdata mime type, and add test for correct exception type, r=baku
MozReview-Commit-ID: 9qwwXxWgWrO
2017-03-06 14:37:27 -05:00
Sebastian Hengst
945e8d94fc Backed out changeset bb2103358f84 (bug 1343140) for build bustage. r=backout on a CLOSED TREE 2017-03-06 19:34:25 +01:00
Chris Pearce
d28c90112d Bug 1343140 - Output a black frame if Widevine CDM refuses to decode due to losing a key. r=gerald
MozReview-Commit-ID: JQon5f87FSF

--HG--
extra : rebase_source : be26f24968cee69ded5f7ceb8f1a99e25032afe5
2017-03-03 14:10:28 +13:00
JerryShih
93438255d9 Bug 1270056 - skip the GC in nsGlobalWindow::SetNewDocument() r=smaug 2017-03-06 17:47:27 +00: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
8ba58bb018 Bug 1339081 - Part 22: Rename "schema" to "scheme" where appropriate; r=asuth 2017-03-06 18:40:33 +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
668951fa09 Bug 1339081 - Part 17: Strip obsolete origin attributes as part of new upgrade helper (needed for bug 1314361), original patch by Kris Maglione; r=asuth 2017-03-06 18:40:18 +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
abd3a27c40 Bug 1339081 - Part 15: Shift code to correct place; r=asuth 2017-03-06 18:40:09 +01:00
Jan Varga
13fabd5cfe Bug 1339081 - Part 14: Don't try to upgrade obsolete origins, remove them right after we detect them; r=asuth 2017-03-06 18:40:07 +01:00
Jan Varga
98b838f625 Bug 1339081 - Part 13: Move morgue directory cleanup to new upgrade helper; r=asuth 2017-03-06 18:40:02 +01:00
Jan Varga
ea68f97a21 Bug 1339081 - Part 12: Add a baseline helper for 1.0 to 2.0 upgrade; r=asuth 2017-03-06 18:39:58 +01:00
Jan Varga
9b5aef9c4a Bug 1339081 - Part 11: Fallback to PR_Now() if GetLastModifiedTime() fails; r=asuth 2017-03-06 18:39:56 +01:00
Jan Varga
54f45ff479 Bug 1339081 - Part 10: Unify GetDirectoryMetadata() in upgrade helpers; r=asuth 2017-03-06 18:39:51 +01:00
Jan Varga
7cca6c51e2 Bug 1339081 - Part 9: Allow origin properties to be checked before they are added to the list for processing in upgrade helpers; r=asuth 2017-03-06 18:39:49 +01:00
Jan Varga
71cfe5b3f6 Bug 1339081 - Part 8: Rename the upgrade helper to match the method that is using it; r=asuth 2017-03-06 18:39:44 +01:00
Jan Varga
a2571e9f2b Bug 1339081 - Part 7: Implement safe metadata writting using temp files; r=asuth 2017-03-06 18:39:40 +01:00
Jan Varga
f0b8133f92 Bug 1339081 - Part 6: Fix unknown file handling; r=asuth 2017-03-06 18:39:38 +01:00
Jan Varga
61fe32371f Bug 1339081 - Part 5: Add a method for testing origin initialization; r=asuth 2017-03-06 18:39:33 +01:00
Tom Tung
71ac66b1e9 Bug 1339081 - Part 4: Add a result attribute to nsIQuotaRequest; r=janv 2017-03-06 18:39:29 +01:00
Jan Varga
9c49950e02 Bug 1339081 - Part 3: Split OriginClearOp to make code more readable and cleaner; r=asuth 2017-03-06 18:39:25 +01:00
Jan Varga
528102ba20 Bug 1339081 - Part 2: Add a method for testing storage initialization; r=asuth 2017-03-06 18:39:21 +01:00
Jan Varga
0b3480d328 Bug 1339081 - Part 1: Create a standalone testing infrastructure with a basic test; r=asuth 2017-03-06 18:39:17 +01:00