Commit Graph
1326 Commits
Author SHA1 Message Date
Matthew Wein 1186674777 Bug 1331742 - Part 5 - Add unit tests for browserAction.onClicked r=mixedpuppy
MozReview-Commit-ID: DE7me6moxG
2017-05-12 15:02:11 -04:00
Carsten "Tomcat" Book d4006b93b2 merge mozilla-inbound to mozilla-central a=merge 2017-05-16 15:04:38 +02:00
Kris Maglione 232ff61655 Bug 1365005: Cleanup async code after Task.jsm migration. r=aswan
MozReview-Commit-ID: FNKSsBqq6Kf
2017-05-15 12:07:06 -07:00
Tomislav Jovanovic 6fd8d981f9 Bug 1362047 - Fix default value for content script run_at, add tests r=mixedpuppy
MozReview-Commit-ID: CiBaSkZ0TqQ
2017-05-10 02:00:29 +02:00
Kris Maglione 5ce24cde06 Bug 1356826: Wait for startup to finish before shutting down. r=me
MozReview-Commit-ID: LksftmZHI8H
2017-05-10 20:26:01 -07:00
Tushar Saini (:shatur) 055086e501 Bug 1354590 - Add 'temporary' flag to runtime.onInstalled details. r=aswan,zombie
MozReview-Commit-ID: IbQno1ZL7KV
2017-05-14 10:54:11 +05:30
Florian Quèze 50b8c6608d Bug 1353542 - script-generated patch to remove .bind(this) calls we no longer need now that generator functions have been replaced with async functions, r=Mossop. 2017-05-12 14:47:41 +02:00
Florian Quèze b2499a4c57 Bug 1353542 - smaller script-generated patch converting remaining generators that are likely tasks (actual generators were identified by hand and whitelisted), r=Mossop. 2017-05-12 14:45:01 +02:00
Florian Quèze ff53eb9a63 Bug 1353542 - massive script-generated patch converting Task.async and Task.spawn calls, and generators clearly identifiable as tasks, rs=Mossop. 2017-05-12 14:42:39 +02:00
Florian Quèze 4ff7b0abff Bug 1353542 - pre-script hand-written cleanup patch, r=Mossop. 2017-05-12 14:41:20 +02:00
Mark Banner 44d0568f41 Bug 1362947 - Upgrade eslint-plugin-html to 2.0.3 to pick up --fix support. r=jaws
MozReview-Commit-ID: 5fVG7akPnGM
2017-05-08 10:29:47 +01:00
Sebastian Hengst c8bd0b3620 Backed out changeset e0f9c56c15f0 (bug 1362947) for linting failures, e.g. at accessible/tests/mochitest/jsat/doc_content_text.html:15. r=backout 2017-05-11 10:15:55 +02:00
Mark Banner dae8146427 Bug 1362947 - Upgrade eslint-plugin-html to 2.0.3 to pick up --fix support. r=jaws
MozReview-Commit-ID: 5fVG7akPnGM
2017-05-08 10:29:47 +01:00
Kris Maglione 56747678e9 Bug 1362623 - Wait for idle callback before executing document_idle content scripts. r=mixedpuppy
MozReview-Commit-ID: 6pOrH1lrTV2
2017-05-05 21:17:37 -07:00
Kris Maglione 5f4b57b39c Bug 1363445: Speed up MessageChannel.addListener. r=aswan
MozReview-Commit-ID: iYavkWIQC
2017-05-09 10:22:41 -07:00
Andrew Swan b37f8b08cf Bug 1344822 Remove downloads.onChanged hack r=mixedpuppy
This bug highlights a difference between "legacy" downloads and those
created directly from Downloads.jsm, that the onDownloadCreated event for
legacy downloads comes when the download is already in progress while the
same event for non-legacy downloads comes before the actual transfer starts.
A clumsy workaround was originally used to avoid generating nonsense
onChanged events for non-legacy downloads but if we are just careful to
handle downloads that have not yet started, we don't need the workaround.


