L. David Baron
d097996b85
Bug 1111440 - Replace -moz- prefixed logical margin/padding/border properties with their standard versions. r=heycam
...
This patch was generated by the command:
find . -name "*.css" -exec sed -i -f mozpropsub {} \;
in the root of a mozilla-central tree, with the file mozpropsub
containing the contents:
s/-moz-padding-end\>/padding-inline-end/g
s/-moz-padding-start\>/padding-inline-start/g
s/-moz-margin-end\>/margin-inline-end/g
s/-moz-margin-start\>/margin-inline-start/g
s/-moz-border-end\>/border-inline-end/g
s/-moz-border-end-color\>/border-inline-end-color/g
s/-moz-border-end-style\>/border-inline-end-style/g
s/-moz-border-end-width\>/border-inline-end-width/g
s/-moz-border-start\>/border-inline-start/g
s/-moz-border-start-color\>/border-inline-start-color/g
s/-moz-border-start-style\>/border-inline-start-style/g
s/-moz-border-start-width\>/border-inline-start-width/g
While I didn't manually review all the changes, I did review the list of
files, and manually reviewed the changes in the files that I thought
were more interesting.
Note that there are a few tests that should be fixed up as well, but
I'll do that in a later patch.
MozReview-Commit-ID: EiQTuuV0MNQ
2016-05-12 22:19:58 -07:00
Wes Kocher
5983b42383
Backed out 2 changesets (bug 1240326) for failures in browser_ext_tabs_query.js
...
Backed out changeset c057ea186ced (bug 1240326)
Backed out changeset 4399e8609c74 (bug 1240326)
2016-05-05 13:06:36 -07:00
Bob Silverberg
1e8b600698
Bug 1240326 - Part 2: Utilize lazyWidth and lazyHeight properties from frame loaders for tab width and height. r=kmag
...
MozReview-Commit-ID: FI41LGDrFFK
--HG--
extra : transplant_source : %9C%06%B5H-%80%15%25%C3%8A%F1%D8y%93%D2%C4%9E%22%8BH
2016-04-26 10:25:20 -04:00
Blake Winton
6866a9d937
Bug 1269081 - Only apply Firefox's default styles if the add-on author sets "browser_style" to true in the manifest. r=kmag.
...
MozReview-Commit-ID: JjH0sCkh1U7
--HG--
extra : rebase_source : 92b126d4acd77bb15bb7c952b82d4dd6156d5c2a
2016-05-02 10:59:36 -04:00
Bob Silverberg
1b139444cb
Bug 1265842 - Implement browser.history.deleteAll and deleteRange. r=aswan
...
MozReview-Commit-ID: 6rcQfPajmfw
--HG--
extra : transplant_source : %7C%9B%E9%AD%F0K%8Ds%960%D0J%B8%3B%B5%B1r%C2%2A%03
2016-04-27 16:51:11 -04:00
Bob Silverberg
c3f7086b51
Bug 1265837 - Implement browser.history.deleteUrl, r=aswan
...
MozReview-Commit-ID: AzVWzviLkGQ
--HG--
extra : rebase_source : 877140bd0d0616f05a62ee94ddae806e51518e55
2016-04-28 08:37:04 -04:00
Kris Maglione
0c6f1f4c22
Backed out changeset a3fbed43aa55 for a new set of intermittent failures.
...
MozReview-Commit-ID: 1lIDylABshC
2016-04-25 18:13:41 -07:00
Kris Maglione
3e9bda71d8
Bug 1254003: Don't call tabs.create callback before the tab is ready. r=gabor
...
MozReview-Commit-ID: 3qK6GpTmIFQ
--HG--
extra : rebase_source : 16b5a51afade88ec9cf1d7ccc0878e310c7fad78
extra : source : 8afadb96e97704a98492c2286fb92479deb3365f
2016-04-03 19:31:47 -07:00
Wes Kocher
d509baac11
Merge inbound to central, a=merge
...
MozReview-Commit-ID: 4igUgM6r0wO
2016-04-25 17:11:09 -07:00
Blake Winton
b58b1cbc6d
Bug 1263709 - Remove the advanced styling for radio buttons and checkboxes. ui-r=shorlander, r=kmag
...
MozReview-Commit-ID: A9CWD9SPZlP
--HG--
extra : rebase_source : 1ec397f0c923d42d1ff99b8034eb869ba5a8f8fc
2016-04-11 15:53:06 -04:00
Kris Maglione
d78e5a3050
Bug 1238310: Part 5 - Implement the browser.tabs.onZoomChange event. r=gabor f=aswan
...
MozReview-Commit-ID: JlxSM13SeYg
--HG--
extra : rebase_source : aaa1ac864a0cbcbe22aa7aa694ab0203f8e39d0b
extra : amend_source : 2a8a0081e853d5f2f3975ebee4c3bcb0ee46c2e9
2016-04-01 11:45:01 -07:00
Carsten "Tomcat" Book
84eb46bafd
merge mozilla-inbound to mozilla-central a=merge
...
--HG--
rename : toolkit/components/prompts/test/test_bug861605.html => toolkit/components/prompts/test/test_dom_prompts.html
2016-04-25 11:55:12 +02:00
Phil Ringnalda
664d43385b
Back out a57938cd29d2 (bug 1254003) for timeouts in browser_ext_tabs_*
2016-04-24 22:16:13 -07:00
bsilverberg
d9ca109a26
Bug 1262923 - Create schema for the history API. r=aswan
...
MozReview-Commit-ID: 1hZRJtemPMb
--HG--
extra : rebase_source : ccf72e006fcdcbaa3085a6bdcc8e679f66ed2412
2016-04-07 14:56:02 -04:00
Kris Maglione
6640885354
Bug 1254003: Don't call tabs.create callback before the tab is ready. r=gabor
...
MozReview-Commit-ID: 3qK6GpTmIFQ
--HG--
extra : rebase_source : cd0d5f5fae93e7e4f6436d2fae1d6e4c9363d2d4
extra : source : 8afadb96e97704a98492c2286fb92479deb3365f
2016-04-03 19:31:47 -07:00
Kris Maglione
b783efe7d8
Backed out changeset 8afadb96e977 for too many intermittent failures (bug 1254003).
...
MozReview-Commit-ID: 2wFCgIaH9lM
2016-04-24 00:39:29 -07:00
Kris Maglione
24d6448f60
Bug 1254003: Don't call tabs.create callback before the tab is ready. r=gabor
...
MozReview-Commit-ID: 3qK6GpTmIFQ
--HG--
extra : rebase_source : 5510c5bc106eb3a5d35b761439b654fe7fe68a8f
2016-04-03 19:31:47 -07:00
Kris Maglione
512b5f6bcb
Bug 1238310: Part 4 - Refactor tab listener code. r=aswan
...
MozReview-Commit-ID: 66ZXlvepRsz
--HG--
extra : rebase_source : 72e6f860df44b31c25940d0ea6b75242bf340851
extra : source : f4e7fed2020e146726efc653527d55b1a67b091e
extra : histedit_source : c4ea6bdbeac642fe3ba558ec3fdb4a497513a377
2016-02-17 11:47:56 -08:00
Kris Maglione
02eba536f1
Bug 1238310: Part 3 - Implement the base browser.tabs zoom API. r=aswan
...
MozReview-Commit-ID: BZEFOnCRMba
--HG--
extra : rebase_source : b43761bbeccfa2da0fad969676c2e7ac9b434f7d
extra : histedit_source : d0f195f76ff32e3889adcba2b691ce89fc4ad0c7
2016-04-01 15:44:29 -07:00
Matthew Wein
3f2b8481d4
Bug 1263560 - Accept whitespace in command API key names. r=kmag
...
MozReview-Commit-ID: IGQDs1RuE7w
--HG--
extra : transplant_source : %92xFZ%2C%0AH%28%5C%15%B6%288B%7F%98/%D0%BBZ
2016-04-14 22:39:50 -04:00
Bob Silverberg
c37418b9d5
Bug 1262976 - browser.windows.onFocusChanged sometimes fires twice, even after the event listener is removed, r=kmag
...
MozReview-Commit-ID: 4wfFjPBn7zJ
--HG--
extra : transplant_source : %E4%2C%DDNqS%E8%EC%96%AE%E2%C5%D3%1A.v%C9%5C%E2%80
2016-04-08 09:46:45 -04:00
jdinartejesus
d7b2387a81
Bug 1250685 - Fix extension context menu for images. r=kmag
2016-04-11 00:40:50 +02:00
Gijs Kruitbosch
96df238104
Bug 1253673, r=jaws
...
MozReview-Commit-ID: GKFG4s1bx5c
--HG--
rename : browser/base/content/test/general/dummy_page.html => browser/components/extensions/test/browser/file_dummy.html
extra : amend_source : 38ff88239b304e9014704d104a766712706c89ee
extra : histedit_source : 5e17e8225174b52c59822c572db4c9539aeaf157
2016-04-13 11:58:25 +01:00
Kris Maglione
c4861004a5
Bug 1248846: [webext] Don't call callbacks after a context is destroyed. r=aswan
...
MozReview-Commit-ID: 5O2YKGONODH
--HG--
extra : rebase_source : 66a5b5f51ce841fdfad28542daee7802e316e2d1
2016-04-04 14:14:35 -07:00
Matthew Wein
dbe4de5824
Bug 1257583 - Add test for bypassing the cache with tabs.reload. r=kmag
...
MozReview-Commit-ID: KuJKLWSXvSk
--HG--
extra : amend_source : 0cb4f489d1a494a714ff2841ba6d1433da4f451c
extra : transplant_source : %7E%80%D2%A2%7E%C6%3D%A0%DD%E7%F4%FC%9A%8B%5EG%91%93%BC%EB
2016-04-07 16:02:28 -07:00
bsilverberg
5808ddd4ec
Bug 1190322 - Test coverage for |extension| extension API, r=kmag
...
Add coverage for:
* The |getViews| API method with a |type| property.
* The |getViews| API method with a |windowId| property.
MozReview-Commit-ID: Evoi8au0wzW
--HG--
extra : transplant_source : %A9%2AX%D8f8%D6%5CQ%AD%CB%83%A5%B2f%FA%98%B4%EA%C0
2016-04-06 13:24:12 -04:00
Luca Greco
2054abd0e6
Bug 1256282 - [webext] options_ui browsers should have access to the full WebExtension API. r=kmag
...
MozReview-Commit-ID: E1GwT0zfGie
--HG--
extra : transplant_source : %18%0F%AF%0A%E6B%E7v%2C%F4%A1%C2%9B%CF-%84T%DEKf
2016-04-08 16:00:48 +02:00
Dave Townsend
b6c94f538f
Bug 1257246: Update webextension APIs for eslint 2. r=kmag
...
ESLint 2 now flags anonymous generator functions that don't match the
generator-star-spacing rule so this mostly is fixing that.
MozReview-Commit-ID: 5sLaF26sd0E
--HG--
extra : rebase_source : 6008f48c94e4a8e5bd2ed2f8a95e764e4aa39cdb
extra : histedit_source : 6f0151c184ee2e4288f3ec9c5a85a65e975d46e1
2016-04-05 11:30:51 -07:00
bsilverberg
d43e3c8bdb
Bug 1261949 - Complete test coverage for browser.windows events. r=kmag
...
Add coverage for:
* browser.windows.onCreated
* browser.windows.onRemoved
MozReview-Commit-ID: FMhcNBnijce
--HG--
extra : transplant_source : %12%15%D2%A7_w%9B%0F%3D%0C%EE%94%11%14%0Dk%87%28%A0%9D
2016-04-04 18:11:42 -04:00
bsilverberg
b42e7ecef4
Bug 1190325 - Test coverage for runtime extension API. r=kmag
...
Add coverage for:
* The |openOptionsPage| method when |options_ui| is missing from the manifest.
MozReview-Commit-ID: BwVMzDOECl3
--HG--
extra : transplant_source : %ED%E7%04N%DC%9D%FC%FD%BF%A2%02%D7SQ%3D%8A%EBa%98%A7
2016-04-06 09:36:45 -04:00
bsilverberg
ecec410d6c
Bug 1261185 - Complete test coverage for browser.windows.create. r=kmag
...
Add coverage for:
* passing an invalid |tabId|
* passing an array of URLs to open in |url|
MozReview-Commit-ID: EW8sh0p6hgB
--HG--
extra : transplant_source : %5D%BF%EE%EBM%9C%EA%AFj%0F%7F%AFx%F1%8E%F0QV%1Bb
2016-03-31 18:01:45 -04:00
Carsten "Tomcat" Book
1fe30696da
Backed out changeset ffd370115779 (bug 1261185) for memory leaks on own test
2016-04-05 10:39:36 +02:00
bsilverberg
ace0427254
Bug 1261185 - Complete test coverage for browser.windows.create, r=kmag
...
Add coverage for:
* passing an invalid |tabId|
* passing an array of URLs to open in |url|
MozReview-Commit-ID: EW8sh0p6hgB
--HG--
extra : transplant_source : %5D%BF%EE%EBM%9C%EA%AFj%0F%7F%AFx%F1%8E%F0QV%1Bb
2016-03-31 18:01:45 -04:00
Matthew Wein
f64c3ca257
Bug 1245355 - Add a unit test for tabs.getAllInWindow. r=kmag
...
MozReview-Commit-ID: 5wVRCLdCuq9
--HG--
extra : transplant_source : %B0%89%CB%F5%9C%C8%A7%94%BAJ%1Cz%BE%1AU%99%BE%A4%D0%AE
2016-03-17 09:35:58 +01:00
Matthew Wein
e1cc040df8
Bug 1250631 - Implement chrome.contextMenus.onClicked. r=kmag
...
MozReview-Commit-ID: Ic7opjJtmRB
--HG--
extra : transplant_source : %BF%F9%92%ABd%AA%E6%A6%AA%26%2B%CA%C1%23%FCl%2B%03%D8%B5
2016-03-23 02:39:10 -07:00
Matthew Wein
961c4df4b2
Bug 1246035: Add support for _execute_page_action r=kmag
...
MozReview-Commit-ID: 5Lvj5UiAVkJ
--HG--
extra : rebase_source : 67fb6431dc74f44cda829372f9ab3f101c2a7593
extra : amend_source : 9b55316a4a801094b09e260c4ba0fc07cae27aa4
2016-03-28 12:14:43 -07:00
Kris Maglione
1681a4717f
Bug 1246035: Follow-up: Fix ESLint bustage. r=bustage
...
MozReview-Commit-ID: IH89TRmlyo3
2016-03-28 17:23:36 +02:00
Matthew Wein
863d9f6ce1
Bug 1246035 - Add support for _execute_page_action r=kmag
...
MozReview-Commit-ID: LPQAC7uJTkr
2016-03-14 14:54:57 +01:00
Sebastian Hengst
53b1ca7a7f
Backed out changeset 4a92742ac20d and ddf8219182fb (bug 1246035) for failing modified ddf8219182fb on OS X 10.6 opt M(bc2). r=backout
2016-03-25 23:14:25 +01:00
Sebastian Hengst
6a296b9a91
Bug 1246035 - Add support for _execute_page_action. Follow-up: Add missing quote character to fix .eslintrc. r=eslint-fix
2016-03-25 22:02:41 +01:00
Matthew Wein
d2908c0ada
Bug 1245353 - Add tests for tabs.reload. r=kmag
...
MozReview-Commit-ID: ngntB4L9Ms
--HG--
extra : transplant_source : d%27%CDh%1A%16C%9CW%BC%C6V%D6%BD%28%80%1E%1E%81%BB
2016-03-17 17:43:41 +01:00
Matthew Wein
6bfb9ef781
Bug 1246035 - Add support for _execute_page_action. r=kmag
...
MozReview-Commit-ID: LPQAC7uJTkr
--HG--
extra : transplant_source : %9Fc%B4C%C75Nd%40.%EBj%25%8Cg%5B%B3%C0%E5F
2016-03-14 14:54:57 +01:00
tofumatt
0f151b21a6
Bug 1237822 - Throw error if tabs.query is used without "tabs" permission with url param. r=kmag
...
MozReview-Commit-ID: 4WpawIYcwnl
--HG--
extra : transplant_source : %1FD%00%5D%CEJ%E6%10Wj%C3%92%87%FFN%A4Vo%0C%E7
2016-03-15 15:39:27 +01:00
Kris Maglione
8706c945fd
Bug 1253133: [webext] Support changing window geometry via windows.update. r=aswan
...
MozReview-Commit-ID: LQGXyB9WuiI
--HG--
extra : rebase_source : 840ec6f25eb4409383b6e0c7a43ba03dc3cddf9b
2016-03-22 23:13:11 +01:00
Kris Maglione
5c47b4916d
Bug 1253130: [webext] Support the alwaysOnTop in the browser.windows API. r=gabor
...
MozReview-Commit-ID: FNBCsDt0UT8
--HG--
extra : rebase_source : 80ec6a949237e4e59b17a9a9b31b5001d9f09606
2016-03-22 23:11:35 +01:00
Kris Maglione
6af7aa725e
Bug 1254194: [webext] Fix tests that violate the default CSP. r=aswan
...
MozReview-Commit-ID: GAon89LFr6C
--HG--
extra : rebase_source : 64d00126b0cad8e3a90e5f4a5f5894275c8be1ee
2016-04-14 16:36:47 -07:00
Bill McCloskey
74d6b169e1
Bug 1197346 - Rename ExtensionPage to ExtensionContext (r=kmag)
2016-04-23 20:04:29 -07:00
Bob Silverberg
e580134ee3
Bug 1265836 - Part 4: Implement browser.history.addUrl. r=aswan
...
MozReview-Commit-ID: CBcKLvRLj3w
--HG--
extra : transplant_source : %BCXud%20%EC%BE%EA%161fN%B4%11%E2n%28b%95%8F
2016-05-19 21:55:37 -04:00
Bob Silverberg
b610707ecb
Bug 1265836 - Part 2: Change normalizeTime to return a date rather than a number. r=aswan
...
Also update browser.history.deleteRange to use normalizeTime
MozReview-Commit-ID: EQ3NLSIRTe8
--HG--
extra : transplant_source : %0F3%7F%89Y%C3m%86%EB%91%0A%1B%FFMwh%19%AF%E2%23
2016-05-24 09:00:17 -04:00
Bob Silverberg
8150024920
Bug 1265836 - Part 1: Replace PlacesUtils.toTime with PlacesUtils.toDate. r=mak, r=aswan
...
MozReview-Commit-ID: FZTfDJpjEt1
--HG--
extra : transplant_source : Z%B5%8B%82lB%DBk%10q%DC%10P%A8%21%7CL%C4Y%F9
2016-05-24 08:56:10 -04:00
Tom Schuster
3a65a5c1e9
Bug 1253134 - Sorry eslint, I am so sorry. r=me
2016-03-17 13:13:18 +01:00
Tom Schuster
7fe37de259
Bug 1253134 - Support drawAttention in browser.windows.update. r=kmag
2016-03-17 12:59:11 +01:00
Sebastian Hengst
1b915e4b70
Backed out changeset 562dbcad5a6e (bug 1245355) for leaking windows and a docshell in its new test browser_ext_tabs_getAllInWindow.js. r=backout
2016-03-16 19:19:41 +01:00
Matthew Wein
eb7409d4cd
Bug 1245355 - Add a unit test for tabs.getAllInWindow r=kmag
...
MozReview-Commit-ID: 5wVRCLdCuq9
--HG--
extra : rebase_source : 3d937ea9c1806499d6ae0701014728700687f07f
2016-03-15 12:01:40 +01:00
Luca Greco
6da64ce4b7
Bug 1253565 - [webext] add "UnrecognizedProperty" to commands manifest properties. r=kmag
...
MozReview-Commit-ID: 9r2MaceQ4Kk
--HG--
extra : rebase_source : 821b61420f2efc7d2657cfc12c3e2c8be172a8aa
2016-03-14 12:03:46 +01:00
Luca Greco
4db518f06e
Bug 1253565 - [webext] use 'UnrecognizedProperty' on browser and page actions. r=kmag
...
MozReview-Commit-ID: 8RfrogKRoP8
--HG--
rename : browser/components/extensions/test/browser/browser_ext_browserAction_simple.js => browser/components/extensions/test/browser/browser_ext_pageAction_simple.js
extra : rebase_source : 1b44d01bd33bf92190aa9b712f800b5afa28d571
2016-03-14 12:26:45 +01:00
Blake Winton
157a38bc63
Bug 1225633 - Add better default styles to WebExtension panels. ui-r=shorlander, r=kmag
...
MozReview-Commit-ID: 8D7BipQtQYz
--HG--
extra : rebase_source : 448eba7a88076db1ee7948cea67749e12d427df9
2016-02-22 15:21:34 -05:00
Ryan VanderMeulen
da1885e860
Merge inbound to m-c. a=merge
2016-03-12 15:23:38 -05:00
Kris Maglione
fb14da16b7
Bug 1250784: Follow-up: Fix merge conflict in bookmarks API. r=me
...
MozReview-Commit-ID: 83I9WhoUZGj
--HG--
extra : rebase_source : ba869cf2940eb5c52697c4e1f145c3fadb909fd2
2016-03-11 11:07:22 -08:00
Carsten "Tomcat" Book
09388646a3
Merge mozilla-central to fx-team
2016-03-11 16:58:46 +01:00
Kris Maglione
128a5928cb
Bug 1250784: Part 3 - [webext] Add suport for runtime.openOptionsPage. r=Mossop
...
MozReview-Commit-ID: 9izx4uX0Szd
--HG--
extra : rebase_source : d474f77b37007f8b7e3118781af4b3d8d64aac61
2016-03-09 17:10:29 -08:00
Kris Maglione
7dfe8256b3
Bug 1250784: Part 2 - [webext] Fix some issues that cause noisy tests. r=Mossop
...
MozReview-Commit-ID: 93NMinJpWRo
--HG--
extra : rebase_source : 5d7571a2d75c7991cb7eb7f00de9800578e3791a
2016-03-09 17:26:27 -08:00
bsilverberg
679051b6d8
Bug 1236121 - Complete test coverage for the WebExtension bookmarks API. r=kmag
...
Add coverage for getChildren() when the promise is rejected
Add coverage for create() specifying index
Add coverage for update() specifying a URL
Add coverage for update() when the promise is rejected
MozReview-Commit-ID: 7ANRDWRublL
--HG--
extra : transplant_source : %C0vL%13%B2%BFo%07%0B%0B%CB%BD%BD4%15QA%FCY%7C
2016-03-09 10:02:40 -05:00
Kris Maglione
876d0a0806
Bug 1220154, 1249830: Handle sendMessage replies with 0 and >1 listeners correctly. r=billm
...
MozReview-Commit-ID: 7lE7RaJcl7n
--HG--
extra : rebase_source : 424987c745840d56647600b8d9e1bf941afb1d95
2016-03-04 15:40:56 -08:00
Kris Maglione
00f1d01219
Bug 1236949: Split up browser_ext_tab_move_window.js. r=me
...
MozReview-Commit-ID: 5WEdXucSFKa
--HG--
extra : amend_source : f0780333c54467fa2216ef28be6942b2c7d521b0
2016-03-06 17:52:56 -08:00
Ryan VanderMeulen
599f2304e0
Merge m-c to inbound. a=merge
2016-03-05 19:30:51 -05:00
Ryan VanderMeulen
54367e83bf
Merge fx-team to m-c. a=merge
2016-03-05 19:22:45 -05:00
Kris Maglione
d53da79b1c
Bug 1253128: [webext] Support type=popup in the browser.windows API. r=billm
...
MozReview-Commit-ID: ALgprY2w7w9
--HG--
extra : rebase_source : 3608b83eb0538f1ff90a65ee064e2df544abddac
2016-03-03 18:44:18 -08:00
Kris Maglione
ebd03d7771
Bug 1253132: [webext] Support window states in browser.windows APIs. r=billm
...
MozReview-Commit-ID: LIw6swRAB3h
--HG--
extra : rebase_source : ab313986de1b12e9a38d341da16c8338cc3ea5e5
2016-03-05 09:59:35 -08:00
bsilverberg
e9211fc397
Bug 1252250 - Implement browser.bookmarks.removeTree(), r=kmag r=mak
...
MozReview-Commit-ID: HyjJrEjcsZu
--HG--
extra : source : 3646fe906d7ede02b09b2af815c2d96f0a9d6094
2016-03-03 08:00:42 -05:00
Matthew Wein
94fc7c715c
Bug 1215375 - Add support for checkboxes, radio groups, and icons. r=kmag
2016-03-02 15:10:01 -08:00
Kit Cambridge
5d8590bae1
Back out changeset a67f0b208af6 (bug 1252250) for merge conflicts.
...
MozReview-Commit-ID: IQzGkqThQzG
--HG--
extra : rebase_source : f59f5d9e9bef582881aefb54a5e8a1d6ec3ddb71
2016-03-04 14:46:15 -08:00
bsilverberg
d2ee0f20a2
Bug 1252250 - Implement browser.bookmarks.removeTree(), r=kmag r=mak
...
MozReview-Commit-ID: HyjJrEjcsZu
--HG--
extra : rebase_source : 0e4f44b20a1c4afe0222d2e456399ae3f8b93124
2016-03-04 11:02:28 -08:00
bsilverberg
ccaa30638a
Bug 1251269 - Implement browser.bookmarks.getRecent(), r=kmag r=mak
...
MozReview-Commit-ID: 7nYCplcQZuk
--HG--
rename : toolkit/components/places/tests/bookmarks/test_bookmarks_search.js => toolkit/components/places/tests/bookmarks/test_bookmarks_getRecent.js
extra : rebase_source : a5ad83c83a6cb5c3c21d14f8faac5774a5d748e8
2016-03-03 08:07:16 -05:00
Xidorn Quan
b8db274b17
Bug 1255659 part 2 - Add 'fullscreen' tag to tests which ever put window into fullscreen. r=smaug
...
MozReview-Commit-ID: EBynEGbpYQU
--HG--
extra : rebase_source : 1f777ff519e602403486d24e739b252a2dfc8428
2016-03-11 10:45:00 +08:00
bsilverberg
2ba8c54467
Bug 1253652 - Fix browser.bookmarks.move() and add tests for it. r=kmag, r=mak
...
Update Bookmarks.update to not require a parentGuid when updating just the index.
MozReview-Commit-ID: JJO2IDyI5oN
--HG--
extra : rebase_source : 390d6c80f034f01cc419b1c2c3c9a93722fa1c59
2016-03-09 09:30:43 -05:00
Kris Maglione
cfcc885616
Bug 1190663: [webext] Add tests for window.close() in browserAction and pageAction popups. r=rpl
...
MozReview-Commit-ID: 8r08YRw7IGr
--HG--
extra : source : 09d8e3caf51daf1554673799609b575de4383a02
extra : amend_source : 64785002b2d8e113b744358a88154f2dd95f9814
2016-02-27 15:29:42 -08:00
Kris Maglione
301a3bd87e
Backed out changeset 09d8e3caf51d (bug 1190663) for intermittent mochitest failures on Windows
...
MozReview-Commit-ID: BsHw1BxNF2t
2016-03-02 19:50:22 -08:00
Kris Maglione
67341496bf
Bug 1190663: [webext] Add tests for window.close() in browserAction and pageAction popups. r=rpl
...
MozReview-Commit-ID: 8r08YRw7IGr
--HG--
extra : rebase_source : 6a88ac0d76b7a9d4659737edec09e62d98a21a1b
2016-02-27 15:29:42 -08:00
Luca Greco
b1e808ad5f
Bug 1249144 - [webext] Test explicitly the frameId/parentFrameId associated to the toplevel frame. r=billm
...
MozReview-Commit-ID: 9E7LmdyHcnG
--HG--
extra : transplant_source : %94%99L%24%3Bg%C0%F1%B6%E9%F7%20%D5%E1%1C.%3C%C8%F7/
2016-02-18 01:56:09 +01:00
Kris Maglione
66f9b57852
Bug 1248499: [webext] Implement tabs.detectLanguage. r=billm
...
MozReview-Commit-ID: F4GpSesj2ho
--HG--
extra : rebase_source : e9ffab3396b4f813c60e366c371ea54baccc160a
2016-02-26 13:20:28 -08:00
Kris Maglione
89517813d0
Bug 1251890: Fix RemoveTopWindowID listener. r=billm
...
MozReview-Commit-ID: 4nQdPszQOy
--HG--
extra : rebase_source : 970b616c972d2ed7fd3bcd163e662a00f8267bdd
2016-02-27 14:11:25 -08:00
Kris Maglione
a3d6e11dea
Bug 1248497 – Add promise support to the sendMessage APIs. r=billm
...
MozReview-Commit-ID: AZH9LUq8kGr
--HG--
extra : rebase_source : 2bf4d05544e6c22cb22de5b97fc523c477813ca3
2016-02-15 17:37:19 -08:00
Kris Maglione
dce2b3c2cd
Bug 1214955: [webext] Automatically localize all localizable manifest properties. r=billm
...
MozReview-Commit-ID: 2kvYT44NIE8
--HG--
extra : rebase_source : ebab864b517c2e576dde27cf1439cf2deadb0685
2016-02-29 19:34:49 -08:00
Andy McKay
8149342574
Bug 1248460 - pin during SSTabRestoring. r=kmag
...
MozReview-Commit-ID: A88UnreihK7
--HG--
extra : transplant_source : %93%C6Y%ADh%E1q%E7%840%93%F90%86w%EA%C6l%02O
2016-02-29 13:45:36 -08:00
Matthew Wein
22fd2a0fc9
Bug 1246029 Implement chrome.commands.onCommand. r=kmag
2016-02-29 19:04:03 -08:00
Carsten "Tomcat" Book
83adb66526
merge mozilla-inbound to mozilla-central a=merge
2016-03-01 12:01:58 +01:00
Andrew Swan
6bf77c377d
Bug 1252181 - switch browser_ext_runtime_setUninstallURL.js to temporary add-on install r=mossop
...
MozReview-Commit-ID: JjjR76gkI3M
--HG--
extra : rebase_source : 64e37359e838eafe4ad2a138660f5bcf392fac2a
2016-02-29 11:11:45 -08:00
Kris Maglione
2eda01945e
Bug 1213993: [webext] Support frameId/allFrames/runAt in browser.tabs.executeScript and insertCSS. r=billm
...
MozReview-Commit-ID: FgV9vyHVjj8
--HG--
extra : rebase_source : 04582c711ef40f3afc7eeaa9e4dec2e31b63e4e0
2016-02-08 17:40:02 -08:00
Luca Greco
024940a637
Bug 1227462 - Test tabs.create/update on allowed and disallowed URLs. r=kmag
...
MozReview-Commit-ID: 2cZST9GwTaw
--HG--
extra : rebase_source : 9030bc0ab686eb4dc86bf95436c2d0af3d2d63bb
2016-02-25 18:14:51 +01:00
Luca Greco
29d1c88828
Bug 1227462 - tabs.create and tabs.update should check URLs using checkLoadURL. r=kmag
...
MozReview-Commit-ID: EKFRpoSuXrF
--HG--
extra : rebase_source : e8016dae12cdf5f4b3a9c345ce0a45f51bba519f
2016-02-25 18:13:59 +01:00
Matthew Wein
b1ab0e41fd
Bug 1220124 - Add support for chrome.tabs.onhighlight. r=kmag
...
MozReview-Commit-ID: BB6vJl8qV4l
--HG--
extra : rebase_source : fcbe0bd0aa21e47c2524e57434dded91592efe9d
extra : source : 90494d4d76ab4587805ad27cc663fa7407b04450
2016-02-07 18:35:22 -08:00
Matthew Wein
c822f61ac1
Bug 1246028 Implement chrome.commands.getAll. r=kmag
2016-02-24 17:29:04 -08:00
Phil Ringnalda
dd373cbd2b
Back out 6d8c09f110ee (bug 1246028) for landing before it got its nits picked
2016-02-24 18:40:42 -08:00
Luca Greco
4b9a1c10fb
Bug 1249144 - [webext] fix sorting collected frame details in webNavigation tests. r=kmag
...
MozReview-Commit-ID: ay5fGRGSpW
--HG--
extra : transplant_source : %AC%05%86w%18%F7Q%0B%F4%BA%7Ci%F5k.%E7%80%0Ak%B9
2016-02-19 04:09:16 +01:00
Matthew Wein
1db30ea608
Bug 1246028 - Implement chrome.commands.getAll. r=kmag
2016-02-23 16:13:16 -08:00
Andrew Swan
f1d18641ee
Bug 1228247 - use document.getFocus() for window.focused. r=enndeakin
2016-02-18 16:36:51 -08:00
Matthew Wein
7e69e71a83
Bug 1242557 - Import missing commands API schema file. r=kmag
2016-02-17 14:44:59 -05:00
Kris Maglione
2b5bba8484
Bug 1247493: [webext] Implement the tabId property of windows.create. r=billm
...
MozReview-Commit-ID: Jw4KvvUqkBh
--HG--
extra : source : cf766413a25e77d31495f2b6e7d38e1d1bb40603
extra : amend_source : 1abfec3bf52538cae5391235527cd0bc6a60481f
2016-02-17 11:46:19 -08:00
Kris Maglione
5201cc7869
Bug 1238313: Part 1 - Implement tabs.onMoved event. r=billm
...
MozReview-Commit-ID: F2GoU1fzj4s
--HG--
extra : source : c893cd374dcd93adc833e3bcc05e725176bfd523
2016-02-11 14:32:58 -08:00
Kris Maglione
40152a25bd
Bug 1234086: [webext] Add support for tabs.onAttached/onDetached events. r=billm
...
MozReview-Commit-ID: 4Kk1mTdGflI
--HG--
extra : source : 5ec466af51e171623333ad644a94034b55b73b08
2016-02-17 11:52:33 -08:00
Wes Kocher
099649f263
Backed out changeset 5ec466af51e1 (bug 1234086) for failures in browser_ext_tabs_update.js
...
--HG--
extra : commitid : F0V50PvojGj
2016-02-17 14:31:04 -08:00
Wes Kocher
5eb7c4d849
Backed out changeset c893cd374dcd (bug 1238313)
...
--HG--
extra : commitid : JH50wJBbF9C
2016-02-17 14:30:56 -08:00
Wes Kocher
9ed5a2a0d7
Backed out changeset cf766413a25e (bug 1247493) for failures in browser_ext_tabs_update.js
...
--HG--
extra : commitid : yaJz71RWlF
2016-02-17 14:30:53 -08:00
Kris Maglione
9fc87de614
Bug 1247493: [webext] Implement the tabId property of windows.create. r=billm
...
MozReview-Commit-ID: Jw4KvvUqkBh
--HG--
extra : rebase_source : 5434dfc85356a75ae32b4c5c47e4f689f916ec96
extra : histedit_source : 1f1e15a93b4a161e442c41c7bd95614f625cffde
2016-02-17 11:46:19 -08:00
Kris Maglione
f53c090725
Bug 1238313: Part 1 - Implement tabs.onMoved event. r=billm
...
MozReview-Commit-ID: F2GoU1fzj4s
--HG--
extra : rebase_source : 10122f7aa1a207591cbd23ffe76609a3715ff014
extra : histedit_source : cb6b4bbbde239e9481e68f9c5fc64a872dad76ee
2016-02-11 14:32:58 -08:00
Kris Maglione
937b9251be
Bug 1234086: [webext] Add support for tabs.onAttached/onDetached events. r=billm
...
MozReview-Commit-ID: 4Kk1mTdGflI
--HG--
extra : rebase_source : bf075da744ba920bfb94587d1376a48125ddb21f
extra : histedit_source : 134b55b5e5e2bc482b33cd40c1e50145e42773e2%2C78d2857bbf3f558d3a15a161f0d63e44c9411b36
2016-02-17 11:52:33 -08:00
Andy McKay
c123766e69
Bug 1238312 - implement tabs.duplicate. r=kmag
...
MozReview-Commit-ID: Fzd6BuAEgSl
--HG--
extra : transplant_source : %F3%1C%C6%13Hn%DF%051%2B%7D%AB%D1%AE%F17Y%05oF
2016-02-12 15:38:55 -08:00
Kris Maglione
ba2e5f60f4
Bug 1248855 - [webext] Add "object-curly-spacing" ESLint rule and auto-fix errors. r=billm
...
MozReview-Commit-ID: BAZ2rRl7eSM
2016-02-16 20:10:00 -08:00
Johann Hofmann
4d2291640d
Bug 1225743 - Implement chrome.bookmarks.search. r=mak
2015-11-24 17:40:08 +01:00
Carsten "Tomcat" Book
40c8a880c4
Backed out changeset 9802a7367d48 (bug 1225743) for ES failures
2016-02-12 12:16:19 +01:00
Johann Hofmann
cb09799b68
Bug 1225743 - Implement chrome.bookmarks.search
...
--HG--
extra : commitid : FoEz268aSjP
2015-11-24 17:40:08 +01:00
Kris Maglione
8414d3b8d4
Bug 1235571: Add an adoptTab method to <tabbrowser> and remove duplicated code. r=billm
...
--HG--
extra : commitid : DthwEkfzjHB
extra : rebase_source : d5bcc106be49e118e60418a280dbaea2a6520899
2016-02-10 15:27:08 -08:00
Kris Maglione
985ebffc86
Bug 1234020: Part 2h.1 - [webext] Convert async API errors to rejected promises. r=billm
...
--HG--
extra : commitid : LDemRHYLfgu
extra : rebase_source : d8ddc14439e11884de7386092c914901c92d94a1
extra : histedit_source : 8c13d6259633a05950804250ee09b9d0303c2a86%2C1629c18f964d4a2e37ee694f4077f007d8bde6e4
2016-02-10 17:01:38 -08:00
Andrew Swan
c28e53d13a
Bug 1156826 - Implement browser.runtime.setUninstallURL(). r=kmag
2016-02-08 16:00:25 -08:00
Luca Greco
761ed86097
Bug 1190685 - [webext] Add webNavigation.getFrame/getAllFrames test cases. r=kmag
2016-02-08 18:29:44 +01:00
Kris Maglione
f0a1600d9a
Bug 1234020: Part 2a - [webext] Return promises from the background page APIs. r=rpl
...
--HG--
extra : commitid : 6QaVA3XIUzC
extra : rebase_source : a769506ee88b7ac0e4b972c26750409adec5239c
extra : histedit_source : 1768cb7a91aa363ee2ea0d5094ad8e5a18eb9605
2016-02-02 19:14:34 -08:00
Kris Maglione
eb18e4d151
Bug 1234020: Part 2k - [webext] Return promises from the windows API. r=rpl
...
--HG--
extra : commitid : 7aWMMY5x2Jw
extra : rebase_source : 5209f8fca41a347fd5cba62c2e5be2a84d7f82db
2016-02-01 18:28:00 -08:00
Kris Maglione
109944fbfe
Bug 1234020: Part 2j - [webext] Return promises from the tabs API. r=rpl
...
--HG--
extra : commitid : EK8NBTwpaM6
extra : rebase_source : ed2d93f292f53a5314b4e05b2668a05291f70b7b
2016-02-05 18:50:58 -08:00
Kris Maglione
a3bb54ada2
Bug 1234020: Part 2i - [webext] Return promises from the contextMenus API. r=rpl
...
--HG--
extra : commitid : 2Ki745t8xRB
extra : rebase_source : 5fe21e317050f7b7109cd555cbbd05ed2e9883f5
2016-02-01 18:14:55 -08:00
Kris Maglione
544b3cd429
Bug 1234020: Part 2h - [webext] Return promises from the pageAction API. r=rpl
...
--HG--
extra : commitid : q1OQLdF7VP
extra : rebase_source : 78a7a2cc0a73ae9f57c2a7111aeae96b5b8fef72
2016-02-01 18:16:00 -08:00
Kris Maglione
a2027208b5
Bug 1234020: Part 2g - [webext] Return promises from the browserAction API. r=rpl
...
--HG--
extra : commitid : GQvpkew9gD
extra : rebase_source : ec53fa009edc8c874895f2f1abf8d896c5dd6753
2016-02-01 18:14:05 -08:00
Kris Maglione
2762bb5398
Bug 1234020: Part 2f - [webext] Return promises from the bookmarks API. r=evilpie
...
--HG--
extra : commitid : 8s79WWvVomB
extra : rebase_source : c3bb8465a7f8ccb5066ef3dbaeadb6e1647763bf
2016-02-01 18:12:45 -08:00
Matthew Wein
4800c1a9aa
Bug 1242588 fix how tab.create handles missing URLs. r=kmag
...
--HG--
extra : commitid : 9p3zXXVEsj5
extra : rebase_source : 1a02c985f3909c7ab42f87f18ffe6c9215e8c4f0
extra : amend_source : 017a1635a65747bb6b713ee341b7022e06966680
2016-01-30 17:09:49 -08:00
Kris Maglione
c5b5341056
Bug 1231819: [webext] Implement the captureVisibleTab API. r=billm
...
--HG--
extra : commitid : 1KrAIBW3HgQ
extra : rebase_source : c11b44c28a967d65e66eca9a5a8bb73e36f17ab3
extra : amend_source : af19f6d511e3fa1c8f143e08a7a99b60dc5c044c
2016-01-25 17:48:54 -08:00
Kris Maglione
751cbcb894
Bug 1234020: Part 1 - [webext] Add initial binding-level promise<->callback support. r=billm
...
--HG--
extra : commitid : LmqVSqXGkKa
extra : rebase_source : 1e28a81fd74c920822bb5eed0aff8841bd628271
extra : histedit_source : 9acf96c0593f1271a753507c6630765394b88f3c%2Cf19e421dfed99dd65482ba935ac50fffa1208a6d
2016-02-01 19:20:13 -08:00
Matthew Wein
ca74460c52
Bug 1234308 - Fix tabs.onCreated callback to receive bare tabs object (bug 1234308); r=kmag
...
--HG--
extra : rebase_source : 849a3e2ddff63876202023f6590d7764a7cfe8eb
2016-01-27 16:33:32 -08:00
Kris Maglione
43657b1388
Bug 1244488: Fix intermittent failure caused by overly strict console listener. r=me
...
--HG--
extra : commitid : L4nSGtBUKbh
2016-01-30 23:08:03 -08:00
Kris Maglione
278a332b02
Bug 1225715: Part 5 - Add schema for extension manifests. r=billm
...
This currently forbids unknown top-level schema properties, and unknown
permissions. In the future, I'd like to make those warnings rather than
errors, for compatibility purposes, but I think errors are fine for now.
--HG--
extra : commitid : 9jGEwCU9AhR
extra : rebase_source : db16f1e5f9962fb7b24c0e52c05832ae646a57c2
2016-01-30 10:27:02 -08:00
Kris Maglione
e391b5ccaf
Bug 1190680: Part 2 - [webext] Add initial support for lastError callbacks. r=billm
...
--HG--
extra : commitid : KyImBk4vvCu
extra : rebase_source : f05432e862480ca7e4c81c9fd663822bba63c7af
extra : histedit_source : 6cec5cd0c0c4986f0b22e4338b2e6da3cb851ef7
2016-01-29 18:38:08 -08:00
Kris Maglione
4b5513634b
Bug 1238311: Part 3 - [webext] Add audible and muted support to browser.tabs API. r=gabor
...
--HG--
extra : commitid : 36za12ltvib
extra : rebase_source : 321506a4d0ab68ed6db18536a513584c50231c78
extra : histedit_source : 2787bfcb88593f5e943a77f64a51946e7d011db1
2016-01-26 17:06:41 -08:00
Carsten "Tomcat" Book
323b54c218
merge mozilla-inbound to mozilla-central a=merge
2016-01-28 12:13:37 +01:00
Kris Maglione
840051ba5c
Bug 1210583: Part 2 - [webext] Support callbacks in tabs.executeScript/tabs.insertCSS. r=billm
...
--HG--
extra : commitid : K6slT54Lfwg
extra : rebase_source : d2e519e7932169e59c655ce0013ca7a488cef2d6
extra : histedit_source : b7b8a66f2fd4a0943a8c8c8ca20f8384b999d98e
2016-01-25 20:25:11 -08:00
Kris Maglione
3d50a9eb7e
Bug 1210583: Part 1 - [webext] Add support for cross-process messaging with async responses. r=billm
...
--HG--
extra : commitid : 5deKex3Nhp
extra : rebase_source : 9c31f41230bb46127dead36ccad4449cd35ce1b0
extra : histedit_source : 2646ebbe46d96f8e50db75247a7672e81d57a74c
2016-01-27 12:57:21 -08:00
Olivier Yiptong
7efb135032
Bug 1240169 - aboutNewTabService relies on AboutRedirector for default URL resolution r=mconley
...
--HG--
extra : commitid : LGNcbCje6o4
extra : rebase_source : 0476c10707a52f5a559911f01a37cec1fe6cd171
2016-01-27 13:50:18 -05:00
Kris Maglione
7a008145bd
Bug 1217129: [webext] Follow-up: Fix race in pageAction tests.
...
--HG--
extra : commitid : HNq36ukKkyG
extra : rebase_source : 7c05750621c196382af98b96353756bef4b02470
2016-01-19 21:57:34 -08:00
Kris Maglione
a67888d4db
Bug 1217129: Back out a changed test for intermittent bc4-e10s failures. a=philor for a CLOSED TREE
...
--HG--
extra : commitid : Hev779VzTYD
extra : rebase_source : 8f5824ad235271657c788e9a7199dfcf40800cb4
extra : amend_source : 2d5ee203275a5954441fd903c3ac9b6be24e98ef
2016-01-19 19:17:43 -08:00
Kris Maglione
1338145ff4
Bug 1217129: Part 6 - [webext] Test browserAction popups in both the toolbar and in the menu panel. r=gijs r=billm
...
--HG--
extra : commitid : E032c8k3ujN
extra : rebase_source : c4a991bc2d9dd9ec90de5c39d6fdf7ea3a4f9695
extra : source : 106365a3847c66c2122563abb423c29685ea059c
2016-01-10 19:58:09 -08:00
Kris Maglione
59c0ce29a5
Bug 1217129: Part 5 - [webext] Use CustomizableUI views for BrowserAction popups. r=gijs ui-r=bwinton
...
This version addresses some popup sizing bugs, and also a few other issues I
ran into when debugging Blake's problems:
* The standalone popup needs a max width of 800px for Chrome compatibility,
which is wider than our default max width.
* I added a flex attribute to our browser so that it fills the entire space
of the slide-in panel. This is only necessary for browsers with content
that is shorter than the height of the panel when it gets its desired
width, but becomes longer when it doesn't, so it didn't show up in my
initial tests.
* I also added an extra pixel to the width calculations, since I noticed that
a lot of single lines of text were unexpectedly wrapping without it. I'll
look into this more in a follow-up bug.
I also added some comments, and renamed a couple of variables, where things
seemed unclear.
The test changes are mostly just updates to older browser action tests to use
newer helpers, rather than ad-hoc events, to open/close/click the widgets. A
few tests also needed updates to explicitly close the panel when they were
done with it.
--HG--
extra : commitid : BhHv1aZSrBL
extra : rebase_source : 6fe0069ebd2f94b0ffd02ad757a799fbdff9226e
extra : source : 628af985c7eba7e4665a1b62f9a60f6a6fd39822
2016-01-15 15:14:25 -08:00
Kris Maglione
3284cbb0ee
Bug 1217129: Part 4b - [webext] Use the extension name as the default title value for browserAction/pageAction popups. r=billm
...
This brings our behavior closer in line with Chrome's.
--HG--
extra : commitid : DaDofvmQEZW
extra : rebase_source : cbeda3889362511c5002f2710c063a2c83047d3c
extra : source : 7ad8b56958c54787313ecbe60eb1e8fbafb2f376
2016-01-15 21:43:26 -08:00
Carsten "Tomcat" Book
cc15740ff7
Backed out 8 changesets (bug 1217129) for test failures in browser_ext_pageAction_context.js
...
Backed out changeset dc5742de0823 (bug 1217129)
Backed out changeset 106365a3847c (bug 1217129)
Backed out changeset 628af985c7eb (bug 1217129)
Backed out changeset 7ad8b56958c5 (bug 1217129)
Backed out changeset 71f46fe62f59 (bug 1217129)
Backed out changeset 7d8dee4c335b (bug 1217129)
Backed out changeset 3b5fb2845c3b (bug 1217129)
Backed out changeset 93266f211716 (bug 1217129)
2016-01-18 09:08:35 +01:00
Kris Maglione
6404fdfa9c
Bug 1217129: Follow-up: Fix test broken by rebase.
...
--HG--
extra : commitid : 2vdS3kBhmeq
2016-01-15 21:43:26 -08:00
Kris Maglione
ed68509b62
Bug 1217129: Part 6 - [webext] Test browserAction popups in both the toolbar and in the menu panel. r=gijs r=billm
...
--HG--
extra : commitid : 6dDqn4OyRZf
extra : rebase_source : a00cd5a4e1f7c22e2b45e0aaa3c1efe22ae5cb0b
2016-01-10 19:58:09 -08:00
Kris Maglione
afba49d5ab
Bug 1217129: Part 5 - [webext] Use CustomizableUI views for BrowserAction popups. r=gijs ui-r=bwinton
...
This version addresses some popup sizing bugs, and also a few other issues I
ran into when debugging Blake's problems:
* The standalone popup needs a max width of 800px for Chrome compatibility,
which is wider than our default max width.
* I added a flex attribute to our browser so that it fills the entire space
of the slide-in panel. This is only necessary for browsers with content
that is shorter than the height of the panel when it gets its desired
width, but becomes longer when it doesn't, so it didn't show up in my
initial tests.
* I also added an extra pixel to the width calculations, since I noticed that
a lot of single lines of text were unexpectedly wrapping without it. I'll
look into this more in a follow-up bug.
I also added some comments, and renamed a couple of variables, where things
seemed unclear.
The test changes are mostly just updates to older browser action tests to use
newer helpers, rather than ad-hoc events, to open/close/click the widgets. A
few tests also needed updates to explicitly close the panel when they were
done with it.
--HG--
extra : commitid : 9OyRnaMTqn8
extra : rebase_source : efd28a49ca5961e2cf545420a81bd19b796d8957
2016-01-15 15:14:25 -08:00
Kris Maglione
5c12caa1dc
Bug 1217129: Part 4b - [webext] Use the extension name as the default title value for browserAction/pageAction popups. r=billm
...
This brings our behavior closer in line with Chrome's.
--HG--
extra : commitid : 7X5knx0CtGm
extra : rebase_source : b301e9c568df0edb313b10cf06e2f7a9c23a6e78
2016-01-10 21:00:09 -08:00
Kris Maglione
09f2a22adf
Bug 1239884: Part 2 - [webext] Force a GC after certain tests in debug mode to deal with timeout issues. r=billm
...
--HG--
extra : commitid : 2ebJbbI8V89
extra : rebase_source : 632b25203af39508240a7ed7053592f997f8d81f
2016-01-13 22:34:16 -08:00
Kris Maglione
5a95948ae6
Bug 1235365: Parse WebExtension JSON files as UTF-8. r=billm
...
--HG--
extra : commitid : IKunziwQUPp
extra : rebase_source : e36842c15d0be4f319a108e0bfc4e04baf96dd19
2016-01-09 16:53:24 -08:00
Olivier Yiptong
e9b515f263
Bug 1218996 - Fuse aboutNewTabService and RemoteNewTabLocation and return resource URLS r=marcosc
...
--HG--
extra : rebase_source : 6280fdc5cdad7c122e4ce71e809d812f8e75386f
2016-01-11 20:30:13 -05:00
Kris Maglione
05bccfe9b4
Bug 1233326: [webext] Fix default value handling for tabs.create, and add missing tests. r=billm
...
--HG--
extra : commitid : 1eeoFUeZ0JG
extra : rebase_source : aa504855b67e2e20411909b5004d658d8c23dc41
2016-01-05 19:06:44 -08:00
Kris Maglione
81ee0b7dad
Bug 1237122 - Use base test suite eslintrc files for WebExtension tests. r=trivial
...
--HG--
extra : commitid : LQJzTvLEHsW
2016-01-05 16:10:33 -08:00
Kris Maglione
d72a5b435c
Bug 1229248, 1224087, 1230439: Follow-up: Fix ESLint failures. r=trivial
...
--HG--
extra : commitid : 6j07lCiGq0O
2016-01-05 15:53:12 -08:00
Kris Maglione
cf89a22459
Bug 1211366: Follow-up: Fix ESLint errors. r=trivial
...
--HG--
extra : commitid : CkUBR1wpIeR
extra : rebase_source : 67d877bd2a379412b357f98227b8bc47fd068595
2016-01-05 14:10:58 -08:00
Kris Maglione
6b540dc946
Bug 1214007: Follow-up: Fix ESLint errors. r=trivial
...
--HG--
extra : commitid : 4XGbiDojWXa
extra : rebase_source : 4f7d66c5f8c7c6c9ef0b27c1145a7106e93782e5
2016-01-05 15:10:39 -08:00
Andy McKay
5847404799
Bug 1214007 - Implement chrome.tabs.move. r=billm
2015-12-23 17:04:23 -08:00
Gabor Krizsanits
f77ea57991
Bug 1235376 - Handling %s in contextMenus. r=kmaglione
2016-01-04 16:54:59 +01:00
Gabor Krizsanits
99d250bd13
Bug 1211366 - parentId validation in contextMenus. r=kmaglione
2016-01-04 16:54:59 +01:00
Gabor Krizsanits
c3b77c61e9
Bug 1211366 - contextMEnus refactoring. r=kmaglione
2016-01-04 16:54:59 +01:00
Ryan VanderMeulen
f93b41b27c
Merge inbound to m-c. a=merge
2016-01-01 19:29:16 -05:00
Kris Maglione
a49250b7f4
Bug 1234755: Follow-up: Fix additional failures. r=trivial
...
--HG--
extra : commitid : 4Ef0fj48IPr
extra : amend_source : 839e710a618fc403c156e79e80d91276aa9a0f1d
2015-12-31 16:17:00 -08:00
Bill McCloskey
a2c4e965e2
Bug 1208257 - [webext] context_menus.json (r=kmag)
2015-12-23 08:57:13 -08:00
Bill McCloskey
63346aac54
Bug 1208257 - [webext] page_action.json (r=kmag)
2015-12-23 08:57:13 -08:00
Bill McCloskey
a3d3a41850
Bug 1208257 - [webext] browser_action.json (r=kmag)
2015-12-23 08:57:13 -08:00
Bill McCloskey
75122447dd
Bug 1208257 - [webext] bookmarks.json (r=kmag)
2015-12-23 08:57:13 -08:00
Kris Maglione
589f766eac
Bug 1230776: Fix ESLint failures in HTML test files. r=trivial
...
--HG--
extra : commitid : EXptoLWcoGy
extra : rebase_source : b5cd56ccd779abe263c7b6f5351736c7c1726f82
2015-12-22 22:26:36 -05:00
Phil Ringnalda
f61cbd01dd
Merge m-i to m-c, a=merge
2015-12-11 21:20:03 -08:00
Steve Fink
23b3232cce
Bug 1231879 - Fix tests: getElementById returns null on failure, not undefined, r=mrbkap
...
--HG--
extra : source : c54865e0b60bc496bbcfc61eefceb4690726e123
extra : amend_source : 5991d2c0b81cfbb7e2284d9968a6bd4fe723c5e3
2015-12-10 21:49:18 -08:00
Kris Maglione
b7869a821a
Bug 1229874: Support defineLazyServiceGetter in components-import eslint helper. r=miker
...
--HG--
extra : commitid : JasCECgeDvZ
extra : rebase_source : 4f2bc306a845e8b2f561be4430d6741f44b204ec
extra : amend_source : 8955e75045f39f47b758587b635d7d2cec85f7f5
extra : source : 6745f48efb28b3ec118166e1211b02354ab01769
2015-12-02 16:49:50 -08:00
Felipe Gomes
bddd338cd7
Bug 1231728 - Fixes some code to follow eslint rules. r=mak
...
--HG--
extra : commitid : 2pB0pOqsHVW
2015-12-10 14:38:30 -05:00
Bill McCloskey
18a0bcc6d7
Bug 1208257 - [webext] Fix failing test
2015-12-06 11:01:20 -08:00
Bill McCloskey
6e0bf624bf
Bug 1208257 - [webext] tabs.json (r=kmag)
2015-12-06 08:50:24 -08:00
Bill McCloskey
505a9bb407
Bug 1208257 - [webext] windows.json (r=kmag)
2015-12-06 08:50:24 -08:00
Kris Maglione
b729a30707
Bug 1229874: Part 3 - Enable ESLint in WebExtension code. r=billm
...
The base .eslintrc is essentially a merge of the root Toolkit .eslintrc and
the devtools .eslintrc, with some minor changes to match our prevalent style.
For the most enforces the coding styles that we've been using most
consistently. There are a couple of significant differences, though:
* The rule for opening brace alignment can only be applied globally, and
doesn't make exceptions for top-level functions. I chose to turn it on, and
change the brace style of existing top-level functions that violated it,
since the rule seemed worth using, and that's the direction most Toolkit JS
code has been headed anyway.
* The rule for switch/case statements requires an added indentation level for
case statements. Most of our switch statements did not use an extra level
of indentation, and I initially wrote the rule to enforce that style, until
I came across case statements that used blocks, and required the extra
indentation level for sanity.
--HG--
rename : devtools/.eslintrc => toolkit/components/extensions/.eslintrc
extra : commitid : 4aDZOi5MNPc
extra : rebase_source : f34ba43aeb8046a0c971cb76b76410497bd12b42
extra : source : 2a7eb4ef7b375e5fd52d843ca206a071367a6475
2015-12-02 16:58:53 -08:00
Kris Maglione
62d3c9701a
Bug 1229874: Part 2 - Fix the major errors detected by ESLint. r=billm
...
--HG--
extra : commitid : 8MfFtdlzGEG
extra : rebase_source : 744d65868d5a3d217bd5f6428a3486e95fa14716
extra : source : 880fc261adae00a344e227ea2fa246b771cd57a6
2015-12-02 16:58:24 -08:00
Kris Maglione
5c5a4d1119
Bug 1190688: Part 2 - [webext] Add tests for executeScript permission checks. r=billm
...
--HG--
rename : browser/components/extensions/test/browser/browser_ext_tabs_executeScript.js => browser/components/extensions/test/browser/browser_ext_tabs_executeScript_good.js
extra : commitid : iRaiDjAAti
extra : rebase_source : 3906f8f3ffaf91815f9463564b9e6243f443750c
extra : source : 1d5e9f3d094d075cfda767dd2108b07c7f8557de
2015-12-02 15:07:02 -08:00
Kris Maglione
66c9592a32
Bug 1190688: Part 1 - [webext] Implement the activeTab permission. r=billm
...
--HG--
extra : commitid : 7CvbJtxVmuS
extra : rebase_source : 88dadc60ac17cd9036f85c81ac19dfb3db1d0c91
extra : source : 4a10c564dfca3189ab521c3ccfa92330163189b1
2015-12-01 20:37:41 -08:00
Kris Maglione
ccd1557027
Bug 1193837: Part 2 - [webext] Enforce host matching and load URI restrictions on tabs.executeScript and insertCSS. r=billm
...
--HG--
extra : commitid : 14Ay1RxALKN
extra : rebase_source : 539fce3e4d8a8456d73bd2d1736338e835e264da
extra : source : ebe2433705a55c4b91d5726ed81574e3bcb5c6fb
2015-12-01 20:32:18 -08:00
Wes Kocher
66050f6f32
Backed out 2 changesets (bug 1193837) because the web extension tests are failing CLOSED TREE
...
Backed out changeset ebe2433705a5 (bug 1193837)
Backed out changeset c3307a5ac126 (bug 1193837)
2015-12-02 13:23:18 -08:00
Wes Kocher
fdc2d1bcff
Backed out 2 changesets (bug 1190688) for browser_ext_tabs_executeScript.js permatimeouts
...
Backed out changeset 1d5e9f3d094d (bug 1190688)
Backed out changeset 4a10c564dfca (bug 1190688)
2015-12-02 11:22:31 -08:00
Kris Maglione
0776c5fb47
Bug 1190688: Part 2 - [webext] Add tests for executeScript permission checks. r=billm
...
--HG--
extra : commitid : EEVPrB3WgcX
extra : rebase_source : 98f6f3363287429c8211c28f50e5a8abb0a66a01
2015-12-01 20:47:08 -08:00
Kris Maglione
de25656504
Bug 1190688: Part 1 - [webext] Implement the activeTab permission. r=billm
...
--HG--
extra : commitid : 3fCvT7O5Oax
extra : rebase_source : 6df43947daa552eb318bf74a3c71792889328618
2015-12-01 20:37:41 -08:00
Kris Maglione
6c8390c592
Bug 1193837: Part 2 - [webext] Enforce host matching and load URI restrictions on tabs.executeScript and insertCSS. r=billm
...
--HG--
extra : commitid : AHQ6RpQNa70
extra : rebase_source : 913662702f1a06a7773fd31e93eb095cab6b37d7
2015-12-01 20:32:18 -08:00
Kris Maglione
e5cf10f6e9
Bug 1212890: [webext] Implement browser.tabs.getCurrent. r=gabor
...
--HG--
extra : commitid : 1s2jDVvyZVV
extra : rebase_source : b014b7fb47a3a8e42c27bba5cbfcfaa568d4f08f
2015-11-24 19:04:00 -08:00
Johann Hofmann
75a90ffc8e
Bug 1200674 - Allow flexible icon sizes in ExtensionUtils. r=dtownsend
2015-11-24 18:20:26 +01:00
Kris Maglione
f7cb8b827e
Bug 1226423: [wbext] Add tests for panel popup API injection. r=billm
...
--HG--
extra : commitid : EMRXYC96Ufg
extra : rebase_source : a0b8b9088b02cd9e5c94d97f82f51dfd14d783b9
2015-11-20 15:16:31 -08:00
Kris Maglione
7214e18679
Bug 1218443: [webext] Fix some instances of window listeners not being added correctly. r=billm
...
--HG--
extra : commitid : EWbKyZP08Fs
extra : rebase_source : 3008f5a339c74af641f4a0d2f07942cb6acefb04
extra : source : 6fa3b2df62cc80058ea2f63834dcbdd6ec7caa36
2015-11-15 19:34:09 -08:00
Phil Ringnalda
b3918f8ac1
Back out 6fa3b2df62cc (bug 1218443) for browser_ext_pageAction_context.js leaks
...
CLOSED TREE
2015-11-17 22:38:20 -08:00
Kris Maglione
efe250798d
Bug 1218443: [webext] Fix some instances of window listeners not being added correctly. r=billm
...
--HG--
extra : commitid : GkZzr4Rpp81
extra : rebase_source : 364da950cb8d50dcf990b529753d4e2cb3b0acf3
2015-11-15 19:34:09 -08:00
Kris Maglione
9b2c61cbae
Bug 1215893: [webext] Check capturing event listeners for the correct target. r=billm
...
--HG--
extra : commitid : IYgT9fAiHJX
extra : rebase_source : c672622b7f2e931ceab45b5569c9de0bfd40602a
2015-11-14 23:30:52 -08:00
Kris Maglione
ef3b6a7107
Bug 1224961: Remove non-standard JS features from WebExtension code
...
--HG--
extra : commitid : uASoVfuiAC
extra : rebase_source : ba0dfb11eda8d1c3345463e3a8c25796ddcfb5dd
2015-11-02 18:09:09 -08:00
Kris Maglione
29636e2d6e
Bug 1190321: [webext] Complete test coverage for the browserAction API. r=gabor
...
--HG--
rename : browser/components/extensions/test/browser/browser_ext_pageAction_popup.js => browser/components/extensions/test/browser/browser_ext_browserAction_popup.js
extra : commitid : KNrOPlO2bOP
extra : rebase_source : 367ab2d367b76512485920a17c8f979b0668beb3
extra : histedit_source : 2d114fc7778b21a9e5cd085a1b78d21b172376bd
2015-11-15 02:01:44 -08:00
Kris Maglione
e716dce577
Bug 1213433: [webext] Add enable and disable methods to browserAction API. r=gabor
...
--HG--
extra : commitid : IxCwe5mcCex
extra : rebase_source : 36e405fc199890175b70c9228c8beeafa665d667
extra : histedit_source : 21d800886ddf31425ea691c77558f987590df8ad
2015-10-28 02:27:29 -07:00
Bill McCloskey
fd0aea8d56
Bug 1223585 - [webext] Annotate ignoreEvent (r=kmag)
2015-11-12 08:19:45 -08:00
Edgar Chen
dba190796b
Bug 1205221 - Fix chrome.tabs.onUpdate event doesn't be fired correctly when tab's attribute is changed. r=billm
...
--HG--
extra : transplant_source : %B7%2C%06e%0E%0F/%C3%E5-F%A1M%9B%C3%8F%060%95S
2015-09-15 14:06:51 +08:00
Sebastian Hengst
ecbe67ac71
Backed out changeset 7733bfad72ab (bug 1217129) for bc4, bc7 etc. failures. r=backout
...
browser_ext_browserAction_simple.js | Test timed out
followed by many more browser_ext_* errors
2015-11-04 21:12:02 +01:00
Blake Winton
0f85e4ac59
Bug 1217129 - Toggle WebExtensions panels on click instead of re-opening them. ui-r=maritz, r=billm
...
--HG--
extra : commitid : 4ZOLh4JtxLr
extra : rebase_source : 38fdb0fd12d6011471ef164c664e88667ef16deb
2015-10-22 10:07:02 -04:00
Luca Greco
6884827a14
Bug 1213975 - fix WebExtension tabs.onUpdated cleanup on context close. r=billm
2015-10-26 04:56:00 +01:00
Luca Greco
4cc21e67d9
Bug 1213975 - filter out from WebExtension tabs.onUpdated events any location changes related to iframes. r=billm
2015-10-26 04:55:00 +01:00
Luca Greco
a9764f9ff5
Bug 1213975 - add WebExtension tabs.onUpdated test case. r=billm
2015-10-26 04:54:00 +01:00
Luca Greco
8a4dea3875
Bug 1213975 - WebExtension tab update events about location url change should contain status info. r=billm
2015-10-26 04:54:00 +01:00
Johann Hofmann
e602c93ac2
Bug 1198405 - Use MatchPattern to match URLs in tabs.query. r=billm
...
--HG--
extra : rebase_source : 9a461d879f79cc67fb1f5405f9b68bd605dfa47d
2015-10-19 12:29:29 +02:00