Commit Graph

7 Commits

Author SHA1 Message Date
Dan Banner
5af4450327 Bug 1408777 - Automatically fix instances of missing semicolons in the tree. r=Standard8
MozReview-Commit-ID: Jm8BRgt6mIv
2017-10-15 20:50:39 +01:00
Andrew McCreight
d84b0dfece Bug 1403961, part 2 - Fix and enable eslint for ipc/. r=billm
After the previous patch, all that is needed to pass eslint is some
whitespace fixes I generated using:
  ./mach eslint --fix ipc

The .eslintrc.js file makes eslint expect XPCShell global variables.

With those two changes, eslint can be enabled for the ipc/ directory.

MozReview-Commit-ID: BqSICp2iV6O
2017-09-29 09:46:32 -07:00
Andrew McCreight
1bb5679f1d Bug 1403961, part 1 - Don't load test_ipcshell_child.js from test_ipcshell.js. r=billm
I don't fully understand what this test is trying to do, but as far as
I can see, test_ipcshell_child.js does nothing when loaded from
test_ipcshell.js besides define a few variables, so just define them
directly in test_ipcshell.js. I am doing this because eslint does not
like the way the test is currently written: the definition of runtime
in another file confuses it, and it does not like the assignment to
run_test.

MozReview-Commit-ID: Ek0HY9n49eZ
2017-09-29 09:52:23 -07:00
Chris Jones
c2fe1602aa Bug 616841, part 4: "Localize" the IPC testshell JSContext. r=bent a=b 2011-01-14 16:03:21 -06:00
Ben Turner
6548df948f Fix crashing iframes due to gtk_init, stop using windows in xpcshell tests 2009-09-08 13:35:12 -07:00
Ben Turner
94760cf4a1 Disable tests until they work 2009-09-01 15:36:38 -07:00
Ben Turner
acb212562f Basic xpcshell test for testing IPDL 2009-09-01 15:17:24 -07:00