MozReview-Commit-ID: 7QyKvnR5ZMN
2017-05-08 11:13:15 -07:00
Tomislav Jovanovic b326b3ffd9 Bug 1354337 - Add frameId to ExtensionPageChild message sender, r=mixedpuppy
MozReview-Commit-ID: 8C074ACnsHS
2017-05-07 01:49:32 +02:00
Iris Hsiao 348f07888c merge mozilla-inbound to mozilla-central a=merge 2017-05-08 11:11:20 +08:00
Kris Maglione 799f1e6a1d Bug 1362224: Cache tab incognito state. r=aswan
MozReview-Commit-ID: 2BWqXDFRHlV
2017-05-05 13:01:03 -07:00
Kris Maglione a394878505 Bug 1362224: Cached normalized object for simple icon URLs. r=aswan
MozReview-Commit-ID: ErFFdfKAtuz
2017-05-05 12:53:30 -07:00
Kris Maglione 02346a40df Bug 1362224: Speed up permission checks a bit. r=aswan
MozReview-Commit-ID: I6G3gVzSwnJ
2017-05-05 12:28:42 -07:00
Kris Maglione 40dc39087e Bug 1362225 - Speed up i18n.getMessage. r=aswan
MozReview-Commit-ID: EcadiurI7tu
2017-05-04 16:38:18 -07:00
Andrew Swan 3e9f8ffba5 Bug 1259944 Fix runtime.sendMessage() handling of 2 arguments r=zombie
MozReview-Commit-ID: AefmoEfy12j
2017-05-01 10:08:56 -07:00
Shane Caraveo 4611875e9c Bug 1336908 implement management APIs needed for theme management, r=aswan
MozReview-Commit-ID: 8tZpCE3nXGr
2017-05-04 11:40:02 -07:00
Wes Kocher 2d4208ef39 Merge m-c to autoland, a=merge
MozReview-Commit-ID: F7qkNALe0WT
2017-05-03 13:52:24 -07:00
Ethan Glasser-Camp 1322ce9119 Bug 1359879: add logging and robustness to key syncing, r=kmag
It seems like the server-side keyring is getting deleted somehow. This
causes syncing of the keyring to fail. We haven't completely
fixed the root problem yet, but this adds logging to try to flag
down the dangerous operation of deleting a bucket to make sure we
aren't doing that by accident. We also try to recover from the
server-keyring-was-deleted situation by wiping all storage.sync data,
the same as if we found a keyring that we couldn't decrypt.

MozReview-Commit-ID: JMB0IxApbGq
2017-05-01 14:22:51 -04:00
Shane Caraveo f4b6f6f07d Bug 1357723 fix intermittent failure of tab close, r=kmag,mattw
MozReview-Commit-ID: 257gWUotCqE
2017-04-24 13:59:36 -07:00
Gabor Krizsanits 41694ff189 Bug 1341008 - Use the preallocated process manager by default. r=billm, r=kmag
To mitigate the delay that a new content process startup might cause, when the
browser reaches a non-busy state we attempt to prelaunch an empty content process
in the background that can be grabbed and used the next time we need one. This patch
enables the preallocated process manager by default and attempts to fix all the
issues that prevented us doing this sooner.
2017-05-03 12:00:20 +02:00
Matthew Wein edd755b057 Bug 1356457 - Fix and enable test_ext_proxy.html r=jmaher
I was able to fix the issue by only letting the background script send one error message per test. This isn't an ideal fix because it doesn't get to the bottom of why a second error message is sometimes sent, but it should be a good placeholder while the underlying issue is researched.

MozReview-Commit-ID: 21uZL3r4zVS
2017-05-01 11:25:04 -04:00
Julian Descottes b9e8beec84 Bug 1359083 - stop using devtools color utils in ext-browser-content.js;r=kmag
MozReview-Commit-ID: CdQxZnhdMbM
2017-04-24 20:57:01 +02:00
Geoff Brown fbbdb54a90 Bug 1356457 - Skip test_ext_proxy.html for frequent failures; r=jmaher 2017-04-28 09:29:47 -06:00
Alexandre Poirot 208511b0d3 Bug 1356231 - Use toolkit EventEmitter.jsm instead of devtools module. r=mossop
MozReview-Commit-ID: 49JI7NtLwKK
2017-04-27 17:58:09 +02:00
Doug Thayer c8eb3cc7f1 Bug 1326572 - Provide an API for nsIProfiler r=kmag,mstange
In order to rewrite the Gecko Profiler add-on as a WebExtension,
we need an API for the profiler which allows us to control the
nsIProfiler, and symbolicate the stacks that it provides. This
is the implementation of the simpler parts of that API.

TODO:
- Support profiling of remote targets through a new devtools
  API.
- Support the dump_syms breakpad code which was asm.js in the
  old extension by directly calling into native code.
- Figure out a faster way to send the large volume of data from
  getSymbols all the way from our extension down to the content
  process and then into the page's context.

MozReview-Commit-ID: JzDbV4l2eXd
2017-04-11 09:03:40 -07:00
Phil Ringnalda cc1b685ac9 Backed out changeset ddcbb81610fd (bug 1355198) for Android test_ext_proxy.html bustage
MozReview-Commit-ID: KetgckpyHea
2017-04-26 20:38:36 -07:00
Matthew Wein 16f7a437e0 Bug 1355198 - Fix "DIRECT" return type to take no arguments and update error handling r=mixedpuppy
MozReview-Commit-ID: AKY6cjDoSmZ
2017-04-11 12:19:53 -04:00
Chris Peterson dccd140861 Bug 1358948 - Remove redundant eslint "no-spaced-func" rules and standardize on new "func-call-spacing" name. r=standard8
The "no-spaced-func" name was deprecated in ESLint v3.3.0 and replaced by "func-call-spacing", which is already specified in the mozilla/recommended rules and some other .eslintrc.js files. We need to specify func-call-spacing in accessible/tests/browser/.eslintrc.js because it doesn't inherit the mozilla/recommended rules.

MozReview-Commit-ID: 7L8fuVtTu0X
2017-04-23 19:40:28 -07:00
Ethan Glasser-Camp 2b966460f6 Bug 1351678: Handle resolved conflicts correctly, r=kmag
The elements of the SyncResultObject#conflicts field are {local,
remote} pairs.  However, the elements of the SyncResultObject#resolved
field are just the resolutions, and trying to access "local" and
"remote" fields of those resolutions causes a crash. Add a test that
demonstrates the error, and then fix it.

MozReview-Commit-ID: LF0NBw5VKBC
2017-04-20 13:44:46 -04:00
Carsten "Tomcat" Book dd164777f2 Backed out changeset 79579aab8851 (bug 1331742) 2017-04-24 12:27:45 +02:00
Kris Maglione 2fb27009e1 Bug 1358415: Don't trigger reflow just to compute tab geometry. r=aswan
MozReview-Commit-ID: DnFSbDfOskT
2017-04-21 13:22:34 -07:00
Matthew Wein 5b86f1818b Bug 1331742 - Part 5 - Add unit tests for browserAction.onClicked r=mixedpuppy
MozReview-Commit-ID: Ko8eQYfIM0H
2017-04-10 16:15:54 -04:00
Tushar Saini (:shatur) 428e824e9c Bug 1337509 - Do not create tab objects with an unsupported 'selected' property. r=bsilverberg,mixedpuppy
MozReview-Commit-ID: 4Bi6LdNUxMo
2017-04-18 22:07:38 +05:30
Tanay PrabhuDesai e54af3f13f Bug 1354517 - De-duplicate already ESLint recommended rules in toolkit/components/extensions/.eslintrc.js r=standard8
MozReview-Commit-ID: XYWoR8bOKe
2017-04-19 08:37:06 +05:30
Shane Caraveo 19e21ac660 Bug 1326298 implement off-main-thread delivery with start/stop/error listeners, r=kmag
MozReview-Commit-ID: Ke4NsthrbP2
2017-04-18 15:50:53 -07:00
Kris Maglione ce246a6039 Bug 1356891: Get rid of getAPILevelForWindow. r=mixedpuppy
MozReview-Commit-ID: 4IMnEiC5VAh
2017-04-16 08:32:59 -07:00
Kris Maglione 35ce65b3d6 Bug 1357137: Make sure all content scripts for the same page load into the same sandbox. r=mixedpuppy
MozReview-Commit-ID: xB8kZ2KZdz
2017-04-17 10:24:43 -07:00
Kris Maglione 953a579010 Bug 1356816: Follow-up: Fix xpcshell bustage. r=me
MozReview-Commit-ID: B8enqRATaag
2017-04-16 08:42:03 -07:00
Kris Maglione 071cc27d73 Bug 1356816: Don't load Extension.jsm on startup just to set the browserUpdated flag. r=rhelmer
MozReview-Commit-ID: C0mtHeZ2cJ
2017-04-15 10:13:39 -07:00
Kris Maglione da08b6926c Bug 1317697: Remove things from ExtensionUtils that don't belong there. r=mixedpuppy
MozReview-Commit-ID: CTX0TckLqoV
2017-04-07 13:39:06 -07:00
Kris Maglione e69c789ec0 Bug 1317697: Split extension page child and content script child code as much as possible. r=mixedpuppy
MozReview-Commit-ID: 4lKFqoJHVFb
2017-04-14 16:57:34 -07:00
Kris Maglione bdb8ae3dfd Bug 1317697: Split ExtensionContent.jsm into a stub process script. r=mixedpuppy
MozReview-Commit-ID: 4vn0ERZiBQd
2017-04-14 17:00:51 -07:00